logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
Offline Enrique  
#1 Posted : Wednesday, August 28, 2013 2:05:08 PM(UTC)
Enrique

Rank: Administration

Groups: Administrators
Joined: 9/27/2010(UTC)
Posts: 31
Man
Mexico

Thanks: 2 times
Was thanked: 3 time(s) in 3 post(s)
Trying to use notifications to return to my App, I found that when clicking the notification message Another Activity Instance was launched.

The way this was solved (I needed to return to the opened instance) was to add to the Activity tag in the AndroidManifest.xml the folowing code:
android:launchMode = "singleInstance"

example:

<activity android:name="MyActivity" android:launchMode = "singleInstance" android:configChanges="orientation"
android:label="@string/app_name">
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.