Why not? Post a notification, give it a PendingIntent pointing to your
login activity:
Intent intent = new Intent(this, MyLoginActivity.class);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
PendingIntent pintent =
PendingIntent.getActivity(getApplicationContext(), 0,
It's not about notification. If session is expired I have to start
LoginActivity. As far as I understand NotificationManager
can't help here.
Thank you,
Andrey
On Mar 10, 12:29 am, Dianne Hackborn hack...@android.com wrote:
You should never start any activity outside of an existing activity.
does handler work for you
the handler can post events to the main UI thread. You can process then in
main UI thread and send messages to ui handler from ur asyntask
I am just guessing. if its just notifying user then handler should do the
trick
On Wed, Mar 10, 2010 at 8:23 AM, ailinykh
3 matches
Mail list logo