android - AndroidNativeBeacons returning a 500 error with MobileFirst Platform -


intending implement monitoring , ranging of beacons in android application ibmmobilefirst.

link procedure , sample project

also used android beacon library application.

successfully installed apk in samsung galaxy tab 3 , option load beacons , triggers returning 500 error , not able detect nearby beacons.

error - wlbeaconsandtriggersjsonstoremanager.loadbeaconsandtriggers() failed: wlresponse[invocationcontext=null,reponsetext=,,status=500]wlfailresponse[errormsg=unexpected errorcode occured.please try again.,errorcode=unexpected_error]

the wlclient.properties file seems need amendments ,

wlserverprotocol = http wlserverhost =  wlserverport = 10080 wlservercontext = /beaconsnative/ wlappid = androidnativebeacons wlappversion = 1.0 wlenvironment = androidnative wluid = wy/mbnwktddyquvuqcdsgg== wlplatformversion = 7.0.0.00.20150227-0916 

also ,

the registration of beacons done , makes use of (put) rest api beacons detection. not clear use of rest api , detecting nearest beacon device.

in native android project of beacons mobilefirst , api returns 500 error , , indeed not detecting nearby beacons.

can above configuration, or functionality going wrong .thanks. appreciated.

the android client needs connect server sample work.

for , in wlclient.properties wlserverhost should populated mfpf server's ip.

detecting beacon occurs @ client side (on device) , not @ server. rest api used register customer-specific beacon data server. example, store or location beacon deployed. rest apis used manage beacon data stored in server.

more details here -

https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-0/advanced-topics/working-with-beacons/

http://www-01.ibm.com/support/knowledgecenter/sshs8r_7.0.0/com.ibm.worklight.apiref.doc/apiref/r_restapi_beacons_put.html

http://www-01.ibm.com/support/knowledgecenter/sshs8r_7.0.0/com.ibm.worklight.apiref.doc/apiref/r_restapi_beacon_triggers_put.html


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -