MobileBrowsers

(Difference between revisions)
(Created page with '* Android Device # Install Android SDK from http://developer.android.com/sdk # Enable USB debugging on Android Device # Webkit debugging works only with Mobile Chrome * iOS # Av…')
m (moved PhoneGapSetup to MobileBrowsers: Page is not specific only to PhoneGap but also for HTML5 development on Android and iOS.)

Revision as of 07:40, 12 June 2013

  • Android Device
  1. Install Android SDK from http://developer.android.com/sdk
  2. Enable USB debugging on Android Device
  3. Webkit debugging works only with Mobile Chrome
  • iOS
  1. Available only on Mac
  2. install latest xcode from app store
  3. install command line tools and iOS Simulator SDK
  • NetBeans
  1. Go to NetBeans Preferences | Misc Tab and setup PhoneGap and Android locations.
  2. Create a new HTML5 project
  3. There are new Mobile Configurations available in browser dropdown. you can open web app in mobile browser
  4. To run webkit debugging session on Android go to Project Properties. Select Run category and select Browser "Android Device" and bellow choose "Chrome" as Browser.
  5. You can go to Project Properties | PhoneGap and check [x] PhoneGap application. Now you can build and run native apps and deploy them to device
  • Troubleshooting.
Device is not recognised by NetBeans
>Run "adb devices" and check if the device is visible for android sdk
Web app is not opened in chrome, web address not available
>Your laptop and device must be on the same network. Check firewalls etc…
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo