by Jeffry Leonardus » Sun, 31 Jan 2010 03:09:51 GMT

Sponsored Links
 File .zip nya kq gak bisa di download yah suhu? saya pake gmail apps nich...
Mohon pencerahan buat nubie... jangan diomelin yak...

#sent from Google Own Son#

As subject

sent from sexy nexus



Other Threads

1. AppWidgetProvider and BroadcastReceiver

I need some help understanding how this works.

I have an app widget that extends an AppWidgetProvider to create an
application widget.

I would like the application widget to be idle until an activity in my
app runs; actually when a service in my app is started.

Once that service is started, I need to "wake up" the application
widget and communicate with it (i.e. tell it things to display).

So I see that AppWidgetProvider simply extends BroadcastReceiver -- so
does that mean:
1. I need to call registerReceiver in my service and tell it to filter
for certain kinds of events?
2. Can I even do #1, or will an AppWidgetProvider *only* accept
3. If #2 is correct, how can I communicate or "wake up" / trigger the
application widget?
4. Can I send events to my app widget using sendBroadcast( intent )?

Then, my app widget has some buttons on it, I need to send an intent
back to the application (or service).  I see you can do that with
PendingIntents, but if i send the different intents it to the same
Activity, it seems to re-use the first created pending intent.


2. Trouble using ListView


I'm just trying to set the content of a List View from a String[]

and i tried using the ArrayAdapter to set the List Adapter. as...

setListAdapter(new ArrayAdapter<String>(this,R.layout.mycustomlayout,, list);
where list is my String[] array.

mycustomlayout file is as follows....


Do tell me what i'm doing wrong.

I seem to be getting a nullpointerexception in the above mentioned
line in my code.



3. Saalam kenal dan mau belajar android

4. Support for newer kernel versions

5. help me:Compile the android kernel for the Emulator

6. Help me: Compile 2.6.29 for Htc Hero

7. activity leaked a window