Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Xamarin.Forms and GooglePlay services

$
0
0

Hello

1) Came across GooglePlay services library and trying to figure out how it can be used. I am interested in geofence and geolocation options, but all documentation refer to Xamarin.Android projects only. Is it possible to use reference GooglePlay in service rather than activity? (any sample?)
The reason for asking - I am trying to implement geofence and geolocation via Google play in Xamarin.Forms project

2) How to start service by using dependency? Solution in this topic covers activities, but I cannot figure out how to do the same with service. I am trying :

  Intent intent = new Intent(**....what goes here for starting service??......**);
  Forms.Context.StartService(new Intent(intent, typeof(LocationService))); 

Any thoughts on that matter will be helpfull,

Thank you!


Viewing all articles
Browse latest Browse all 58056

Trending Articles