[android-developers] Re: Accelerometer OnSensorChanged() no longer occur in standby

2009-08-30 Thread Yuri Dario
> >http://code.google.com/p/android/issues/detail?id=3708 > > this means my application in the Market is broken too. At least I need > to update the description... this is really bad. and worse, ADC2 is about to reach deadline. --~--~-~--~~~---~--~~ You receive

[android-developers] Re: Accelerometer OnSensorChanged() no longer occur in standby

2009-08-30 Thread Yuri Dario
Hi, > http://code.google.com/p/android/issues/detail?id=3708 this means my application in the Market is broken too. At least I need to update the description... this is really bad. Yuri --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: Accelerometer OnSensorChanged() no longer occur in standby

2009-08-29 Thread Yuri Dario
Hi, > the Magic or Hero when I tried partial wake locks (you mentioned > trying on ADP1, ie a G1 - have you tried it on any other handsets?) there are over 100 users now, so I think it works; I'll ask someone I know has a magic. > It has worked in the past without any requirement on a wake loc

[android-developers] Re: Accelerometer OnSensorChanged() no longer occur in standby

2009-08-29 Thread Yuri Dario
Hi, > I have tried a wakelock, but only the full, screen-on wakelock allows > it to work, which is undesirable behaviour. my background service gets accelerometer events with a partial wake lock (and screen off). ADP1 with latest 1.5 firmware drop by HTC. bye, Yuri --~--~-~--~~--

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-25 Thread Yuri Dario
Hello, one thing it is still not clear to me. I see that applications submitted for ADC2 will not be visible into the market, so we can publish another application in the market under a different package name. But application updates are not clear: while apps on market can be updated as we need

[android-developers] Re: How to power off the screen?

2009-07-22 Thread Yuri Dario
Hi, > By using the native method setScreenState(), I make my device's screen > off.The code is: > > int x=Power.setScreenState(false);//make the screen off > System.out.println(x);//0 will be print out > Thread.sleep(3000); > x=Power.setScreenState(true);//make the screen on > System.out.println(

[android-developers] Re: How to power off the screen?

2009-07-21 Thread Yuri Dario
Hi, > public static native int setScreenState(boolean on) tried this one, but calling it does nothing, and always returns 2; since this is a native method, I think it means EACCESS (permission denied). thanks, Yuri --~--~-~--~~~---~--~~ You received this messag

[android-developers] Re: How to power off the screen?

2009-07-21 Thread Yuri Dario
On 21 Lug, 07:30, Sansiro wrote: > BTW, I use the goToSleep() method in this class, and I didn't get a > PowerManaget instance from Context. with the DEVICE_POWER right in manifest, I got a PowerManager instance, but goToSleep is still not usable. > > the screen. Do you want to put the device

[android-developers] How to power off the screen?

2009-07-20 Thread Yuri Dario
Hi, I'm looking for a way to power off the device screen from my program. I see that PowerManager is only for system apps, and I can't find other ways. Can you help me? thanks, Yuri --~--~-~--~~~---~--~~ You received this message because you are subscribed to t