Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Java WhatsApp port

    Reply
    Page 13 of 37 | Prev | 3   11     12   13   14     15   23 | Next | Last
    whatsappneeder | # 121 | 2012-04-23, 21:05 | Report

    Originally Posted by Wreck View Post
    Editing the prefs.xml worked for me. I am able to log-in properly and add contacts. Little question. The contacts don't need the country code do they?

    What I did on the n900:

    Step 1: Installed the Oracle JRE : http://uppit.com/p1glvshnvgn6/oracle...e-1.6.0u30.deb

    Step 2: Installed WhatsApp : http://uppit.com/t79j5q219iux/whatsa...0.0.4alpha.deb

    Step 3: Opened up whatsapp.

    Step 4: Filled in the details. (Phone number + IMEI code)

    Step 5: Got an sms with my activation number

    Step 6: Opened up prefs.xml using:

    Code:
    cd ~/.java/.userPrefs/org/peterbjornx/whatsapp/storage/
    
    vi prefs.xml
    Step 7: Edited the <entry key="PHONENR" value="YOURNUMBER"/>

    Step 8: Save it and open up Whatsapp

    Step 9: Fill in the Whatsapp code you got via SMS.

    Step 10: Add your contacts

    Little questions I still have.

    How to delete contacts?
    What does a red square and a green square mean?
    i have this in X terminale what i should do now? how to do step 7


    BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE map SYSTEM "http://java.sun.com/dtd/preferences.dt
    <map MAP_XML_VERSION="1.0">
    <entry key="IMEI" value="356938031370126"/>
    <entry key="REGSTEP" value="1"/>
    </map>
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    I prefs.xml 6/6 100%

    Edit | Forward | Quote | Quick Reply | Thanks

     
    gng554 | # 122 | 2012-04-23, 21:10 | Report

    is there a way to get sound notification when we receive a new msg?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Ozymandias | # 123 | 2012-04-23, 21:12 | Report

    I Installed Midnight Commander to edit the xml, worked fine.

    Back to the other topic:
    I received the message from my PC (where I have my landline number as whatsapp account), but so far have been unable to reach anyone. The only person I could get a hold of to try this out didn't seem to have the option to write to me in her phone whatsapp. will try more tomorrow.

    Some things I noticed:
    Yes, when you close the app, you will still receive messages, BUT if you interrupt your internet connection and reconnect, this no longer works. Also, if I send something PC ->phone while phone is offline, then go online and start whatsapp, I will receive a window telling me that my PC is writing to me, but the messages I sent while the phone was offline are lost.
    Just FYI.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Wreck | # 124 | 2012-04-23, 21:13 | Report

    Originally Posted by whatsappneeder View Post
    Bunch of text
    It seems you are missing some lines of text. I don't know if adding them manually will work.

    This is mine:

    Code:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE map SYSTEM "http://java.sun.com/dtd/preferences.dtd">
    <map MAP_XML_VERSION="1.0">
      <entry key="CC" value="31"/>
      <entry key="CONTACTS" value="Long code of your contacts."/>
      <entry key="IMEI" value="your Imei code"/>
      <entry key="LOGIN" value="Your phone number plus your land code"/>
      <entry key="PHONENR" value="Your phone number without the land code"/>
      <entry key="REGSTEP" value="-1"/>
    </map>
    You might want to try to delete your peterbjornx directory and open up whatsapp again. Fill in the information, close whatsapp.
    Fill in the verification code and get the error. Then close whatsapp again and edit the prefs.xml

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to Wreck For This Useful Post:
    ajack, TARIKO

     
    Mohammed Muid | # 125 | 2012-04-23, 21:23 | Report

    Originally Posted by Wreck View Post
    Editing the prefs.xml worked for me. I am able to log-in properly and add contacts. Little question. The contacts don't need the country code do they?

    What I did on the n900:

    Step 1: Installed the Oracle JRE : http://uppit.com/p1glvshnvgn6/oracle...e-1.6.0u30.deb

    Step 2: Installed WhatsApp : http://uppit.com/t79j5q219iux/whatsa...0.0.4alpha.deb

    Step 3: Opened up whatsapp.

    Step 4: Filled in the details. (Phone number + IMEI code)

    Step 5: Got an sms with my activation number

    Step 6: Opened up prefs.xml using:

    Code:
    cd ~/.java/.userPrefs/org/peterbjornx/whatsapp/storage/
    
    vi prefs.xml
    In my example i'm using vi, but you can also use Midnight Commander. Thanks Ozymandias.

    Step 7: Edited the <entry key="PHONENR" value="YOURNUMBER"/>

    Step 8: Save it and open up Whatsapp

    Step 9: Fill in the Whatsapp code you got via SMS.

    Step 10: Add your contacts

    Little questions I still have.

    How to delete contacts?
    What does a red square and a green square mean?
    i still get unknown error. should we add this line? "" <entry key="PHONENR" value="YOURNUMBER"/> "" coz there is nothing to edit. my default prefs.xml is this--

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE map SYSTEM "http://java.sun.com/dtd/preferences.dtd">
    <map MAP_XML_VERSION="1.0">
    <entry key="IMEI" value="356938035641084"/>
    <entry key="REGSTEP" value="1"/>
    </map>

    where to add the phone number. sorry if this post irritates anyone.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Mohammed Muid For This Useful Post:
    TARIKO

     
    peter2p | # 126 | 2012-04-23, 21:23 | Report

    I've got it working on my N900
    Verified by voice on device after approximately 1 hour waiting...
    Did count down to about 2 i guess minutes
    Then got a call with the code
    This is how it looks now
    Already tested it with a colleague & ffha, no problems at all...
    Thx peterbjornx

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Images
     

    Last edited by peter2p; 2012-04-23 at 21:54.

     
    Wreck | # 127 | 2012-04-23, 21:25 | Report

    Originally Posted by Mohammed Muid View Post
    where to add the phone number. sorry if this post irritates anyone.
    Eh, I have no idea why nobody has that line of text. Try doing what I said in my above post using my prefs.xml. You can leave the contacts line empty. Just fill in the rest with your information.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    buckethead | # 128 | 2012-04-23, 21:25 | Report

    Originally Posted by Wreck View Post
    You can always copy the full peterbjornx directory to your phone. It's basically the exact same thing.
    Do you mean copy it from my PC to my phone?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    ffha | # 129 | 2012-04-23, 21:25 | Report

    Originally Posted by Ozymandias View Post
    what is the correct format for entering phone numbers - "+49[phonenumber]" ? (+49 being Germany)
    Correct.

    E.g.
    The Netherlands' country number is 31.
    My phone number is 0644466333 (not really).
    My WhatsApp contact number would be 31644466333.
    Here's a complete list of country numbers.


    I've already added my girlfriend (and more people) with that method. Hoorah!



    Edit:
    As for why some are unable to find the values I specified earlier on, here's the correct filepath again:

    Incorrect:
    Code:
    ~/.java/.userPrefs/org/peterbjornx/whatsapp/prefs.xml
    vs.
    Correct:
    Code:
    ~/.java/.userPrefs/org/peterbjornx/whatsapp/storage/prefs.xml
    Edit the prefs.xml file in the /storage/ directory!



    Originally Posted by gng554 View Post
    is there a way to get sound notification when we receive a new msg?
    Unfortunately, receiving a message doesn't print anything to STDOUT, else we could've grabbed the output and use that to play a sound.

    Do you know java? :P

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by ffha; 2012-04-23 at 21:38.
    The Following User Says Thank You to ffha For This Useful Post:
    Wreck

     
    Wreck | # 130 | 2012-04-23, 21:28 | Report

    Originally Posted by buckethead View Post
    Do you mean copy it from my PC to my phone?
    Yeah, or you could try using my prefs.xml with your information.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Wreck For This Useful Post:
    buckethead

     
    Page 13 of 37 | Prev | 3   11     12   13   14     15   23 | Next | Last
vBulletin® Version 3.8.8
Normal Logout