In this video it shows how to get the details of the phone such as Model, Manufacturer, Device name, etc. using the Build object in the code. The details of the phone from the Build is available to any app so it can easily be accessed to fetch the details…
Tag: locate
How to Turn ON location services (GPS) without navigating to settings page from your Android App?
In this video it shows how can the user of your App turn ON the location services (GPS) of the phone/ device without navigating to the settings page. It uses google play location services libraries for the same. Following library needs to be implemented in the gradle file for the…
How to detect GPS is ON or OFF (enabled or disabled) from your Android App?
In this video it shows how to check whether the GPS (location service) on the phone/ device is ON or OFF from your Android App. To do this, in the code it uses “isProviderEnabled” API on the location manager to check whether the service is ON. I hope you like…
How to take locators (xpath, etc) in Selenium and check locators in browser before using it in code to minimize the error?
In this video we will show you how to take locators (xpath/CSS Selector/id/name/ link text/class Name/tagName/partial link text) and checking it in browser (debugger tool) to make sure locator is correct and unique. Locators are nothing but exact location of any element on web page. I hope you like this…
How to get Latitude and longitude coordinates from the text address in your Android App without maps layout using Geocoder API?
This video shows the steps to get latitude and longitude coordinates from the text address. It uses Geocoder APIs to get the address list. In this video it just fetches the 1st most probable address matching the text string. However, for more advanced location search one can filter the addresses…
What is a pure random number?
What is random? Randomness – sounds very simple and is evident all around us in the nature. Be it the count of the sea waves in a minute, waving of leaves (or branches) of a tree or chirping of birds. All are random. Pure random. And is indeterministic – unpredictable…
How to create a simple text file in your iOS App? – Xcode tutorial using swift language
This Video shows simple steps to create a text file from your iOS App. It shows the simple swift code which is written to do create the file in the document directory of the iPhone. It uses Xcode environment to develop and simulate the App in the in-built simulator. It…
How to get current location of the phone in your iOS App? – Xcode tutorial
This video shows the steps to create your iOS App which can access the current location of your phone. The location coordinates is fetched in locationManager using CLLocation services of the phone. The location coordinates once received is updated in the Map and also updated in the Labels widgets in…
How to create and delete a file programmatically from your Android App?
In this video it shows how to create and delete a file in your phone’s file system from your Android App. It uses a sample file ABC.pdf for this demo. In this App 2 buttons are created, one for creating the file and another for deleting the file. It uses…
How to get the device last location (using GPS/ Network) without using Map Layout in your Android App?
This video shows how to implement the FusedLocationProviderClient from the Google’s play-services-location to get the last location of the device. In this approach it need not to use the google maps layout or use the Google Maps API key required to get the google map information. This approach uses the…