Search:

Type: Posts; User: skarosg3

Page 1 of 2 1 2

Search: Search took 0.31 seconds.

  1. Replies
    8
    Views
    410

    Re: NTP server problem

    Thanks for the input.
    I have never used listener, so i am not sure how to use it, but i will follow your code and read something up on it in order to see how it works and why i use it, well why you...
  2. Replies
    8
    Views
    410

    Re: NTP server problem

    ok, yes, loading take for ever! i just load eclipse, start the emulator and go to do something else till it is done. But loading the app is fairly quick. well my app is not that heavy anyway, so it...
  3. Replies
    8
    Views
    410

    Re: NTP server problem

    By faster, i mean that i just run eclipse and i can test my app. otherwise i have to connect my phone, unlock the screen every time i run the app.... it seems slower to me. let alone that with having...
  4. Replies
    8
    Views
    222

    Re: I would really appreciate your help!!!

    ok, you got 1. of what Cornix suggested.
    just make sure you read the text correctly, print the line variable on screen just to make sure you read it just the way it is.
    Also, you can skip 2 lines,...
  5. Replies
    8
    Views
    410

    Re: NTP server problem

    Thanks for your reply.
    I can use a real device, and yes i notices that in general some things work different on my device rather than on the emulator, but it is just easier for fast testing to use...
  6. Replies
    8
    Views
    410

    NTP server problem

    Hi all,
    I am creating an android application and i need to get the current time from the internet.
    So, after some reasearch i found out that i need NTP communication. I found this code, that at...
  7. Replies
    3
    Views
    147

    Re: Please solve my Problem

    I would say the have to use arrays. It would be a very bad example not using arrays just to prove the necesity of them.
  8. Replies
    8
    Views
    222

    Re: I would really appreciate your help!!!

    I cant give you a complete solution cos it will take time to code it, but, i can give you some pointers.
    First of all you will need a BufferReader, to read from text file to a string.
    You will read...
  9. Replies
    2
    Views
    194

    Re: Optimum solution for objects

    hm... trees?!
    never used them before.
    Can i use the tree nodes on an object?
    If i got it right, many of the data will be repeated for each city.
    for example having a pediatric in London and in...
  10. Replies
    2
    Views
    194

    Optimum solution for objects

    Hi all,
    Sorry for the title, but i couldnt think of a way to describe my problem.

    I am creating an apointment application. This programm will have the ability to book apointments for a number of...
  11. Character encoding problem with a android client-servlet application

    Hi all,
    I am facing a problem with a client servlet application that i am developing.
    my android client communicates with the servlet using
    org.apache.http.HttpEntity
    and...
  12. Replies
    2
    Views
    241

    Re: Some help with looper

    I didnt think of AsyncTask. Will give it a try.
    At first i run the code as described above, and when executed, i got an error saying that
    java.lang.RuntimeException: Can't create handler inside...
  13. Replies
    2
    Views
    241

    Some help with looper

    Hi all,
    I am creating an Android App and i got stack when i realised i had to use Looper(something i havent done before)
    I want my application to work on the background (in a way the user doesnt...
  14. Replies
    12
    Views
    312

    Re: android app connected to a server

    Sorry, i presed send with out really looking.

    Thanks for the help. I will go on and use http and see how it goes.
  15. Replies
    12
    Views
    312

    Re: android app connected to a server

    So an http server using doPost would be an acceptable solution for an android client connected to a server.

    I was thinking my architecture to be something like that,
    on a trigger the client...
  16. Replies
    12
    Views
    312

    Re: android app connected to a server

    No, it will be a pc.
  17. Replies
    12
    Views
    312

    Re: android app connected to a server

    Its my server, I am coding the server as well.
    I am planning to do it in Java, cos i am more familiar with it than other languages.
  18. Replies
    12
    Views
    312

    Re: android app connected to a server

    Either i didnt explain properly, or you didnt get it right... or i didnt understand your answer.

    My android app needs to connect to a server, sent some data and get a reply. Actually it is an...
  19. Replies
    12
    Views
    312

    android app connected to a server

    Hi all.
    I am currently working on an android app that needs to connect to a server and get some data.
    What is the protocol used for such communication? I have been testing it on my local machine,...
  20. Re: problem with a java client connecting to servlet

    So stupid of me!!
    I have been working all this time on my 10' netbook, and didnt see that i changed one crusial line!
    now that i sat on my proper desktop i saw the mistake in 2 mins!!!
    Thanks...
  21. Re: problem with a java client connecting to servlet

    I dont get it!
    request.getContentLength()
    returns the actual length of the string transmitted, but there is no way to get the String, since
    request.getAttribute(_USERNAME)
    returns null!
  22. Re: problem with a java client connecting to servlet

    Thanks, that did the trick. while i was trying to fix it, i must have switched doPost with doGet. now i am at least reading back from the servlet. BUT, for some reason the value returned to the...
  23. problem with a java client connecting to servlet

    Hi all,
    I am trying to create my first servlet with a basic client that sends some data to the servlet and gets a reply back.
    I want to do that in order do go further where i want to develop an...
  24. Replies
    16
    Views
    356

    Re: Help with a client server program

    I can not test it for multiple clients just yet.
    The client is an android app, and so far i have been testing using an emulator on local host.
    Will have to get it on line on some server(still have...
  25. Replies
    16
    Views
    356

    Re: Help with a client server program

    @Norm
    How does this look 2 u?
    The main Server class


    public class Server extends Thread {
    public static ArrayList<Branch> bank;
    public static void main(String[] args)
    {...
Results 1 to 25 of 37
Page 1 of 2 1 2