Networking on android?

Monkey Targets Forums/Android/Networking on android?

Sub_Zero(Posted 2012) [#1]
How to do networking on android?


Sub_Zero(Posted 2012) [#2]
Sorry, i found this (looks like the best choice): http://code.google.com/p/mnet/


Xaron(Posted 2012) [#3]
Thanks. ;) Still lot of work to do... Ahhhh the time...


Sub_Zero(Posted 2012) [#4]
Really useful would be socket for android.....


golomp(Posted 2012) [#5]
+1
;)


Sub_Zero(Posted 2012) [#6]
@Xaron: I've been fooling around with _s = new Socket( url, port );

(java.net.Socket)

it throws an exception each time i try it... any idea why?


Sub_Zero(Posted 2012) [#7]
sorted that, lol i forgot to put this in androidManifest.xml:

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />


Xaron(Posted 2012) [#8]
Hehe well yes. Sockets for Android and iOS are on my list, at least the client side for now. GLFW sockets are done. I already have the Android sockets running but it's still buggy, so sit tight! ;)


dirkk(Posted 2012) [#9]
Last time I checked, the GLFW socket part didn't work.
http://code.google.com/p/mnet/issues/detail?id=1

@xaron: did you double check wether you uploaded your latest version to Google Code?

PS: thx for your work on this!


Sub_Zero(Posted 2012) [#10]
Check out ANet: http://www.monkeycoder.co.nz/Community/posts.php?topic=3275