« first day (19 days earlier)      last day (15 days later) » 

06:46
Hi @Gopal
hi @kevz
How r u?
good morning
i am fine.
what abt u?
Morning :)
I'm cool
oaky
06:47
so wts up?
can i turn on GPS in programatically?
I don't think so
Well all such problems don't come if use Google Fused Location Api
No matter if n/ / GPS is available if u r connected to wifi it still gives location update
ohh. but i am using the network provider . i need to turn it on when user enter in to the app
even if u turn on the GPS it won't be available under ROOF and u'll get no location updates
i finish my app with network.provider so now i cannot change the code so in next update i take FUSION LOCATION api. now is there any way to turn on GPS
06:52
Nah u can't turn it on programatically
ohh my badness
well u can check it using locaion manager and ask user to turn it on
yeah . now i am going to take these steps. turn it on manually by user
sure u can do that
thanku you @kevz, you are reduce by time to search a answer in google
thank you very much
06:54
hey never mind
Most welcome
:) :) :)
07:13
// On pressing Settings button
alertDialog.setPositiveButton("Settings", new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog,int which) {
Intent intent = new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS);
mContext.startActivity(intent);
}
});

// on pressing cancel button
alertDialog.setNegativeButton("Cancel", new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int which) {
dialog.cancel();

}
});
how to close the application when click the Cancel button.. the problem is this code inside "extends Service"
let me check
hmm okay.
ok follow below steps -
yeah
1. Send a Broadcast from service
2. Register Broadcast Receiver in Activity
3. Inside on Recive u can finish the Activity
07:18
hey super
great
* don't forget to unregister the Broadcast receiver inside on Stop
hmm okay.. i tried this.
go on
 
2 hours later…
09:14
hi
09:25
hello any probs?
i want to highlight the one city in google map
I haven't that thing so u have ot search
in google map, i enter any city name the city outlined in google map. but in android how to do this
oh my god
well I d k but a marker is placed in google maps
hmm.. city region want to display it.
try to get the answer in google
09:35
ok

« first day (19 days earlier)      last day (15 days later) »