android.hardware

by Ivan Longin » Fri, 23 Apr 2010 08:04:47 GMT


Sponsored Links
 Hi!

Does anyone know where to find source code for android.hardware
package? I need to make some modification in SensorManager for my
application and possible modification in other classes from that
package. Google didn't help me a lot so I'm asking here.

Thanks!

--



android.hardware

by Ivan Longin » Fri, 23 Apr 2010 08:04:57 GMT


 Hi!

Does anyone know where to find source code for android.hardware
package? I need to make some modification in SensorManager for my
application and possible modification in other classes from that
package. Google didn't help me a lot so I'm asking here.

Thanks!

--


Sponsored Links


Other Threads

1. long process of automatic configuration after installation

I have an app that requires a long process of automatic configuration
after installation. What is the best way to do this? Currently I am
using AsyncTask. I call it from onCreate(). I still get "ANR
keyDispatchingTimedOut" error report and other "force close" comment
from users. However I do not see any such issues with my Droid and
emulators.

I am thinking of using Service class. However I feel like it is
wasteful to register a service for just one time use.

Thanks,
Dipu

-- 

2. EVO failing in MediaPlayer

All,
We are seeing some very strange results in media playback on HTC EVO
devices.

In our call to MediaPlayer.create(getApplicationContext(), uri), we
get failures with the following stack trace:

W/System.err(  404): java.io.FileNotFoundException: /data/hdmi_setting
W/System.err(  404): at
org.apache.harmony.luni.platform.OSFileSystem.open(OSFileSystem.java:
244)
W/System.err(  404): at
java.io.FileInputStream.<init>(FileInputStream.java:77)
W/System.err(  404): at
java.io.FileInputStream.<init>(FileInputStream.java:130)
W/System.err(  404): at java.io.FileReader.<init>(FileReader.java:66)
W/System.err(  404): at
android.media.MediaPlayer.readHDMISetting(MediaPlayer.java:2087)
W/System.err(  404): at
android.media.MediaPlayer.getHDMIResolution(MediaPlayer.java:1966)
W/System.err(  404): at
android.media.MediaPlayer.<init>(MediaPlayer.java:562)
W/System.err(  404): at
android.media.MediaPlayer.create(MediaPlayer.java:658)
W/System.err(  404): at
android.media.MediaPlayer.create(MediaPlayer.java:640)

Has anyone encountered anything like this?  Anyone have suggestions on
how to diagnose?
This code works just fine for many, many thousands of other devices
out there.

Thanks in advance,
jsdf

-- 

3. Making Android development more enjoyable

4. Jual motorola cliq/dext. Full set tmobile unlocked.

5. Resource folders and scaling

6. Don't see YouTube thumbnails anymore on Froyo

7. Using an AsyncTask instead of a Service in a BroadcastReceiver or AppWidget