location - Geofencing in android app -


I am creating a check and am currently checking the application. The user will be able to check with the current location and when he goes 50 meters away from the current location, he should be checked out.

Can it be implemented for Android using Geo Fencing?

I do not know how to use this piece of code but how to use it. SimpleGeofence mUIGeofence1 = New SimpleGeofence ("1", Double.valueOf (mLatitude1.getText () toString () ..), Double.valueOf (mLongitude1.getText () toString ()), Float.valueOf (mRadius1.getText () toString ()), GEOFENCE_EXPIRATION_TIME, // this geofence record only entry transit in Geofence.GEOFENCE_TRANSITION_ENTER); MGeofenceStorage.setGeofence ("1", MUGOffance 1);

I would really appreciate if the geo-fencing can be given the right way to use.

You can apply using this geofencing.

The sample code deploys you with a object with Geofence

You want to know how to register a geofence, and ask about using the Geofening API. PreGi has some sample code that spawns the use of APIs in 10 lines of code.

Comments

Popular posts from this blog

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -

c# - The item with identity 'Id' already exists in the metadata collection. Parameter name: item -

c++ - Redefined variable in the other module -