• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Why is the above codes in .java file not recording any videos?

imso

Member
Because i doing an android application similar to this apps
Traffic Recorder (Android) - Screenshots
but it seems like the above code i copied in this website Writing code that captures videos on Android Integrating Stuff does not seems to allow me record any videos and saving it into an SD Card location? What should i do to get the video recorded and saved into an sd card.. Can someone help me i'm actually new in Eclipse and java programming so pardon me for any stupid thing i do in programming..
 
After reading the link u provided i'm still fairly lost :confused: sry i'm kinna bad in programming... What i should do to get the method to start recording and saving it into sd card?
 
After what u recommended now the code record videos.:)
But now how am i going to allow background recording after i leave the application and when i come back its still recording because after all its still a blackbox device??
 
Will removing this statement really work after leaving surfacedestroy without any codes seems weird in the sense the camera will not be release or stop preview running when there's really a need to end the application by the user?

And another question, now i wanted to replace the buttons to surfaceview click, something similar to youtube where user click to start the recording and click to stop the recording by clicking on the surfaceview, how should i come about doing it.. How should i come about doing it? Thanks i really appreciate your help :)
 
To make the user able to close it completley make an exit button(or something like it)

For the tapping use gestures you can easely use google to find it ;)
 
No the thing is that it still give error where it demands the surfacedestroy method the application is force to close... It seems like i need to construct another method to handle the background service isn't it.. Because my lect uses service to do the background recording while multitasking eg; sms and calling.. Can u guide me on this service thing, i tried reading the android developer site but i just don;t get.. :(
 
It seems like i need to construct another method to handle the background service isn't it.. Because my lecturer uses service to do the background recording while multitasking eg; sms and calling.. But he just won't teach me how as it is a project. Can u guide me on this service thing, i tried reading the android developer site and the site u offer but i still don't understand.. :(
 
How are the codes i should add into AsyncTask to allow the background recording, after reading the article i still don't seems to understand, sorry i seems kinna stupid even i tried to understand the article and incorporate it into my codes... Can you help
 
Back
Top Bottom