SAndroidEOfficial / framework

SAndroidE - Sensors for Android Embedded. A free framework allowing external devices to be easily managed in Android
http://es3.unibs.it/SAndroidE
Other
7 stars 1 forks source link

"Using Beacons in SAndroidE" tutorial #38

Closed PiccoliPaolo93 closed 7 years ago

PiccoliPaolo93 commented 7 years ago

There are two little problems in that tutorial. One is about the ListView logList. At the instruction 3.4 there is the definition private ListView mLogList; At 3.7 mLogList=(ListView) findViewById(R.id.logList); But there isn't a instruction about creating that ListView in the associated .xml file

The other one is about a warning. At 6 there is this instruction logLines.add(0,String.format("%s %s",new Date().getSeconds(),s)); Date().getSeconds() is Deprecated and is suggested to use Calendar.get(Calendar.SECOND) https://developer.android.com/reference/java/util/Date.html

giowild commented 7 years ago

Ok, thanks for feedback, just improved the tutorial: