Android :: Keep Camera App Running Continuously
May 2, 2010I would like to run the Android Camera application from my development board for about 2 hours continuously.
I want to disable the phone lock screen that comes and shuts down the app.

I would like to run the Android Camera application from my development board for about 2 hours continuously.
I want to disable the phone lock screen that comes and shuts down the app.
I am continuously running a thread in my activity which fetches lat/ lon information and the overlays on the map are updated dynamically through a handler. The overlays can be varying in number and can change dynamically. The thread is interrupted in onPause().
I am over riding the onTap() method in my Itemizedoverlay, where I want to call a dialog or may be start anothrer activity which describes that particular overlay item.
Every time I click on the moving overlay my app force closes.
I am basically using same onTap() method in http://developer.android.com/resources/tutorials/views/hello-mapview.... .
If it is only a Toast message and not starting a dialog/activity then it works fine.
I have yet to try this on an actual device, but expect similar results. Anyway, long story short, whenever I run my app on the emulator, it crashes due to an out of memory exception.
My code really is essentially the same as the camera preview API demo from google, which runs perfectly fine.
The only file in the app (that I created/use) is as below-
CODE:.......
So I was wondering if this is happening to anyone else. If my time since last reboot is high(I am saying over 200hrs) and I use my camera it will stay running in the background. The only way I have found to cure it is to reboot.
View 9 Replies View RelatedTook my EVO out of my pocket when I landed this morning and noticed that I have a horizontal scratch running across the back camera lens. Not even sure where it came from or when it happened. Seems like it'd be way to easy to do though considering the phone rests on the camera lens when you place it on a flat surface. I know this happens to all new toys - but I didn't even make it a week.
View 6 Replies View RelatedI have a Goophone s4 mega running 4.2.2. I was using the camera and it stopped suddenly. And now when I launch the camera app it says can't connect to the camera. I've looked into it a little and I think I'm missing a folder in the system directory called cam data or cameradata. Does that sound like it could be stopping the camera?
View 4 Replies View RelatedHas anyone noticed that the camera on the Eris running Kaos is rendered useless?
View 8 Replies View RelatedIs it possible to have a list activity that dosen't finish? i.e. if you scroll to the end of the list then the start of the list begins again? It's be best if you could also disable the scroll bar.
View 4 Replies View RelatedI'm trying to figure out how to continuously update the coordinates of the trackball. Right now, I just want to write the values on change to TextViews to understand how it works.
I've been looking at the onTrackballEvent. Right now, I assume that each event passed as an argument to it should be seen as a complete event, that is from the start of the trackball movement to the end. Is this correct? Because if so, the values of x and y will be the same during the execution of the onTrackballEvent body. If this would NOT be the case, I could just use a timer and update the values at a regular interval..
So either I have to somehow interrupt the onTrackballEvent call and write the values, repeatedly over and over again while it is still moving, which seems weird, or...well this is pretty much were my Google search skills and Android knowledge comes to a halt.
I am using soundpool to use sounds in my app. One of the sounds i need to play continuously in background. any example how to do this ?
soundPool.play(soundPoolMap.get(sound), streamVolume, streamVolume, 1, 0, 1f).
I'm trying to use the Media Recorder to have my application continuously record audio in memory (to a circular buffer of a known size). Indeed, I'd like to be able to play back the past 10 seconds of recorded based on a certain event in my program. Much of the Media API is designed to linearly record audio to a file. Has anyone an idea on how I could best do this with or without the default API?
View 2 Replies View RelatedI installed Google Sky Map about a week ago. It appeared to complete the installation and the app is working fine. But when I go back to the Market Downloads it is still displaying the animated 'Installing' bar. I have tried a power off reset, even removed the battery for a few seconds but when I return to Market Downloads the 'Installing' message is still there.
View 3 Replies View RelatedWhen I check my logs, when using ListView, I see, that getView() method of a custom adapter is continuously invoked on first 6 elements, even if I scroll to the very end of the list.
View 1 Replies View RelatedI'm having a conceptual problem with a simple application.
I have an empty FrameLayout and I want for a certain event to being continuously repeated until the finger leaves the display.
If I apply:
### code ###
frameLayout.setOnTouchListener(new View.OnTouchListener() { public boolean onTouch(View v, MotionEvent event) { myEvent(); return false; }});
Can anyone tell me how can I use my computers web cam as camera in android emulator. Tutorial would be a great help for me.
View 6 Replies View RelatedI have one simple question regarding Java TimerTask. How do I pause/resume two TimerTask tasks based on a certain condition? For example I have two timers that run between each other. When a certain condition has been met inside the task of first timer, the first timer stops and starts the second timer, and the same thing happens when a certain condition has been met inside the task of second timer.how do I pause timer1 while running timer2 and vice versa while timer2 is running? Performance and timing is my main concern as this needs to be implemented inside another running thread. By the way I am trying to implement these concurrent timers on Android.
View 4 Replies View RelatedI bought a HTC hero (white, in UK) a few days ago - It worked totally fine until today! Now it switches itself on & off continuously! Unless I take battery off! The only way I can rectify the problem is if I take the SIM card out altogether, then it seems to stay switched on without a problem! I have also tried another SIM card just incase I had a fault with my SIM but it does just the same.
View 8 Replies View RelatedMy phone restarts continuously ! I have to reboot it without sim to turn off data and reboot again ! anyone knows what is this problem I love my phone and I really don know what to do.
View 2 Replies View RelatedHow to stop Flickr from running in the phone and how to bring it back after disabling the app? I installed Flickr on my Droid Rezound. I didnt know it was already on the phone. I installed the Google Play version on top of the already installed version on my phone. I tested it out and decided not to keep it. I uninstalled the Google version and found the app was still trying to upload photos. Did some searching in the phone and disabled the phone version. After that it still tries to upload the photos. I signed out of Yahoo and Flickr and it still tries to upload. It's not that I care if the pics upload, but when I've taken lots of pics the upload gobbles battery life.
View 3 Replies View RelatedI've tried calling Verizon about my Droid 2 resetting almost nonstop. I can't make it through a phone call or browse the web or anything without it resetting. I had had my first one for less than a year when it started acting up. Verizon tried sending me a replacement but it did the same thing. Now I'm on my third Droid 2 in less than a year and it's resetting on its own also. I haven't downloaded any apps on this newest replacement so I don't know what's causing it. Could it be my battery or SD card? I'm just at a loss and I really don't want to get a new phone already.
View 9 Replies View RelatedSo today I was driving in my car with my phone on the space between the gear shifter and the console( Lexus ES300- forget the name of the place). Anyway, I had it there and when I touched it, it was hot to the touch. I checked the Temp and it clocked up to 47.8 degrees Celsius (wish the standard HTC battery widget came with an option to change to Fahrenheit). I was alarmed as it has never gone that high before and I was not doing anything with it while driving (as that would be stupid). An hour later I was driving again and plugged it into the car charger to charge it and it shot back up to mid 40's range. Could it be the sun reflecting off of the plastic?
View 9 Replies View RelatedMy tablet Yuandao N70S is in continuosly reboot.It worked ok fora month but now didn,t pass logoscreen.And i can,t charge this tablet,charger is ok
View 1 Replies View RelatedMy camera stopped working. When I click my camera application I get the message "The application camera (process com.android.camera) has stopped unexpectedly. Please try again". It's just a blank screen?
View 3 Replies View RelatedI don't have headphones plugged in and I am getting the icon. And also sometimes getting headset as well and am not able to get or make phone calls when this is active. I have to phone off phone to reset this.
View 2 Replies View RelatedI have a Xperia mini pro and it worked perfectly till one week ago because I face a problem with my WIFI.
when I turn on my WiFi and want to use it after maybe 1 minute suddenly it turn off and turn on again and it continue ... so I cant work fine.
Is it hardware problem how can i fix that???I change many kernels and rom's but still I have problem.
i am developing an android based application "Route Tracker For Special Person".
well i am working with Google map api v2 and till now i have include map in my app and mark some places and further work i need to know this... During traveling When user reach at specific location let say user reach at location A, i have to call an event. e.g My app should find current locations continuously and automatically and match with locations that i marked ( how can it be done) and when it matched, event should be called.
After attempting to download a few apps (actually a bunch of language apps), ie, after successfully downloaded only 5 of the bunch that I selected on Google Play, my Evo V 4G Virgin crashed and restarted.
After this shutting down and restarting repeated a few times, I uninstalled all new apps and force stopped and disabled Google Play... to no avail.
"Google Play Store is not responding. Would you like to close it?" message pops up twice and then the phone shuts down and restarts again continuously.
Did I get a virus?
These are the apps that downloaded before it started to do this:
Italian Lessons and Flashcards
Japanese Lessons + Flashcards
Chinese Dictionary+Flashcards
Japanese Word a Day Widget
Italian Word a Day Widget
BTW, after a couple of months I had the phone, every time the phone is restarted about 2/3 of my apps blank out (ie, replaced by the generic green Android icons) for a few minutes before they are all reloaded up. Why is this happening? Is this normal? Is this related to what's happening?
I just got a Dell Venue 8 which comes standard with Android 4.2.2 and it continuously reconnects to my wifi network. It just cycles through Connecting -> Authenticating... -> Saved, Secured with WPA and then starts over again with connecting. All other devices work on the network so it isn't the router. I've tried to toggle wifi on and off, toggle airplane mode on and off, forget and reconnect to the network, and turning it off and on and nothing has corrected it. I haven't found much googling this issue or on Dell's support page.
View 3 Replies View RelatedI have a project that builds against Android v2.1 . I can run it fine on a phone running 1.5 but when I try to launch it with an emulator running 1.5, the emulator doesn't show up on the list of available AVDs. I have the <uses-sdk android:minSdkVersion="3"/> tag in my manifest but it doesn't make a difference.
View 2 Replies View RelatedI am trying to get the list of process running in the background.
View 4 Replies View Related