Curious debugging problem

by MrChaz » Fri, 17 Apr 2009 01:13:09 GMT


Sponsored Links
 I'm getting a force close on a real device but I can't replicate it on
the emulator which means I can't find out why it's crashing.
For some reason the debugger never attaches when I try and debug on
the actual device.
I'm running Vista and SDK 1.1

Any and all help welcome :)
--~--~---------~--~----~------------~-------~--~----~



Curious debugging problem

by Al » Fri, 17 Apr 2009 02:41:25 GMT


 


For debugging on a real device, you have to enable it under Settings-
manifest. E.g.

<application ..... debuggable=true> ..... </application>

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Curious debugging problem

by Al » Fri, 17 Apr 2009 02:42:31 GMT


 Forgot to mention, you should be able to read logcat messages from the
device. Inside Eclipse and also from terminal/command prompt: adb -d
logcat. It should give you a trace of where the crash happened and
why.





--~--~---------~--~----~------------~-------~--~----~



Curious debugging problem

by MrChaz » Fri, 17 Apr 2009 16:00:53 GMT


 Great!
I didn't hzve the manifest entry.

Thanks





--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. how to change a position of a bitmap on canvas

Hi all^^
I try to show a position on a map (in the position(100,100) of the
map). This work fine with this code:

options = new BitmapFactory.Options();
options.inTempStorage = new byte[16*1024];
Bitmap bitmapImage =
BitmapFactory.decodeResource(getResources(),R.drawable.dasa_map,options);
Bitmap myMap=bitmapImage.copy(Bitmap.Config.ARGB_8888, true);
Bitmap
positionIcon=BitmapFactory.decodeResource(getResources(),R.drawable.ic_maps
_indicator_current_position);
Canvas c = new Canvas(myMap);
Paint paint= new Paint();
c.drawBitmap(b, 100, 100, paint);

Now i want to change the position of my "positionIcon" on the
Map"myMap"( for example to (200,200)), how can i do this?
Pls help me
Thanks in advance

-- 

2. Is Android Smartphone application development similar to Android Tablet..???

Hi Friends,

i want to develop application for Android Tablet, i already developed
this application for android smartphones.

how can i use my code(smartphone) for Android Tablet Application.

please help me,

Thanks

-- 

3. SendIntendException when sending an intent

4. How to test In-app billing without a device with Market >2.3.4

5. read multiple sqlite query from file

6. Papago + map Indonesia

7. Programmaticly adding playlists