[android-developers] Re: The new CellInfo API

2014-01-20 Thread sebouh00
Hi Dan. Did you ever find an answer for this? On Monday, January 28, 2013 4:53:23 PM UTC+3, Dan wrote: > > I saw: > > http://developer.android.com/reference/android/telephony/CellInfo.html > > and thought that having the signal strength tower ID and in use and > neighboring > towers all in one ca

[android-developers] Re: Problem on Android 4.2 with screen-on wakelocks

2013-05-11 Thread sebouh00
I found a way to turn the screen off but it requires Admin privilege. I used DevicePolicyManager.lockNow(). More here: http://marakana.com/s/post/1291/android_device_policy_administration_tutorial On Saturday, April 20, 2013 1:15:20 AM UTC+3, sebouh00 wrote: > > I have the following goal

[android-developers] Problem on Android 4.2 with screen-on wakelocks

2013-04-19 Thread sebouh00
I have the following goal in my application. I want to wake the phone up and turn the screen on for 1 second from within my service and let the phone go back to sleep. I would like to do this in intervals throughout the day. The sole purpose of this is that turning the screen on will update the

Re: [android-developers] Barometer reading changes throughout the day while on same altitude.

2012-12-31 Thread sebouh00
Thanks guys. I now understand more. I will have to do some more testing with this information in mind, but from what I've understood, achieving the day long accuracy I'm looking for will require GPS and frequent base reference updates. -- You received this message because you are subscribed to

Re: [android-developers] Barometer reading changes throughout the day while on same altitude.

2012-12-30 Thread sebouh00
ave no tests to show that. I asked where I can get real-time sea-level pressure data. I didn't get an answer. On Monday, December 31, 2012 1:45:46 AM UTC+3, Lew wrote: > > sebouh00 wrote: > >> Wouldn't I need a lock on the GPS location in order to get the altitude? >

Re: [android-developers] Barometer reading changes throughout the day while on same altitude.

2012-12-30 Thread sebouh00
uracy? I don't have any experience with this, that's why I'm asking here. Thanks. On Sunday, December 30, 2012 5:05:12 PM UTC+3, Mark Murphy (a Commons Guy) wrote: > > On Sun, Dec 30, 2012 at 8:14 AM, sebouh00 > > wrote: > > I would like to save the altitud

Re: [android-developers] Barometer reading changes throughout the day while on same altitude.

2012-12-30 Thread sebouh00
I would like to save the altitude in my app and use it to check if the device is at the same altitude in the future. Using GPS will not be applicable because of minimal power usage restrictions in my app. Would it be possible to do such a thing? I don't care about the altitude value being corre

[android-developers] Barometer reading changes throughout the day while on same altitude.

2012-12-30 Thread sebouh00
On my galaxy nexus, I created a simple app which displays the current altitude. My observation of the result shows that the altitude is increasing and then decreasing again throughout the day. I am not seeking the actual altitude, so using PRESSURE_STANDARD_ATMOSPHERE is sufficient for my needs

Re: [android-developers] TelephonyManager.getPhoneType is returning PHONE_TYPE_NONE on Nexus 7 3G.

2012-12-04 Thread sebouh00
Hmm. But the 3G variant is. It can connect to a 2G or 3G network. Would you better categorize is as unknown? On Tuesday, December 4, 2012 4:15:05 PM UTC+3, fahad mullaji wrote: > > Nexus 7 is not GSM device ... may be because of that... > > > On Tue, Dec 4, 2012 at 6:35 PM, s

[android-developers] TelephonyManager.getPhoneType is returning PHONE_TYPE_NONE on Nexus 7 3G.

2012-12-04 Thread sebouh00
When I run my application on Nexus 7 3G, the TelephonyManager.getPhoneType is returning PHONE_TYPE_NONE. Is there a reason for this? Thanks, Sebouh. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andr

Re: [android-developers] Re: The effect of differnet vendor RIL implementations of URC's on Android

2012-08-23 Thread sebouh00
ding wake locks to let you run more as a side-effect. (That > said, this only applies if the device is running on battery. While plugged > in Android holds a wake lock to keep the CPU from sleeping.) > > On Thu, Aug 23, 2012 at 2:20 PM, sebouh00 > > wrote: > >> It w

[android-developers] Re: The effect of differnet vendor RIL implementations of URC's on Android

2012-08-23 Thread sebouh00
their callback function. If so, my question would be: wouldn't this be killing the battery if there are constant signal or cell updates, say if the device is moving fast from one cell to the other? The device would never have the chance to sleep. On Wednesday, August 22, 2012 11:33:40 PM UTC+3

[android-developers] The effect of differnet vendor RIL implementations of URC's on Android

2012-08-22 Thread sebouh00
Hi. I'm wondering if anyone can explain to me the following. I have two devices, an HTC Desire and a Samsung Galaxy Nexus. I have the same app running on both. The app has a foreground service listening to Cell Location and Signal Strength updates by registering to the PhoneStateListener. Both

[android-developers] Receiving CONNECTIVITY_ACTION intent when phone is sleep

2012-02-13 Thread sebouh00
I'm not sure if this behavior is correct, but my service's broadcast receiver is not receiving CONNECTIVITY_ACTION intents when the phone is sleep. I need to execute a task when the wireless connectivity drop, but it's not working. As soon as I wake the phone up, the intent is received. I know I h