Related
Hi (and Salam) friends,
Since, HD2 has a built-in compass and google maps, I am looking for a qibla direction finder. If there is not any thing out there like this, are there any SDK's available to access the built-in compass ?
I have never done any programming on WinMo, but I am happy to bring out my rusted programming skills, since I used to be a software developer in my other life!
Any ideas ?
Welll the compass has a builtin function to set a destination, and you'll then be able to see the direction to it on the compass.
Failing that, if you need to build your own app, there's no compass API, so some hackery and back engineering would be involved.
mr_Ray said:
Welll the compass has a builtin function to set a destination, and you'll then be able to see the direction to it on the compass.
Click to expand...
Click to collapse
The only "inconvenience" to that is to remember the exact GPS coordinates to the destination, i.e. Makkah, Saudi Arabia in this case! Not very handy!
mr_Ray said:
Failing that, if you need to build your own app, there's no compass API, so some hackery and back engineering would be involved.
Click to expand...
Click to collapse
How easy or hard it is to "reverse-engineer" or "hack" into the compass ?
Another quick question, does the HD2 have an internal hardware based compass ?
Wasalaam bro.
I used a proper Qibla direction program on my 3GS in the past - it was quite accurate - I can't say if the one in our HD2's is though - it seemed a bit 'off' to me, but then again there are two types of north so not sure which one our HD2's points to.
As much as I'd love to have a program that does that on my HD2 (and would be willing to pay for it) - simple thing to remember is that no matter where we are in the UK - Point your compass to South-South East (thats half way between south and south east btw ) and you'll be close enough mate
It beats the time I was in nowhere in middlesborough trying to figure out which way to pray according to the Sun! LOL
Not sure I understand why you can't just use the built-in compass. I use googlemaps to find the direction and then align with the green dot. Admittedly the position is lost when you reset the device, but it's not too difficult to remember the degree position (eg. 138 degrees SE).
Your query intrigued me so I figured Id have a crack at it.
For those interested, the Digital Compass (app) is quite simple to use. You just set the "Picked" entries in HKLM\Software\HTC\DigitalCompass and then run \Windows\DigiCompass.exe
I got the coordinates for Kaaba here, and it seems right on Google Maps.
Im not 100% convinced by the accuracy of the compass. It does seem repeatable away from the computer though, so I guess you would just have to spin it around a couple of times to be sure.
Edit: I should add that for me (in the UK) it reckons its SE, not SSE, so you might want to compare it against a more reliable source before using it.
Here is a little app written for ce4arab - read here http://www.ce4arab.com/vb7/showthread.php?t=119864&highlight=%C8%D1%E4%C7%E3%CC+%C7%E1%DE%C8%E1%C9
isangelous said:
Your query intrigued me so I figured Id have a crack at it.
For those interested, the Digital Compass (app) is quite simple to use. You just set the "Picked" entries in HKLM\Software\HTC\DigitalCompass and then run \Windows\DigiCompass.exe
I got the coordinates for Kaaba here, and it seems right on Google Maps.
Im not 100% convinced by the accuracy of the compass. It does seem repeatable away from the computer though, so I guess you would just have to spin it around a couple of times to be sure.
Edit: I should add that for me (in the UK) it reckons its SE, not SSE, so you might want to compare it against a more reliable source before using it.
Click to expand...
Click to collapse
taiseer999 said:
Here is a little app written for ce4arab - read here http://www.ce4arab.com/vb7/showthread.php?t=119864&highlight=%C8%D1%E4%C7%E3%CC+%C7%E1%DE%C8%E1%C9
Click to expand...
Click to collapse
taiseer999, Can you dig a direct link to the application/download. Currently, the website asks for an account, and its in Arabic language, so not really easy for us.
Link to a app usage description page would be much better (ideally in ENG ), so we know what we are getting into.
Both of you are shining stars !
isangelous said:
I should add that for me (in the UK) it reckons its SE, not SSE, so you might want to compare it against a more reliable source before using it.
Click to expand...
Click to collapse
Where in UK are you based ?
Here it is Bro..
From ce4arab.com
need kıbla degree for your position,
see,
http://www.namazvakti.com/Main.php?WSLanguage=EN
My solution is simple, get any pictures of the kibla in the net, turn the pictures into footprints pic and then insert the qibla coordinate to it. From the footprint select the qibla pictures and the menu then select digital compass. Then you're done.
unsight said:
My solution is simple, get any pictures of the kibla in the net, turn the pictures into footprints pic and then insert the qibla coordinate to it. From the footprint select the qibla pictures and the menu then select digital compass. Then you're done.
Click to expand...
Click to collapse
perfect! thanks!
how to select digital compass from foot print?
i'm using ROM 3.14 WWE
after upgrade to new ROM my digital compass don't have "set direction" button anymore. now have to manually guessing the direction base on north and current location.
micro_snake said:
Here it is Bro..
From ce4arab.com
Click to expand...
Click to collapse
why do i got little boxes like it cannot display the fonts?
any english version?
Qibla Direction Finder is simple that can be used to find Kabaa direction for muslim prayer. This app need Compass and Qibla GPS sensor on your android device to calculate the angle of your location to Kabaa position, where the position of Kabaa we get at 21.422523 latitude and 39.826184 longitude from Google Maps.
qibla direction or mecca finder is simple and helpful app for muslims anywhere in the world to find accurate (Kaaba) qibla direction. qibla direction finder is a most accurate qibla direction compass and qibla locator.
!! FUN APPLICATION, NOT INTENDED TO BE USED IN REAL WORLD AVIATION !!
For all those flight-sim enthusiasts out there: I have created this PFD (primary flight display) which shows the speed, the altitude the coards and the attitude similar to a real PFD display in an airplane cockpit.
Although the application has been created and tested on an HTC HD2, it might work on other devices as well. Internel or external GPS and the HTC G-Sensor are required. It is planned to add a serial communication channel to a PC server component which allows to use this little proggy with MS Flight Simulator displaying the flight parameters so you can get rid of the cockpit panel on your primary display.
Just keep in mind that this is the first version of the program, so there might be *some* improvement potential.
A screenshot of the program is also attached.
Pls let me know what you think about it.
Thanks.
As a pilot I cannot find any sense in this, sorry m8.
Useless for aviation.
Useful might be an HSI-App, an RAIM-availability-check-App, a NOTAM-APP and so on. An artificial horizon on a handheld device... No, not good...
Title correction...
It is just for fun, not intended for real world aviation.
I will change the title so that it becomes more clear.
As an airbus pilot I like it! Lots of scope for further development, keep up the good work !
when I read your discrip, I had something totaly dif pictured in my mind. guess Im falling back on my sail plane lesson days.
I had round face dial and a yaw bubble pictured.
While this is cool, I would prefer to see the old analog style with an altimeter that you can set your start altitude and a yaw bubble, rather than the HUD style. just IMO.
And yes this is just for fun.
Keep it up, I will follow your project with intrest.
cheers
Good Work mate
While some are critical in their opinion I'm pleased with your app.
Keep up the good work mate and for all others who are not so encouraging ...... what do you want for an app a full blown flight simulator, the guys making an effort to develop something and sharing it for a free with us so to help him out at least .... I mean at least encourage him and make some constructive criticisms.
It doesn't cost to be nice and help to motivate others...........
Customize it
Just as a hint for those of you, who would want to use other bitmaps. I have designed the application in a way which allows you to modify or extend it. If you look into the applications program folder, you will find an XML file describing the layout of the display. You may also change or add bitmaps. The bitmaps are all located in the
HTML:
resources
subfolder. If you change the size of the offset of bitmaps, you will have to adjust some values in the XML file as well.
As you can see there all items are drawn in 3d space.
However, I am working on a HSI as suggested before. I will post it later this week.
Known issue:
- After running the application 3 or 4 times, OpenGL is not working properly anymore (not able to create rendering context). This is an issue of OpenGL. You have to restart your device for OpenGL to work again. If anyone has a solution, please let me know.
leihen said:
It is planned to add a serial communication channel to a PC server component which allows to use this little proggy with MS Flight Simulator displaying the flight parameters so you can get rid of the cockpit panel on your primary display.
Thanks.
Click to expand...
Click to collapse
That would be awesome!
Cool app
Certainly would be better than no attitude information in the event of a vacuum and/or elec failure.Even if just to make flying the performance instruments a bit easier.
I would defintely like to see a HSI app possibly with an open (editable)waypoint database.Anyone interested!?
Keep up the good work!
I love it. Thanks so much...
I just wonder if settings could be made permanent until being changed again so as to start the application without my having to select REAL and AVERAGE everytime.
And as a proud HTC HD2 owner, the display could me made much
larger indeed...
Congratulations and thanks again.
This is a fine app with a lot of potential esp. for UL-pilots as an emergency backup if UL-airplane-pfd fails.
Would be nice if indicators are bigger and the layout equals to Flymap, Skymap or MGL-layout
There is enough place for a nice big yaw indicator. Maybe You can get some code from GPS-tracker V2.0 (MooNah) in this forum, it already has a full working PFD incorporated.
Good luck with further devs., when next version is online I will try it in my gyroplane.
I think it's fun!!!!!
next step: build a flightsim for wm where we could use this
You will be in real danger....if you do so.
troed said:
This is a fine app with a lot of potential esp. for UL-pilots as an emergency backup if UL-airplane-pfd fails.
Would be nice if indicators are bigger and the layout equals to Flymap, Skymap or MGL-layout
There is enough place for a nice big yaw indicator. Maybe You can get some code from GPS-tracker V2.0 (MooNah) in this forum, it already has a full working PFD incorporated.
Good luck with further devs., when next version is online I will try it in my gyroplane.
Click to expand...
Click to collapse
As you will easily see, this PFD horizon responds to gravity, that is, to the accelerometers installed in the phone.
It has no gyros, no way to provide PITCH ATTITUDE, WHATSOEVER.
If you keep the phone perfectly vertical and quickly move forward (accelerate) it will SURELY show a pitch up...pretty much the same effects that a stand-by compass shows when changing speed (remember that?...accelerate-north, decelerate-south).
You will have the very same pitch information as the one given by a bottle full
af water suspended from a string, or a can of Coke : and it will KILL YOU as well as your passengers (if any), not to mention people on the ground.
The only usable parts of this FUN APP (as named by the author himself ) in aviation are:
1. True track (not magnetic heading).
2. Altitude (neither QNH, nor QFE related, but of course; unless your flying field happens to be at sea level and actual atmosphere matches the ISA atmosphere parameters exactly). Remember that QNH variations as well as heat will make the GPS readings very different to that of your altimeter, as height of the air column will vary a +/-4% every +/-10 degrees Celsius.
Example. Airplane flying at Flight Level 300. QNH in the area 1023. Terrain at 2000 feet. Atmosphere is ISA+15.
Therefore if we move the 1013.25 setting to 1023 there will be a reading increase from 30.000 feet to 30300 (calibrated altitude, QNH related).
That is 28.300 feet above ground (we start with this as the air column height for the calculation). Since ISA is +15 we add 15/10 times 4% and we have 28300*15/10*4/100= 1698. True altitude is 30300+1698=31988
So we are cruising at FL300, 30.000 feet pressure altitude, 30.300 feet calibrated altitude (QNH related), 31988 above sea level, 29988 feet above ground level.
GPS WILL SHOW 31988 FEET.
3. Ground speed ( neither IAS nor CAS nor EAS nor TAS), as provided by GPS system. Remember that your airplane aerodynamics are related to calibrated speeds....you will stall if too slow ore destroy the airframe if to quick !!!! But you can navigate and make good your track, of course.
Hope I have made myself understood....and that you read this at the earlier !!!
Hi!
It quite very good if the second part under we have the route. I am using the Oziexplore program, it can creates the route, and apear on screen. if this soft applied to that once, could be perfected!
Thanks
great app mate..just for fun...
Nice work thank you. On future can you make like pilot cocpit with all dash boards like in Flith simulator game if this possible. Thank you
leihen said:
!! FUN APPLICATION, NOT INTENDED TO BE USED IN REAL WORLD AVIATION !!
For all those flight-sim enthusiasts out there: I have created this PFD (primary flight display) which shows the speed, the altitude the coards and the attitude similar to a real PFD display in an airplane cockpit.
Although the application has been created and tested on an HTC HD2, it might work on other devices as well. Internel or external GPS and the HTC G-Sensor are required. It is planned to add a serial communication channel to a PC server component which allows to use this little proggy with MS Flight Simulator displaying the flight parameters so you can get rid of the cockpit panel on your primary display.
Just keep in mind that this is the first version of the program, so there might be *some* improvement potential.
A screenshot of the program is also attached.
Pls let me know what you think about it.
Thanks.
Click to expand...
Click to collapse
Indeed as an Ultralight-Gyroplane-Pilot I like this app and since the Horizon-tab in GPS-Tracker by MooNah doesn´t work right now this could be alternative as a a last resort-backup if glass-cockpit instruments (MGL-Avionics) fail ...... (better to have this than nothing at all and I also have Flymap PPC on my HD2 if main Moving map Nav. fails)
This app has great potential since it reads the infos from G-sensor and GPS.
For the future dev. if I might add my wishlist:
1. Add to screen: slide-indicator and compass, Altitude
2. slightly more refined graphics
As a start: BRAVO, hope You have the patience to go on developing this nice app ( like Dunc001, that made in 100s of hours of work a professional weather app - Duncans Weather Panel - see there - that is more reliable than many professional aviation weather briefings).
I bookmarked this thread and hope for further developments by U
Congratulations
like the Android solution ixGyro:
http://www.ixellence.com/index.php?option=com_content&view=article&id=227&Itemid=274&lang=de
JHimmelbauer said:
like the Android solution ixGyro:
http://www.ixellence.com/index.php?option=com_content&view=article&id=227&Itemid=274&lang=de
Click to expand...
Click to collapse
Jepp, EXACTLY THIS would be cool on the HD2 on WinMo (Android not running on mine) !!!!!!!!!!!!!!!!!!!!!!!!!
troed said:
Jepp, EXACTLY THIS would be cool on the HD2 on WinMo (Android not running on mine) !!!!!!!!!!!!!!!!!!!!!!!!!
Click to expand...
Click to collapse
a other solution for Windows Mobile is "Inclinometer77" -
visit http://forum.xda-developers.com/showthread.php?p=6677074
This App goes in the right direction, but unfortunately not to use without Gyro in a Plane, but a nice game for pilots ;-)
Happy Landings
I seen a video on youtube where someone had an NFC tag that opened his smart lock when he touched it with his n5. Can anyone give me directions or link to where I can find how to do this? Thanks
Could I somehow use tasker to control my revolv automation to open it?
I've seen this video where somebody uses a Samsung Galaxy S4.
I believe it indeed uses Tasker (if you look closely you can see that it is installed on the phone) to trigger (using Locale NFC Plugin) the phone to communicate with a Z-Wave hub such as Vera (with the AutoVera plugin) to unlock the door.
It doesn't look like an equivalent Tasker plugin is available with the Revolv hub and it can't be done directly yet as I've been told that Yale's NFC enabled dead bolt availability has been delayed. As of now I believe you can only purchase dead bolts from the Real Living series with a Z-Wave radio module. Are expected:
ZigBee radios (about to become available)
NFC (2014/12)
Bluetooth Low Energy (Q1 2015)
Once available NFC and BLE enabled dead bolts should work with ASSA ABLOY's Seos Mobile Access system (available on Google play).
Hello,
i am new to this forum and hope to post my question in the correct category.
I am looking for an Android Smartphone, which is able to detect NFC Tags on the frontside (display-side) of the device. All devices i tested can detect nfc tags on their back side, but not on the front side?
Does anyone know a device, which can read nfc tags presented on the display?
Background: I would like to use a android smartphone as time tracking device in our small company, where employees should identify themselves with an rfid tag presented on the display side of the smartphone and choose "Go" or "Leave" afterwards.
I hope, that someone can help me and thank you all for your efforts!
Best regards,
Michael
The phone is supposed to support dual-frequency GNSS.
Can someone use GPSTest (https://play.google.com/store/apps/details?id=com.android.gpstest&hl=en&gl=US)
and show a screenshot that demonstrates that the phone can pick up both frequencies?
Attached screenshot, you can see L5 and E5a in use there.
Looks like the screenshot got lost in the mail ;-) But yet I can confirm that dual-frequency is supported.
B2a too
Dual-frequency GNSS works. Positioning in general seems to be quite fast and accurate outdoors, also in forests.
Unfortunately it does not record carrier phase data with GPSTest or other apps (only outputs zeroes), so post-processing (PPK or others) are not usable. Does anybody know whether a custom rom can help with that?
I've seen it couldn't output "Navigation Messages", is that what's missing ? The Mi 8 could do that though I think. Is it really worth doing post-processing with an Android phone though where you're going to be limited by the poor antenna ? What post-processing tools do you use ?
You're probably right about the antenna. I wanted to see how far you can get with this phone. For some of my applications it could be useful to have sub-meter or at least the best accuracy available.
I wanted to use https://jason.rokubun.cat/#!/
Thanks for the link, they do indeed mention Android Smartphones under https://jason.docs.rokubun.cat/examples/ and give instructions on how to log data with GNSS Logger (GNS Logger v3 keeps crashing on me, does it work for you ?). They don't mention Navigation Messages that the Mi 10 '(and all 765G devices) is not capable of but "measurements" should be ok. Did you activate the "Full GNSS measurements" in the Developer Options ?
PS - I tried to create an account on Jason but I'm not getting the confirmation email. I tried "forgot password" and got an email but it won't reset. Looks like the site might have a few issues !
GNSS Logger always crashed on my phone, too. I have successfully used "GNSS/IMU Logger" as well as "GPSTest" instead (I prefer the former but since the last MIUI update (12.1.3) it has some bugs). I have enabled "Full GNSS measurements" in the developer settings.
The site worked just fine for me. At first files from the GPSTest app were not readable by the engine but the developers changed this immediately. They have also been very fast and helpful with my problems so far so maybe try contacting them via mail.
Good to hear, so what phone were you using when you got your data processed by Jason ? I received the email so I'll give it a try with both GPSTest and GNSS Logger v2 with my Mi 10 Lite just in case.
EDIT : so the GPSTest recording was...empty so same problem as you it seems (or I did something wrong while recording) but the GNSS Logger file is 1.8MB and is currently processing but stuck on "Looking for closest CORS station" so I'm not sure what's going on.
Ah sorry, my message was unclear. I have produced valid rinex and raw log files with the Xiaomi Mi 10 Lite but the fields with the carrier phase data were empty. Jason then still processes the files but the output data are not helpful, with positions way worse than what a standard gpx recorder delivers.
Jason usually didn't take long with my files.
Gotcha, I opened the log with excel and the CarrierPhase fields are indeed empty. Is that why we get the " Could not set-up parameters for PPP processing: Cannot perform PPP on Rinex because SP3 orbits for 2021-01-21 16:00:17.429569 could not be found " message in Jason ? That sounds more like a CORS station problem but anyway it won't help with our problem.
The result was indeed poor, worse than what I was seeing on GPSTest actually but I think GPSTest shows the "Android Position", i.e. fused GPS/WiFI/4G
By the way, which rom are you using?
I don't use 4G or Wifi for positioning.
Stock ROM with Miui 11.0.4.0
I'll try turning off data to see what that does to the position. It might be using the accelerometers too to keep it steady.
About the empty CarrierPhase data fields I wonder if the data isn't being made available differently after reading the paper made available here : https://www.researchgate.net/public...g_Xiaomi_Mi_8_Dual-Frequency_Raw_Measurements
Where it says : " Not all available public methods in these two classes are actually in use or of interest for satellite-based positioning. In fact, some variables (e.g., ‘CarrierPhase’) have been deprecated starting from API version 28 [11]"
EDIT : ok, what we need is the "AccumulatedDeltaRangeMeters" and it is indeed shown as 0.0 on the Mi 10 Lite
Looking for some Mi 8 logs now, I'm pretty sure I've seen some somewhere !
See here for example:
https://www.kaggle.com/google/android-smartphones-high-accuracy-datasets
From the "awesome GNSS" list. You can also find a list of device capabilities there:
https://docs.google.com/spreadsheets/d/1jXtRCoEnnFNWj6_oFlVWflsf-b0jkfZpyhN-BXsv7uo/edit#gid=0
The Mi 10 Lite 5G is supposed to support carrier phase data /accumulatedDelta. It just seems like they are not calculated.
I'm sure you know the GPSTest group:
https://groups.google.com/g/gpstest_android
I'll leave the link for other interested people.
Yes I'm there too ;-) I just mentioned the GeolocPVT app, I managed to build it starting from the .aab, what a hassle ! Unfortunately it can't get a fix with the Mi 10, maybe because of the lacking ADR data ?
Talking of which I ran GNSS Logger v2 on a lowly Redmi 9 and...it logs ADR data ! I'll see if I can post-process some data with Jason.
Thanks for the links for the logs, the video presentation was interesting too. Do you know what the "Ground Truth Data" is ? A geodetic receiver getting RTK corrections maybe ?
I wonder if the Mi10 will ever get proper ADR data...have you had other Android phones that provide that data ?
Sorry, no. I didn't check with the Realme X2 Pro and now no longer have it.