Android Question [SOLVED] Unable to access Internet from apk

makis_best

Well-Known Member
Licensed User
Longtime User
Hello.

I access remote one MS-SQL Server database from my application. (The connection is made with jdbcUrl)

When The application run in Debug mode I can access the database without any problem.
When I create the APK file and I install it on my HUAWEI Tablet with Android 7
the application run perfect but I don't have access on the database.

What could be the problem?
 
Last edited:

DonManfred

Expert
Licensed User
Longtime User
What could be the problem?
I see....
businessman-looking-at-glass-ball-on-table-picture-id911119500.jpg
... nothing as you are NOT providing any useful informations i could use.

A shot in the dark: Have you added internetpermission to your app?
 
Upvote 0

Didier9

Well-Known Member
Licensed User
Longtime User
As DonManfred said, you need to define it in your manifest. Per Erel's tutorial, the user will NOT be asked to allow it when the app starts. You guys are talking about 2 different things.
 
Upvote 0
Top