Click here to Skip to main content
15,892,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
Please suggest me how to do sensor programming in android ...
when i want to move a device right or left that time generate a numeric value how can i do that type of program ??
Posted
Updated 20-Apr-14 17:41pm
v4

1 solution

I suppose you meant: "How can I write an Android application, reading device sensors data, on a PC having Windows operative system".

You need to install on your PC the Android SDK (see this page for detailed instructions and options: "Get the Android SDK"[^]). Then you may develop (and test on the provided emulator) your app.
In order to interface with the Android device sensors, you could read the API documentation, see, for instance, "Sensors Overview"[^].
Of course a good book on Android development would be useful.

[UPDATE]
OK, I didn't carefully read your question, so my answer is 'not balanced'.
In order to handle sensors of a Windows Phone device you need to follow a path similar the one I wrote for Android. MSDN does provide the necessary documentation: "Store app development"[^].
[/UPDATE]
 
Share this answer
 
v3
Comments
Mehul Tank 20-Apr-14 23:42pm    
i understand
i want to do is a when i want to move a device right or left that time generate a numeric value how can i do that ?????

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900