wood burning stoves 2.0*
The moose likes Android and the fly likes data retrieval Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "data retrieval" Watch "data retrieval" New topic

data retrieval

egbai mmumene
Ranch Hand

Joined: Sep 18, 2012
Posts: 43
please i have been trying to implement a log in form and having problem with getting authentication data back. the data is in json format in the web server. already using http post to send the data in name value pairs. realy confused
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11404

You haven't really given us much to go on here. What part of this are you having troubles with?

  • Encrypting the password before sending?
  • Converting from https for authentication and authorization to http for other traffic?
  • Putting the data into JSON format (if you are even doing that - sounds like you have no need for this) to send to the server?
  • Setting up a listener for the response?
  • Processing the JSON response? This should be very minimalistic as all you care about is what their authorization level is, as authentication can be implied from that.
  • ...

  • The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
    Don't get me started about those stupid light bulbs.
    subject: data retrieval
    Similar Threads
    org.json.JSONException: No value for user
    Modify DOM with AJAX for all sessions?
    How to save a Message object as a blob in Oracle database.
    retrieve enumeration datatype into jsp
    Accessing child window events from parent window