kishorekolluicse / openintents

Automatically exported from code.google.com/p/openintents
0 stars 0 forks source link

Launching Sensor Simulator in the settings tab ends with a black screen (SDK 1.5r2) #230

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install OpenIntents.apk into SDK1.5r2 Google API simulator
2. Open the app, go to settings
3. Tap on the Sensor Simulator
4. Watch your screen turning black

What is the expected output? What do you see instead?
Work? Show the settings

What version of the product are you using? On what operating system?
OpenIntents 0.9.0, SDK 1.5r2, 1.5 emulator with Google Apis, OS Ubuntu

Please provide any additional information below.

Other mentions of this problem could be found at
http://code.google.com/p/openintents/wiki/SensorSimulator, i.e.:

 Comment by antiraum,  May 17, 2009

Hi,

I cannot access the Sensor Simulator settings in the Open Intents app on
the emulator. When I select it, I get only a black screen. This is the
logcat output:

I/ActivityManager?( 567): Starting activity: Intent {
action=android.intent.action.MAIN
comp={org.openintents/org.openintents.hardware.SensorSimulatorSettingsActivity?}
} D/qemud ( 546): fdhandler_accept_event: accepting on fd 10 D/qemud (
546): created client 0xc088 listening on fd 14 D/qemud ( 546):
client_fd_receive: attempting registration for service 'sensors' D/qemud (
546): client_fd_receive: -> received channel id 7 D/qemud ( 546):
multiplexer_handle_control: unknown control message (26 bytes):
'ko:connect:07:service busy' W/ActivityManager?( 567): Launch timeout has
expired, giving up wake lock! W/ActivityManager?( 567): Activity idle
timeout for HistoryRecord?{436b1840
{org.openintents/org.openintents.hardware.SensorSimulatorSettingsActivity?}}

The versions I use: Android emulator version 1.9 (build_id CUPCAKE-147336)
AVD Target: Google APIs (Google Inc.) Based on Android 1.5 (API level 3)
OpenIntents 0.9.0

Any help would be greatly appreciated.

Thomas

Original issue reported on code.google.com by jur...@gmail.com on 15 Jun 2009 at 5:45

GoogleCodeExporter commented 8 years ago
On the SensorSimulator page there are some more comments this black screen 
issue.
Looks like this is quite common under 1.5 .

Is SDK 1.5  supported at all?

Thanks in advance.

Original comment by jur...@gmail.com on 16 Jun 2009 at 1:55

GoogleCodeExporter commented 8 years ago
This issue has been also discussed here:
http://www.openintents.org/en/node/242
(which contains further links).

It is a problem of the SDK 1.5 emulator, and in fact mentioned in the Android 
release
notes under "known issues":
http://developer.android.com/sdk/RELEASENOTES.html

In order to use the SensorSimulator, one should comment out all direct function 
calls
to internal Android Sensor classes, and only use the SensorSimulator classes.

Note that we did not have time yet to prepare a release for SDK 1.1 or SDK 1.5 
yet.

The latest developer versions can be found in:
http://code.google.com/p/openintents/source/browse/#svn/trunk/sensorsimulator
http://code.google.com/p/openintents/source/browse/#svn/trunk/SensorDemo
http://code.google.com/p/openintents/source/browse/#svn/trunk/SensorGestureDetec
tor
http://code.google.com/p/openintents/source/browse/#svn/trunk/samples/ApiDemosSe
nsors
http://code.google.com/p/openintents/source/browse/#svn/trunk/samples/OpenGLSens
ors

All of these probably need some update.

Furthermore, the G1 has a bug in the implementation of the orientation sensor 
output,
so the output of the Sensor Simulator and G1 would not agree for certain
orientations. So I still wanted to include a "G1 compatibility mode" that can
reproduce this bug - but I didn't have time to do so yet. This bug does not 
affect
the accelerometer and the magnetic field sensor, which should be used instead.

Any patches are welcome.

Original comment by peli0...@googlemail.com on 22 Jun 2009 at 3:50

GoogleCodeExporter commented 8 years ago
See also this official Android bug report:
http://code.google.com/p/android/issues/detail?id=2566

Original comment by peli0...@googlemail.com on 22 Jun 2009 at 4:13

GoogleCodeExporter commented 8 years ago
Hi

I have written a small OpenGL app for Android. It works on the emulator but on 
device
I get a black screen.

Using the adb logcat I get this message:

W/ActivityManager( 54): Launch timeout has expired, giving up wake lock!
W/ActivityManager( 54): Activity idle timeout for HistoryRecord{43b45ec8
{org.example.opengl/org.example.opengl.OpenGL}} 

Could someone please help me out?

Original comment by broderic...@gmail.com on 24 Jul 2009 at 1:29