It's possible to get the source of the location data (for example GPS receiver, WI-FI or cellular radio) in windows phone 7 ?
If so, how do I do it?
Thank you.
This isn't available to the developer as it is done at Windows Phone OS level
GeoCoordinateWatcher
However specifying the property "DesiredAccuracy" to high will use the GPS receiver - But will use more battery power!
setting it at "Default" will use WiFi or Cell Phone towers to give a much less accurate fix on your location but will be better on battery
Related
https://developer.dji.com/mobile-sdk/documentation/introduction/product_introduction.html#Supported-Products
what does the "-" mean?
Does it mean that spark, mavic can not be accessed and controlled by mobile SDK?
The "-" is for the accessories list (not applicable on the specified products).
Spark and Mavic are definitely supported by the mobile SDK.
You can control drone directly with mobile SDK.
You can use virtual stick input for this. It allows to send 4 axis valus to copter: pitch, roll, yaw, throttle.
You can find some information about this in Simulator tutorial.
Virtual sticks documentation
obstacle avoidance can be turned on and off throug SDK calls. (look at Flight Assistant)
When the Windows Phone's system tray is visible, it could be in two states partially: battery + time or full (if all data are shown). I would like to know in my application that the state is changed. Has anybody an idea how it can be done?
Using the current version of the Windows Phone SDK, you can't really do this...
As my company has a special need of installing a third camera on a Windows Phone Mango, do you think this is possible to access to the camera using Mango's Camera API?
As far as I can see the PhotoCamera only has two constructures: PhotoCamera() and PhotoCamera(CameraType type). The "type" here can only Primary or FrontFacing so I guess we cannot do anything else here.
We don't get this issue on Android, as they have the interface of Camera.open(int cameraId), and the cameraId can be any id between 0 and Camera.getNumberOfCameras() - 1.
I'm a bit confused, as there's no way to "install" another camera. There is no USB host port on the device, nor is there any other harcware interface, so how would you connect the camera physically?
Even if you could connect physically, there's no way for anyone other than a phone OEM to create and install the drivers for said camera, so how would the OS enumerate it to the platform?
If you're an OEM, you've undoubtedly got a support channel directly with Microsoft where you could ask this, as no one outside that channel is going to have any idea. If you're not an OEM, there's simply no way to add a camera or any other (non-bluetooth) peripheral to the phone.
Is it possible to create an app like Runtastic, RunKeeper or SportsTracker (all of them Android apps) in WP7 using Bing Maps? Or maybe there is an app with that functionality already out?
These apps basically trace the route you run/cycle/jogg/etc in Google maps, displaying your current speed, altitude, cal lost, direction, etc. Then they have an option for storing the tracks and displaying their related information later. They can display charts as well.
Also, what sensors does WP7 devices have?
The image below is runtastic, tracing the path as you go
Thanks
Yes it's possible. But you should get past the idea stage and into the development before posting questions here.
As for what sensors are available, you can find more information about the minimum hardware specifications here
A WP7 device must, at a minimum have the following:
Accelerometer with Compass
Assisted GPS
Ambient light Sensor
Proximity Sensor
Camera with LED flash
FM radio tuner
It is possible since you can translate existing GPS coordinates to the Bing Maps control. Must of the features Chris mentioned are not required for a geotracking application (those are general device requirements). All that's needed is basically the GPS sensor.
Note one important element - you will not be able to run the application as a background process. Although you can keep it under the lock screen, you will not be able to switch to other processes (only to a very limited extent and under specific conditions).
So far, to turn on and off the GPS device in Wp7, I do it in Settings Menu. Wonder If this can be done in code?
Thanks
---------- Update
Sorry for the confusion. Instead of turning GPS on and off, What I really mean is how to turn on and off the LOCATION in the Settings Menu of Wp7.
You can get the GPS data but you are not able to turn the sensor on or off via your application.
The most you can do in your application is start the geolocation data acquisition and stop it.
Windows Phone 7 apps should not change global settings for the phone.
You should have your own settings page in your app, with it's own toggle for whether or not your app should use the location data.
Then you check your setting before you access the location data.
Why would you want to turn it off globally?