rooted... permission issues

Discussion in 'Android Hacks and Help' started by chris24300, Nov 5, 2010.

  1. chris24300
    Offline

    chris24300 New Member

    Joined:
    Jan 7, 2010
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Hi, I've rooted my D1 so I can use it as hot spot. I am trying to do a simple udp test and I'm getting permission denied... I don't understand and I have the permission in my manifest.

    Code:
    Log.d("UDP", "S: Connecting...");
                 InetAddress serverAddr = InetAddress.getByName(SERVERIP);
                 DatagramSocket socket = new DatagramSocket(PORT,serverAddr);
                 byte[] buf = new byte[17];
                 DatagramPacket packet = new DatagramPacket(buf, buf.length);
                 Log.d("UDP", "S: Receiving...");
                 socket.receive(packet);
                 Log.d("UDP", "S: Received: '" + new String(packet.getData()) + "'");
                 Log.d("UDP", "S: Done.");
    <user-permission android:name="android.permission.INTERNET" />
     
  2. chris24300
    Offline

    chris24300 New Member

    Joined:
    Jan 7, 2010
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    err please delete this thread... i spelt it user not uses.
     
Search tags for this page
android datagram socket permissions
,
android datagramsocket permission deny
,
android permission udp
,
android udp port permission
,
datagramsocket android permission
,

datagramsocket android permission denied