how to implement musicplayer as service in android

by kavitha » Tue, 30 Mar 2010 14:15:53 GMT


Sponsored Links
 Hi All,

I have a Music Player application and music plays continuously even user
comes out of application UI.

I have read that such background processing should be done with service in
android.

How to do that?any idea?

Please help.

Thanks
Kavitha

--



how to implement musicplayer as service in android

by Ken H » Sat, 03 Apr 2010 00:13:57 GMT


 This might get you started...

 http://marakana.com/forums/android/android_examples/60.html 

Ken

--


Sponsored Links


Other Threads

1. Problem when trying to on Bluetooth under Beagleboard

Hi,

I have ported Android on BeagleBoard. But when I try to on the
Bluetooth It is getting failed. In my logcat I can trace this reason
since it is unable to open ("sys/class/rfkill/rfkill0/state").
In my file explorer it created a structure "sys/class/rfkill" after
enabling RFKILL flag in kernel config file.
But rfkill directory doesnt contain any contents. In bluetooth.c it is
returning error since it cant find this path. Please tell me how I can
enable bluetooth? What is the use of this rfkill.

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

2. how to test JniStaticTest?

Hi all,

I met below error when I tried to test JniStaticTest on my target
board by CTS tools.
tried to google but cannot get any solutions.
Can anyone give me some hits??


cts_host > start --plan Android -t
android.jni.cts.JniStaticTest#test_nop
start test android.jni.cts.JniStaticTest#test_nop
==============================================================
Test package: android.jni
install met failure [install_failed_invalid_apk]
android.jni.cts.JniStaticTest#test_nop....(fail)
Unable to find instrumentation info for:
ComponentInfo{com.android.cts.jni/
android.test.InstrumentationTestRunner}

uninstall met failure
==============================================================
Time: 1844.283s


Thanks for any advice!

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

3. Cannot use third party library

4. How to control the XY postion in ViewStub

5. Help! about sign .apk

6. Still confused with onKeyDown

7. How to register to Internet browser URL change events