Android :: Retrieve Logcat Before Crash (reboot) On Real Device
Jul 29, 2010
I am developing an application and during my testing on a real device I have found that it will crash and cause the phone to reboot (worrying I know)Is there any way I retrieve the logcat from before the phone rebooted as the logcat seems to reset when the phone boots up.
View 2 Replies
Jun 17, 2010
while my time developing on android I was looking for a functionality to get logcat messages from my real device (when starting an app on it from eclipse) and not only from my emulator.Does someone know how to enable such a feature?
View 3 Replies
View Related
Sep 14, 2010
when I'm using the Android emulator I can do "adb logcat" to see output messages (log / system.out.println) originated from my code. It also shows the stack trace of exceptions which happen during execution.But, when I'm using a real phone, "adb logcat" does not do / show anything. I also tried "adb -d logcat" which also does not display anything.Is there any way to get it working with the real phone?
View 5 Replies
View Related
May 20, 2010
So I have 2 reports now of my app causing a crash/reboot cycle the user can't always break from. I cannot reproduce this on my phone, and I am wondering what might be causing something like this? Would running out of memory or something cause this? Because I can't reproduce it, I can't look at the logs or anything.
Has anyone experiences anything similar? For reference, my app runs a foreground service which utilizes the AlarmManager. It starts automatically on boot_completed (which is probably why the cycle happens). One of the users who reported this, said it only happened when they plugged their phone into a PC.
View 3 Replies
View Related
Jun 5, 2012
When calling, roughly 3 out of 10 calls my phone just spontaneously reboots. It does no matter if I get called or if I am calling. It usually happens straight after a connection is established but in rare cases it also happens during the call. It had this since the beginning when I even did not install 1 app yet.
Other then the calling issue the phone is working flawlessly. I am running the stock Android 4.0.3 HTC ONE V (which I recently rooted, but the problem exists already before the rooting)
Below are the logs for one such crash
System log during call and crash reboot (at around 17:33):
Code:
06-01 02:59:14.756 W/webview ( 9435): at java.lang.Thread.run(Thread.java:864)
06-01 02:59:16.738 W/ResourceType( 6913): getEntry failing because entryIndex 280 is beyond type entryCount 164
[code]......
View 3 Replies
View Related
Dec 12, 2013
I am running a CM11 nightly of KitKat 4.4.1 on a VZW Note II, however I have had this issue with other devices, carriers, Android versions, etc. so I have always assumed it is just the way Android works.
Basically if an app that is currently using the camera (Camera app, barcode scanner, etc) crashes or hangs and gets force-closed, opening any camera app after that seems to always give me either a "can't connect to camera" error or a black screen instead of the viewfinder. In these cases, a simple reboot fixes the issue and I can use the camera again, but this is inconvenient for two reasons:
1. A reboot on my phone takes 45-60 seconds, by which time whatever I wanted a picture of is usually gone or changed.
2. Rebooting means that any apps that don't save the data constantly but run in the background are restarted and I lose the progress. Mainly I am referring to Chrome incognito tabs, but also apps that don't save in-progress data such as puzzle games or video players.
With my limited knowledge of Linux and my slightly less limited knowledge of operating systems in general, I know that sometimes a temporary lock file is Created to prevent other apps/programs from modifying or accessing a file or program until the lock is released. Does that kind of situation apply here, such as a camera lock file being created when camera access is started and then not able to be released if the app crashes.? Also, if that does apply, would manually deleting the lock file or creating a script that does it for me when it is run allow access to the camera again without rebooting? And if that doesn't apply, is there any way to regain camera access without rebooting when this occurs?
View 2 Replies
View Related
Feb 3, 2010
Is there any way to get the file where logcat logs, and export it? I have tried running "logcat" and redirecting the output, but really it's not what I'm looking for.
View 3 Replies
View Related
Jul 10, 2010
Is there a way to look at LogCat when the app is running on a device on DeviceAnywhere?
View 2 Replies
View Related
Aug 31, 2009
Does anyone know how to get the eclipse logcat output to switch from emulator to device and back again? I am often developing, and using emulator and device in tandem, mainly because I can trace the http comms on the emulator and not on the device, and logcat gets stuck on whichever is launched first from eclipse. Right now the only way to get logcat output switched over is to restart eclipse, which is a little time-consuming. Anyone know another way to achieve the same thing?
View 4 Replies
View Related
Jul 29, 2010
I'm trying to redirect the log of my app to the sdcard file. But i failed to do so. I'm trying something like this. String cmd= "logcat -v time ActivityManager:W myapp:D *:* >""+file.getAbsolutePath()+"""; Runtime. get Runtime ().exec(cmd);I tried the -f option also but it is not working either.
View 3 Replies
View Related
Jul 17, 2012
I am interested in check the logcat from device, but I can't. In this link: Where I can find logcat logs on real device?they state that it can be read from /dev/log, but I can't get to this file or I do not how to do it.
View 7 Replies
View Related
Mar 31, 2010
I have Samsung Galaxy. I want to find my latitude and longitude programatically. I can get the location on emulator using eclips Emulator Controlbut, but not able to get the latitude and longitude in device. Is there any settings in mobile which I have to do?
View 16 Replies
View Related
Sep 17, 2010
I have gotten to to the point where I need to test my application on a real Android device. I have obtained an Motorola Droid phone and attached it to my computer (Windows).I have installed the USB driver, and I believe that my computer can see the phone. When I start up the DDMS it shows my device as 'Online'. I cannot, however, figure out how to get the debugger to use the device instead of the emulator. The Android documentation states that when I run my program from within Eclipse that I should be presented with a 'Device Chooser', but that does not happen. I read somewhere else that pressing F11 will bring up the Device Chooser, but it only runs the application on the emulator. I know there is probably something obvious that I am missing here, but I cannot figure out what it is.
View 10 Replies
View Related
Jul 8, 2010
I developed a game. On the emulator (not froyo) I am getting like less than 10 fps. But on my Nexus One with froyo I am getting 50 fps. Is this normal? Which one should I trust, I want my game to perform good on phones without froyo
View 4 Replies
View Related
Apr 15, 2009
On emulator for simulations of GPS there is mock provider "gps" But which is provider for real device , which provider name requires to give? Is it not require to give provider name for appl of real device, will somebody clear for this issue.
View 2 Replies
View Related
Jun 3, 2010
I am developing application using Eclipse. My friend has HTC Hero and I am trying to run my application on it, but it says that the application could not be installed. I did the steps which are described in Android DevGuide. I.e. exported my app with the generated key. Am i right assuming that this is enough? As i understand eclipse signs and aligns application automatically when selecting Export.
View 4 Replies
View Related
Oct 2, 2010
Why don't I get LogCat messages when I debug on a real device as opposed to the emulator?
View 7 Replies
View Related
Mar 13, 2009
I am making an android game, but i do not have the money to buy a developer phone. The game is not finished but i should it is testable.. and if i dont test it know i may have a big problem later... it is playable though. Is there somebody who has a real device and wants to test the game for me, just starting it up and playing it a little bit is good enough. It's a 2d airplane shoot gane, much like the old raptor game. If someone is interested please reply, i will sent you the (singed) APK and with some things i want to test (using both the buttons as well as touch screen for gameplay).
View 7 Replies
View Related
Jun 15, 2010
Is there a simple way to detect that your code is running on the android emulator and not on a real device? I want to work around differences between emulator + real, e.g. with respect to network connectivity detection.
View 2 Replies
View Related
Mar 29, 2010
I know we can communicate between 2 instances of Emulator. But Is it possible to communicate between the a read Device and Emulator?
View 6 Replies
View Related
Sep 3, 2009
In the emulator 1.5, my app can get and play the contacts ringtone. but after the app installed in the real G2, the app can not play the contacts ringtone, and it does not throw any error. in the G2, I have already the contacts ringtone. Does anybody encounter this before?
View 5 Replies
View Related
Jul 6, 2009
I had tried to use the sqlite3 to add a proxy information in the com.android.providers.settings/databases/settings.db, but I still couldn't access the Internet through browser on a real device. I had also tried to use the ProxySetting ap to set proxy. It couldn't work either. Is there any idea to set the http proxy on a real device?
View 2 Replies
View Related
Aug 23, 2009
Can i fake a call into a real device as i can do with the emulator. When i debug my program on my real device, the "Telephony Actions" of DDMS is disabled and i can't fake a call anymore.
View 2 Replies
View Related
Jan 18, 2010
Is there a way to test the application on the real device without publishing to android market?
View 2 Replies
View Related
Nov 21, 2010
After searching the API and no luck, maybe anyone know how could I retrieve the SIM ID of the device?
View 2 Replies
View Related
Jun 7, 2010
I've read this post about mocking location with custom provider, but I am looking for a way to mock the location during a presentation, is that possible?
View 1 Replies
View Related
Oct 29, 2010
I'm trying to test a test app I developed on android 2.2 sdk on my htc phone with Froyo on it (2.2). In the emulator it works fine, when I export as unsigned app and try to install on the phone, it doesn't allow me, just telling me 'application non installed'. The phone has the settings to accept installation of non android application, so I'm not sure why I can't test on it. Is it because it's not signed?
View 2 Replies
View Related
Feb 12, 2009
i need to know about the LocationListener() working in the real time. Does it expect the user(device) to move in order to update the current location details or it automatically updates when ever the gps is enabled? Another query is regarding the getLastKnownLocation(). When is that last known location will be lost and thus returns null... (in realtime).
View 3 Replies
View Related
Jan 18, 2010
Do you about how to install application without any developer's tool(Eclipse, android SDK tools) no the real device? I've compiled and created .apk file. Now I am gonna send apk file to my friend.He is not android developer. And he doesn't know about how to use eclipse. And I don't want to publish my application to android market.Is there a way to launch the application on real device without publishing and Eclipse? I've found a solution related this issue.
http://androidforums.com/t-mobile-mytouch-3g/18657-best-way-load-apk-file-touch-3g.html
But I am not sure this post.Because it has risk.Any suggestion?
View 4 Replies
View Related
Jul 27, 2012
i have developed one login form in android application calling mysql database calling soap webservices.it is worked successfully on android emulator.But not worked on android real device...why my android real device is not supported soap calling.
Quote:
package com.androidlogin.ws;
import org.ksoap2.SoapEnvelope;
import org.ksoap2.serialization.PropertyInfo;
import org.ksoap2.serialization.SoapObject;
import org.ksoap2.serialization.SoapPrimitive;
import org.ksoap2.serialization.SoapSerializationEnvelope ;
import org.ksoap2.transport.HttpTransportSE;
[code]....
my logout window having:
displayed dis message on my logout window: 07-20 04:26:22.728: D/SntpClient(71): request time failed: java.net.SocketException: Address family not supported by
protocol
In my device is displayed:below error is diplayed Java.net.SocketException:The operation timed out.
my emulator is 2.2.my android device version is 2.2.1.
View 4 Replies
View Related