Activate GPS in BlackBerry 10 dev alpha - gps

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.

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.

How to get my Windows 10 Universal App to recognize my Microsoft Band

I'm trying to make a Windows 10 Universal App to make a third party tile for my Microsoft Band but it doesn't say in the documentation how to get my App to recognize the Band through USB. It only says how to do it through Bluetooth. The documentation also doesn't tell me how to access the GPS sensor. How do I do all these things?
To answer your first question, USB for the Band is used for charging. In order for you to test, you need to go through via Bluetooth. Your setup should be
Visual Studio > Launch App on your Device (mobile is connected to your laption via USB) > Test App on Mobile (which talks to Band via Bluetooth).
Note: Make sure Band is paired with the Mobile you are using to test.
To answer your second question, you can not subscribe to GPS on the band. It is not opened for thrid party app access. GPS is exclusive at this point.

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.

Is it possible to connect both the remote and my android app to my HDR-AZ1, at the same time?

I have a Sony HDR-AZ1 with the RM-LVR2V remote.
I'm currently integrating the Remote API into an Android app that we are developing. The app will download video and photos from the camera, and transfer them to our web service.
What I've discovered is that it appear as if only one device can be connected to the camera at any single time - either my smartphone or my RM-LVR2V remote. Not both at once, which I would need. I'm not sure if this is the case, but it appear as if I have my smartphone connected to the camera, then I cannot connect my remote, and vice versa. Is this correct?
Is there some way to connect both my RM-LVR2V and my smartphone to the camera, at the same time?
Unfortunately connecting both at once is not possible. The Camera only supports one WiFi connection at a time. You may want to look into using something like a SmartWatch 2 or 3 to connect to the phone and then the phone to the camera to achieve what you are trying to do.

How does a browser get GPS data from a computer?

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.