I'm trying to find out whether it's possible to get the current location of a Windows 10 device if it's not connected to the internet via Wi-Fi (Wi-Fi) is disabled . I'm aiming this at Windows 10tablets and I don't think they all support GPS. Does anyone know what would be the best way to go about this? Or is it possible at all?
when i use Geoposition pos = await geolocator.GetGeopositionAsync();
it returns Exception .
Related
I configured my app for receiving location update in the background, and everything works fine except one thing - location not update during phone call (when used only 3G, WI-FI is off).
Can someone explain me why this happens?
Whenever you make a call and access data at the same time then you may see this type of problem, it totally depends upon on the mobile phone that you are using. To access data during calls, your phone should support dual band technology. When making a call you are already using some bandwidth. This same bandwidth is used for accessing internet by your phone if it does not support dual band channels then you will face this type of problems. Also, sometimes the network providers themselves do not allow you to make a call and access internet at the same time. Try with other mobile network or other mobile phone. For confirming whether you are getting data during the call or not, try to open some other apps like "youtube" during the call and check whether you are able to view the app. If you are able to view the app then you are doing something wrong with your location based services code. Ask another question by posting your code for fetching the location, so that We can help you.
you'll go to setting -- privacy -- location on -- your app -- set always or while using app
I have been using sony smart glass in my project.It is very important for me to access wifi. how can i connect..? it just gives w-lan address when i click w-lan option in glass.I went through sony website but i couldnt find anything related to it. I also found this question in stackflow asked by some other user.The solution given to him was.,the glass can connect automatically itself. If w-lan is password protected how can it connect automatically.? because it is not working.is there any other option available.? like is it possible to install wifi option.?
Initially for SmartEyeglass to work with your device you have to connect over Bluetooth, but if you need extra performance from the glasses you can shift it in to high-power mode. If you activate the camera button on the glasses they will automatically switch to high-power mode. If you are referring to this question then that is what it is talking about:
Connect Sony SmartEyeGlass to Wifi
Here is more information about high power mode
https://developer.sony.com/develop/wearables/smarteyeglass-sdk/guides/settings/#toc-2
Unfortunately there is no way for you to use the wifi connection other than this. Hope that helps
I am writing an android app and trying to figure out if there is a reliable way to determine when the phone is on a specific wifi network.
For example, I want to perform certain actions only when connected to the home wifi.
Does anyone know if it's possible?
Yes, there is a way for this on both, android and iOS/iPhone.
On Android, you need to use this method in the end: android.net.wifi.WifiInfo.getSSID
On iPhone it's a completely different world. You can find a good description of how to do it here:
iPhone get SSID without private library
you can get the SSID of the current wifi-connection with :
WifiManager mng = (WifiManager)context.getSystemService(Context.WIFI_SERVICE);
String currentSSID = mng.getConnectionInfo().getSSID();
I'm trying to find out whether it's possible to get the current location of a Windows 8 device if it's not connected to the internet via Wi-Fi. I'm aiming this at Windows 8 tablets and I don't think they all support GPS. Does anyone know what would be the best way to go about this? Or is it possible at all? Little bit lost and bombarded with solutions that don't seem helpful for my situation.
Thanks in advance!
You can't.
If theres no internet connectivity and no GPS, there is simply no way to work out where on earth you are!
What I would suggest doing is:
1) Saving the location each time you do it and using a previous location and informing the user.
2) Not doing anything and instead asking the user to turn on their GPS.
But yes, I would still try to find out the location even if their isn't an internet connection, because some devices will have GPS onboard and enabled.
hi all i am working on Application which is bashed on Event according to current location .when my application start i am displaying Event in my ListField according to current location. Application works fine in Simulator after sending Latitude & Longitude manually from simulator.
When i test this app in my device BB storm2 9550, device cant get current location within 3 or 4 second (during Splash screen) . but after some time it get current location successfully .
how can i get my current location as fast as iphone an Android ?
is there any way to get current lat long from device GPS system which we are getting on Refresh GPS .
please suggest me if any one have any idea.
Thanks in Adavance !!!
if you are not getting lat/long quickly then it sounds like you are trying to get the locations using the GPS radio. This would mean it will take time to connect to the satellites . this would also require sky in sight of the phone, ie it will not work indoors.
The quickest way to get lat/longs are
Use cellsite technology( Blackberry supports this in some devices using triangulation)
Use a cellid provider like google location api or opencellid to get the lat/long using the current cell id.
These doesnt drain the battery as much as using the GPS radio so if you can , try using these. Although the lat/long are not accurate as GPS radio lat/longs.
Please check the following for all the info you would ever need for blackberry GPS techniques.
Simple Location API
Location API- start to finish
At a hardware level, BlackBerry devices used to mount Qualcomm's gpsOne chipset, which, in my opinion, is slower than the ones you could find in most recent Android or Apple devices (SiRFstar or Broadcom, etc). Or maybe the BlackBerry OS didn't interface with it in an efficient manner. For whatever reason, I've experienced higher TTFFs in BlackBerry devices than in Android, for a given place. I may be wrong here, it is just an opinion.
I think newer BlacBerries are mounting other chipsets now. And also, as of September 2011, WiFi geolocation service is also available in OS 6.0 and later. Before that, the only location service in BB was A-GPS and celltower (only OS 5.0 onwards).
Some useful links:
Location APIs – Start to finish
Simple Location API