add one permission line in AndroidManifest.xml:

<manifest xmlns:android="http://schemas.android.com/apk/res/android";
        package="*.*">
        <uses-permission android:name="android.permission.INTERNET" />


On Oct 26, 3:07 pm, Sgom <[EMAIL PROTECTED]> wrote:
> Hi people, first of all I tell you that my English isn't so good, so
> please forgive my ugly grammar!
>
> I have this problem: when using sdk m5 I wrote an Android app (running
> on the emulator) and a Java program running on the pc. The java
> program uses BlueCove to interact with the bluetooth radio of my pc. I
> was able to connect the Android app and the Java program with a socket
> connection and then I opened a DataInputStream an a DataOutput Stream.
>
> The thing worked fine.
>
> Now with the SDK 1.0 I'm not able to do the same and I don't
> understand why: on the AndroidManifest file I specified with uses-
> permission that my app has the INTERNET permission, but I can't open
> the streams: the Java program (the server) throws an Exception that
> says that the operation on the socket failed because the net isn't
> reacheable.
>
> If you have any idea about what is my error...
>
> Thank you very much! Bye!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to