yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] David Horn:
Thought I'd let people know about a new app coming out in the next few days (workload dependent). As we know, the Galaxy Nexus has a barometer inside, but it's essentially isolated from the rest of the system.

This app uses the barometer to simulate an altimeter - a surprisingly sensitive one at that.

Features:

* Hardware accelerated via OpenGL - no lag whatsoever with smooth analogue and digital updates

* Automatic pressure setting download

* Multiple themes

* Light CPU and memory footprint

* Metric and imperial units - metres / feet, and hPa / inHg.

Coming soon:

* Better landscape support

Compatibility:

Anything with ICS and a barometer. It'll probably (definitely) crash if you try it on something without.

Feature suggestions welcome!

[v0.4 Beta Released]

Attached is a preview release of the app. Please bear in mind that it's a very, VERY early alpha of what the final thing is going to be like for anyone interested in testing it.

What works:

* Correct indications (both digital and analogue)

* Correct vertical speed calculations

* QNH adjustment

* QNH download

* Preferences (with the exception of theming)

Known bugs:

* Incorrect analogue needle movement if QNH rapidly increased - might be fixed.

How to use - READ ME:

Any barometric altimeter can only give correct indications when referenced to the correct pressure setting, which in Europe is measured in hectopascals and in the Americas, inches of mercury (inHg).

To locate the correct pressure setting, you can look it up at a nearby airport. Go to this link and put in a four letter ICAO identifier (for example, EGCC is Manchester, England) and look for the part QXXXX, which is the current pressure setting to use.

Alternatively, you can have the app download it automatically by inserting the ICAO identifier in the preferences. You'll know it's got a valid pressure setting by the "AUTO" indication in the bottom right corner.

The app is now compatible with American (ie, inHg) units. However, you might notice a slight glitch when using it where changing the QNH manually alters it by +/- 0.02 inHg. This is basically a rounding error: the app is only accurate to the nearest 10 ft, and .01 inHg is about 9.5 feet, hence the issue. Which isn't really an issue.

Please let me know if you get either an incorrect reading; a force close; or something else funky. It should remember QNH settings on pause / exit / rotation but if you've got it on auto-update, it'll invalidate the old measurements after 20 minutes.

Changelog

v0.4

* Themes added (six to choose from)

* Much time wasted trying to add digits to the analogue display. Given up.

* Analogue dial size increased

* About dialog fixed

* Bug fixes.

v0.2

* Automatic QNH download

* Preferences fixed

* Units selectable

* VSI (units/minute) - though not actually tested yet.

* Bug fixes

* Tweaks

v0.11

* Fixed force-close on non-English devices.

* Correct xhdpi action bar icons.
[Samsung Galaxy Nexus] LionAR10:
Do I need to get the pressure from ATIS/AWOS to calibrate this? :)

Looks cool!
[Samsung Galaxy Nexus] David Horn:
Yep. Though unless a storm's coming through you can just wind the QNH up or down to show a known elevation. That'll give a fairly accurate pressure setting for the region.
[Samsung Galaxy Nexus] MitchRapp:
Kewl, wanna try it!

It amazes me how many sensors there are in the Gnex compared to my old N1 ...
[Samsung Galaxy Nexus] David Horn:
After taking it to work today I can confirm it reads accurately up to 8000ft (+/- 10ft) compared to the altimeter in the aircraft.
[Samsung Galaxy Nexus] blunden:
Can't wait to try it out. :)

You should probably be able to filter out devices without barometer by simply requiring android.hardware.sensor.barometer to be true in your manifest. That way you avoid people incorrectly giving you bad reviews just because most phones don't have that sensor. Judging by the comments you see in Android Market, most people can't or don't read simple instructions or important information in the description so be prepared for a lot of 1-star reviews if you don't filter it those devices out. That's the sad truth. :(
[Samsung Galaxy Nexus] Chopes:
Are there going to be 'Donate Only' features as well or will only one version be released?
[Samsung Galaxy Nexus] Speedum:
Me cannot wait to try it out as well!! A nice 'backup device' while I am flying my little C172.

And as a 'sad' truth, most people don't know how a barometric altimeter works. I guess sooner or later some people will complain that the altimeter reading is way off their assumed altitude, since they don't know an altimeter need to be calibrated/adjust to the current air pressure in their local area.

Also, people will try it in a pressurized plane and wonder why it display 8000 ft (or 6000 ft depending on plane model) while cruising at 32000 ft!

And Thanks the app author for the work!! :)
[Samsung Galaxy Nexus] David Horn:
Update: Been busy with work but getting there. Analogue dial now works correctly with smooth graphics, improvements to other parts of the app. Just adding a vertical speed indication (text only at the moment) and polishing a few bits off.

At the moment the preferences screen doesn't work (it's all hard-coded). Would anyone be interested in trying a very early alpha on condition they don't complain if it doesn't work properly? :-)
[Samsung Galaxy Nexus] Visspui:
I'd try this for sure
[Samsung Galaxy Nexus] afilopou:
me too
[Samsung Galaxy Nexus] qsec:
I would like to test it as well.
[Samsung Galaxy Nexus] blunden:
Yes, I'd be happy to try it out. Anything specific you need tested or logged?
[Samsung Galaxy Nexus] David Horn:
Great, will upload it on Saturday (away from home tonight + tomorrow). Basically, I'd just like you to see if it works and report any crashes or force-closes, glitches with the read-outs, or bad calculations.

There's a lot of maths going on behind the scenes and it's quite likely there are a few mistakes. I've tried to keep it as efficient as possible so most of it is fixed-point, which is almost certainly going to need tweaking to sort out problems related to loss of precision.

It will always over-read slightly in a light aircraft due to the lower pressure inside the cabin - the same problem you encounter if you select the alternate static source.
[Samsung Galaxy Nexus] fridykker:
can't wait to test:)

is the app going to have a widget?
[Samsung Galaxy Nexus] David Horn:
@fridykker - it's on the list. :-)

Still away from home but have taken a picture or two to show it in action. First two pictures are of the ECAM pressurisation page, which shows cabin altitude referenced to 1013 hPa. The last picture is the reading from the app.

Sorry about the blurry photos; it's been really choppy over Europe today.
[Samsung Galaxy Nexus] LionAR10:
Will you be able to add numerals, etc to the display to give it more of a steam gauge look? It's clean and sparse now, but the numeral hinting means less interpretation time for a glance at it.
[Samsung Galaxy Nexus] David Horn:
Yep, it's in the works.
[Samsung Galaxy Nexus] David Horn:
Alpha v0.1 now available - see first post.
[Samsung Galaxy Nexus] qsec:
If you have another language than English it immediately fc.

Thank you for this innovative app.
[Samsung Galaxy Nexus] fubaya:
Any plan to have it read the pressure setting from a file? I have weather data download every 30 minutes and it would be trivial to put the pressure in a file and point the app to it, if the app could do that of course.
[Samsung Galaxy Nexus] tristan202:
FC on Apex 1.0.2
[Samsung Galaxy Nexus] 006fazer:
Hi

Fc on manathan 1.0.2 ;-(
[Samsung Galaxy Nexus] qsec:
For you with FC's at start up.

Try to change rom language to English.

Works for me on Milestone 3.

Cheers.
[Samsung Galaxy Nexus] David Horn:
Can someone who's experiencing a force close related to the language either PM me or reply with the logcat associated with the crash? Hopefully a quick fix.
[Samsung Galaxy Nexus] 006fazer:
Pm message send ;-)
[Samsung Galaxy Nexus] WingnutStrikesBack:
FC at the start. German Galaxy Nexus with Android 4.0.2
[Samsung Galaxy Nexus] wweasel:
Same, FC at start. Galaxy Nexus Stock 4.0.2 in Spanish

Details of error using adb logcat output:
[Samsung Galaxy Nexus] David Horn:
Ahhh... makes sense now. I wrote a method to round numbers to two decimal places and it's expecting a decimal point instead of the European comma. Will fix tonight and update.
[Samsung Galaxy Nexus] blunden:
While you're at it you may want to add xhdpi-versions of the up and down arrows. The current hdpi ones look a bit blurry on the GN.

I look forward to when the settings work. The app shows great potential. :)
[Samsung Galaxy Nexus] David Horn:
Version 0.11 uploaded - fixes include the force-close on non-English devices and correct XHDPI action bar icons.

Not at the moment. If I did this I would probably have the app grab the QNH from a METAR from the NOAA website, which I think is probably the easiest approach.

However, people on the Android Market are notoriously finicky about applications that request internet access for any reason (privacy or adverts being the main culprit), hence the lack of functionality here. Too many one-star reviews on other apps with this as the reason. A similar problem occurs with reading from a file, as the app has to require SD card access permissions.

I may reconsider in the future!
[Samsung Galaxy Nexus] blunden:
Having it automatically fetch the current QNH value is what would make this the most useful. I think you would get more complaints about incorrect readings because people don't understand they have to adjust QNH in the app to the current QNH at their location. Just say why it needs internet permissions and you should probably be fine.

Thanks for fixing the mentioned issues btw. Apart from reading in ft now instead of meters (due to non-functioning settings as you mention) it's pretty cool. If I should nit-pick I'd say it would probably be nice with some anti-aliasing on the indicator, just to add that extra polish. :)
[Samsung Galaxy Nexus] David Horn:
I feel forced into doing this, but have added the ability to pull the QNH from any supported station listed in the text file below:

http://weather.rap.ucar.edu/surface/stations.txt

Anti-aliasing is turned on - unfortunately, the Galaxy Nexus doesn't actually support it in this implementation of OpenGL ES.

Edit: Just looked more closely at that list and have dropped any airports lacking an ICAO code or with a priority lower than 6 from the database. Still several thousand entries.
[Samsung Galaxy Nexus] gratti:
Hey David!

Nice app man, rly rly nice!

My suggestion would be the creation or adaptation (w/e is simpler) of a skydive mode!

Let me explain better: I'm a skydiver and what I would like is take my GNex inside my jumpsuit and let let it record my jump as nav computer. The altititude i left the aircraft, time of freefall, altitude of command, etc... for that I'd imagine your app would need features like:

- Reset/Calibration button. So before u board u set ground lvl as 0 ft.

- Start/Stop button.

- After jump is completed show some graph with altitude by time.

- Some file system record keeping so u can keep log of every jump and review them graphically.

- Show some stats of the sum of jumps u did.

- Record all that with the screen off.

I know lot of digital altimeters (made specifically for skydive) already do that, but they cost a lot more than your app would cost (i hope) and it would be damn cool have my Gnex doing that as well.

Cheers!

edit: if u like the idea (or u wanna do it) and need some help for field testing or for tweaking your app i'll be glad to help out.
[Samsung Galaxy Nexus] Mountain King:
Nice app indeed.

But the settings (Atitude, Barometer) does not works.

Tks
[Samsung Galaxy Nexus] David Horn:
From the parent post:

What doesn't work:

* Everything else

* More specifically - anything in the preferences pane.

Check back in 24 hours. :-)
[Samsung Galaxy Nexus] fridykker:
how do i find the app on the market?
[Samsung Galaxy Nexus] David Horn:
It's not on the Market yet, still being in early development. Should be done by the end of the week if all goes to plan.

In other news, the automatic QNH download is up and running. Not releasing another alpha for this as it's not going to work properly until the Preferences pane is finished - right now the airport identifier is hardcoded into the app, which is useful if you're in Manchester but not particularly helpful elsewhere!

Will hopefully have the preferences bit nailed by tomorrow.
[Samsung Galaxy Nexus] David Horn:
Version 0.2 up on the first page.

Changelog:

v0.2

* Automatic QNH download

* Preferences fixed

* Units selectable

* VSI (units/minute)

* Bug fixes

* Tweaks
[Samsung Galaxy Nexus] codesplice:
Sweet, seems to be working well here. Looking forward to further releases - you've got a pretty sweet project going here.
[Samsung Galaxy Nexus] blunden:
The latest version is pretty awesome. :) The automatic downloading of QNH data makes it that much greater. Working settings allowing me to switch unit to meters helped quite a bit too.

Also, I think you are fine regarding permissions still. To get a data stealing operation going you would probably need contacts data access permissions which the app currently doesn't ask for.
[Samsung Galaxy Nexus] David Horn:
Changelog

v0.4

* Themes added (six to choose from)

* Much time wasted trying to add digits to the analogue display. Given up.

* Analogue dial size increased

* About dialog fixed

* New icon

* Bug fixes.
[Samsung Galaxy Nexus] heeke:
Given that the closest airport that I can get a QNH from is 40km away I'd say that 3m off is quite accurate.

And then I'm using Google maps as "the correct" altitude, which probably is not that accurate. Pretty impressive that it shows correct change in altitude if you have the phone on the ground or 2m up in the air.

Good work!
[Samsung Galaxy Nexus] GchildT:
Very Nice!
[Samsung Galaxy Nexus] 4walls:
Very cool app!

Sent via Tapatalk on the GNexus
[Samsung Galaxy Nexus] Shaboinka43:
Very cool was not aware the phone could do this.
[Samsung Galaxy Nexus] slugboy1122:
This is one of the coolest things I've seen a phone do. Just awesome, thanks.
[Samsung Galaxy Nexus] sluflyer06:
This is pretty awesome, thanks!
[Samsung Galaxy Nexus] 4walls:
Adding numbers would be my number one request.

Checked the altimeter at 33,000' today and found it to be very accurate (displayed 4,200' - same as cabin altitude). I considered holding it out the window at altitude to check it against the aircraft altimeter, but it was -54C :D

Works with Boeing as well as Airbus :cool:

Here's another request, any chance you could add a pressurization differential function so it would show aircraft altitude in a pressurized cabin? I realize it would only work at max diff, but it would be interesting to see. You could call it an experimental or advanced function so people don't give you bad feedback when trying to use it. It could be entered by aircraft type (better for passenger use) or numeric value.
[Samsung Galaxy Nexus] insty:
Great app! Love it.
[Samsung Galaxy Nexus] Maliacrete:
Great App, works great on the Swiss Alps.
[Samsung Galaxy Nexus] xddch:
Works great, thanks!
[Samsung Galaxy Nexus] ve3xls:
Awesome app, thanks for the work!

A few requests I would have;

1) Real-Time display of the measured atmospheric pressure

2) Option to keep the screen alive

3) Ability to choose the range of measure for the analog dial (IE, min/max altitude)

4) Select the closest QNH setting automatically based on network/GPS position

Also, what sort of resolution does the sensor provide? That is, is it possible to have the app display precision greater than 1m?

Again, thanks for what you've done thus far!
[Samsung Galaxy Nexus] fridykker:
is the app on the market yet?
[Samsung Galaxy Nexus] David Horn:
1. Not sure what purpose this provides but will add if time permits.

2. Already there...

3. Interesting idea. Will need to check.

4. On the cards...
[Samsung Galaxy Nexus] :
Would likely be an absolute nightmare to code, but density altitude would be a nice addition. Measured baro + data from weather servers ending up at DA?
[Samsung Galaxy Nexus] DDM123:
I love this app. Apologies for my country's use of Imperial measurements, but since metric is much more accurate on this app, could you convert meters to feet with (m x 3.28084 = f)? Sorry if I'm sounding picky but it would be a nice little enhancement.
[Samsung Galaxy Nexus] hhairplane:
Any plans for update? Looking forward to the new version. Thanks and amazing work.
[Samsung Galaxy Nexus] hotelmode:
I just updated from v. 0.11 and was excited to try the auto qnh, but it won't work for me. I've tried KCAE, and also KATL. Both METARS only report InHg in the format of A2992, for example. Is there anything else I can try to get it to work?
[Samsung Galaxy Nexus] hhairplane:
Any plans for an update, been waiting on more additions to this already amazing app.
[Samsung Galaxy Nexus] Vladuu:
Would love an update for this app.
[LG Nitro HD] woodardbg:
Hello. For some reason I can't add contacts anymore. When I press "add contact " is comes up with a blank screen with "save" at the bottom but no form to add the contact. It also does it if I try to add a number from the dialer as a contact. Thanks for your help.

BTW new android user coming from blackberry
[LG Nitro HD] itiskonrad:
Did you either freeze or uninstall AT&T address book? You need this to add contacts.
[LG Nitro HD] woodardbg:
yes, that was it. however when I try to restore it, it doesnt seem to be working it just says "restoring app + data" and the status circle just goes around and around. been doing this like 10 mins now.

Any suggestions?
[LG Nitro HD] V@no:
[OFFTOPIC]

wow this forum doesn't allow post just a quite from another post...it require you type something 10 characters long...ooookkkk....
[Sony Tablet S] MarkB709:
First off, Yes, I am very aware that this thread exists in the developer section.

I can't post there though as new members need 10 posts to write there.

I made this XDA account so I can contribute to the pool of money that's going. I can't imagine how long it would take me to actually answer 10 questions that aren't already answered on this site, so I'm hoping there's another way around it.

...It seems like the bounty page should be under general anyways though. I hope the moderators read this before deleting this thread into the firey bowels of internet hell.

Thanks
[Sony Tablet S] DreadPirateDan:
Fair point. At times the bounty thread is drifting in and out of being used as the development/progress thread :p quite confusing. But they are all just trying to help us get the device rooted so I'm not complaining! :D.

If you would like to pledge an amount as a comment here I'll quote it in the thread for you if you like.
[Sony Tablet S] MarkB709:
Thank you very much Capn Dread Pirate.

Slap me down for $1.48CDN.

LOL, Just kidding. Can you imagine? Actually I'll go $25. Right in the meaty part of the curve.

....Mmmmmmm Meat curve. Goes well with sweet root access.
[Sony Tablet S] mipuel:
I'm waiting for the root too.

But in the case where the ICS update fix the exploit, i think we should just wait the release before asking hard word to the dev.

Let's be honest, chalenge + 900$, i think we're gone make it happen :)

(waiting for my 10th post too for adding some beer to the pledge)

What about the 2011 xperia lineup (arc, neo, kyno) any chance sony cook up a similar rom/bootloader ? Freexperia may save our souls ...
[Sony Tablet S] lsgraulau:
It'd be good if Sony allowed us to unlock the bootloader once the ICS update is out.
[Sony Tablet S] unclespoon:
added to the bounty thread, thanks!
[Sony Tablet S] kvssvarma:
Newbie Sony Tablet owner here.

Love to see the Sony tablet root by one of the tremendously talented developers here. My pledge is $25.

Please somebody update the pledge thread in the dev section.
[Sony Tablet S] DreadPirateDan:
Quoted you in there :)
[Sony Tablet S] unclespoon:
updated OP
[Sony Tablet S] Golao:
weird question

I really like galaxy on fire from fishlabs, but to crack it I need roted device...so this is my question. Is there any other way to crack this game?
[Sony Tablet S] DreadPirateDan:
Excuse me? Are you suggesting we give you advice on how to pirate a game?
[Sony Tablet S] MarkB709:
If everyone just pirated games, all we'd have left are games packed with ads or **shudder**

...facebook games!

Hopefully we can get the sony tab rooted so we can delete social feed reader and personal space, not pilfer things from people who deserve that money. Show developers support and buy their products please :)
[Sony Tablet S] DreadPirateDan:
If everyone pirated games, there'd be no games to pirate! Why would a dev continue to make games for a device when it's users are ungrateful little brats that just steal from them?

This is why the itunes app store dominates android market.
[Sony Tablet S] kvssvarma:
Can't post in the dev forum yet.

Just sent the donation to Dan for the root.

Going to try the root tonight.

Now the waiting game is for a custom ROM !!!
[Sony Tablet S] rithsv:
Heh, Dan must be piling in the cash now, huh?

He seems very modest about it too.. credit to him.
[Sony Tablet S] unclespoon:
Well I hope everyone who pledged money will actually donate. I'm super broke right now but it would be hypocritical of me not to donate right away so I did, and I'm very grateful!
[Sony Tablet S] motorsportgod:
Ill be donating my $80 on sunday australia time, keep an eye out unclespoon
[HTC Sensation] slyzee:
Since I flashed my phone to android revolution HD 6.0.3 I've had problem with my phone not detecting WiFi network and then I'm unable to download from the market.. I get error 505 anytime I try to download. Someone pls help me here with WiFi and market download.
[HTC Sensation] tward291:
idk if this will help but if you look at post 4330 here http://xdaforums.com/showthread.php?t=1408351&page=433

this guy says if you edit these that it would allow the market to recognize your sensation as a tmobile usa one thats if your one tmobile usa this might help with that 505 error
[Epic 4G Q&A, Help & Troubleshooting] XikkeN:
Okay, I have a new EI22 Epic 4G and a Macbook on 10.6. I have downloaded Heimdall and have watched like 8 youtube videos and read several guides. I have rooted something like 10 phones, so I'm not terribly dumb, but I can't find one place with the info that I need.

All I want is Clockwork Mod Recovery to install on the phone. After that I can handle myself. Here is what I've done/tried:

1. Found this thread

2. Downloaded the CWM file

3. Put my phone in download mode

4. Booted up Heimdall and loaded the CWM file.

5. When I started the flash it told me that my device was not supported.

Am I doing things correctly? Is there a workaround for the "Device not supported" error? Also I read something about another thing I have to do to make sure that CWM sticks. When do I do this?
[Epic 4G Q&A, Help & Troubleshooting] ÜBER™:
Did you run the drivers application and your mac has successfully recognised your epic? Did you download the epic 4g mobile drivers for mac?

Also if you plan on rooting ei22 its probably best to accept the ota to el30 since its the newest but if you don't get one then you can heimdall in the el30 stock package by toadlife..
[Epic 4G Q&A, Help & Troubleshooting] ÜBER™:
* replace everything that says "odin" with heimdall ;)

If you plan on rooting you'll need the GB3.tar kernel I'll link everything at the end.

1. Obtain the kernel and the el30.tar package provided by toadlife don't forget to thank him :)

2. Odin in the el30 package, and then odin in the gb3.tar kernel.

3. Odin in your choice of recovery cwm5.0.2.7 is a wise choice.

4. Enjoy your rooted EL30.

EL30 Odin Package : http://xdaforums.com/showthread.php?t=1461337

Gb3.tar kernel : http://xdaforums.com/showthread.php?t=1307980

Recovery: http://xdaforums.com/showthread.php?t=1357655

If you plan on updating modems:

The ei22 el30 modem can be found here : http://db.tt/nuyqxpvD