How to create a GPS application on Mobile phone? - gps

For a GPS application,
1) If say the GPS application is used inside a building, I would like to know how to define or create the map ourself ? Usually the map is provided by the vendor and the map is showing the roads(big scale) if compare to inside a building(small scale).
2) How do I map the position that return by the GPS receiver into my own created map?
Is there any open source framework available for GPS application that running from the mobile phone?

A GPS doesn't work inside a building.
But this is perhaps a place to start if you want to work with gps and windows mobile.
"GPS Tracking with Windows Mobile 5.0+"

Related

React Native Bluetooth background scan

I'm trying to scan devices on IOS when the app is in background mode. I've learned that I have to tell explicitly what service ID I'm looking for. I was trying with 180F which is the battery service but it didn't find anything. Is it possible at all on IOS? It works well on Android.
I'm using the react-native-ble-manager package.
Can you tell me maybe a common service UUID what every phone advertises?
My aim is to track every contact with phones which are nearby me and it should work when the app is in background mode.

How do I detect that the Windows Mobile transitioned to continuum mode?

Is there a way to detect that Windows Mobile 10 transitioned into continuum mode?
The message-box on Windows Phone does not look anything like the one on Desktop and our designers want parity. I want to write our own version, but I only want it to work on Phone - I want the default one on desktop or when the app transitions to continuum on phone.
Any ideas?
I could not find anything on the web nor find any API that allows me to detect it.
I may be wrong but I don't think there is an API for Continuum. The idea of Continuum for Phone is that you're going from a fixed display size to something that is variable. The best way to detect this would be using the Visual State Triggers or checking if the size of the window has changed.
By also checking that the device family, AnalyticsInfo.VersionInfo.DeviceFamily, is Windows.Mobile, you'll know that you're using a phone device which is currently in the Continuum mode.
To detect if app is running in Continuum mode you'll need to check two things: DeviceFamily and UserInteractionMode.
public static bool IsInContinuum()
{
if (DeviceFamily() == DeviceFamilyType.Mobile && UIViewSettings.GetForCurrentView().UserInteractionMode == UserInteractionMode.Mouse)
return true;
else
return false;
}
Quote from this post:
"With Continuum, “touch” will always be returned when your app is on the mobile device, and “mouse” will always be returned when your app is on the connected display."
So you'll need to check if app runs in Continuum in SizeChanged event.
Due to MSDN Documentation Below,
There's no spesific trigger for Windows 10 Mobile continuum feature detection.
Continuum for Universal Apps
In order to find a solution on Mobile Apps, you can benefit from adaptive UI, you can check the app via screen resolution change Window.Current.SizeChanged, then you can combine with Device family AnalyticsInfo.VersionInfo.DeviceFamily to check if device is in Continuum mode.

Display Traffic in iOS7 app using MapKit

Is there a way I can display Traffic in an iOS7 app using Mapkit? I believe it can be achieved if Google Maps SDK for iOS is used but can it be done using iOS's Mapkit?
I'm sure you've noticed that the MKMapView's showsTraffic is only available on iOS 9+.
mapView.showsTraffic = true
In order to achieve this on a pre-iOS 9 application, you'll need to bring in a map tile from an external source to display the traffic. There are several services that do this, I'm not sure what their pricing/free products are. It looks like Here has a good api for it. Once you find the service you want to use to serve your traffic map tiles, you can integrate them into your map app using an MKTileOverlay: https://stackoverflow.com/a/38722623/12470155

Is there a known database or a way to retrieve icons of different apps

I am building some software that requires me to display the icons of different apps, and possible save them on a database so I can look it up on demand?
I know you can get the url scheme but is that all you can do with it ? Or is there a way to get the app icons ?
For instance is there a way to get the icon of angry birds via an API call to the IOS system ?
In a non-jailbroken iPhone, you cannot get it from the OS.
You need to query the iTunes service from Apple to get this info ex:
http://itunes.apple.com/lookup?id=284882215
See this SO post for more detail
Get other application icon image in my Application

Show an app's live tile in a grid Metro app

I was wondering if it's possible to show an app's live tile in my own MetroStyle app in Windows 8.
Short answer : no.
Longer answer : You can't show another app's live tile directly in your app, but you can probably put together something that looks and feels like a live tile. If the other app is another one of your apps, you can probably send your tile updates to the original app, and also provide the data to the host app (in which you want to show this tile). It shouldn't be too hard to do, and the Silverlight Toolkit for Windows Phone has a HubTile control that givers the basis of something similar for that platform.
If the app whose tile you want to access is not something you control, you won't be able to get any of the "live" data due to the heavily sandboxed nature of Metro apps.