Does Application Error Reports support crashes in native code?

by Shri » Fri, 20 May 2011 02:15:51 GMT


Sponsored Links
 Does the Application Error Reports infrastructure described at
 http://android-developers.blogspot.com/2010/05/google-feedback-for-android.html 
work for crashes in native code?

It sounds like the mechanism works by using
Thread.setDefaultUnhandledExceptionHandler which only works for Java
code, and so it will not work for native code. Are there any solutions
for native code? I am working on registering a signal handler which
starts a separate process (since crashes in native code can leave the
process in a bad state) to get the logcat logs and then send those.
Just wondering if there is any better solution.

-- 



Other Threads

1. Broadcast Events on Incoming Calls

I have been reading over the docs on Intent,
http://code.google.com/android/reference/android/content/Intent.html,
and while I find quite a large number of broadcast actions but I
cannot find *any* about incoming calls. Is it possible to have an
application listener on INCOMING_CALL?

Secondly i am wondering if it is possible to override the incoming
call dialog with my own? Basically I am looking to create an incoming
call listener application which will launch my own activity instead of
android's default incoming call dialog. I then want the user to be
able to answer the phone using my activity. Is this possible?

On a different tack I have found a class in android.telephony called
PhoneStateListener, could this be used to accomplish a similar goal?
If so any code snippets or examples on how it is used? I found this,
would this be an appropriate way to accomplish my goal? If so how
could I override the android answer call dialog using this approach?

2. MyLocationOverlay throws exception

Hi, i tried to add an overlay to my mapview screen using the
MyLocationOverlay class, but it throws an exception and the overlay is
not displayed.

Any ideas?

---------------
        myLocationOverlay = new
MyLocationOverlay(AndroidResultsMap.this, mapView);
        mapView.getOverlays().add(myLocationOverlay);
---------------

E/LocationManagerService(   51): isProviderEnabled got exception:
E/LocationManagerService(   51): java.lang.IllegalArgumentException:
provider=network
E/LocationManagerService(   51):        at
com.android.server.LocationManagerService._isProviderEnabled(LocationManagerService.java:
1210)
E/LocationManagerService(   51):        at
com.android.server.LocationManagerService.isProviderEnabled(LocationManagerService.java:
1196)
E/LocationManagerService(   51):        at
android.location.ILocationManager
$Stub.onTransact(ILocationManager.java:211)
E/LocationManagerService(   51):        at
android.os.Binder.execTransact(Binder.java:276)
E/LocationManagerService(   51):        at
dalvik.system.NativeStart.run(Native Method)
--~--~---------~--~----~------------~-------~--~----~

3. Lack of onscreen keyboard

4. Need advice for implementation "best practices" for multi-level game

5. Few programming problems.

6. read IM Contacts

7. new Socket("10.0.2.2", 2142)