Questions tagged [android-debug]

The Android SDK provides most of the tools that you need to debug your applications. This tag covers debugging concerns when developing Android applications.

The Android SDK provides most of the tools that you need to debug your applications. This tag covers debugging concerns when developing Android applications.

More Info

426 questions
0
votes
1 answer

Dynamic notification for my android app

I would like to set dynamic notification for my app. For E.g if 4 of my app installed in four of my friend mobile. They have to hear my voice "Amir"(as notification that was recorded by me and it should store in my app while i install) when i send…
Amirtharaj
  • 77
  • 3
0
votes
0 answers

how to set log level for particular android application in eclipse

My problem is that I could not find any output in logcat for csipsimple. Because of it, I am trapped of debugging. So could somebody tell me how to fix this problem?
Amit Sharma
  • 91
  • 1
  • 1
  • 5
0
votes
1 answer

USB Vendor ID for GIGABYTE

I start development with Ubuntu and I need to add a udev rules file that contains a USB configuration. I do not find Gigabyte in this table. (model GSmart Maya M1 v2) How to get out of this situation? Edit: I find it. Solution: 0414 For other…
ViT-Vetal-
  • 2,431
  • 3
  • 19
  • 35
0
votes
1 answer

HTC one x doesn't remember debug mode

When I connect any Android Smartphone which I previously used to debug to my pc, normally it automatically sets the debug mode enabled. Somehow since a few weeks my HTC one X stopped doing this. Everytime I connect my smartphone I have to manually…
Bart Burg
  • 4,786
  • 7
  • 52
  • 87
0
votes
3 answers

Android app java.lang.IllegalStateException error

Hi i'm trying to develop a calculator app, which can calculator your lean body mass from given weight and height! everything works fine buy if I left editText empty and press Calculate button then my app is crashed! here is my code package…
0
votes
1 answer

Eclipse Kepler does not allow debugging on Samsung Galaxy S4

I'm using a Samsung Galaxy S4 I9505 (Jelly Bean 4.3) as my debug target, and I've done the preliminary steps already: Tapped 7 times on the "Build Number" under "My Device" to enable developer menu Enabled USB Debugging from the device Unchecked…
0
votes
1 answer

Android on touch events not detecting after scrolling

I am facing problem during detecting touch events. Its working fine without scrolling. But after scroll finished when I am removing finger not able to receive motion up event.I am using following code. linearMain.setOnTouchListener(new…
0
votes
0 answers

android camera must call twice

I have an Android app about camera, the problem code like: Intent mIntent = new Intent(Intent.ACTION_GET_CONTENT); mIntent.addCategory(Intent.CATEGORY_OPENABLE); mIntent.setType("image/*"); startActivityForResult(mIntent, REQ_FROM_ALBUN); And then…
0
votes
0 answers

Android: How can I find what opens my app constantly

While debugging other application I've noticed that my app constantly starts to run. I've noticed this in the device view in eclipse. How can I debug what code causes it to start? or what process start to run.
RCB
  • 2,253
  • 2
  • 25
  • 49
0
votes
1 answer

What could cause SurfaceView to be choppy unless USB debug connected or Show CPU Usage turned on?

I have written a SurfaceView-based rendering system (basically identical to that shown in the LunarLander example) that has some frame rate issues. Rendering is very fast, but in different conditions, the frame rate exhibits serious spikes. The game…
hunt
  • 372
  • 1
  • 10
0
votes
1 answer

Android Accessory works only with MTP/PTP/USB Debugging on

When using a rooted Nexus 7, The phone only identifies as an accessory when USB Debugging mode is on. I don't have this issue with a cyanogen mod phone (both running 4.3). How can I make the phone respond as an accessory when Debugging is turned…
yarbelk
  • 7,215
  • 6
  • 29
  • 37
0
votes
2 answers

Android development set background

I want to change the background photo by changing the main activity java code here is what I write. When I run the application on my galaxy s3 and when I click the button, my phone get stuck and exit the app This is the xml code:
Shalom Balulu
  • 379
  • 1
  • 9
  • 20
0
votes
1 answer

What is Radio logs?

I would like to get information on Radio logs in android.Please help me. As of now i know only the command to view them.i.e adb logcat -b radio. Where are radio logs used?And why are they used?
user3035740
  • 933
  • 2
  • 8
  • 11
0
votes
1 answer

How capture all System.out.println output inside my Android App as String

I have an App that uses various System.out.println("Bla bla");and I want that all these calls are captured and processed as String so I can view them in a TextView with something like void updateTextView(String capturedPrintline){ …
AndreaF
  • 11,975
  • 27
  • 102
  • 168
0
votes
2 answers

Capture LogCat when USB is busy (to SDcard)

I've already tried with no success to find a clear answer for this here, so forgive me if the answer is obvious. I'm developing an app that communicates with external devices using the USB as OTG. The problem is when a crash occurs, I can't debug it…
Mark
  • 1,540
  • 2
  • 13
  • 21