<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>[NRF51 Donlge, NRF51822 Beacon] Android developing - detect button pressed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5363/nrf51-donlge-nrf51822-beacon-android-developing---detect-button-pressed</link><description>Hi all,
I&amp;#39;m an Android developer and I need to develop an application that detect when someone presses the button on Beacon and do something. 
 I&amp;#39;ve just bought these two devices: 
 
 NRF51
Donlge 
 NRF51822
Beacon 
 
 I installed the last version</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Feb 2015 12:55:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5363/nrf51-donlge-nrf51822-beacon-android-developing---detect-button-pressed" /><item><title>RE: [NRF51 Donlge, NRF51822 Beacon] Android developing - detect button pressed</title><link>https://devzone.nordicsemi.com/thread/18749?ContentTypeID=1</link><pubDate>Wed, 04 Feb 2015 12:55:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4df26c19-67a3-4a4f-a9ff-92e95ca6d8ac</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;blockquote&gt;
&lt;p&gt;I think that I have to write my code
with Keil, compile and test it with
nRF51 dongle and after upload the .hex
on Beacon via DFU with nRF Toolbox for
Android. it&amp;#39;s right?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It is possible, but it sounds a bit cumbersome. I recommend you to consider buying a programmer, please see &lt;a href="https://devzone.nordicsemi.com/question/20371/ble_app_beacon-and-nrf51822-ek/"&gt;this&lt;/a&gt; question for more information.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Can someone help me with coding? Any
suggest? How can i find some
example?Can someone explain me all the
step to compile and upload the source
code? Which is the difference between
Program SoftDevice and Program
Application on nRFstudio?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Program SoftDevice is used to program the protocol stack, S110, S120, S130, S210, S310. Program Application is used to program the application.&lt;/p&gt;
&lt;p&gt;Please see &lt;a href="https://devzone.nordicsemi.com/blogs/39/nrf51822nrf51422-getting-started-and-documentation/"&gt;this&lt;/a&gt; blog to get started.&lt;/p&gt;
&lt;p&gt;Your other questions are very general, try to split them up and be more specific next time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>