Android Tutorial NFC - Reading and Writing

Status
Not open for further replies.

ovt001

Member
Licensed User
Longtime User
Hello everybody,
I tried to download the Advanced NFC from Erel en test it into my B4A 8.x (Android 28), but when I run it, I receive this message into the logs (Manifest Editor)

B4X:
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: https://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="19"/>
<supports-screens android:largeScreens="true" 
    android:normalScreens="true" 
    android:smallScreens="true" 
    android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.

Can somebody help me.
thank's
O.
 

ovt001

Member
Licensed User
Longtime User
Hi DonManFred,
If you have a look on the first page of this post, you will see that Erel put a sample program (Advanced NFC). I try it and I receive the error into the log file when I compile it.
That's the reason that I reopen this thread.
The logs shows this message:
"The recommended value for androidtargetSdkVersion is 26 or above (manifest editor) warning #31"

When I click on the message into the log, start the Manifest Editor with this code.
B4X:
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: https://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="19"/>
<supports-screens android:largeScreens="true" 
    android:normalScreens="true" 
    android:smallScreens="true" 
    android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.

And I don't know what I need to do.
thank you
O.
 

DonManfred

Expert
Licensed User
Longtime User
But you DID NOT posted this WARNING (a warning is not a error)!!!

Check this thread: https://www.b4x.com/android/forum/threads/android-jar-targetsdkversion-minsdkversion.87610/
Also note ALL the infos/turorials in this thread!

Start a new thread for any new question you have.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…