how to close activity from service

by Jacky » Tue, 10 Aug 2010 04:29:00 GMT


Sponsored Links
 Is it possible to close/finish activities in activity stack  from a
backgorund service.

--



how to close activity from service

by Kumar Bibek » Wed, 11 Aug 2010 04:36:10 GMT


 Generate a broadcast which your Activity is registered for. Depending
on the message, do whatever you want.

-Kumar Bibek
 http://techdroid.kbeanie.com 




--


Sponsored Links


Other Threads

1. How to develop a app for android?

Hi there,
I have download eclipes, ADT,Jre, Android SDk, but how to use?
I mean can i just use eclipes and import jars from Android SDK?
And what ADT is supposed to be use for?

Thanks & BestRegards,
Nio
--~--~---------~--~----~------------~-------~--~----~

2. ALSA sound: Unable to attach mixer

Android is not booting at the moment. I tried building it with ALSA
support.
When booting it gets a segfault on mediaserver and tries to restart it
over and over.

The logcat errors are:

I/        ( 2182): ServiceManager: 0x804abe0
E/ALSALib ( 2182): external/alsa-lib/src/control/control.c:909:
(snd_ctl_open_noupdate) Invalid CTL AndroidPlayback
E/AudioHardwareALSA( 2182): Unable to attach mixer to device
AndroidPlayback: No such file or directory
E/AudioHardwareALSA( 2182): Unable to attach mixer to device default:
No such file or directory
E/ALSALib ( 2182): external/alsa-lib/src/control/control.c:909:
(snd_ctl_open_noupdate) Invalid CTL AndroidRecord
E/AudioHardwareALSA( 2182): Unable to attach mixer to device
AndroidRecord: No such file or directory
E/AudioHardwareALSA( 2182): Unable to attach mixer to device default:
No such file or directory

I've got /dev/snd filled and /proc/asound/ filled.
When the kernel boots it reports one audio card: HDA Intel

I copied the HDA-intel.conf to /system/etc/asound.conf

I changed the directories in alsa-lib/include/config.h to /dev/snd

What's wrong here?


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

3. where is the com.sysfore.gps packet?

4. why in emulator, "/dev/eac" is connected with the audio?

5. Issue with attaching an internal text file to gmail

6. Google blocking phones with specific firmware from the market?

7. Exception happened in MediaRecorder