15,898,222 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Nikhil_Malik (Top 17 by date)
Nikhil_Malik
8-Nov-14 1:35am
View
OK.. Thanx for the help anyway.
Nikhil_Malik
8-Nov-14 0:53am
View
The code i have written is working fine. There is no problem with it. Now I want to extent this code so that the readings of accelerometer can be send via bluetooth to other device instead of being displayed in the textbox.? Did you get it now.?
Nikhil_Malik
7-Nov-14 13:21pm
View
Got you. I will remember it. I hope you got what m trying to do.?
Nikhil_Malik
7-Nov-14 13:12pm
View
Did you get what m trying to do now and where M stuck.?
Nikhil_Malik
7-Nov-14 13:07pm
View
Deleted
namespace Demo
{
public partial class MainPage : PhoneApplicationPage
{
Accelerometer accelerometer;
// Constructor
public MainPage()
{
InitializeComponent();
if (!Accelerometer.IsSupported)
{
readings.Text = "No accelerometer sensor found.";
}
if (accelerometer==null)
{
accelerometer = new Accelerometer();
accelerometer.TimeBetweenUpdates = TimeSpan.FromMilliseconds(5);
accelerometer.CurrentValueChanged += new EventHandler<sensorreadingeventargs<accelerometerreading>>(accelerometerEventHandler);
accelerometer.Start();
}
}
private void accelerometerEventHandler(object sender, SensorReadingEventArgs<accelerometerreading> e)
{
Dispatcher.BeginInvoke(()=> UpdateUI(e.SensorReading));
}
private void UpdateUI(AccelerometerReading accelerometerReading)
{
Vector3 accelerateDir = accelerometerReading.Acceleration;
readings.Text = "X: "+accelerateDir.X.ToString()+"\nY: "+accelerateDir.Y.ToString()+"\nZ: "+accelerateDir.Z.ToString();
}
}
}
Nikhil_Malik
7-Nov-14 13:06pm
View
Deleted
I want to send the reading as an when they are fetched via bluetooth to other device that uses serial communication. I dont know how to do that. m sharing the code as a comment.
Nikhil_Malik
7-Nov-14 13:04pm
View
Deleted
I got the data. But the problem is that I dont know how to send it via bluetooth from the same app. If you want I can share the code with you. If it can help.?
Nikhil_Malik
29-Jul-13 16:15pm
View
A new problem now.
http://www.codeproject.com/Questions/628240/Windows-Phone-8-App-Development
Nikhil_Malik
29-Jul-13 16:09pm
View
Perfect now... you r an awsm prsn buddy.. thanx a ton. few more things to take cre of n den i'll be gud to go. i'll get back to you if I need nyothr help. :)
Nikhil_Malik
29-Jul-13 15:51pm
View
please let me know if you find a sol to disable each app button individually
Nikhil_Malik
29-Jul-13 15:38pm
View
Thnx itz working now.. The article on http://www.c-sharpcorner.com/ was awsm. :)
Nikhil_Malik
29-Jul-13 15:18pm
View
It enables and disables all the buttons. If I want to enable or disable just 1 button what should I change.???
Nikhil_Malik
29-Jul-13 15:06pm
View
thanx dude. Its working fyn now. can you help me with dhis also please : http://www.codeproject.com/Questions/628136/Windows-Phone-8-Development
Nikhil_Malik
29-Jul-13 14:37pm
View
if i keep the no of listpickeritems upto 5 then listpicker expands on the same page and works fine
Nikhil_Malik
29-Jul-13 14:34pm
View
The exception is : An unhandled exception of type 'System.ArgumentException' occurred in System.Windows.ni.dll
Nikhil_Malik
29-Jul-13 14:32pm
View
Deleted
The exception is : An unhandled exception of type 'System.ArgumentException' occurred in System.Windows.ni.dll
Nikhil_Malik
29-Jul-13 14:22pm
View
its giving an exception because I lack smthing in programing. how can I add the functionality to listpicker so that it opens up to a new page for selection from the list specified.
Show More