BroadcastReceiver and onRestart

by RyJan » Sat, 07 Mar 2009 10:53:19 GMT


Sponsored Links
 I have an app that has an integrated BroadcastReceiver to handle
incoming calls.  That BCR interacts with the NotificationManager to
post text to the notification bar on the top of the screen.

In previous versions it seemed that when the user would use the
Notification drag-down to get into my App, the onCreate method would
be called essentially re-initializing my app.

In 1.1 this doesn't seem to happen, i need to manually refresh my app
to list new data.

I was curious if its was ok to override the OnRestart() method in my
activity to refresh my data list?

or is there a better way to let my activity know through the
BroadcastReceiver that it needs to look for new data?

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Tab Index

Hi,

How to set Tab Index for elements in android ?..


In my layout i'm having more than 5 textview.

I need to set focus first on 2nd textview then 4th then 3th...
Like that i need to focus.

How to set tab index for that?...

Any suggestion or example program ?..

-- 
Thanks & Regards
Sasikumar.S

-- 

2. video resolution..

Hi,

What is maximum video resolution supported by android (over regular display
and HDMI o/p)? Is it scalable?

Thanks,
Deva

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. Sudah root tp tdk bs drocap

4. Akhirnya n1 ku app2sd juga

5. Media Player not working on HTTPS as Data source

6. port forwarding

7. Smaller tabs, such as the Facebook official app