I can't get GPS location when creating portable WiFi hotspot through my device. Its running on Android 2.3.7. Basically my app fetches the GPS location of the device and sends it to a server(in LAN). To simulate this condition, I created a LAN with my mobile and Laptop(acts as server). Hotspot is created through the mobile. It used to work if LAN is created by some other means, connectifiy or Router connection. Except a hotspot. I want to know if hotspot clashes with the GPS receiver. I seriously doubt it though.
If you are using LocationClient then in that case location is fetched using GPS,Wifi or Cell ID..Now if you make your device as a Wifi Hotspot then it might happen that your device will look to fetch location using GPS. And if you happen to be indoors then there is a remote possibility of getting location.Hope this answers your question
Related
I am working with android device for POS system. I need to do data backup by uploading data to portable 4G router with tf card. In my device, I am getting internet from mobile data. There is no internet in my portable 4G router. I am only using it for backup purpose since my device doesn't have sd card slot.
Ok please don't suggest anything other than my question. This is the proof of concept i need to prepared. Other alternative, my colleague and I are already brainstorming.
DEVICE INFO
connected with mobile data (have internet)
connected with wifi (no internet)
GOAL
to use wifi interface to upload data from device.
PROBLEM
network call only using network interface with internet. In my case mobile data. I have no idea how to use wifi interface to make network call instead of using mobile data interface.
IMPORTANT
device must always connected with mobile data and wifi
cannot put sim card to wifi router. This is to prevent portable 4G router from being used as hotspot after working hours.
I am developing game in which I want to connect multiple people through wifi hotspot in game.
I followed this link but it does not fulfill the requirements needed for this scenario because I want to get device list using wifi only In which my game is installed and do the same thing exactly as Xender.
I have tried WiFi direct but that is very poor service sometimes devices are taking too long time to transfer data and even the connection gets disconnected automatically.
so It seems not good with wifi direct.
How do I create one to many connectivity in this scenario using WIFI HOTSPOT?
Is there a way to take data from Matlab Mobile without an internet connection? I have my computer and phone linked through USB and would like to use the GPS in my phone to keep track of the position of my car. Ideally the data would just flow from my GPS sensors to the Matlab App and then through the USB connection and into Matlab. I guess what I'm asking is is there a way to connect my phone and computer without using internet?
They just have to be in the same network. If you are on the go just use your phone as a wifi hotspot and connect to your computer. No internet required.
How does the auto wifi connect algorithm work on the Android phone? For ex: when I go home, it auto-connects to my home network. When I step into Starbucks, it automatically connects to the Starbucks network. I assume there is a "background service" running on the phone at all times. Is this true?
If so, does this service constantly check the GPS location and then try to simply connect to the local network that was last inside that GPS coordinate?
Or, does the service automatically try to find any local network and simply connect to the first one that it is able to connect to?
Or, does it automatically connect to the most frequently connected network? Does auto wifi take into account the # of times it has connected to each network?
Thank you.
I appreciate any help , am stuck actually. So, I am Asking how to connect a GPS device (external GPS) to a cell phone (containing the application) , in order to send informations about its location without using USB cable or bluetooth.