maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [How-To]Install whatsapp(java port) on N900 (https://talk.maemo.org/showthread.php?t=84489)

ekohaha 2012-05-28 17:09

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
you must me hellpppp meee pleeassee

how lines i must to be edit i dont understand it

yelram 2012-05-29 03:17

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
This is what i did to make it work. And... IT WORKS!

The file that needs to be edited is in:
/home/user/.java/.userPrefs/org/peterbjornx/whatsapp/prefs.xml


<?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="yourimei"/>
<entry key="CC" value="yourcountrycode"/>
<entry key="CONTACTS" value=""/>
<entry key="LOGIN" value="countrycodeandphonenumber"/>
<entry key="PHONENR" value="phonenumber"/>
<entry key="REGSTEP" value="1"/>
</map>

----
Example:
imei : 00000000000
CC: 34 (your country code)
Phone number: 123456789

then the file should look like 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="00000000000"/>
<entry key="CC" value="34"/>
<entry key="CONTACTS" value=""/>
<entry key="LOGIN" value="34123456789"/>
<entry key="PHONENR" value="123456789"/>
<entry key="REGSTEP" value="1"/>
</map>

----

I restarted after editing the file. Then opened Whatsapp and I was able to see the code screen.

Regstep MUST be 1, that means that it will ask you for the Code. Else you wont be able to see the code screen.

Hope that helps.

RDilus 2012-05-29 04:17

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Quote:

Originally Posted by yelram (Post 1214181)
This is what i did to make it work. And... IT WORKS!

The file that needs to be edited is in:
/home/user/.java/.userPrefs/org/peterbjornx/whatsapp/prefs.xml


<?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="yourimei"/>
<entry key="CC" value="yourcountrycode"/>
<entry key="CONTACTS" value=""/>
<entry key="LOGIN" value="countrycodeandphonenumber"/>
<entry key="PHONENR" value="phonenumber"/>
<entry key="REGSTEP" value="1"/>
</map>

----
Example:
imei : 00000000000
CC: 34 (your country code)
Phone number: 123456789

then the file should look like 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="00000000000"/>
<entry key="CC" value="34"/>
<entry key="CONTACTS" value=""/>
<entry key="LOGIN" value="34123456789"/>
<entry key="PHONENR" value="123456789"/>
<entry key="REGSTEP" value="1"/>
</map>

----

I restarted after editing the file. Then opened Whatsapp and I was able to see the code screen.

Regstep MUST be 1, that means that it will ask you for the Code. Else you wont be able to see the code screen.

Hope that helps.

do you mind ill use this example in my tut ?

yelram 2012-05-29 04:19

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Sure, of course I don't mind! :)

emorace 2012-05-29 12:11

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
thanks for your tutorial,
till the last ooint everything was going how it should be,
but i typed in the 3 digits code into bluestacks, now, if i want to use the code again on the n900 an error message appears, is there now no solution that i can use the verified account (via bluestacks) on the n900?

RDilus 2012-05-29 12:36

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Quote:

Originally Posted by emorace (Post 1214359)
thanks for your tutorial,
till the last ooint everything was going how it should be,
but i typed in the 3 digits code into bluestacks, now, if i want to use the code again on the n900 an error message appears, is there now no solution that i can use the verified account (via bluestacks) on the n900?

no you need to reinstall bluestack then i know it;s stupid but we can't delete cache data on bluestack yet

ivgalvez 2012-05-29 13:04

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
RDilus, will you upload the Oracle Java package to the repository? That would allow other packages to depend on it.

In fact it would be better to have a "java" metapackage provided by Oracle Jave or IcedTea.

optional106 2012-05-29 15:54

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Quote:

Originally Posted by RDilus (Post 1214367)
no you need to reinstall bluestack then i know it;s stupid but we can't delete cache data on bluestack yet

Yes, You should add this onto the first post too !
DO NOT ENTER PIN INTO BLUESTACK, Enter into N900 only.

Delete Bluestack and get new pin if you accidentally typed it into bluestack

RDilus 2012-05-29 18:28

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Quote:

Originally Posted by ivgalvez (Post 1214376)
RDilus, will you upload the Oracle Java package to the repository? That would allow other packages to depend on it.

In fact it would be better to have a "java" metapackage provided by Oracle Jave or IcedTea.

i can't because first of all i dind't make this only write tuts for it keep that in mind

didntwork 2012-05-30 03:30

Re: [How-To]Install whatsapp(java port) on N900[MOST EASY WAY]
 
Quote:

Originally Posted by RDilus (Post 1212505)
dpkg -i oracle.deb whatsapp.deb


Hi!,
I have followed the instructions and I get this:

home/user/MyDocs # dpkg -i oracle.deb whatsapp.deb
(Reading database ... 23274 files and directories currently installed.)
Preparing to replace oracle-embedded-jre 1.6.0u30 (using oracle.deb) ...
Unpacking replacement oracle-embedded-jre ...
dpkg-deb: `whatsapp.deb' is not a debian format archive
dpkg: error processing whatsapp.deb (--install):
subprocess dpkg-deb --control returned error exit status 2
Setting up oracle-embedded-jre (1.6.0u30) ...
Errors were encountered while processing:
whatsapp.deb
home/user/MyDocs #


All times are GMT. The time now is 16:36.

vBulletin® Version 3.8.8