8000 GitHub - bjs11111/beacon-player
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

bjs11111/beacon-player

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#beacon-player

Download App and try it out now: www.beacon-player.com.

The beacon player app is the client app for the great BCMS platform of tokencube. Tokencube is one of the netidee projects of 2014. netidee

Both, the platform source and the app source are completely open source. We also provide free access to tokencube and the basic account has the full number of available features. Visit www.tokencube.com for more information.

##Features We heavily use the new Bluetooth 4.0 Beacon Technology to create a point of interaction to share local based or item based information.

##Setup the Project

###Installig envirement

We recommend using the Ionic CLI to create new Ionic projects and work with them. Also a good advice is to read the IONIC CLI FAQ.

1.ionic utility

...make sure the ionic utility and all other dependencies are installed. Read about in the IONIC GETTING STARTED GUIDE ...run following on you console:

$ npm install -g ionic

1.1 setup project We provide just the platform unspecific code on github not the whole ionic project. To get it running on your mashine follow the prozess above.

Check out the project from git as usual. Then create other project to get the full ionic project folder structure. We need this to copy all the folders and files form it that are not on git.

on the console:

$ ionic start dummyApp blank
$ cd dummyApp
$ ionic setup sass
$ ionic platform add android
$ ionic platform add ios

1.2 install plugins on the console:

$ cordova plugin add org.apache.cordova.network-information
$ cordova plugins add org.apache.cordova.vibration
$ cordova plugin add org.apache.cordova.inappbrowser
$ cordova plugin add com.evothings.ble
$ cordova plugin add https://github.com/petermetz/cordova-plugin-ibeacon.git

you alos coud do it in a singel line like

$ cordova plugin add org.apache.cordova.network-information org.apache.cordova.vibration org.apache.cordova.inappbrowser com.evothings.ble https://github.com/petermetz/cordova-plugin-ibeacon.git

but seperated lines are more readable.

1.3 check plugins

$ cordova plugin list

should result in a list of above plugins plus some ionic default plugins:

com.evothings.ble 0.0.1 "Evothings BLE API"

com.ionic.keyboard 1.0.3 "Keyboard"

org.apache.cordova.console 0.2.11 "Console"

org.apache.cordova.device 0.2.12 "Device"

org.apache.cordova.inappbrowser 0.5.4 "InAppBrowser"

org.apache.cordova.network-information 0.2.14 "Network Information"

org.apache.cordova.vibration 0.3.12 "Vibration"

1.4 copy all but:

  • recources
  • scss
  • www
  • bower.json

1.5 install other libs copy bower.json into your project and run:

$ bower update

or install new with

$ bower install ngCordova
$ bower install angular-moment
  1. add icon and splashscreen images into the recources folder named icon and splash .png,.psd,.ai 2.1 run following commands
$ ionic resources

2.1.1 advanced settings If you only need to update one of the resources use following flags:

$ ionic resources --icon
$ ionic resources --splash

Platform Specifics icons and splashscreens: path: resources/android/ path: resources/ios

###building and signing the app for Android

to build the app run

$ cordova build android --release --signed

and be shure to have the right properties set in the /platforms/android/ant.properties read more about in this link under method 2 http://ilee.co.uk/Sign-Releases-with-Cordova-Android/

Alos the great ionic framework has really good documentation about this process http://ionicframework.com/docs/guide/publishing.html

##app native state checks like inet or bluetooth are done initialy in the app-controller as well as pn app resume and app open

Issues

###eclipse

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.9%
  • CSS 15.8%
  • Other 0.3%
0