Android :: Print Screen App / Function?

Jan 17, 2009

Do you guys know of an application/function that will allow you to take a screenshot of your G1 screen?

Android :: Print Screen App / Function?


Android :: Add Integer To Screen And Print Answer Loop Wise

Aug 31, 2010

Rather than do this by just creating a lot of strings (which I've already managed), I want to add an integer and then print those list to the screen. At the moment, I'm just trying to get one integer on the screen without even adding it, but the app is "force closed" in the emulator. Why doesn't this work? Add one to it and then print the answer to this for a given loop (say up until 10).

Code:
package com.monkeez.count;
import android.app.Activity;
import android.os.Bundle;
import android.app.Activity;
import android.view.View;
import android.widget.TextView;
public class Count extends Activity {
/** Called when the activity is first created. */
TextView countDisplay;
@Override public void onCreate (Bundle savedInstanceState) { int counter = 1;
countDisplay = new TextView(this);
this.setContentView(countDisplay);
countDisplay.setText("counter here");
} }

The log cat is thus:
09-01 09:54:07.051: DEBUG/AndroidRuntime(279): AndroidRuntime START
09-01 09:54:07.051: DEBUG/AndroidRuntime(279): CheckJNI is ON
09-01 09:54:07.401: DEBUG/AndroidRuntime(279): --- registering native functions ---
09-01 09:54:08.891: DEBUG/dalvikvm(193): GC_EXPLICIT freed 320 objects / 19376 bytes in 109ms
09-01 09:54:09.041: DEBUG/PackageParser(65): Scanning package: /data/app/vmdl48927.tmp
09-01 09:54:09.251: INFO/PackageManager(65): Removing non-system package:com.monkeez.count
09-01 09:54:09.251: INFO/ActivityManager(65): Force stopping package com.monkeez.count uid=10037
09-01 09:54:09.991: DEBUG/PackageManager(65): Scanning package com.monkeez.count
09-01 09:54:09.991: INFO/PackageManager(65): Package com.monkeez.count codePath changed from /data/app/com.monkeez.count-2.apk to /data/app/com.monkeez.count-1.apk; Retaining data and using new
09-01 09:54:10.011: INFO/PackageManager(65): /data/app/com.monkeez.count-1.apk changed; unpacking
09-01 09:54:10.054: DEBUG/installd(34): DexInv: --- BEGIN '/data/app/com.monkeez.count-1.apk' ---
09-01 09:54:10.511: DEBUG/dalvikvm(286): DexOpt: load 169ms, verify 64ms, opt 4ms
09-01 09:54:10.591: DEBUG/installd(34): DexInv: --- END '/data/app/com.monkeez.count-1.apk' (success) ---
09-01 09:54:10.602: WARN/PackageManager(65): Code path for pkg : com.monkeez.count changing from /data/app/com.monkeez.count-2.apk to /data/app/com.monkeez.count-1.apk
09-01 09:54:10.602: WARN/PackageManager(65): Resource path for pkg : com.monkeez.count changing from /data/app/com.monkeez.count-2.apk to /data/app/com.monkeez.count-1.apk
09-01 09:54:10.611: DEBUG/PackageManager(65): Activities: com.monkeez.count.Count
09-01 09:54:10.650: INFO/ActivityManager(65): Force stopping package com.monkeez.count uid=10037
09-01 09:54:11.631: INFO/installd(34): move /data/dalvik-cache/data@app@com.monkeez.count-1.apk@classes.dex -> /data/dalvik-cache/data@app@com.monkeez.count-1.apk@classes.dex
09-01 09:54:11.641: DEBUG/PackageManager(65): New package installed in /data/app/com.monkeez.count-1.apk
09-01 09:54:11.821: DEBUG/dalvikvm(65): GC_FOR_MALLOC freed 6733 objects / 446400 bytes in 140ms
09-01 09:54:12.561: INFO/ActivityManager(65): Force stopping package com.monkeez.count uid=10037
09-01 09:54:12.711: DEBUG/dalvikvm(126): GC_EXPLICIT freed 1940 objects / 106408 bytes in 121ms
09-01 09:54:13.351: WARN/RecognitionManagerService(65): no available voice recognition services found
09-01 09:54:13.831: DEBUG/dalvikvm(65): GC_EXPLICIT freed 4667 objects / 280056 bytes in 173ms
09-01 09:54:13.901: DEBUG/dalvikvm(165): GC_EXPLICIT freed 2326 objects / 125088 bytes in 1059ms
09-01 09:54:14.180: INFO/installd(34): unlink /data/dalvik-cache/data@app@com.monkeez.count-2.apk@classes.dex
09-01 09:54:14.271: DEBUG/AndroidRuntime(279): Shutting down VM
09-01 09:54:14.290: DEBUG/dalvikvm(279): Debugger has detached; object registry had 1 entries
09-01 09:54:14.340: INFO/AndroidRuntime(279): NOTE: attach of thread 'Binder Thread #3' failed
09-01 09:54:15.350: DEBUG/AndroidRuntime(291): AndroidRuntime START
09-01 09:54:15.350: DEBUG/AndroidRuntime(291): CheckJNI is ON
09-01 09:54:15.740: DEBUG/AndroidRuntime(291): --- registering native functions ---
09-01 09:54:16.960: INFO/ActivityManager(65): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.monkeez.count/.Count }
09-01 09:54:17.120: DEBUG/AndroidRuntime(291): Shutting down VM
09-01 09:54:17.170: DEBUG/dalvikvm(291): Debugger has detached; object registry had 1 entries
09-01 09:54:17.250: INFO/AndroidRuntime(291): NOTE: attach of thread 'Binder Thread #3' failed
09-01 09:54:17.301: INFO/ActivityManager(65): Start proc com.monkeez.count for activity com.monkeez.count/.Count: pid=298 uid=10037 gids={}
09-01 09:54:18.611: WARN/ResourceType(298): No package identifier when getting value for resource number 0x00000001
09-01 09:54:18.620: DEBUG/AndroidRuntime(298): Shutting down VM
09-01 09:54:18.620: WARN/dalvikvm(298): threadid=1: thread exiting with uncaught exception (group=0x4001d800)
09-01 09:54:18.680: ERROR/AndroidRuntime(298): FATAL EXCEPTION: main
09-01 09:54:18.680: ERROR/AndroidRuntime(298): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.monkeez.count/com.monkeez.count.Count}: android.content.res.Resources$NotFoundException: String resource ID #0x1
09-01 09:54:18.680: ERROR/AndroidRuntime(298): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
09-01 09:54:18.680: ERROR/AndroidRuntime(298): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
09-01 09:54:18.680: ERROR/AndroidRuntime(298): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
09-01 09:54:18.680: ERROR/AndroidRuntime(298): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
09-01 09:54:18.680: ERROR/AndroidRuntime(298): at android.os.Handler.dispatchMessage(Handler.java:99)
09-01 09:54:18.680: ERROR/AndroidRuntime(298): at android.os.Looper.loop(Looper.java:123)
09-01 09:54:18.680: ERROR/AndroidRuntime(298): at android.app.ActivityThread.main(ActivityThread.java:4627)
09-01 09:54:18.680: ERROR/AndroidRuntime(298): at java.lang.reflect.Method.invokeNative(Native Method)
09-01 09:54:18.680: ERROR/AndroidRuntime(298): at java.lang.reflect.Method.invoke(Method.java:521)
09-01 09:54:18.680: ERROR/AndroidRuntime(298): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
09-01 09:54:18.680: ERROR/AndroidRuntime(298): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
09-01 09:54:18.680: ERROR/AndroidRuntime(298): at dalvik.system.NativeStart.main(Native Method)
09-01 09:54:18.680: ERROR/AndroidRuntime(298): Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x1
09-01 09:54:18.680: ERROR/AndroidRuntime(298): at android.content.res.Resources.getText(Resources.java:201)
09-01 09:54:18.680: ERROR/AndroidRuntime(298): at android.widget.TextView.setText(TextView.java:2817)
09-01 09:54:18.680: ERROR/AndroidRuntime(298): at com.monkeez.count.Count.onCreate(Count.java:19)
09-01 09:54:18.680: ERROR/AndroidRuntime(298): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
09-01 09:54:18.680: ERROR/AndroidRuntime(298): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
09-01 09:54:18.680: ERROR/AndroidRuntime(298): ... 11 more
09-01 09:54:18.940: WARN/ActivityManager(65): Force finishing activity com.monkeez.count/.Count
09-01 09:54:19.470: WARN/ActivityManager(65): Activity pause timeout for HistoryRecord{43fb6718 com.monkeez.count/.Count}
09-01 09:54:19.550: INFO/ARMAssembler(65): generated scanline__00000077:03515104_00000000_00000000 [ 33 ipp] (47 ins) at [0x2de138:0x2de1f4] in 602730 ns
09-01 09:54:22.523: WARN/InputManagerService(65): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@43f92978
09-01 09:54:22.681: INFO/Process(298): Sending signal. PID: 298 SIG: 9
09-01 09:54:22.826: INFO/ActivityManager(65): Process com.monkeez.count (pid 298) has died.

And the Count Manifest.xml is thus:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.monkeez.count"
android:versionCode="1" android:versionName="1.0">
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".Count" android:label="@string/app_name">
<intent-filter> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter> </activity> </application>
<uses-sdk android:minSdkVersion="8" /> </manifest>

It seems that the parser on this site doesn't like to render my xml file - you can see it at
http://pastebin.com/raw.php?i=W75ak3E9

View 2 Replies View Related

HTC Incredible :: Use An App For Print Screen

May 4, 2010

Anyone use an app for print screen on the Incredible?

View 3 Replies View Related

Samsung Captivate :: Screen Print Of 229 Price

Jul 19, 2010

Does anyone have a screen print of the $229 price they can post?

View 4 Replies View Related

HTC EVO 4G :: Screen Capture / Print Screen App For EVO 2.2

Aug 11, 2010

I've read several post on screen capture, most of which seem to be for advanced users and also risk bricking your phone.Is there a screen capture app available or one on the way that does not require rooting phone or installing the SDK?I need to be able to do the screen capture without a PC handy and save the capture as an image to download for later or email it to myself.

View 2 Replies View Related

Motorola CLIQ :: Any Application For Print Screen On Phone?

Jan 9, 2010

Anyone know if we can print screen (take a screen shot)? Any apps that would allow it?

View 2 Replies View Related

Android :: Android Opengl Game - How To Print Images On Screen?

Feb 4, 2010

I'm trying to develop a 2D game to android using opengl. I know how to print images on the screen and animate them. But in my game I have a map and a want to zoom in and out and scroll the map. But I can't figure out the best way of doing it.

View 2 Replies View Related

Android :: Desktop Link To SDK's Screen Capture Function

Aug 24, 2009

I would like to create a shortcut link to screen capturing of my android on the desktop, so I can do it faster, without having to open Eclipse.

View 2 Replies View Related

HTC Hero :: Back Button Function - Home Screen

May 4, 2010

I have just got my hero back from RMA with a new screen. (the old one was fubar). But now the back button is bringing me the homescreen. And not the last screen. So if I browse my settings, and go 4 screens in. I want the back button to bring me to screen 3 (like it used to), and not to the home screen.

View 5 Replies View Related

Sprint HTC Hero :: On Home Screen Long Press Menu Key Function?

Nov 15, 2009

I tried searching for this, to no avail, but here is the situation. I was on my main Home screen and just trying to figure stuff out and when I long press the menu key it brings up the onscreen keyboard. I figured it was for contact search or something, but it did nothing when I typed...or so I thought. Now everytime I back out to the Home screen a little transparent "window" displays with letters i first typed. I cant type new letters to display or even use the backspace key to erase. Any one know what Im talking about?

View 10 Replies View Related

HTC Droid Eris :: Verizon Default And Screen Off Function Goes Back To Two Minutes

Jan 23, 2010

Seems like every day my ring tone goes back to the Verizon default and the screen off function goes back to two minutes.What the heck is going on?

View 7 Replies View Related

Jelly Bean :: How To Disable Auto Screen Locking Function When Close Cover

Nov 4, 2013

Is there a way to disable the auto screen locking function when I close my cover?

I bought a couple of cheap case covers from China and as far as I understand they might not have the right material which causes the IR to be reflected instead of being absorbed.

I don't mind it locking really, aside from maybe a bigger battery consumage, since I often hear it locking itself while in my pocket.

No, my main problem is, with some of the covers, if I flip the front cover side to the back so I can hold the phone easily, it locks.

For example, the 2 I have on me, the leather one locks if I flip it over, the plastic one doesn't.

Really I'd like to disable the function alltogether, I prefer locking it myself together with the trusty 30s idle lock.

How do I disable auto locking when closing case cover.

View 1 Replies View Related

Android :: How To Print To PDF Programmatically?

Apr 14, 2010

Also wondering if anyone knows how to print to a PDF programmatically in Android.

View 2 Replies View Related

Android :: Sync To PC And Print - Non Web

Jun 24, 2010

I am trying to evaluate going over from WM to android, Now I don't know much about how it all works but can I ask is it possible to sync with my Outlook files, calender etc., to my PC via usb without going through a web connection, I've used "my Phone", a disaster, my work is in psychological heath so my data is sensitive, I also have need for my paper files to print sms data, wipe my phone remotely if lost, encryption, oh and is it any good as a phone, touchscreen typing texts.

View 2 Replies View Related

Android :: Any Way To Print Over WiFi?

Jun 2, 2010

Are there any applications which allow you to edit word/excel/pdf documents and print them over WiFi? Is there a way to install a printer onto your Android device which is connected via WiFi?

View 4 Replies View Related

Android :: Print To The Console In An App?

Jun 23, 2010

Can I run an Android app through the emulator and make it print strings to my computer's console? By console I mean the standard place you would expect to see a System.out.println() in a normal java application. So if you ran the java application from the command prompt then you will see the println()s in the command prompt or if you ran the program in eclipse you will see it in the Console tab at the bottom.

View 2 Replies View Related

Android :: Print To PDF (For Future Use) On Phone Possible?

Jun 27, 2010

When shopping online or checking into a flight online. I like to be able to save the receipt screen (or boarding pass screen) to a pdf, so I can easily access it later or print it off. This is easy to do on a laptop with cute pdf or similar. Is there any way to "print to pdf" on an android phone? Or to put it in other words, is there any way to save a webpage as a pdf, so it can be opened again later (and look exactly the same)?

View 3 Replies View Related

Android :: How To Print From Handheld To Printer?

Oct 4, 2010

Did anyone else see the article on how to print from your handheld to a printer...from anywhere? Uses dropbox. I didn't see a thread on it. I've got it working fairly well, although it doesn't seem to work for Excel files at all, and I do sometimes get a debug error. How to Print Files from any Mobile Phone using Dropbox?

View 3 Replies View Related

Android :: Is There Way To Print Activity Stack?

Dec 15, 2009

Actually I was trying to automate some stuff on my android emulator. I start an activity through adb shell using "am" command, but when the activity starts do I have a way out to know that my activity is the one which is at the top & has the focus.I googled about it a lot but couldn't find the right way to do this.

View 2 Replies View Related

Android :: How To Print 3d String In Droid

Sep 18, 2010

I am developing a screen saver by let the user input the string and I will bring this string to print out as a 3d string on the android mobile phone. Please suggest me in the android have function to do this or I have to use openGL ES to develop and how to do that.

View 1 Replies View Related

Android App - Print Method To TextView

Feb 24, 2012

I am new to Android and I'm having problems. I have written a 15-game in java-code and now I'm about to implement it to an Android application.

I have written a method for printing out the state of the board to console in java with this:

public static void printBoard(Board board) {
for (int row = 0; row < 4; row++) {
for (int col = 0; col < 4; col++) {
if (board.getTile(row, col).getValue() == 0)
System.out.print(" ");
[Code] .....

Now I have done the layout for the game and want to somehow write this method into a TextView. Problem is the System.out-print doens't work with android and the question is: How can I write it into the TextView i've created? (deleting sys.out.print)

View 4 Replies View Related

General :: Turn Bluetooth Option On Caller ID Screen To Automatically Toggle Bluetooth Function?

Sep 17, 2010

Is there any way to turn the bluetooth option on the caller id screen to automatically toggle the bluetooth function on vs rushing to home screen toggle?

I'm often on the road at work or just have my hands full and it is such a drain running bt all day. Is there anything close to what I'm asking available or possible?

View 4 Replies View Related

Android :: How To Print Stack Traces For Exceptions?

Nov 17, 2010

Does anyone know how to print stack traces for exceptions caught while running in the Android emulator in Eclipse? I catch the exception and call .printStackTrace() but I cannot find where it is being written. I have tried .printStackTrace(System.out) and .printStackTrace(System.err). I would be nice to be able to direct them to the Eclipse console.

View 2 Replies View Related

Android :: Why Phone Don't Print Stack Trace

Jul 6, 2010

Even explicitly writing e.printStackTrace() it doesn't print to the console, why?

View 3 Replies View Related

Android :: Print A Variable On Eclipse Console

May 2, 2010

I wanted to print the value of a variable on the console for my debugging purpose but system.out.println doesnt work.

View 6 Replies View Related

Android :: Canvas.drawText(...) Does Not Print Linebreak

Jun 30, 2010

I tried to write some text on a surface view I created. It works fine, if title is false, and there is no linebreak added to the text. But if I add a title and therefore a linebreak, the linebreak isn't printed as expected, but instead there is this symbol [] printed.

CODE:...................

View 1 Replies View Related

Android : Print Out Returned Message From HttpResponse?

Apr 3, 2010

I have this code on my Android phone.

URI uri = new URI(url);
HttpPost post = new HttpPost(uri);
HttpClient client = new DefaultHttpClient();
HttpResponse response = client.execute(post);

I have a asp.net webform application that has in the page load this

Response.Output.Write("It worked");

I want to grab this Response from the HttpReponse and print it out. How do I do this?

I tried response.getEntity().toString() but it just seems to print out the address in memory.

View 2 Replies View Related

Android :: Print Backtrace When Debug Native Code

Nov 23, 2010

When I debug android app, if I work with Java, I can use Log.d("TAG", "xxxx", new Throwable()) to print backtrace of Java code. This is really handy for me to find bugs. But when I work with native library (e.g. libwebcore.so), there seems no way to print backtrace in runtime. The only way to debug native code is use gdbserver.

I have a question: Is there any way to print backtrace in C/C++?

View 3 Replies View Related

Android :: Print / Generate A List Of Apps - Export Them?

Sep 17, 2010

With over 100 apps on my phone, how would one go about saving a list incase you have to hard reset or whatever? I could write it down, but wow, I have probably about 150. Any way to export a list or something?

View 4 Replies View Related

Android :: Print POST Request For Debugging In Phone?

Nov 22, 2010

How do you print a POST request for debugging in Android?

I'm using either HttpPost or HttpURLConection.

The intent is to give the POST request to another member of the team so they can reproduce it in another platform.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved