android


Android and windows application communication


In short, for example, I am trying to light up a LED connected to my RaspberryPi2 running on Win10IOT after I press a button on my Android application.
What are some ways I can achieve this?
What I have thought of is to have a column in my azure database, when the value is 1, the LED will light up, 0 the LED will not light up. But, how can I make my RP2 application know when the value of the column changes from 0 to 1 to light up the LED?
There are really an infinite number of ways you can have these two devices talk to each other. Since you mentioned Azure, a very common scenario in Azure is to use an Azure Service Bus Queue. Your Android application (or any application) would send a message to the queue. Then your Raspberry Pi 2 (or any device) would read from that queue and process the message. In your case, that's just to turn on or off the LED. It's a pretty simple process from a code perspective. I have an example of some similar communication where I invoked changes to my keyboard lighting from a Slack chat message.
You can read the walkthrough of how to do that at http://hookscode.com/slack-to-azure-to-my-keyboard/ you probably only care about the Azure Service Bus Queue section and below.
You can also just take a look at the code https://github.com/swhook52/chroma-commands
Or you can research more about Azure Service Bus Queues at https://azure.microsoft.com/en-us/documentation/articles/service-bus-dotnet-how-to-use-queues/

Related Links

Relative Layout Centering
Ads won't stick to the bottom
Install launcher icon in home screen once
Why not scroll?
Android Market listings, “What's New” appearing above “Description”
PopUp from PORTRAIT TO LANDSPACE and vice versa, wrong dimensions
Open source library for viewing or reading document within an Android app? [closed]
Submit a web form in android programatically
Can you detect when Android App goes into background? [duplicate]
Streching two layouts in parent layout
How can I have both a return and a done keys in an EditText's softkeyboard?
convert touched value to points based on matrix
Creating internal file in android
Download packages of assets in phonegap
Timing issues with the GPS
Is this is OK to use the ListView for inline editing?

Categories

HOME
android
cobalt
fuelux
nvd3.js
gpu
google-cloud-datalab
jax-ws
watson-conversation
internationalization
dreamweaver
sigma.js
google-maps-autocomplete
squashfs
angular-routing
roslyn
visual-studio-extensions
qliksense
jquery-multiselect
delimiter
exchangewebservices
errbot
send
dst
mockjax
hard-drive
twos-complement
gnat-gps
hunspell
indy10
sql-server-ce
git-rewrite-history
tex
metaprogramming
tasm
vmware-fusion
apriori
linqpad
ssrs-2014
http-request
contract
getchar
proget
builder
netbeans6.8
reindex
mach-o
atlas
webjars
omniauth-facebook
cda
kendo-upload
crouton-os
iokit
flock
coda
finalbuilder
airbrake
ansi
osc
genymotion-call
wcm
create.js
named-parameters
build-script
verold
rfc5322
model-driven-development
epiceditor
chart-director
veracity
appjs
fitbounds
box2d-iphone
pinch
timthumb
socketserver
svk
load-time
jqueryform
binomial-heap
sifr
burndowncharts
build-environment
soappy

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App