1. Are you ready for the Galaxy S20? Here is everything we know so far!

Help! Android dev newbie!

Discussion in 'Android Development' started by fireshaper, Dec 14, 2009.

  1. fireshaper

    fireshaper Well-Known Member
    Thread Starter

    Okay, the last time I did Java programming was years ago in college and now I'm having problems figuring out what I'm doing :)

    I'm planning on creating a Plurk app for Android and I have the API but I think I'm doing something wrong. Basically the API just send the information via HttpClient and should post a message to Plurk.com, but I get nothing when I run it in the Android emulator. If I copy and paste the address that the API sends to into the browser it works just fine.

    If anyone out there doesn't mind helping a newbie out, I would greatly appreciate any help you can spare.

    Thanks!
     


  2. wige

    wige Newbie

    Did you enable Internet access in your app? This is done in the manifest file. Check out the permissions section here: Security and Permissions | Android Developers for specifics.

    If that is set, check that the emulator is able to access the Internet with the Internal browser. I have had bad emulator builds where the network connection just wouldn't work, until I rebuilt the emulator.
     
  3. fireshaper

    fireshaper Well-Known Member
    Thread Starter

    I did make sure the internet permissions were given but I didn't check to make sure I was getting an internet connection. I will try that when I get home.
     
  4. fireshaper

    fireshaper Well-Known Member
    Thread Starter

    Alright, I checked that the Internet permission was added and it was, also I was able to browse in the emulator just fine. The API is supposed to return a JSON Object so I'm going to try that next.
     
Loading...
Similar Threads - Help Android dev
  1. glob_ial
    Replies:
    39
    Views:
    362
  2. Jacques Wegier
    Replies:
    12
    Views:
    431
  3. Leyna
    Replies:
    3
    Views:
    614
  4. Leyna
    Replies:
    3
    Views:
    298
  5. TheAnister
    Replies:
    16
    Views:
    390
  6. Manish Thapa
    Replies:
    0
    Views:
    376
  7. Sheraz Ahmed
    Replies:
    0
    Views:
    552
  8. MagicalMessi
    Replies:
    6
    Views:
    1,124
  9. TsubasaChronix
    Replies:
    0
    Views:
    964
  10. Ajaykumar Panchamoorthy
    Replies:
    2
    Views:
    291

Share This Page

Loading...