Android Question No Ping when RUN "Release"

2giga

Member
Licensed User
Hello,

I Purchased B4A Android Standard Vers. 6:50

I want to implement a simple program that checks Ping some Servers.

When I transfer to your smartphone in Debug the program is OK.

If I transfer to your smartphone in Release the program is KO.

Smartphone software is Android 5.1.1

I enclose Program.

Can you help me?

Thank you
 

Attachments

  • prova3.zip
    7.9 KB · Views: 311

Erel

B4X founder
Staff member
Licensed User
Longtime User
Moved to the questions forum.

In debug mode the internet permission is added automatically as the debugger requires it.
You need to add it yourself in your program (in most cases you don't need to add permissions as they are added automatically when possible).

Add this line to the manifest editor:
B4X:
AddPermission(android.permission.INTERNET)
 
Upvote 0
Top