Android :: Can A Backgrounded App Take Screenshots Of Currently Active Screen
Aug 5, 2010
I'm new to Android development, and I was wondering if there is a way to have an app take a screenshot of the currently active screen, do some processing on the screenshot (which would be internal to the app and temporary; I don't want it in the photo gallery), then communicate with a remote server over the Internet?
I am of course looking for more than a yes or no answer. An example of an api call or library I could use to do this would be a perfect answer.
The purpose would be to have a program screen scrape another program to recognize some text and use it for updating an online service.
View 1 Replies
Jul 20, 2010
I don't even know if this is possible yet for the droidx but I would love to see how everyone customized their droidx screens. I love looking how everyone does theirs to get some ideas for mine. So lets get started
View 3 Replies
View Related
Jul 14, 2009
I have a map activity for which I would like to have the screen turned on as long it's active (the app consists of one activity only). When the activity is paused or stopped I want to return to normal on/off mode. Keeping the screen on works fine while the app is running but when I exit the app the screen stays on as well. What am I missing?
View 3 Replies
View Related
May 28, 2009
I've dug through the documentation but couldn't find a call that would fit: Is there a way to find out the screen status (Active/dark)?I've got an app that implements the relevant data processing and backend server connectivity through a Service that I keep running on a reduced activity level when the user puts the device to sleep (using end button), or when the screen timeout hits. In the app code, I can follow this status change, because it triggers calls to overloaded onStop() and onPause() methods of the app's subclassed Activity. This way, I control active/reduced ("sleep") activity levels of that Service. Everything's cool and dandy in this scenario.Enter an AppWidget that's using this Service in a similar fashion, with functionality implemented in a subclass of AppWidgetProvider. This changes the game - I have found no way to determine when to set the Service to the reduced ("sleep") activity level from that point. The app's Activity has long paused, and I keep the Service at active level, as the widget needs updates from the Service similar to what the Activity needs when in front. With the AppWidget on the home screen, I want, and should (re: battery life), drop the Service's activity level when the device enters sleep mode. The most elegant way to handle this would be to detect whether the screen is dark, right inside the Service.
View 5 Replies
View Related
Oct 31, 2010
I've implemented a Service in my android app that starts a timer (using the standard java.util.Timer and java.util.TimerTask mechanism) to do some processing in the background on a pre-defined interval.
CODE:...
The service is started / stopped by my application like this.
CODE:..........................
As long as the phone is active (no screen-timeout occured), the service is running fine, and the Timer is performing its job at the defined interval. Even when I quit the application (using the back button), the timer remains active.
However, as soon as the phone goes into timeout, the timer task is no longer running stable. If I leave the phone in timeout for several hours (at night), I would see that on random occasions (sometimes a several hours interval) the timer kicked in.
Also, when the phone is activated again, all timer runs that have been queued are suddenly executed in one shot before resuming back to the normal interval.
What would be the right way of implementing a timer that continues to run properly, even after the phone has gone into timeout. Should I resort to using the PowerManager and WAKE_LOCKS (as described here http://code.google.com/android/reference/android/os/PowerManager.html), or is there another mechanism ?
View 1 Replies
View Related
Jul 10, 2009
My program does some network activity in a background thread. Before starting, it pops up a progress dialog. The dialog is dismissed on the handler.This all works fine, except when screen orientation changes while the dialog is up (and the background thread is going). At this point the app either crashes, or deadlocks, or gets into a weird stage where the app does not work at all until all the threads have been killed.How can I handle the screen orientation change gracefully?
View 9 Replies
View Related
Jul 31, 2010
My phone would be in my pocket, but if I were to take it out and check my mail, the screen would be blank. I would see the wallpaper and the 3 icons on the bottom of the screen (phone, application drawer, and contacts). It'd lag for a bit before things show up. When I say lag, I mean a pretty significant lag.
View 7 Replies
View Related
Jan 14, 2010
I listen to Slacker Radio a lot and I noticed that even though my screen will be locked, the volume rocker on the side of the phone will still be active to change the volume for the music. I'm kinda on the fence about whether I like this or not (sometimes it's annoying to unlock the screen just to change the volume by a notch or two, but I also don't want to change the volume by accident when it's in my pocket), but either way, is it supposed to be like this?
View 2 Replies
View Related
Jul 3, 2009
Is there a way to find all the alarms which is currently active set to go "off"?
View 2 Replies
View Related
Nov 20, 2009
Users report problems. I need them to take some screenshots and email to me. But most users don't know or have the needs to install the dev. env to just take screenshots. It's just too hard for them. Why can't Android make it as easy as on iPhone (pushing two buttons together)?
View 2 Replies
View Related
Mar 21, 2010
I have been trying to install the android sdk to take screenshots on my Milestone. I am using this How to take screenshots of your Android based phone from Windows - Simple Help tutorial. I have installed the sdk, jdk, and the drivers for my milestone but when i run ddms it opens cmd prompt and then closes. If someone would come on team viewer and help me finish the installation i would appreciate it.
View 10 Replies
View Related
May 7, 2010
So instead of going the rooted route out of fear of voiding my warranty and tampering with my phone, I've done extensive searching on how I can capture screenshots using my Mac OSX (10.4.11). I'm at my wit's end after encountering a multitude of issues and have even tried using a Windows PC which didn't work either for a different reason. Every time I try opening up the DDMS on my Mac, there's a window that pops up saying: There is no default application specified to open the document "ddms". After seeing if certain applications would make it open, it doesn't work. Where do I go from here? Aside from having the latest Java software (which I'm not even sure, although whenever I check for updates there's no option for it on the list), do I need anything else to make it open and operate? If anyone could help me out here I would GREATLY appreciate it. I wanted to drop in on the "Post your Screenshots!" thread but I would've looked like a pendejo with my ghetto-fab pictures of my phone shot from my digital camera.
View 5 Replies
View Related
Sep 21, 2010
Why couldn't android just make it simple to take a damn screenshot? I have the SDK and it worked awhile back and now it wont work at all. There is no reason why my phone shouldn't be able to take a screenshot without having to root or hook it up to my computer and now that wont even work.
View 9 Replies
View Related
Jun 19, 2010
I want to achieve this kinda of row look in my app. I already have a ImageView/TextView layout, but I want that 'positive' little image in the right always being displayed at the exact same place!
View 1 Replies
View Related
Sep 22, 2010
I'd like to take screenshots on my android phone. I'm an app developer and have a pretty good understanding of the regular API, and I know this steps out of the "regular" thing quite a bit. I would have root access. I've seen a few apps that do this. I'm just wondering how one goes about doing it. Anybody know the general direction I should be looking in?
View 2 Replies
View Related
Jul 22, 2010
is there any app for taking screenshots without root? I'm using Eris.
View 10 Replies
View Related
Sep 11, 2010
Here's mine using WidgetLocker, with the following Widgets and Shortcut:
1. Clock Droid Pro
2. Bat Stat
3. Camera (Shortcut)
4. WeatherBug Small
5. TerraTime Globe (XL)
Live Wallpaper: Galactic Core Donation
I abhor sliders so I have mine set to "Trackball Unlock" and back press duration of 5 seconds.
View 1 Replies
View Related
Sep 3, 2010
What's the reason that a phone needs to be rooted in order to take screenshots? I'm almost in disbelief that something as simple as a screenshot app isn't available (or built-in!) for an unrooted phone. It just seems like such a normal thing to do.Is it possible that in the future an unrooted phone can have an app to do this, or is there something about Android itself that doesn't allow it?
View 10 Replies
View Related
Jun 10, 2010
whats a good screenshot app that you guys use? also is there a good app where you can view a live (or close to live) feed of your phone on your computer? and by live feed i mean a live feed of your screen, not your camera. i already have an app called bambuser that lets computers view a live feed from your camera.
View 6 Replies
View Related
Oct 5, 2010
I have published a free app on the android market. I want to edit the description and add a couple of screen shots. While the "Upload Aplication" screen on http://market.android.com/publish lets me make these changes & saves them too, they don't show up in the description of the app when I go the android market. Do I have to unpublish & republish the app (in which case I might run into version issues)? Or else, how do I make these changes to description appear on the android market?
View 1 Replies
View Related
Nov 29, 2009
Just found them in a thread about a possible 2.1 dump into the hands of the European Hero devs over at the XDA forum. Check them out:
Hero Android 2.1 Hero Build Screenshots
Looks promising!
Remember, 2.1 is supposed to have native CDMA support built in. This means, theoretically, that if the Euro 2.1 ROM is released, devs *should* be able to cook up a ROM and release it for our Sprint Heros possibly sooner than expected! Assuming root will be required...
View 37 Replies
View Related
Oct 11, 2009
I've just released my 2nd application: Sound Camera. It lets you take a photo using a noise rather than pressing the button.
The idea is, if you want to take a self-portrait, or be in a group photo, you can set the camera up, and when you're in position you just clap. (Or make some other noise)
It also has a countdown timer, in case you don't want to make a noise. And you can also take a photo by just touching the screen.
It seems to work pretty well on my G1, and a friend has tried it on a Hero. I hope it'll be of use to people. If anyone has any comments or feedback, and can report successes or failures on other Android phones, I'd be most grateful.
There are screenshots on my website: Sound-Camera
And you can see the marketplace entry, via cyrket.com
Cyrket - Sound Camera
p.s. I realize I might not get much feedback as it's a paid app. But I hope to get a free trial version released soon.
View 1 Replies
View Related
Aug 23, 2010
For those of you that want to take screen shots and are not rooted, not as simple as that but can be done if you want to try it. FYI thanks goes to Chewedpup for researching and finding this info:
C&P
Taking screenshots on an Android-based phone by Christina Warren
Even before playing with the new Android phone, the T-Mobile G1, I knew that I would need to be able to take screenshots of the phone itself. Using a digital camera to capture screens externally just wasn't going to cut it. Because the Android platform is open (and now, open source), I really didn't expect this to be a problem. If anything, I thought there would be a way to take screenshots directly from the device like you can with the iPhone and iPod Touch. Alas, I discovered this is not the case. After scouring Google trying to find answers, I asked Engadget's Editor-in-Chief Josh Topolsky what they used for the screenshots in their review, and he was nice enough to fill me in on the details.
Warning: right now, taking screenshots from an Android device requires installing the SDK. That doesn't make it as simple as pressing a button, but it's not the end of the world. If you've got a few minutes, and a quick connection with which to download the SDK, we'll show you how to take delicious Android screenshots of your own.
Step 1: Enable USB Debugging
On your Android phone (in this case, the G1), go to Settings, then Applications, and then Development. Check the checkbox for "USB debugging."
Step 2: Download the Android SDK
Download the SDK for your platform here. Google also has some great installation documentation if you get lost. You will need to make sure you have a current copy of the JDK. To use the SDK, you also need to download an IDE like Eclipse. After installing Eclipse, you can install the Eclipse plugin to connect Android and the IDE together, or just do a lot of stuff via the command line. Go ahead and plugin your Android handset into a USB port on your computer, if it is not plugged in already.
Step 3: Run DDMS
After configuring Eclipse or whatever IDE you use to work with Android, you need to open up the DDMS application from within the "tools" folder in the Android SDK's main folder. After DDMS launches, select your handset from the menu on the left (it should be the only device listed). You might see an error message, but the debug tool should be loaded. Then, click CTRL-S on your keyboard. This will bring up the "Device Screen Capture" interface. From here, a static image is captured from what is appearing on your handset. You can save the image (nicely defaulted as PNG) and then refresh to your heart's content to grab updated or different screenshots from your phone.
That's it! There is a caveat: Because your device has to be plugged into USB to be accessed by the SDK, the SD card cannot be used for taking photographs, playing music or downloading music from the Amazon.com MP3 store. You can take pictures of some of those screens but to actually download anything, take movies, or take a photo, you cannot have your device plugged into the computer and accessed by the SDK. Again, this is hardly as simple the iPhone's screenshot interface, but it is still very doable.
View 7 Replies
View Related
Aug 13, 2010
Thought I'd inquire here where perhaps some other dev is having similar problems currently. I've done this before (months ago) and as far as I can tell, I'm doing it the same way. My 480x854 24-bit PNG screenshots are being scaled/cropped by Market. Same with 480x854 jpgs. It looks like they're being cropped to 480x800 but of course, Market won't let me upload an image with those dimensions. Windows explorer confirms that my PNG file is of the proscribed size and bit depth.
The app is Metronome++ if you want to see what the problem looks like on Market. Do I really need to work around this by providing screenshots with margins? As 480x854 is a standard screen size, I am assuming the intent is for the screenshot to go edge to edge in both horizontal and vertical directions. Perhaps mistakenly.
View 4 Replies
View Related
Sep 3, 2010
How to take screenshots of your Android based phone from Windows - Simple Help..To get the Android drivers, i had to install the HTC Sync program that comes on the disc with your phone, or you can download the drivers from the HTC Site: HTC Desire - Software Download.To enable USB Debugging: Settings->Applications->Development->USB Debugging.Once you have everything installed and run the DDBMS.bat, which starts the Davlik Debugger.Single left click on the device (your phone listed). Loadsa info will scroll up in the bottom pane.Then just go Device (menu) and screen capture. The rest is simple.I then created an account on Photobucket.com to host the images that i took.
View 7 Replies
View Related
Jul 26, 2010
Anyone knows how to build errors like that shown in Androffice screenshots on AppBrain (http://www.appbrain.com/app/android.androffice)?
I think that I saw errors like that before. Is that built in Android SDK?
View 2 Replies
View Related
Mar 3, 2014
Ok so pictures and videos appear to automatically backup with Google+, but I restored my phone and my screenshots didnt come over! Is there a way to adjust the settings to also backup screenshots? I have look and cannot find it.
If this is not an option, what are the other best screenshot backup methods? (note I have an unrooted phone)
View 7 Replies
View Related
Apr 17, 2010
For those looking to see what Android 2.1 brings to the Hero, I just spent about 6 hours compiling this with full details: Detailed Mega Review Of Android 2.1 On Our HTC Hero Discover All The New Features (With Lots Of Screenshots)
My favorite new feature is probably the speed-to-text but the absence of lag is a close 2nd.
View 22 Replies
View Related
May 18, 2014
I tried to take a screenshot using the power button + volume down key method, and it does animation of taking a screenshot, but the resulting file is "media not found" and simply shows a blank picture in the gallery. It was working earlier today, not updates, nothing.
View 1 Replies
View Related
Aug 24, 2010
I have my DrInc rooted with Adryn's third wave but I still don't know how to take screenshots. I searched the forum and couldn't find anything. I'm sure its extremely easy but island how to do it.
View 7 Replies
View Related