NodeBase
Android NodeJS Platform to Build Sharable Application (Android as a Server)
Share application with your friends in the same Wi-Fi!
How to use
- (notice that in this repo, there is a prebuilt NodeJS v7.1.0 binary provided, download latest) put compiled NodeJS binary to
app/src/main/res/raw/bin_node_v710
- (if not use name of
bin_node_v710
) modifyapp/src/main/java/seven/drawalive/nodebase/Utils.java
atR.raw.bin_node_v710
- build to generate apk
- install the apk on Android phone
- do
npm install
inmodules
folder- to make node-gyp work, download GCC4droid from for example Google Play Store and then unzip the apk to get android
gcc
- to make node-gyp work, download GCC4droid from for example Google Play Store and then unzip the apk to get android
- adb push entire
modules
as/sdcard/.nodebase