public Initialise(Activity activity) { this.activity = activity; Console.WriteLine("*******************************************GetLocationActor Initiliase"); getLocation GetLocation = new getLocation(activity); GetLocation.findLocation(); }
public GetLocationActor(IActorRef getLocationActor, Context mContext) { Console.WriteLine("*******************************************GetLocationActor"); Console.WriteLine("//////////////Actor getLocation: " + Self); if (!Code.User.CheckInternetConnection()) { throw new Exception(); } getLocation GetLocation = new getLocation(mContext); GetLocation.findLocation(); }