I want to create application that can play a streaming music . When I press home my app can running in background but when I open another application that use more memory my
Look the activity lifecycle :)
http://developer.android.com/guide/topics/fundamentals/activities.html
I think you must do a service.