Is getLastLocation of android locationManager using GnssAntennaInfo? - android-gps

I'm an Android developer.
From Android 11, the GnssAntennaInfo class that can utilize dual-frequency GNSS has been added, and it has been confirmed that developers can use it.
If so, is GnssAntennaInfo already used in getLastLocation method of locationManager provided by google location api??
Or is it still necessary for developers to utilize GnssAntennaInfo provided to improve location accuracy??

Sorry I can't give a definitive answer but, since there hasn't been any other response yet I'll answer what I'm pretty sure is the correct answer.
No.
From: https://www.androidpolice.com/2020/03/19/pixel-4-dual-band-gps/
In the sheer infinite expanse of the Android 11 developer documentation, an entry for GNSS or dual-band GPS support has surfaced. While the Pixel 4 isn't explicitly mentioned, it's plausible that owners will be able to use the hardware once developers add support for the new GnssAntennaInfo class to their apps. Hopefully, Google Maps will be among the first to utilize it — even if the difference isn't too meaningful, it might make GPS more reliable.
This matches my own experience. I recently purchased an S20 hoping for this exact feature (~ 1 yard accuracy), currently I'm seeing ~ 4 yrds. I've confirmed I see L5 satellites and my phone just got the Android 11 update tonight. All of my GPS apps show NO improvement in accuracy. I'm unsure of Google Maps, don't really know how to tell with it. However, if some "provided" function like getLastLocation were benefitting from high accuracy I think I'd see it in my GPS apps.
Hence, if I can figure out exactly how L5 can improve accuracy, I' going to attempt to write this myself. I'm having a hard time tracking that info down though...

Related

NativeScript roadmap: Desktop support no longer on the cards?

I notice that desktop support isn't mentioned in NativeScript's future roadmap any more.
Has this been dropped for good, or is it still on the cards?
If it is still on the cards, for when is it planned?
NativeScript under Progress ownership
While NativeScript was owned by Progress, desktop support was never a priority; developer surveys did not show strong enough demand for it, and the NativeScript Core team were stretched too thinly to tackle it as a curiosity.
Of interest, before the death of Windows Phone, NativeScript did get very far on implementing a Universal Windows Platform runtime for NativeScript: https://github.com/NativeScript/windows-runtime
The NativeScript iOS runtime (https://github.com/NativeScript/ios-runtime for JSC, https://github.com/NativeScript/ns-v8ios-runtime for V8) is also close to delivering Catalyst support, although it's essentially undocumented for now.
I spoke with the NativeScript iOS runtime team and they said it would be pretty trivial to generate JS bindings to macOS (AppKit/Cocoa), too – though one would still have to implement all the UI components as AppKit ones, so it would only be the start of the journey.
Unofficial support
Kamen Bundev (on the Progress/Telerik NativeScript team) has been building a Qt-based desktop implementation of NativeScript as a hobby project for a long time:
https://github.com/bundyo/nativescript-platform-desktop
It has access to Node.js's APIs rather than, say, the Obj-C runtime on macOS, however.
NativeScript under nStudio ownership
NativeScript was recently handed over to nStudio, who may have a different stance. This question did in fact receive an official answer recently on Twitter:
They have also expressed love for the idea of creating Windows 10 apps with it (the tweet links to this issue, https://github.com/NativeScript/NativeScript/issues/8643):
My personal speculation
Note that I do not work for nStudio, and the dust is still settling after the NativeScript handover, so everything from here is just speculation:
So I think there's no question that the passion is there – the real question is whether they have the resources to back it. I personally think that there won't be any movement on it anytime soon, as nStudio need at least a few months just to get used to driving the NativeScript ecosystem and sorting out the long-standing open-source frictions. I think that they'd absolutely welcome a community-driven effort on this, of course. I imagine that by 2021 they'll feel more ready to take on projects of that scale.

Getting detected features from Google Tango Motion Tracking API

I would like to know how to get the current feature points used in motion tracking and the ones that are present in the learned area (detected or not).
There is an older, related post without an useful answer:
How is it possible to get tracked features from tango APIs used for motion tracking. I'm using the tango to not do SLAM and IMU-integration on my own.
What do I need to do, to visualize the tracked features like they did in some of the presentation videos. https://www.youtube.com/watch?v=2y7NX-HUlMc (0:35 - 0:55)
What I want in general is some kind of measure or visual guidance on how good the devices learned the current environment. I know, there is is the Inspector App but I need this information on the fly.
Thanks for your Help ;)
If you want to check if an area is present in your learned area model and which is not, you can use the Tango Debug Overlay App. It has a field 'Tracking Success' that only counts up if the device sees learned feature points (ADF on) or finds new feature points (ADF off) (http://grauonline.de/alexwww/tmp/tango_debug_overlay_app.jpg). Additionally, you can request that debug information like Tango Debug Overlay App does (as a simple text) via UDP port 29361 in your App and parse the returned debug text (although this is not recommended at all for a real app as this interface is not documented)
PS: In Tango Core 01-19-2017 this counter does not seem to work anymore.

DJI Phantom API or hackable procedure

Maybe I have't looked hard enough, but I spent yesterday googling for a bit and found no relevant projects on hacking the DJI Phantom Drone in order to create new coordinating apps. This is besides the app for coordination DJI currently uses for their drone. I'm trying to see if there's a way to communicate with the Drone with a specific protocol in order to accept a set of procedures.
Any help would be awesome,
Thanks.
Great News for you and all us Droneys! DJI has launched their SDK since you asked this question. They released it last November and you can now apply for a license and write your own apps for the Phantom2 Vision+ using their SDK.
Check it out at https://developer.dji.com/
I am already building a project using the SDK - you can follow my progress on my blog / product site. I will also try to update it with good DJI related development links and tips.
This post is old but I think it is good to leave a foot print for others :)
There is this new company called NVdrones, which created a peace of hardware that you can attach to any drone (you need physical access to the flight controller), and once you do that you can use their SDK (Arduino, Java, Android and Javascript) to write your app without the need of hacking, soldering or anything else. It is just plug and play.
Another benefit is that you are not locked with a specific drone (DJI SDK or 3DRobotics SDK), you can use the board on anything you want. Which gives lots of flexibility.
The developer site is http://developers.NVdrones.com
Hope this helps.
This is a great topic!
You could check how to hack your copter here: https://github.com/flyver/Flyver-SDK/wiki/-2.2--How-To:-Flyver-Hack-a-Copter
By opening the drone, taking out the original controller, soldering a few wires and sticking an Android phone to it, you will have the ability to program your Phantom in a modern manner with an open source SDK and application based development. This means that you could add computer vision to it, automation or additional hardware. You could also use smartphones, web and other interactive devices for remote controlling the copter instead of using the standard remote controls.
The Phantom, however, is offcenter balanced due to the fact that most people use gimbal with it. Without the gimbal is a lot less stable from my experiments so you will have to put some extra work in center balancing it.

Windows Phone 7 Scoring provider

I am not too sure if this question is suited for this forum. If not, please let me know and I'll delete this.
I wanted to figure out the "easiest" way of keeping online score for a game or quiz on Windows Phone 7. Currently, I am not looking for things like Achievements etc. I know XBOX live provides a lot of stuff on these grounds, but it is not open for all.
I want to submit the score, and maintain the top 200 (may be less) odd scores. I am too lazy to write my own services and host it and go through the full maintenance cycle for that scoring system. Can someone point out some really good and easy to use + reliable services that I can use?
The product offered by Mogade has a lot of the features you have asked for:
Real time stats
Achievements
Logging
Javascript leaderboards & Facebook pages
Always free
No branding requirements
It's a very streamlined library where you only need to set up the bare essentials to get it working as all of the heavy lifting is managed for you automatically, allowing you to focus more time on the development of your game.
briansoli has written a fairly straightforward tutorial on how to get a leaderboard working with in a Windows Phone 7 game.
I hope you find this useful, let us know how you get on with it!
Microosft have just released a new toolkit called the Windows Azure Toolkit for Social Games. This should help you out with quite a bit.
Have a look at this Cloud Cover Show, Episode 52 - Tankster and the Windows Azure Toolkit for Social Games
The toolkit enables unique capabilities for social gaming prerequisites, such as storing user profiles, maintaining leader boards, in-app purchasing, and more. The toolkit also comes complete with reusable server side code and documentation, as well as Tankster, a new proof-of-concept game built with HTML5

Will Windows Phone 7 Support Multitasking third party apps

Obviously it's early days, I do not know whether this is information that is in the public domain or not yet, but...
I have trawled through some of this site - http://www.windowsphone7series.com/ but I can't seem to find the answer.
Specifically will I be able to write an app on the phone that updates the cloud with the phones current GPS position in the background even when other apps are running in the foreground.
According to ZDNet's post yesterday, Windows Mobile 7 will support multitasking for things like having music playing while using an application, but as far as 3rd party it will most likely not be supported. Things like notifications however will be there, as to help with multitasking.
I hate to relieve myself on your bonfire Christopher but might I suggest that a background GPS process, might not be a good idea. You'd really run down the users battery performance, perhaps if you shared a little more about your idea we could suggest an alternative architecture that didn't require a constant gps post.

Resources