Send data from WP7 phone to a near by phone via bluetooth or other mechanism - windows-phone-7

I'd interested in sending data from one WP7 to another WP7 phone so I could create 2 player games. If I understand correctly most WP7 will support bluetooth, but its not in the minimum spec, is this correct? What API's can I use to access the bluetooth, any good examples of this out there?

Unfortunately Microsoft don't provide any access to the bluetooth stack via any documented APIs in this version of the Dev tools.
They don't seem to have any sense of urgency about fixing this (or any of the many other missing features), so I wouldn't expect the situation to change any time soon.

Related

Do Cell Phone Repeaters have CID and LAC?

I want to detect offline mobile phones in a specific area, they are offline no GPS and no internet. I have an application and it should take an action when it detects that it is in the area.
the area may be a floor on a building or even a room.
Can I set a repeater device and wait for its signal to show up then to take an action based on the Cell Id?
knowing that I don't need the mobile phone to connect the repeater.
is there a better approach?
I think you mean that you want an app on the phone to detect it is in the room or building, even when the app is not connected to the internet and not using GPS.
An alternative approach to using a specialist device as you outline, and which might be worth testing, is to leverage the WiFi scanning that your device is probably already doing, even when not connected to the internet.
In Android, for example, you can register a broadcast listener for 'SCAN_RESULTS_AVAILABLE_ACTION' which will provide you a list of all the nearby wifi access points including their BSID's and SSID's ():https://developer.android.com/reference/android/net/wifi/ScanResult
There are permission restrictions which you need to be aware of but they are quite common ones for users - more details here:
https://developer.android.com/guide/topics/connectivity/wifi-scan
Many location services use this type of approach, often to supplement the GPS info and improve accuracy.

Is it possible to control DJI Phantom 2 Vision (plus) with smartphone?

I'm checking at DJI specification for Phantom 2 Vision and Phantom 2 Vision plus and also API reference, but I'm not sure wether is it possible to pilot drone without remote controller? How is the communication via SDK done - is smartphone directly communicating with drone, or is going via remote controller?
DJI SDK Level 2 does allow direct flight control of the DJI Phantom 2 Vision+. It communicates the commands to the unit using wifi. That being said, the wifi extender that your phone is connected to is attached to the controller, so you still need the controller to be turned on and in the vicinity in order to operate, but the device is still what is sending the commands to the Phantom. I would recommend that someone always have the controller at the ready incase the wifi network has interference / phone dies etc. I am using the SDK in this way for my side project www.followmephantom.com.
Hope that helps.
FYI - to use the level SDK you first have to submit a proposal for your project to DJI and get their approval..... and pay a fee in most cases.
Here is a helpful link that shows the difference in features for the SDK level 1 and 2.
https://dev.dji.com/en/products/sdk/mobile-sdk/features/level-compare
From 3 weeks of playing: the smart phone controls the gimbal and the camera in general, all the flight controls are strictly from the remote control unit albeit waypoints from the smart phone could be argued as control by the phone. I havent flown it without the smart phone but I am fairly sure I could, without blades on the sitting room floor it seemed possible. I cant imagine why you would want controls from your phone, when things go pear-shaped you would be pretty much screwed with just a touch screen.

How to access SMS Events?

My company is looking to move from Android to Windows 8.1 phones but one of the obstacles we are seeing is that there are no Pager apps. We are looking into building our own but it looks like the Windows.Devices.Sms type methods are not available in Windows Phone 8.1. Is there a reference I can use to get the same functionality?
There is no way an app can access the text messages. Only in special cases, for example, Truecaller app alone has special permissions to intercept caller ID's. Since you say that you belong to an organization, you can approach Microsoft directly. They may give you special API's for that purpose.

Building a SMS counting app for windows phone os

Folks,I am planning to build an app to count the number of sms's sent by an user over a period of time.But I am not sure if WP OS SDK gives access to the depth of writing such an app.I am still very new to mobile development,and as Microsoft has limited the access to some API's (ex:language) in the windows phone OS,I was not sure if I can do so.
On the contrary the application I want to build is kind of a basic feature that is in built in many basic phones.I need to get a start for app building,and may also come in handy on my personal phone! ;)Anyone who has come across working on any related feature might help me with his experience.Thank you for your time.
The Windows Phone SDK does not allow developers to access the content of SMS messsages for privacy reasons (or count of those, for that matter).
Your best (and only) bet at the moment is let the user use SmsComposeTask and count the number of messages potentially sent from your app.

Hardware-neutral library to sync with smartphones?

I'd like to know what the status is to sync data (eg. SQLite, etc.) from Windows with smartphones. Ideally, the same tool should support the main smartphones (iPhone, BlackBerry, Windows Mobile, Android).
Google returned information on OpenSync and SyncML, and I'd like to ask experts whether those projects are ready for showtime, and if not, if there are alternatives I should look at.
It seems like it's pretty much still a proprietary world, and the easiest way is to first sync with Outlook, and then sync Outlook with the smartphone using whatever sync utility it provided.
Thank you.
There is no single protocol which is supported by all phones. The two most popular ones are ActiveSync and OMA DM.
ActiveSync is supported by virtually all modern smartphones (except BlackBerry) and can sync mail, contacts and calendars. It can also (depending on the device support) do some basic device management such as remote lock or wipe.
OMA DM is a "competing" spec which is prevalent on Symbian phones but also supported on a few others. It is SyncML based and allows syncing pretty much anything on the phone.

Resources