vicktor / FreeStyleLibre-NFC-Reader

Read data from a FreeStyleLibre with Android
GNU General Public License v3.0
178 stars 47 forks source link

Android 4.1: Should this work #1

Open kameamea opened 9 years ago

kameamea commented 9 years ago

I only have a Android 4.1 with NFC available, are there known problems with that version, so I don't even need to try to get it running on that version?

vicktor commented 9 years ago

We only tested on Android 4.4 and Android 5.x, and works properly.

vicktor commented 9 years ago

Please, can you send us a adb logcat?

kameamea commented 9 years ago

I'm not sure what you mean by adb logcat. I was successful building an apk for Android 4.1 just by setting android:minSdkVersion="16". But I got nothing but an "NFC error" or something like that. As I learned I would need to use a new sensor, which was not previously contacted by the FreeStyle Libre Reader, but then I wouldn't get any readings from the sensor, so as long as one can't read the NFC with Android and the FreeStyle Libre at the same time, I don't see much sense in this.

vicktor commented 9 years ago

Hi!

You should be familiar with the use of terminal. Open a terminal (look for terminal application on mac or cmd on windows) and write:

adb logcat

You must then capture the text and send it to analyze it.

vicktor commented 9 years ago

Anyway we will update the application in a few days....

vicktor commented 9 years ago

new app uploaded

LightSnowDev commented 9 years ago

Are you planning to upload the app to the play store? I'm having a hard time to open your project correctly. You do use eclipse, do you? I'd be glad to help with the app.

vicktor commented 9 years ago

Please use Android Studio to compile.

Victor

http://www.linkedin.com/in/victorbautista http://twitter.com/0x564242

On Fri, Jan 16, 2015 at 6:21 PM, Jonathan notifications@github.com wrote:

Are you planning to upload the app to the play store? I'm having a hard time to open your project correctly. You do use eclipse, do you? I'd be glad to help with the app.

— Reply to this email directly or view it on GitHub https://github.com/vicktor/FreeStyleLibre-NFC-Reader/issues/1#issuecomment-70288335 .

4gra commented 9 years ago

I've tested the app on a Galaxy Young (GT-S6310N, the NFC-capable one) running 4.1.3, with limited success. All calls to the NfcV transceive command return null, though basic information retrieval (device ID, etc.) seem to work.

All the calls used in the app are present in API level 16 so I'm hopeful. In this case it could be a model-specific problem, noting somebody has tried similar: developer.samsung.com/forum/board/thread/view.do?boardName=General&messageId=243285 (page is interspersed with spam comments so I haven't linked explicitly).

I will try in the next few days using another Android 4.1 device and note here if I have any success.

vicktor commented 9 years ago

Thanks Graham!

Victor

http://www.linkedin.com/in/victorbautista http://twitter.com/0x564242

On Tue, Apr 7, 2015 at 6:37 PM, Graham notifications@github.com wrote:

I've tested the app on a Galaxy Young (GT-S6310N, the NFC-capable one!) running 4.1.3, with limited success. All calls to the android NFC API transceive command return null, though basic information retrieval (device ID, etc.) seem to work.

This could be a model-specific problem, noting somebody has tried similar (page is interspersed with spam comments, so I won't link explicitly): developer.samsung.com/forum/board/thread/view.do?boardName=General&messageId=243285 ).

I will try in the next few days using another Android 4.1 device and note here if I have any success.

— Reply to this email directly or view it on GitHub https://github.com/vicktor/FreeStyleLibre-NFC-Reader/issues/1#issuecomment-90639997 .

4gra commented 9 years ago

Finally acquired a suitable test, a Sony running Jelly Bean (4.3). Confirmed "working", which is to say I have compiled for SDK version 16 (using build tools 22.0.1) and get a few K of raw data from the sensor - confirmed by the app's UI output and phone log. I won't be able to confirm that it works on 4.1 but at this point there's no reason it shouldn't. I can confirm the Samsung GT-6310N doesn't work (as suggested by the link I posted). It also suggests the fault is present in two other Samsung devices.

So far the only BG readings the app has managed to "decode" are -33.0 or 0.0 but I'll work on that bit! [UPDATE: reading raw BG data just fine now. I assume the fault was mine]