How does a browser get GPS data from a computer? - gps

HTML5 browser can retrive the gps position of a computer.
http://diveintohtml5.ep.io/geolocation.html
I would like to create an application that fakes a GPS device, but I couldn't read anywhere how the browser gets GPS data from the computer.

Chrome and Firefox:
GPS via gpsd if available (Linux only) 1, 2
system's Location API (Windows 7 only) 2
WiFi networks via Google Location Services 1

GPS coordinates are available only on mobile browsers. What you are discussing is geolocation generally. Your dekstop or laptop computer does not have GPS device. Locations are expressed in latitude and longitude.
For iOS use iOS emulator. You can set fake GPS coordinates. You can download it from developer.apple.com.
For Android use Android emulator. You can set fake GPS coordinates. Google Android SDK.
For other browsers / mobile vendors download the corresponding emuator.
Desktop browsers do not use GPS data. They use either IP based or WLAN based locationing. For desktop browsers just write your own test stub for navigator.geolocation.

Related

Sony Camera Remote API SDK for Bluetooth

I am wondering if it's possible to use the Sony Sony Camera Remote API beta SDK / AddOn SDK / Smart Extension API to control action cameras functionality by my application side via BlueTooth (no Wi-Fi).
My goal is to write an extension which will mainly:
Mandatory: start and stop video saving on camera internal memory
Optional: , insert allarms, set video acquisition parameters, ecc.
Does anyone have:
the information if this SDK is the right choice to control this type of Sony device
if it's possible to reach my described goal with it or if there are any impossibilities
other related information or special requirements for controlling Sony cameras via bluetooth.
Thanks
Unfortunately you will only be able to use Wifi to control cameras with the camera remote API.

Camera Remote API : Camera + iPad + PC?

I'm currently studying the Development Guide given with the Sony Camera Remote API beta SDK, and what I've understood so far, is that in order to send and receive messages between a camera and a mobile device, the smartphone or tablet should be connected through Wifi to the camera, which acts as an access point.
Actually, what I'd like to do after downloading a picture on the mobile device from the camera, is to pass it to a PC so that I will be able to print it and use it for other purposes. This process should be completely transparent and automatic for the final user.
Thus, my problem is that I need the mobile device to be connected, through Wifi, to both camera and PC.
The solutions I have in mind are :
Make the mobile device, and the PC, connect to the camera access point, so that they can be located on the same network.
Is this possible? I mean, can the Sony camera handle more than one client when acting as an access point? If yes, can I have a fixed IP for mobile device and PC so that I can easily make them exchange data?
Use a simple wifi router and make the camera, mobile device, and PC connect to this router.
Without acting as an access point (i.e. simple network client), can the camera be used with the remote control function?
If you guys see any other options, I'd be glad to read them !
Thanks,
Bertrand
Unfortunately, neither of your solutions would be supported. Only one device can be connected to the camera AP at a time, and the camera itself has to act as the access point (certain models support connecting to an access point from the camera but the Camera Remote API is not supported in this case).
If you don't need the mobile device to have access to the pictures, your best bet may be to directly connect the PC to the Camera and transfer the images using the API. The API is REST based so can be used on any platform.

How to develop an application for the Sony DSC RX100-M3 camera

I have the RX100-M3 camera, and it seems that some applications can be developed for it.
As far as I understand, the CameraRemoteAPI SDK can be used to develop Android or iOS applications. So is there a way to develop applications for the Sony camera?
I would like to develop a feature to be able to:
set the timer (from 2s to 2min)
select the number of shots (from 1 to 2000)
select the time between shots.
There is an existing "intervalometer" application but it is very expensive.
Camera Remote API SDK allows one to remotely control the supported Sony cameras including RX100M3 from any other device, by sending HTTP commands to the camera. The application you create can run from any
platform Android, iOS , Windows, PC, etc. You will have to connect this device to the camera over WiFi.
To get more information, please download the SDK, which contains sample applications and API documentation.
Best Regards,
Prem, Developer World team

Activate GPS in BlackBerry 10 dev alpha

I want to activate GPS in BlackBerry 10 Dev aplha device. In my application I want the user's current position. I can achieve this using either GPS or Network Provider but there is no sim card in my device but wifi is activated.
How do I get the user's current position using either GPS or wifi network?
If you look on the developers' site under sample applications, you will the Location diagnostics sample.

How can a FlashLite Developer using Device Central emulate camera and file upload integration?

I am developing an application with Flash Lite designed to run on Nokia S60 5th edition phones using the Flash Lite API Bridge Interface. The application uses the API Bridge to access the phones camera and upload functionality to take a photo, display it to the user then upload it to a server. I am using Flash CS4 Professional and Device Central to develop and test the interface.
Are there any emulators that will run my flash lite app and simulate the camera? What are my options short of getting a phone and installing my app every time I want to test something new?
"Remote Device Access also known as RDA allows developers to test their applications on a variety of Symbian based Nokia devices remotely over the Internet. The current setups consist of over 40 devices and various device models. Usage is free of charge for all Forum Nokia members."