Skip to content

Instantly share code, notes, and snippets.

@olizilla
Created September 18, 2014 18:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olizilla/dfb11baab2afafaa54e3 to your computer and use it in GitHub Desktop.
Save olizilla/dfb11baab2afafaa54e3 to your computer and use it in GitHub Desktop.
Meteor Cordova

Meteor London - Buzz

History: https://github.com/meteor/meteor/blob/devel/History.md Cordova integration wiki page: https://github.com/meteor/meteor/wiki/Meteor-Cordova-Phonegap-integration

Create app

 meteor create buzz

Add android support

 meteor add-platform android

Add speed ups via the Android SDK Manager

meteor configure-android
open ~/.meteor/android_bundle/android-sdk/extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM_1.0.8.dmg

run the Intel HAXM installer (Hardware Accelerated Execution Manager) ...which installs an unidentified kernal module (mmkay)

HAX is working and emulator runs in fast virt mode

Add cordova vibration plugin Vibration plugin: http://plugins.cordova.io/#/package/org.apache.cordova.vibration

 meteor add cordova:org.apache.cordova.vibration@0.3.10

Run in emulator

 meteor run android

Run on device. Much better!

 meteor run android-device --mobile-port <LAN IP>:<port>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment