problems with sensorsimulator

by rastro » Thu, 01 Oct 2009 06:04:37 GMT


Sponsored Links
 I'm trying to integrate the code from here:

  http://code.google.com/p/openintents/wiki/SensorSimulator 

but my code dies with this:

  android.content.ActivityNotFoundException: No Activity found to
handle Intent { act=android.intent.action.VIEW dat=content://
org.openintents.hardware/preferences }

E/AndroidRuntime(  773):        at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2401)
E/AndroidRuntime(  773):        at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2417)
E/AndroidRuntime(  773):        at android.app.ActivityThread.access
$2100(ActivityThread.java:116)
E/AndroidRuntime(  773):        at android.app.ActivityThread
$H.handleMessage(ActivityThread.java:1794)
E/AndroidRuntime(  773):        at android.os.Handler.dispatchMessage
(Handler.java:99)
E/AndroidRuntime(  773):        at android.os.Looper.loop(Looper.java:
123)
E/AndroidRuntime(  773):        at android.app.ActivityThread.main
(ActivityThread.java:4203)
E/AndroidRuntime(  773):        at
java.lang.reflect.Method.invokeNative(NativeMethod)
E/AndroidRuntime(  773):        at java.lang.reflect.Method.invoke
(Method.java:521)
E/AndroidRuntime(  773):        at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime(  773):        at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
E/AndroidRuntime(  773):        at dalvik.system.NativeStart.main
(Native Method)


How do I get my (one) activity to handle this?

Is there a complete code sample somewhere that I've missed?

Thanks.

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



Other Threads

1. is it possible to disable the home key for an activity?

Hi All,

Is it possible to disable the Home key for an activity which shows alert
dialog ? i could disable the search key but not able to do it for home key..

-- 
Thanks & Regards,
Aruna.

-- 

2. Ganti memory di android hh

mas bro..mau tanya..
Klo ganti memory di hh android perlu ngelakuin dan nyiapin apa aja ya
selain memory baru.soalnya takut aplikasi yang udah terinstall hilang
semua.maaf masih newbie..
Thanks ya sebelumnya..

-- 
===============

3. replacing a fragments not working

4. HTC HERO Brown + Komplit

5. How to read Kernel Data Strucuture

6. [WTI] Playbook Dijual Mulai USD 500

7. set nomor HP sendiri di DHD