FreeStyleLibre-NFC-Reader icon indicating copy to clipboard operation
FreeStyleLibre-NFC-Reader copied to clipboard

Android 4.1: Should this work

Open kameamea opened this issue 10 years ago • 11 comments

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?

kameamea avatar Dec 20 '14 23:12 kameamea

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

vicktor avatar Dec 21 '14 08:12 vicktor

Please, can you send us a adb logcat?

vicktor avatar Jan 13 '15 11:01 vicktor

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.

kameamea avatar Jan 13 '15 11:01 kameamea

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 avatar Jan 13 '15 12:01 vicktor

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

vicktor avatar Jan 13 '15 12:01 vicktor

new app uploaded

vicktor avatar Jan 13 '15 14:01 vicktor

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.

LightSnowDev avatar Jan 16 '15 17:01 LightSnowDev

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 [email protected] 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 .

vicktor avatar Jan 16 '15 18:01 vicktor

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.

4gra avatar Apr 07 '15 16:04 4gra

Thanks Graham!

Victor

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

On Tue, Apr 7, 2015 at 6:37 PM, Graham [email protected] 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 .

vicktor avatar Apr 07 '15 16:04 vicktor

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]

4gra avatar Apr 13 '15 21:04 4gra