HTC Diamond, wi-fi : No icons on java client

Help
2009-02-02
2012-12-10
  • Kevin Huynen

    Kevin Huynen - 2009-02-02

    Hello, and thanks for that project i just discovered...

    When I launch the java client, after having entered the IP_adress:port, I see a white empty screen, with no icon...

    My config :

    PC :
    Ubuntu 8.10
    anyremote 4.16
    ganyremote 5.6
    anyremote2html 0.6 (all installed from ppa.launchpad)

    Phone :
    HTC Diamond Touch under Winmobile
    Esmertec Jbed build ID : 20080418.2.1

    Wifi connection between phone and pc through a Livebox : port 5550 opened

    I read that problem sometimes happens with devices under winmobile :
    http://anyremote.sourceforge.net/faq.html#winmobile

    Is there something to do from my side ?
    Is there a bug opened on that subject ?

    Thanks in advance!

     
    • Kevin Huynen

      Kevin Huynen - 2009-02-02

      (Sorry I didn't found how to edit my first post...)

      I've got some news :

      - First I enter in two terminals :
      kiv@Vostro:~$ anyremote -f "/usr/share/anyremote/cfg-data/Server-mode/quodlibet.cfg" -s socket:5000 -http
      Use configuration file /usr/share/anyremote/cfg-data/Server-mode/quodlibet.cfg

      kiv@Vostro:~$ anyremote2html -w 5550 -a 5000 -i        /usr/share/pixmaps/anyremote2html/ --width 480
      HTTP daemon started
      Default web page ready
      Connected to anyRemote

      - On my phone, wifi activated, I enter the address in internet explorer
      http:\\192.168.1.10:5550
      It works!
      I can see the 12 buttons, when i press one of them, the command works, and the page on the phone is refreshed (like every minute approx. when I do nothing).

      - I tried the same on Opera : I see the page but nothing happens when I press a button...

      So I can manage with IE for the moment, but, the page refresh is a bit annoying (a few seconds, while charging each image...), is there a solution ?
      Is there something to do with Opera ? (changing the user ID, ... ?) Because it's far user friendly...

      Thaks anyway for that work!

       
      • Mike

        Mike - 2009-02-02

        Trye to add "-r no" command line parameter to anyRemote2html
        (in GUI this can be done by entering -r no in "Run web interface with parameters" field.

         
    • Mike

      Mike - 2009-02-02

      Well, You see no icons.
      Have You stopped web-interface at that moment ?
      (You should not use web-interface with java client)
      Does GUI says "Connected to the phone" ?

       
    • Kevin Huynen

      Kevin Huynen - 2009-02-02

      Well, I'm not sure to understand :

      - If I use java client through wifi connection, do I have to close the web interface ?

      - What is the -r option and which problem will it solve ? (Opera or java client ?)

      For your last question "Does GUI says "Connected to the phone" ?  " I don't remember exactly (I tried differents situations...), I will try again this evening.

      Thank you for your answer

       
      • Mike

        Mike - 2009-02-02

        >If I use java client through wifi connection, do I have to close the web interface ?
        Yes. These are mutually exclusive things.

        - What is the -r option and which problem will it solve ? (Opera or java client ?)
        Refresh issue in web interface in IE.
        (since there are plain HTTP protocol is used it is strange what Opera not works)

         
    • Kevin Huynen

      Kevin Huynen - 2009-02-02

      - Java client : doesn't work even when web interface is closed. GUI says that the phone is disconnected, application screen remain white and empty.

      - I added "-r no" option to anyremote2html : it stops refresh every x minutes, but still refresh on each pressed button. I guess it's not preventable, except by using the java client ?

       
      • Mike

        Mike - 2009-02-02

        Did You run search in java client ? Does it found anyremote on PC ?

        >I guess it's not preventable, except by using the java client ?
        Correct.

         
    • Kevin Huynen

      Kevin Huynen - 2009-02-02

      Hum... Opera works now, and I don't know what exactly changed since it didn't work...

      anyway, Opera is very faster than IE : time between 2 actions is about 0,5 sec against more than 1 sec (not perfect but better), and during refresh there is not all the icones appearing one after the other like IE...

      (and sorry for my english)

      So, I think this config is usable, but I can make tests on java client or anything on htc diamond if it can be useful!

      Thanks again for the job

       
    • Kevin Huynen

      Kevin Huynen - 2009-02-03

      >Did You run search in java client ? Does it found anyremote on PC ?

      Hum... let's resume from the beginning :

      I downloaded these apps :
      http://anyremote.sourceforge.net/anyRemote-nojsr82.jar
      http://anyremote.sourceforge.net/anyRemote-nojsr82.jad

      and I tried both. I currently have the .jar installed.

      When I launch the app on the phone, I have a screen with on top :
      socket:"//IP_address:port"
      And 2 buttons at the bottom :
      - Enter IP address
      - Menu :
          - Clean address
          - Connect
          - Exit

      I give the right IP address (the same as in IE or Opera)
      Then I have to click twice on "Connect",
      Then I have the white window where nothing happens, with only the virtual keyboard at the bottom.

       
      • Mike

        Mike - 2009-02-03

        So, which port do You use in java client ? 5000 ?
        (it should be different from port of WEB interface. Default value is 5000)

         
    • Kevin Huynen

      Kevin Huynen - 2009-02-03

      OK, perhaps I make a mistake from the beginning with java/web interface

      If I understood what you say :
      - anyremote uses port 5000 to communicate with anyremote2html OR with java client
      - anyremote2html uses port 5550 for the web interface

      If I use java client (still through wi-fi), I don't need anyremote2html and the client directly deals with anyremote through port 5000.

      Is that right ?

      So, what is the interest of anyremote2html, since the documentation never talk about using an internet explorer to use it ?

      It wasn't clear on the project website because it said that through wi-fi, the web interface was needed. It's was what I understood at least.

      However, I'll test this solution this evening.

       
      • Mike

        Mike - 2009-02-03

        >- anyremote uses port 5000 to communicate with anyremote2html OR with java client
        Correct

        >- anyremote2html uses port 5550 for the web interface
        Correct

        >If I use java client (still through wi-fi), I don't need anyremote2html and the client directly
        >deals with anyremote through port 5000.
        Correct.

        >Is that right ?
        Yes, all is correct !

        >So, what is the interest of anyremote2html, since the documentation never talk about
        > using an internet explorer to use it ?
        >It wasn't clear on the project website because it said that through wi-fi, the web interface was >needed. It's was what I understood at least.
        OK. Seems i need to correct docs.

         
    • Kevin Huynen

      Kevin Huynen - 2009-02-03

      So, I launched ganyremote, socket:5000, quodlibet.cfg, web interface  turned off.

      On the phone : java -> anyremote -> socket://192.168.1.10:5000

      I've got the same white screen, but this time GUI says "Téléphone connecté" (phone connected of course ;-) )

      Maybe a problem with java ?

       
      • Mike

        Mike - 2009-02-03

        Well...
        Firstly it needs to inspect log files.
        Could You please send to anyremote at mail.ru content
        of $HOME/.anyRemote/anyremote.log
        (to have full log it needs to run anyremote with "-log" option,
        if You use GUI this option can be specified in Preferences window)

         

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks