maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Java WhatsApp port (https://talk.maemo.org/showthread.php?t=83827)

romiiio 2012-04-26 18:29

Re: Java WhatsApp port
 
Is it just me or does everyone else also not get any pings coming through like when im not connected to internet i dont get any pings coming through! Is it meant to happen? Or do you only get messages through when you are online?

ramezt2000 2012-04-26 22:07

Re: Java WhatsApp port
 
Quote:

Originally Posted by Mohammed Muid (Post 1197961)
first install the program. get the code. run the code. get the error.
then open the prefs.xml file. just beside PHONER there is VALUE. beside value there is "-"
between the comma write ur number without country code. then save it and close it. then open whatsapp again. type the code again. it will work if u do just as i said.

i tried your advise but still got unknown error

Mohammed Muid 2012-04-27 05:06

Re: Java WhatsApp port
 
you should only type the PHONER value. nothing else. without your country code. if the country code is 880 your number should start what is left after 880
remove whatsapp and install it again. then do the steps again.

if not clear then read 5 pages behind. u shud get it.

chely81 2012-04-27 06:01

Re: Java WhatsApp port
 
Quote:

Originally Posted by Creamy Goodness (Post 1196002)
cool i hope you enjoy doing tech support for the 900 people that are about to ask for help...

amigo lo instale pero cuando pongo el codigo q e envia por mensajes
me da un error desconocido puenes ayudarme?

Fersansa 2012-04-27 07:09

Re: Java WhatsApp port
 
Quote:

Originally Posted by chely81 (Post 1198123)
amigo lo instale pero cuando pongo el codigo q e envia por mensajes
me da un error desconocido puenes ayudarme?

SPA: Pide que te envíe el código por voz (voice), recibirás una llamada y una voz grabada te dará el código, que será el mismo que recibiste por sms, pero esta vez al meter el código SI FUNCIONA! Al menos así me ocurrió a mi.

Ask for the code sent by VOICE, you'll receive a phonecall and a recorded voice will give you the code, same code as in sms method, but this time when you enter the code IT WORKS! Al least it worked for me that way. I hope this helps!

ramezt2000 2012-04-27 17:26

Re: Java WhatsApp port
 
finally it worked ,,

Thanks guys so much ,,,

Looking forward for final and better version ,,, :)

peterbjornx 2012-04-27 21:30

Re: Java WhatsApp port
 
I am back from Paris and next week i have a break from school so lots of dev time :)
I still need assistance with testing group chats

sjoeff 2012-04-27 22:18

Re: Java WhatsApp port
 
Quote:

Originally Posted by peterbjornx (Post 1198398)
I am back from Paris and next week i have a break from school so lots of dev time :)
I still need assistance with testing group chats

Hi Peter,

Nice =) how was paris? I also have the meivakantie next week.

Are you going to publish the source code?
Anyway I'm ready to help you with this version of whatsapp. Im using it constantly since you published it on this forum:). And it really works great.

I also have some suggestions:
Automatic cursor in text field when chatting.
Send the message when pressing enter.
Groups chats and sending/receiving of images but I suggest you are already working on this.

Is there a way how we can get some contact so that i can test some things for you?

ps. ik ben ook nederlands
Greetz

praveenchand 2012-04-27 22:21

Re: Java WhatsApp port
 
Quote:

Originally Posted by peterbjornx (Post 1198398)
I am back from Paris and next week i have a break from school so lots of dev time :)
I still need assistance with testing group chats

welcome back...we badly need you here...great job mate...

peterbjornx 2012-04-27 22:21

Re: Java WhatsApp port
 
paris was great, i am unsure about the source code as it is not "clean" yet, there is decompiled proprietary code in it, and to get group convo's working i need to actually be in a group convo and every time i get to it no-one is online

myname24 2012-04-27 22:33

Re: Java WhatsApp port
 
is it possible to enable virtual keyboard ?

sjoeff 2012-04-27 22:34

Re: Java WhatsApp port
 
Okay about the source code i understand. We will have to wait then.

You can add me to a conversation only, at this moment I am not able to get a whatsapp phone. Do I need it or is your whatsapp messenger useable for your testing?

peterbjornx 2012-04-27 22:43

Re: Java WhatsApp port
 
a real phone is needed, my client cant manage groups yet

sjoeff 2012-04-27 22:49

Re: Java WhatsApp port
 
Hmm unfortunately i dont have one here right now.. i will ask my friends phone tomorrow for now i am going to bed
goodnight

didik.wahyono 2012-04-28 05:20

Re: Java WhatsApp port
 
Quote:

Originally Posted by peterbjornx (Post 1196119)
it doesnt sync contacts yet

Peter,

I think you have an unhandled exception here. Because after this exception were thrown, the app wont send nor receive anything from server. Hope you can add reconnection procedure in response of this kind of problem. :D
http://desmond.imageshack.us/Himg21/...ng&res=landing

rayson 2012-04-28 05:52

Re: Java WhatsApp port
 
nice work on whatsapp, peter :-)

while you get on the upgrading, do help check in for foreign language and icon display as well, cause my friend send in chinese word and icon and i can't see anything

davdav 2012-04-28 06:57

Re: Java WhatsApp port
 
Quote:

Originally Posted by ramezt2000 (Post 1197949)
I just followed all previous instructions and get the verification code ,,
but i receive "unknown error" when entering it ,,,

i tried changing all inputs in the prefs file but no use ,,

I'm from Egypt anyway ,,,

So, please help me solving my problem ,,

Thanks

cheers mate :)
copy your prefs.xml here

ramezt2000 2012-04-28 19:49

Re: Java WhatsApp port
 
Quote:

Originally Posted by davdav (Post 1198497)
cheers mate :)
copy your prefs.xml here

Thanks very much my friend ,,, i managed to solve the unknown error and it's working now ...

Really Thanks for your concern ,, :)

rayson 2012-04-29 09:39

Re: Java WhatsApp port
 
Quote:

Originally Posted by klome (Post 1198485)
#248 是我的測試
我是來自香港
現在打不到和看不到中文字
一對多名字看不到

目前只能输入和显示英文, 图片也无法显示,请耐心等候更新吧:D

translated: current stage can only enter and display english words, even icon pictures are not showable, please give time for development.

ajack 2012-04-30 06:29

Re: Java WhatsApp port
 
Quote:

Originally Posted by buckethead (Post 1197793)
I got it to work yesterday, but once i restarted my phone and launched whatsapp again, it gave me the verification page again, with my IMEI and my CC written. I edited prefs.xml and i these are the values stored
"CC=002
CONTACTS=rOOABXcE.......
IMEI=356***************
LOGIN=002011119*****
PHONENR="-"
REGSTEP="0" "
Any help on what i should do?

What I did was once I've successfully connected to whatsapp, I will quit out and make a backup copy of the prefs.xml file. So when I next login and get the error as you did, just restore from the good prefs.xml file, confirm internet connection is working and rerun whatsapp. Hope this helps.

On a side note, error handling in the app is quite bad and a way to manage contacts would be appreciated. I know, I know... it's still in alpha, but the original author did ask to suggest and report bugs. :)

som3a 2012-04-30 12:45

Re: Java WhatsApp port
 
cheers ..
a great app , really thanks i was waiting for these forever !
i downloaded it and after that i wrote my number and i haven't received the SMS massage , said wait and i waited ! but nothing happen !
BTW i was using what'sapp before on android phone !! can i get my account here , or i have to signup for a new account !! :(

TARIKO 2012-04-30 16:54

Re: Java WhatsApp port
 
regitedr with the n900 by voice, then change prefs.xml and open the app

som3a 2012-04-30 18:06

Re: Java WhatsApp port
 
Easy on me man !
After gitting the code by the voise call , i have to edit that file , but where i had to find this file

TARIKO 2012-04-30 18:33

Re: Java WhatsApp port
 
Quote:

Originally Posted by som3a (Post 1199609)
Easy on me man !
After gitting the code by the voise call , i have to edit that file , but where i had to find this file

/home/user/.java/.userPrefs/org/peterbjornx/whatsapp/storage/prefs.xml

Scorpius 2012-05-01 19:18

Re: Java WhatsApp port
 
This is very easy to port to a Qt application that would work in all Nokia phones, including N900, N9 and N950. I wonder why nobody has tried it yet... The jar is not obfuscated at all (the Android versions are extremely obfuscated).

Jigzy 2012-05-01 19:33

Re: Java WhatsApp port
 
Not sure if anyone else has experienced this, but when using Optimize N900. I get all my chat messages in individual notifications reappearing

which is strange as when you close a chat session your previous chat history disappears but when using optimize N900 they reappear although it slows the n900 considerably too the point of having to reboot the device.

rayson 2012-05-02 06:03

Re: Java WhatsApp port
 
Quote:

Originally Posted by Jigzy (Post 1200374)
Not sure if anyone else has experienced this, but when using Optimize N900. I get all my chat messages in individual notifications reappearing

which is strange as when you close a chat session your previous chat history disappears but when using optimize N900 they reappear although it slows the n900 considerably too the point of having to reboot the device.

It is explained a few pages back, this program didn't close totally and remove from memory, it stuck there but you can't see, each time you open it consider a new program startup, if you press it 10 times, you got 10 whatspp java running inside without you knowing.

Running optimize N900 will wipe out all the background program causing all those hidden one reappear but they are no longer working cause java already being reset.

a shortcut way is to run "ps | grep java" and "kill -9 (PID)" PID is the whatsapp program using java running

Jigzy 2012-05-02 06:12

Re: Java WhatsApp port
 
It was more to do with if someone could manipulate this behaviour so when we close a chat session down and then come back to it, we would still have the previous chat history!!!

but thanks for the explanation

xinxx 2012-05-04 13:44

Re: Java WhatsApp port
 
Hello everyone,
I'm trying to install whatsapp on n900...
Can I have a jar file? I have only a deb file but I would try to test on my pc thanks a lot.

PS: sorry for my english

Mohammed Muid 2012-05-04 13:54

Re: Java WhatsApp port
 
will anyone please develop this whatsapp more.

malkavian 2012-05-04 14:02

Re: Java WhatsApp port
 
Quote:

Originally Posted by xinxx (Post 1201830)
Can I have a jar file? I have only a deb file but I would try to test on my pc thanks a lot.

http://talk.maemo.org/showpost.php?p...7&postcount=74

Kinggene 2012-05-04 14:32

Re: Java WhatsApp port
 
Will you this work on N9?

xinxx 2012-05-04 14:40

Re: Java WhatsApp port
 
Quote:

Originally Posted by malkavian (Post 1201840)


the link don't work for me... I download the jar but I receive an error when I try to open it.

anig 2012-05-04 14:40

Re: Java WhatsApp port
 
Quote:

Originally Posted by Kinggene (Post 1201856)
Will you this work on N9?

It starts up but the virtual keyboard doesn't pop up. It may work with a bluetooh keyboard I believe.

xinxx 2012-05-04 14:44

Re: Java WhatsApp port
 
GOOD I open the jar I extract it only from windows my fedora don't extract it.

Now I can try to register but my code is 39 for italy and the number I insert +39?

Mohammed Muid 2012-05-04 14:58

Re: Java WhatsApp port
 
Quote:

Originally Posted by xinxx (Post 1201865)
GOOD I open the jar I extract it only from windows my fedora don't extract it.

Now I can try to register but my code is 39 for italy and the number I insert +39?

yes u will enter +39

xinxx 2012-05-04 15:25

Re: Java WhatsApp port
 
nothing...
I insert the code 39 my number +39349XXXXXXX
and my imei number 35XXXXXX...
method voice...

But first click on verify I received: unknow error...
the second click on verify: too recent more info: 30

What I do ?

RobertHall 2012-05-04 15:25

Re: Java WhatsApp port
 
yes...thats what you need to do

xinxx 2012-05-04 15:37

Re: Java WhatsApp port
 
I receive: too recent, more info 2

What I do?

I repeat and now I receive: too recent, more info 30

xinxx 2012-05-04 15:48

Re: Java WhatsApp port
 
I repeat the procedure with another number if I insert the number with +39 i receive unknow error if i insert only my second number 393XXXXXX i receive too recent more info 30.

BUT How work this software?

If I use the Computer because don't work?


All times are GMT. The time now is 07:34.

vBulletin® Version 3.8.8