Mobile

How to Detect Mobile devices in php

Author - Gopi Garg

Detect mobile device php code

We often need to detect if site visitor is using an iPad, a smartphone or any other mobile device in order to change website appearance and even make it faster by reducing data load. Normally we use the media queries and Read more…

Totara | How to enroll audience to Course or Program

Author - Varun Chopra

Enrolling audience to Course or Program in Totara

Problem: I want to enroll audience in course/program and I do not know that how we can enroll audience in course/program. To enroll an audience in course/program, I have followed the below steps Read more…

How to read Mobile Hardware and Operating system Details in React Native

Author - Varun Chopra

Steps to read Mobile Hardware and Operating system Details in React Native

To get the android and ios device information like UDID, version, build, operating system etc – We can get this information by using react-native-device-info plugin provided by react native.
Installation:

npm install Read more…

How to get Lat, Long in React Native app

Author - Varun Chopra

Steps to access GPS in React Native app to capture lat/long

In your AndroidManifest.xml add following permissions:

<uses-permission android:name=”android.permission.ACCESS_FINE_LOCATION” />

it comes enabled by default on iOS but not Android.

There are three methods available for geolocation:

getCurrentPosition Read more…

How to read Mobile Hardware and Operating system Details in Ionic

Author - Varun Chopra
|
0 Comments
|

Steps to read Mobile Hardware and Operating system Details in Ionic

To get the mobile hardware and operating system information you can use device plugin in ionic framework.
Installation:

$ ionic cordova plugin add cordova-plugin-device
$ npm install @ionic-native/device

Platform:Read more…

How to access camera in Ionic app

Author - Varun Chopra
|
0 Comments
|

Steps to access camera in Ionic app
To access camera to capture image inside ionic application you can use camera plugin.

Installation:
$ ionic cordova plugin add cordova-plugin-camera
$ npm install @ionic-native/camera

Supported platforms are as follows:

1. Android
2. Browser
3. iOS
4 Read more…

How to access Flashlight in Ionic app

Author - Varun Chopra
|
0 Comments
|

Steps to access Flashlight in Ionic app

Flashlight plugin allows you to turn the flashlight on/off of your mobile in Ionic application.
Installation:

$ ionic cordova plugin add cordova-plugin-flashlight
$ npm install @ionic-native/flashlight

Platform:
Android
iOS
Windows Phone 8 Read more…

How to run Background services in Ionic app

Author - Varun Chopra
|
0 Comments
|

Steps to run Background Services in Ionic app

To keep your app running some functionality in the background you can use background mode plugin in ionic.
Installation:

$ ionic cordova plugin add cordova-plugin-background-mode
$ npm install @ionic-native/background-mode

Platform:p Read more…

How to get scan QR Code or Barcode in React Native app

Author - Varun Chopra
|
0 Comments
|

Steps to scan QR Code or Barcode in React Native app

There are different libraries to scan barcode in react native. One of them is react native camera kit.
Installation:
npm install react-native-camera-kit –save react-native link react-native-camera-kit

Add the Read more…

How to get scan QR Code or Barcode in Ionic app

Author - Varun Chopra
|
0 Comments
|

Steps to scan QR Code or Barcode in Ionic app

For Scanning barcode Ionic provides a barcode scanner plugin which opens camera view, which can be used to scans a barcode or QR Code and return the scanned code back to you.

Installation:
$ ionic Read more…

How to access Flashlight in React Native app

Author - Varun Chopra
|
0 Comments
|

Steps to access Flashlight in React Native app

To turn the flashlight on/off on the mobile device react native provides a plugin called react-native-torch.

Installation:
npm install –save react-native-torch
react-native link react-native-torch

iOS Read more…

How to play Audio file in React Native

Author - Varun Chopra
|
0 Comments
|

Steps to play Audio file in React Native

React-native-audio-player is a react-native link module for audio recorder and player. This library provides simple recorder and player functionalities for both android and ios platforms. This only supports default file extension for each platform Read more…

How to run Background services in React Native app

Author - Varun Chopra
|
0 Comments
|

Steps to run Background Services in React Native app

React-native-background-task is a library which can execute a function when the app is closed or in background, no more frequently than every 15 minutes.

Installation:

$ npm install react-native Read more…

Jquery | DataTables warning: table id – Cannot reinitialise DataTable

Author - Webner
|
1 Comment
|

If you try to set properties of Jquery datatable 2 times as below, it will give an error:

table = $(‘#product-data-table’).DataTable({stateSave: true}) ;

table = $(‘#product-data-table’).DataTable
({“aoColumns”:
[
{
“bSortable”: false },null,null,null
]
});

“DataTables warning: table id=product-data-table – Cannot reinitialise DataTable”.

DataTables does not allow Read more…

Safari downloading files in .csv.html format | Workaround

Author - Webner

Problem

In one of the software we are developing, we faced a strange problem in Safari browser on Mac machine. A link on webpage was provided to download a file in .CSV format (server side code written in CakePHP). In Safari, downloaded file was being given the extension Read more…

Zoho CRM Editions and Limitations

Author - Webner

What you cannot do in which type of Zoho CRM license
Zoho CRM is available in many editions and each edition has different set of features.  In this article we are trying to cover each edition and list corresponding key limitations. At the end we Read more…

Salesforce | Sort “wrapper class” objects alphabetically based on a String parameter

Author - Webner
|
0 Comments
|

Suppose we have a Wrapper class with fName as a string instance variable and we want to sort a list of objects alphabetically based on value of this variable.

Implement Comparable interface

global class MyWrapperclass implements Comparable
{
public String fName {get;set;
}

public MyWrapperclass(String fullName)
{
fName=fullName;
}

public MyWrapperclass Read more…

Salesforce | Different ways to use datepicker on visualforce page

Author - Shalini

1. Apex:inputfield:

We can simply use apex:inputfield and bind the field with date type field and it will automatically use the Salesforce Calander:
<apex:page standardcontroller=Contact>
<apex:form>
<apex:inputfield value=”{!Contact.Birthdate}”>
</apex:form>
</apex:page&gt Read more…

PHP | Amazon S3 | Check if a file or folder already exists on Amazon S3 Bucket

Author - Webner

To check if a file or folder already exists on Amazon S3 Bucket, use the following code

Code:
$info = $client->doesObjectExist($bucket, $FileName)
if ($info)
{
echo ‘File exists’;
}
else
{
echo ‘File does not exists’;
}

Webner Solutions is a Software Development company focused on developing CRM apps (Salesforce, Zoho), LMS Read more…

Zoho CRM Editions Comparison Table

Author - Webner
Editions

Free Edition
Standard Edition
Professional Edition
Enterprise Edition
CRM Plus Edition

Pricing Read more…

1 2 3 4 5 6 ... 21 Next page ›