Android Question I used Erel's Cloudkvs example,But in my phone ,app cann't connt to server.

yzhy-mail

Member
In this example ,I change the server to my vps ip.
I have closed the firewall in server machine.
I run the b4j client ,they work very well.I can get the messge in server.
But I insrtalled the B4a client in my phone ,I can get nothing.
I have spend lots of time ,check the vps, the code.
But I think your idea is more useful.
After all i am too new to B4X.Learn new things is not easy.
 

Attachments

  • MyNoteCloudKVS.zip
    10.7 KB · Views: 176

yzhy-mail

Member
AddManifestText(
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="30"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
SetApplicationAttribute(android:usesCleartextTraffic,"true")
'End of default text.

I just changed this "uses-sdk android:minSdkVersion="15" "to "uses-sdk android:minSdkVersion="16""
SOLVED!
I donn't know why!
I just try this ,I see somewhere ...
 
Upvote 0
Top