Use android.hardware.GeomagneticField and warn when the actual field is
significantly above or below what is expected.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
OK. Thanks for the various suggestions. I'll think about things a little
more, but it seems UgglyNoodle's suggestion is going to end up being the
best. It looks like I should be able to do nice white icons for Honeycomb+
and my existing light gray for everything else.
Thanks to all!
Andrew
--
Y
Thanks. Platform version sounds good in theory, but my Gingerbread (v2.3.3)
emulator is light-on-dark, while my Gingerbread (also v2.3.3) phone is
dark-on-light. How reliable is the emulator for this?
I've also heard that menus can't be styled, but I'll look further into that.
Are there no system
Hi,
It seems that new devices have a light-on-dark style when it comes to the
UI, specifically menus. Older devices have a dark-on-light style. These are
completely at odds with each other and makes it difficult to select an
appropriately shaded icon for menus. I've settled on a light gray, which
On 11 September 2012 20:44, pharaoh wrote:
> Try this solution :
> (...)
> int age = 22;
> Log.d(MY_TAG, new Integer(age).toString());
> (...)
>
>
That's a wasted allocation when there's a static toString:
Log.d(MY_TAG, Integer.toString(age));
--
Andrew
--
You received this message because y
Each subframe (sent every six seconds) has the *GPS Time*. The GPS/UTC
offset is only sent in subframe 4 of page 18 of the almanac data, i.e. once
every 12.5 minutes.
Also, a comment on the ZDA message mentioned previously. I had tried that
as part of my project R&D and it also returns "best guess
Yeah, I'm pretty sure you can't send commands to the Android GPS device.
You'd probably need to be root and figure out the underlying device.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-devel
1300ms ahead sounds odd. If it was behind I'd say it was just a reporting
delay as part of the usual message processing, but ahead is weird.
It's not GPS, but if you have an Internet connection, what about querying
an NTP server?
--
You received this message because you are subscribed to the Goo
I've not looked at the relevant Android API before, but I would imagine
that if you get a GpsStatus object from the LocationManager, then check
each satellite for hasAlmanac(), then you might be more likely to have the
correct GPS/UTC offset. It is still possible to have received the almanac
data f
The Wikipedia article on GPS has a lot of info. The Official source of info
would be: http://www.gps.gov/technical/
Lots of technical PDFs there! I used the Interface Control Document
IS-GPS-200 and SPS Performance Standard Specification, mostly the latter.
In short, though, the GPS comms cycle i
Some of the time confusion arises because GPS units can report a variety of
"GPS Time", "UTC" and semi-corrected GPS Time. I discovered this when
building a precision timer for an industrial corrosion monitoring device.
On startup the GPS would report UTC plus one second. Within 12.5 minutes it
wo
OK, thanks for that. I'll leave the managed dialog as-is. Thanks to everyone
who replied here and directly to me.
Andrew
On 26 Jun 2011 14:32, "TreKing" wrote:
> On Sat, Jun 25, 2011 at 7:56 PM, andrewg_oz wrote:
>
>> It seems,
>> though, that calling show() pauses the activity, which dismisses t
I'm not at my pc right now, so I can't check, but have you added the acra
jar to the build path? It's in the instructions, so perhaps you missed that
bit?
Andrew
On 24 Jun 2011 19:40, "Raghav Sood" wrote:
> Thanks.
>
> I did look at there example code. As far as I can see I have literally
copy
>
Apart from the obvious of starting your own app from scratch, you could try
searching for an open source Android project and fix some bugs or add a
feature.
Andrew
On 15 May 2011 11:19, "Adam Ratana" wrote:
> This is a great thread. I'd like to add to the below points:
>
> - do something in a dom
On 25 March 2011 20:45, Hassy wrote:
>
> I want to display unique random numbers when button clicked.
> if a number appear once, that number should not appear again when
> button clicked.
>
>
http://en.wikipedia.org/wiki/Linear_feedback_shift_register
Looks random (and has been used as a random
On 16 February 2011 05:28, TreKing wrote:
>
> Try giving your RelativeLayout a weight of 1 ("take up all the space you
> need") and the ScrollView a weight of 0 ("take the space that's left").
Thanks for your reply. I tried that, but it didn't work. I then tried
several other arrangements and f
Thanks for replying.
On 14 February 2011 23:44, TreKing wrote:
> On Mon, Feb 7, 2011 at 1:49 AM, andrewg_oz wrote:
>
>> I've worked around this problem by adding a TextView to the View above
>> the Checkbox, then wrapping the whole lot in a ScrollView. The dialog
>> grows and shrinks with the me
17 matches
Mail list logo