« first day (213 days earlier)      last day (391 days later) » 

3:34 AM
@malviň @TopCat @HappyMan Good morning
 
4:34 AM
@TopCat welcome :P
 
5:31 AM
@Naruto VGM :)
i need help
 
@HappyMan Yup say
 
@Naruto m showing gcm notification in my app
 
@HappyMan hmm
 
5
Q: How to know if my app is open when I managed a push-notification

jlmg5564Using Android, when I received a notification push throw my GCMIntentService, I want to know if my app is open or not, because if my app is open when the user click on the notification I want to do nothing, but if the app is close I want to open the app.

same issue want solution
??
 
2
Q: Show push notifications when application open/closed in different way

NickFIn my app I've a several Activities that inherit from one BaseActivity. My application receive push notification with GCMBaseIntentService I need to implement the next logic: When push received if the application is open show dialog, if closed show notification. My code: public class GCMInt...

1
Q: Open Android App when Push Notification is received

pranavsethi96When a notification is received my android app opens up when the notification is clicked from notification center but along with that I want to open up my sliding drawer also.. Here is my code IntentReceiver.class (custom push receiver) String action = intent.getAction(); if (action....

5
Q: Open android app from PUSH notification

PinkFloydRocksGot a little problem that's been bugging me.. I've set up my application to receive PUSH notifications from Urban Airship and that all works fine, but when I tap on a notification in the notifications center, nothing happens. I want my app to open when a user taps a PUSH notification - what can...

@HappyMan check all you can do it for sure
 
5:45 AM
@Naruto okay
 
6:16 AM
 
@Naruto I don;t want to owner now.
@Naruto morngingss
@HappyMan hi ... what's the issue man.
 
@malviň You deserved it
 
I don't :@
 
lol
 
6:19 AM
@malviň given you the access
 
41 mins ago, by HappyMan
5
Q: How to know if my app is open when I managed a push-notification

jlmg5564Using Android, when I received a notification push throw my GCMIntentService, I want to know if my app is open or not, because if my app is open when the user click on the notification I want to do nothing, but if the app is close I want to open the app.

@malviň
41 mins ago, by HappyMan
same issue want solution
 
@HappyMan not getting it ..tell in detail
 
@malviň when notification is shown, if app is open don't do anything else open the app
 
6:38 AM
@HappyMan its simple man.
 
@malviň okay please tell me
 
You have to add pendingIntent @HappyMan
 
@malviň m doing that
 
show ur code.
@HappyMan
 
@malviň okay i will tell you
everything works fine, when i click on the notification my app will open,
what i want is, If application is not opened then open the application. If the aplication is already opened don't open it again
 
6:48 AM
@Naruto grant permission. to @user3232044
6 mins ago, by malviň
show ur code.
 
@malviň granted
 
void displayNotification() {

Intent notificationIntent = new Intent(this, MainActivity.class);
PendingIntent pendingIntent = PendingIntent.getActivity(this, 0,notificationIntent, 0);
NM = (NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE);
Notification notify=new Notification(R.drawable.icon,"QualWire",System.currentTimeMillis());
notify.setLatestEventInfo(getApplicationContext(),"QualWire","running",pendingIntent);
notify.flags|= Notification.FLAG_NO_CLEAR;
NM.notify(0, notify);
@HappyMan try this way.
 
@malviň what is the difference between my code and ur code
 
@HappyMan PendingIntent contentIntent = PendingIntent.getActivity(this, 0,
myintent, PendingIntent.FLAG_UPDATE_CURRENT);
this line is the problem.
 
7:01 AM
okay
 
@HappyMan notificationIntent is used to open any specific activity.
if you want to clear the notification then use this.

NotificationManager notifManager= (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
notifManager.cancelAll();
 
7:19 AM
:D
 
@malviň hehe
 
@Naruto what r u doing man?
:P don't repeat mistakes again
 
@TopCat he added me as owner
 
Who grant you write permission?
 
@TopCat stick in a single decision
 
7:27 AM
Hahaa
I was joking owner. ;)
 
@TopCat dont change your mind :P
@TopCat @maven couldn't seen removed text :P
 
Good
 
@TopCat why you remove his write access?
 
@TopCat I will kill you now :D
 
Hehee... I decided to do for 3 days
 
7:33 AM
lol :D
@Naruto he did it man :D
 
@malviň YUP
Lunch time
 
8:33 AM
WC : Gayle Double century - 217(147)
 
@Naruto hmm
 
 
1 hour later…
10:19 AM
 
10:32 AM
any one get lattitude and longitude in a-gps
 
@user3232044 Don't be silly.Directly ask.
 
@malviň Good Quote
@user3232044 you can ask your question directly in detail.If anyone know that,they will answer you
 
10:51 AM
@malviň he left out :P
 
11:02 AM
locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
location = locationManager
.getLastKnownLocation(LocationManager.GPS_PROVIDER);
locationManager.requestLocationUpdates(
LocationManager.GPS_PROVIDER, 60000, 0, this);
not getting lattitude and longitude some sumsung mobile.lattitude and longitude get without net
my requirement get lattitude and longitude without network in all mobile
@TopCat@Naruto@malviň@HappyMan
 
@user3232044 wait checking
change the time duration
It should be like
LocationListener locationListener = new MyLocationListener();
locationManager.requestLocationUpdates(
LocationManager.GPS_PROVIDER, 5000, 10, locationListener);
@user3232044 man ur dead again :D
@Naruto what to do now
 
11:28 AM
@malviň delete your answer :P
 
hahahaa
 
11:43 AM
@malviň lol he is back
 
i am already trying 0,0 not working sumsung
 
@user3232044 whyy 0,0 ??????????
 
@malv
time changed only display searching for gps
@malvin
status of gps
 
25
A: How do I get the current GPS location programmatically in Android?

Nirav RanparaYou can find the location either by GPS_PROVIDER or NETWORK_PROVIDER. Overview of location services in Android. Here is one example which try to find the location using GPS. If your GPS is not available then try to use network for find the location. GPSTracker.java public class GPSTracker ex...

 
one dout passive provider using get lattitude and longitude
programmin
@malvin
 
11:56 AM
bye @all
 
 
2 hours later…
1:30 PM
@Naruto bye @HappyMan @MRS1367
 

« first day (213 days earlier)      last day (391 days later) »