Difference between revisions of "MAP524/DPS924 Lecture 2"

From CDOT Wiki
Jump to: navigation, search
(Created page with '= Developing on a real device = You don't need to get a special development device in order to do development work on it. Pretty much any phone or tablet can be used for regular…')
(No difference)

Revision as of 12:44, 2 July 2015

Developing on a real device

You don't need to get a special development device in order to do development work on it. Pretty much any phone or tablet can be used for regular application development, you just need to make sure it has the version of Android you need on it.

To enable your phone/tablet to be used as a developement device follow these steps:

  • In the "Developer options" settings you need to enable "USB debugging" to allow you to connect to the device using ADB.
    • If you don't see developer options - they are hidden by default and getting them to show varies on different devices. On a Nexus you go to "About phone" and tap "Build number" seven times.
  • Then you also need to allow your phone to install the apps you build. Go to the "Security" settings and enable installing from "Unknown sources". This way you don't need to go through the trouble and expense of signing your application and publishing them on Google Play.