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. Porting ANDROID on S3C2440 Platform

Hi all,

I am a newbie in ANDROID.

My first question is : HAS ANYONE PORTED ANDROID ON S3C2440 (armv4
Architecture ) PLATFORM SUCCESSFULLY?

I am trying to port ANDROID on S3C2440 platform which is a arm920T and
ARMv4 architecture.
Linux version which i am using is 2.6.27. I have done the required
changes in my Linux-2.6.27 kernel by looking into the diff of the
ANDROID Linux-2.6.27 kernel which comes along with the ANDROID SDK.
The kernel gets compiled successfully without any errors after the
ANDROID support is given.

I referred the "benno's blog" ( Android on ARMv4 (take 2) section )
and applied the patches to the ANDROID SDK given in the benno's blog.
I am using the "arm-android-eabi-" toolchain given in the benno's
blog. ANDROID SDK gets compiled successfully but the "init.rc" file is
not getting generated in "android-SDK/out/target/product/generic/root"
directory.

I copied all the required files and folders from the "android-SDK/out/
target/product/generic/root" directory to my root file system. when i
boot the Linux-2.6.27 kernel (with android related changes)  on the
s3c2440 platform the following error occurs :

"Kernel panic - not syncing: Attempted to kill init!"

I don't know where exactly the problem is. Please help me in solving
the problem. Where am i going wrong?

Does the patches given in the benno's blog works perfectly fine? Has
any one tried to port ANDROID on armv4 architedture?



Regards,
Vinay R Rao

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Why can "Maps" find a location on demand but not my app

*     **visit my site and earn more money**  *

*  http://latesttechnologyinfo.com/*

* ** http://latesttechnologyinfo.com/*

*  **http://latesttechnologyinfo.com/*

* ** http://latesttechnologyinfo.com/*

*  **http://latesttechnologyinfo.com/*

*  **http://latesttechnologyinfo.com/**  *

* http://latesttechnologyinfo.com/*

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

3. Handling volume controls

4. Is there a way for us to show ProgressBarIndeterminate in Theme.Dialog activity?

5. Database Pattern - What's your method?

6. How to get just updated screen data instead of reading all data from framebuffer?

7. How to get just updated screen data instead of reading all data from framebuffer?