I really, really, need help with the android emulator sensors, HELP PLEASE!

by Fred Grott(shareme) » Tue, 13 Jan 2009 08:07:59 GMT


Sponsored Links
 Androidmainifest.xml

user permissions..just go through that drop down list until you find
it..






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



I really, really, need help with the android emulator sensors, HELP PLEASE!

by flashpro » Tue, 13 Jan 2009 10:19:18 GMT


 Thanks i've looked into that. However, i'm actually creating an app
like that one, so i want to know
how to enable the receiving of events in android.
--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


I really, really, need help with the android emulator sensors, HELP PLEASE!

by flashpro » Tue, 13 Jan 2009 10:20:15 GMT


 That makes sense. However, my emulator gives me a permission denied
error when i ad HARDWARE_TEST permission. Any suggestions?
Thanks again for your help!
--~--~---------~--~----~------------~-------~--~----~



I really, really, need help with the android emulator sensors, HELP PLEASE!

by flashpro » Tue, 13 Jan 2009 11:30:58 GMT


 K, here is my manifest file. Below that is the Logcat data:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.bouncingball" android:versionCode="11"
android:versionName="1.3.3">
<uses-permission android:name="android.permission.INTERNET" />
<application android:label="@string/app_name"
android:icon="@drawable/icon"
android:permission="android.permission.HARDWARE_TEST">
<activity android:name=".BouncingBall" android:label="@string/
app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category
android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".FileExplorer" android:label="Choose
File">
<intent-filter>
<action android:name="android.intent.action.PICK" />
<category
android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
LOG

01-12 19:29:13.245: DEBUG/AndroidRuntime(297): >>>>>>>>>>>>>>
AndroidRuntime START <<<<<<<<<<<<<<
01-12 19:29:13.245: DEBUG/AndroidRuntime(297): CheckJNI is ON
01-12 19:29:13.405: DEBUG/AndroidRuntime(297): --- registering native
functions ---
01-12 19:29:13.405: INFO/jdwp(297): received file descriptor 19 from
ADB
01-12 19:29:14.175: DEBUG/PackageParser(55): Scanning package: /data/
app/vmdl54456.tmp
01-12 19:29:14.305: WARN/PackageManager(55): Attempt to re-install
com.android.bouncingball without first uninstalling.
01-12 19:29:14.305: INFO/installd(28): unlink /data/dalvik-cache/
d...@app@vmdl54456....@classes.dex
01-12 19:29:14.335: DEBUG/AndroidRuntime(297): Shutting down VM
01-12 19:29:14.335: DEBUG/dalvikvm(297): DestroyJavaVM waiting for non-
daemon threads to exit
01-12 19:29:14.345: INFO/dalvikvm(297): DestroyJavaVM shutting VM down
01-12 19:29:14.355: DEBUG/dalvikvm(297): HeapWorker thread shutting
down
01-12 19:29:14.355: DEBUG/dalvikvm(297): HeapWorker thread has shut
down
01-12 19:29:14.355: DEBUG/jdwp(297): JDWP shutting down net...
01-12 19:29:14.375: DEBUG/jdwp(297): +++ peer disconnected
01-12 19:29:14.375: INFO/dalvikvm(297): Debugger has detached; object
registry had 1 entries
01-12 19:29:14.395: DEBUG/dalvikvm(297): VM cleaning up
01-12 19:29:14.415: DEBUG/dalvikvm(297): LinearAlloc 0x0 used 529468
of 4194304 (12%)
01-12 19:29:14.645: DEBUG/dalvikvm(55): GC freed 4683 objects / 308520
bytes in 319ms
01-12 19:29:14.765: DEBUG/AndroidRuntime(305): >>>>>>>>>>>>>>
AndroidRuntime START <<<<<<<<<<<<<<
01-12 19:29:14.775: DEBUG/AndroidRuntime(305): CheckJNI is ON
01-12 19:29:15.129: DEBUG/AndroidRuntime(305): --- registering native
functions ---
01-



I really, really, need help with the android emulator sensors, HELP PLEASE!

by Fred Grott(shareme) » Tue, 13 Jan 2009 11:47:27 GMT


 ardwareTest permission not set right..

should be uses-permission
android.name=android.permission.HARDWARE_TEST

On Jan 12, 9:30pm, flashpro <flashpro.sam...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~



I really, really, need help with the android emulator sensors, HELP PLEASE!

by Justin (Google Employee) » Fri, 16 Jan 2009 06:48:33 GMT


  think is all a bit moot because you won't get any interesting input
from the emulator sensor service. What would it take the sensor input
from? I could be wrong though, I've never tried to use it in the
emulator.

Cheers,
Justin
Android Team @ Google

On Jan 12, 7:47 pm, "Fred Grott(shareme)" <fred.gr...@gmail.com>
wrote:
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Two applications respond to the same intent

Hello all,

I've posted a question at the following link regarding issue I met
when trying to replace the standard contact application that comes
with android :

2. Soap Xml parsing

hi all,

can anyone share the code for parsing Soap Xml to get data from it



<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="
http://www.w3.org/2001/XMLSchema" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xmlns="
http://schema.cloudengines.com/schema/2008">
<soapenv:Body>
<listServicesResponse>
<services>
<service>
<deviceid>da17923ae45b0b55f89eba6cd850b026</deviceid>
<serviceid>0</serviceid>
<sclass>1</sclass>
<type>xce:webdav</type>
<name>Cloud Engines</name>
<version>LINUXKUROPRO0.9.9.62</version>
<device>
<deviceid>da17923ae45b0b55f89eba6cd850b026</deviceid>
<type>xce:unknown</type>
<name>KUROBOX-PRO</name>
<version>LINUXKUROPRO0.9.9.62</version>
<flags>0</flags>
<ownerid>45820d44809cf01d29ede34f3033fc40</ownerid>
<owner>
<userid>45820d44809cf01d29ede34f3033fc40</userid>
<screenname>[EMAIL PROTECTED]</screenname>
<email>[EMAIL PROTECTED]</email>
</owner>
</device><online>1</online><apiurl></apiurl></service></services></listServicesResponse></soapenv:Body></soapenv:Envelope>
i want to get service id,deviceid,name of service

i have written code but i am getting the device name

observe which also have same tag name <name>..</name>

i want to get service name

pls anyone can help me out

i have been working on this problem since yesterday

regards

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

3. Use of Android logo

4. Android on Nokia 6500

5. Extract APK files from G1

6. Make a clickable invisible button.

7. problem with OutputStream.flush() not working