Search:

Type: Posts; User: skarosg3

Page 1 of 2 1 2

Search: Search took 0.23 seconds.

  1. Replies
    2
    Views
    1,133

    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...
  2. Replies
    2
    Views
    1,133

    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...
  3. 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...
  4. Replies
    2
    Views
    1,175

    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...
  5. Replies
    2
    Views
    1,175

    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...
  6. Replies
    12
    Views
    1,691

    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.
  7. Replies
    12
    Views
    1,691

    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...
  8. Replies
    12
    Views
    1,691

    Re: android app connected to a server

    No, it will be a pc.
  9. Replies
    12
    Views
    1,691

    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.
  10. Replies
    12
    Views
    1,691

    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...
  11. Replies
    12
    Views
    1,691

    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,...
  12. 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...
  13. 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!
  14. 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...
  15. 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...
  16. Replies
    16
    Views
    1,564

    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...
  17. Replies
    16
    Views
    1,564

    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)
    {...
  18. Replies
    16
    Views
    1,564

    Re: Help with a client server program

    I forgot about that. Its been working fine till now, but i have been working with only one client, so there was no problem there. I will have to read a bit about it to remember how it works. If i...
  19. Thread: Compiler

    by skarosg3
    Replies
    5
    Views
    1,003

    Re: Compiler

    The only reason that i would go for C (C++ and C#, i would even bother with plain C) is the lack of fancy looking gui in Java applications.
    Visual Studio application, in my optinion, produce much...
  20. Replies
    16
    Views
    1,564

    Re: Help with a client server program

    WAR is Web Archive, and from what i have read online, is what tomcat needs to run. I am not sure about it, but i think jar will not work with it. WAR files are supposed to have some extra stuff that...
  21. Replies
    16
    Views
    1,564

    Re: Help with a client server program

    Ok, lets take things from the begining.
    I need to create a client server application for android.
    I CREATED a socket server that worked ok for a rough demo version of what i want to do.
    As things...
  22. Replies
    16
    Views
    1,564

    Re: Help with a client server program

    I might be able to work around to it then, keep the socket open and sent streams of text representing the operation i need, then the server can execute the apropriate functions (after checking the...
  23. Replies
    16
    Views
    1,564

    Help with a client server program

    Hi all,
    I am trying to create a java client server application, that eventually will turn into an android client application. For now i am still trying to understand the technology behind it b4...
  24. Thread: java Tomcat

    by skarosg3
    Replies
    7
    Views
    2,226

    Re: java Tomcat

    Hmmm, i am not sure. I do have ant, but it created a jar not a war file.
    Is ant task something different than just ant?
  25. Thread: java Tomcat

    by skarosg3
    Replies
    7
    Views
    2,226

    Re: java Tomcat

    I didnt create a web application. just a normal java project. But as i mentioned, i used ant, so that should do it, right?
Results 1 to 25 of 29
Page 1 of 2 1 2