Closed cdrandin closed 7 years ago
Now that I once again look through the issues I think you have an issue with static initialization order: WampTasks _ourInstance
is initialized and the WampTasks()
constructor code is called before _host
and _port
are initialized. Therefore the formatted uri is garbage. Should also be easily checkable in the debugger.
I have tested the process I have been doing on multiple devices, however, when I start using it on Android it always fails.
I have been using WAMP to communicate between multiple devices. There doesn't seem to be any official support for Autobahn on Android that supports WAMP jawampa should do the trick.
I included this module into the Android project using Android Studios. I am rather new to Android development so I tried resolving the issues from places I have more experience in. I think that this is possibly something going wrong when using this with Android.
Here are my settings for the project.
app gradle:
I set the permission
<uses-permission android:name="android.permission.INTERNET" />
WAMP code:
crash report: