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

Error while running 'ionic run android'
Bring the another App in the front when receiving the broadcast
How to compute the rotation matrix as this result in Android opengl es?
How to use android camera2 api to record 60 fps video with fixed exposure time
After enabling webcam to emulator, my projects crash
Smack library warning
android - how to get the IP address of a BLE beacon device
after get an accesstoken ?in oauth
Show options spinner in action bar
Can't change target SDK in Android Studio
How to set font size in Android webView fixed , even if font size changed in Settings->Display->Font?
Azure Oauth authentication on embeded web browesers will be blocked on 20 April, 2017 warning came
Retrofit - Base URL is changed when request process is being executed
how to blur image in android and set it to relative layout
Xamarin.Android happens error on Android 7
Firebase database get children long value pass 0 to my class

Categories

HOME
go
eclipse
kentico
oracle12c
cheerio
polymer
webdriver
twig
character-encoding
powerpoint
gradient
javacc
permissions
telegram-bot
data-visualization
webix
p2p
pattern-matching
openpyxl
plist
mxgraph
cmdb
radgridview
alpacajs
production
cfml
charles
undertow
gulp-watch
ember-cli
hta
pchart
scriptella
froala
mat
custom-controls
weather
dynamic-jasper
parse-tree
numberpicker
apriori
android-ibeacon
install.packages
oracle-service-bus
outputcache
placeholder
xmldocument
memory-mapping
httr
getchar
cnc
activeperl
datamaps
google-cse
remedy
pybrain
google-photos
shinobi
slackware
mapxtreme
spring-cloud-feign
model-associations
x-tag
mapinfo
eigenvector
udpclient
angular-ui-typeahead
query-by-example
blitline
jnlua
grgit
phonertc
viola-jones
graphics2d
pyobjc
fits
cakephp-2.7
mmwormhole
filesplitting
browserify-shim
teaspoon
raygun
verold
mintty
lnk
grails-plugin-rabbitmq
draw2d-js
authlogic
websphere-esb
square-bracket
xmltodict
rolify
dolby-audio-api
wp7test
server-administration
booksleeve
curb
android-loadermanager
midlet
pstack
veracity
saleslogix
stress
relative
filemerge
msr
delimited-text
maven-1
object-database
ajax-polling
request-headers
cldc
firefox-3
product-management
java1.4
appliance

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