React-Native Common Commands

To get the list of available emulator

  To open a emulator

  Listing all available simulators

  open -a Simulator

  Print log on Terminal

  React Devtools https://github.com/facebook/react-devtools/tree/master/packages/react-devtools   Reset Cache

  Update Dependency

 

  1. Clear watchman watches: watchman watch-del-all. 2. Delete the […]

person shubham sharmaaccess_time October 27, 2020launch Read More

Android: Create thumbnail of video

 

person shubham sharmaaccess_time June 5, 2020launch Read More

Andorid: Copy File

 

person shubham sharmaaccess_time June 5, 2020launch Read More

Open Google map

First method: In Android

EDIT: This might not work with Google maps 7,0 hence you could change the URI to : Second option:

Third option:

Fourth option:

 

person shubham sharmaaccess_time August 8, 2019launch Read More

handle “Search” button on keyboard

In the layout set your input method options to search.

In the java add the editor action listener.

 

person shubham sharmaaccess_time March 8, 2019launch Read More

Android Date manipulate

Replace  date with “today” or “yesterday”

 

person shubham sharmaaccess_time February 16, 2019launch Read More

Android camera picker

implement CameraPickerClass.CameraPickerMethod in your activity or fragment

initlize object

call

add in AndroidManifest.xml

create provider_paths.xml in xml folder

 

person shubham sharmaaccess_time February 14, 2019launch Read More

Android Document picker

implement ImagePickerClass.ImagePickerMethod in your activity or fragment

initlize object

call

in onActivityResult

person shubham sharmaaccess_time February 14, 2019launch Read More

Android image picker

implement ImagePickerClass.ImagePickerMethod in your activity or fragment

initlize object

call

in onActivityResult

person shubham sharmaaccess_time February 14, 2019launch Read More

Android Runtime Permission

implement PermissionClass.PermissionRequire  in your activity or fragment  

  initlize object

onRequestPermissionsResult

call with flag

person shubham sharmaaccess_time February 14, 2019launch Read More