Category : uuid

An Android app from my organization needs to assign each users an UUID(version 4) when they first launch the app, currently we’re using Boost library 1.58.0 for this purpose, our Android app will use JNI to run the code below for generating UUIDv4: boost::uuids::basic_random_generator<boost::random::lagged_fibonacci44497> generator; generator(); //generating UUIDv4 The code worked fine for years, now ..

Read more

We are working with ionic3 and using iBeacons library for beacons scanning. It is working fine in –debug and –prod mode but not working in –release mode for Android. No proguard is used. Below is code snippet: let beaconRegion = this.ibeacon.BeaconRegion( ‘deskBeacon’, ‘XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX’ ); this.ibeacon.startRangingBeaconsInRegion(beaconRegion).then( result => { // console.log(‘startRangingBeaconsInRegion’, JSON.stringify(result)); }, error => { ..

Read more

I’m tyrng to create a connection between my smartphone and my arduino. I’m tryng to create an OutputStream for send int value but I’m receiving this error : java.io.IOException: read failed, socket might closed or timeout, read ret: -1 What’s wrong with my code? Is and UUID problem? The UUID is 0000110E-0000-1000-8000-00805F9B34FB , I found ..

Read more

I am working on an Android application which tries to connect to nearby beacons. Currently, this is how I am trying to detect a beacon. However, I want to detect multiple such beacons in the vicinity without specifically mentioning the UUID of it. beaconManager.startMonitoringBeaconsInRegion(new Region("01122334-4556-6778-899a-abbccd2993a8", null, null, null)); How can I do this? I tried ..

Read more