Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.