android - sound stop when device sleeps flex mobile -


i developing simple android mobile app using flex. want download mp3 internet , save on sd card play it.

my problems: 1. can download , play file can't save mp3 2. when device idle sometime , goes sleep mode, sound stops

how can achieve that.

regards,

i looked through android powermanager api , found following working

<uses-permission android:name="android.permission.partial_wake_lock" />  

this allow process run after user presses power button or screen went dim.

regards,


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -