Android Question Wifi routing

danoveb

Member
Licensed User
Longtime User
Hi!

Got help from Erel with this a couple of years ago:

https://www.b4x.com/android/forum/threads/route-issue.104212/

But this doesn't seem to work anymore (android:targetSdkVersion>=23). The app crashes on "manager.RunMethod("requestNetwork", Array(builder.RunMethod("build", Null), event))"

I'm sure there must be a solution to this in Android, because Android Auto connect over Wifi at the same time that I have the Mobile data in use.

Any update or new info on this matter?
 

danoveb

Member
Licensed User
Longtime User
It was a permission issue. The "android.permission.CHANGE_NETWORK_STATE" wasn't needed before sdk version 23. Thank's for you respons anyway.
 
Upvote 0
Top