Because I am handeling both the library example and my test record example i have an error each time when pressing play button to record . (called on an uninitilised Audiorecord)
I have restarted the phone in order to catch the problem and after restart the first app that runs is recording just fine .
That means that a release must be done before leaving the app is this correct ?
I have used this code found here to release the job in activity pause
Dim r As Reflector
r.Target = streamer
r.Target = r.GetField("audioRecord")
r.RunMethod("release")
I hope I am not wrong actually I used the release option only when userclosed option in activity pause as for example a scaner or voice recognition will not recreate the activity but only pause and resume .
Please correct me when I am writing BS.
Strange thing is that the app that handles the same hardware resource wrong will cause eventually the crash of the other one .. but the users does not feel that and may tell that your app actually sucks and that is not good .. the problem was same place else!
This might be the case of a lot of other hardware resources on android device !