GeeCON Prague 2014*
The moose likes Java Micro Edition and the fly likes Help Required for making WhatsApp.jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Help Required for making WhatsApp.jar " Watch "Help Required for making WhatsApp.jar " New topic
Author

Help Required for making WhatsApp.jar

Michael Arthur
Greenhorn

Joined: Apr 01, 2014
Posts: 11
We all know the popularity of WhatsApp these days
I am here on behalf of all the Bada users, an operating system which was made for mobile phones by Samsung
Samsung has now abandoned its development. There are more than 1.3 million Bada users in the world. There is no WhatsApp available, so, I started to work on it. I researched about this topic and found this source code http://www.mediafire.com/download/8oz4c3b27nx4366/WhatsApp_Messenger.src.zip

Can anyone help me to make a jar file out of this. I confess that I don't know Java, therefore, I am asking for help. Although there are WhatsApp.jar files available for Symbian versions but they don't work on Bada. Can anyone help us (Bada Users)?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39079
    
  23
Welcome to the Ranch

What have you achieved so far? Do you have Java files which work on Bada?
There is a tutorial about jar files. It is part of the deployment trail. Maybe that will help you.
Michael Arthur
Greenhorn

Joined: Apr 01, 2014
Posts: 11
Campbell Ritchie wrote:Welcome to the Ranch

What have you achieved so far? Do you have Java files which work on Bada?
There is a tutorial about jar files. It is part of the deployment trail. Maybe that will help you.

There are thousands of Java files that work on Bada. I have uploaded some of them at http://theteamk.hj.cx/
I have researched and found a lot about WhatsApp. I present it to you in brief:
WhatsApp uses Extensible Messaging and Presence Protocol (XMPP). When a user registers with WhatsApp, he gets his number as a username (i.e. phone number@s.whatsapp.net) or JABBER ID. WhatsApp uses the Jabber Protocol to connect its users.
I tried to use a Jabber client that works on Bada to connect to WhatsApp, but I was not able to clearly understand how WhatsApp generates its password.
Then, I decided to develop a .jar file which can be used on non-Symbian phones. Symbian also runs .jar files but they don't work on Bada (I don't know why this happens). So, I found this source code and came here because I am a complete newbie to Java
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39079
    
  23
You have some .jar files on your website. Do they not run on Bada?
Michael Arthur
Greenhorn

Joined: Apr 01, 2014
Posts: 11
yes, they work on Bada
Maki Jav
Ranch Hand

Joined: May 09, 2002
Posts: 436
Hi,

I cannot download the src from mediafire

http://www.mediafire.com/download/8oz4c3b27nx4366/WhatsApp_Messenger.src.zip

Is there any other link?


Maybe we can work on this...

Thanks,

Maki Jav


Help gets you when you need it!
Michael Arthur
Greenhorn

Joined: Apr 01, 2014
Posts: 11
I could not upload the src here as it exceeded the maximum attachment size
try this alternate link
http://www.datafilehost.com/d/56ca03bc

Best Regards
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10146
    
165

Is that the WhatsApp's source code? Either way, are you sure it's legal to be distributing that source? The fact that it's being uploaded to some random sites for download makes it look otherwise.

[My Blog] [JavaRanch Journal]
Michael Arthur
Greenhorn

Joined: Apr 01, 2014
Posts: 11
You might have heard about the open-source WhatsApp library, Yowsup (https://github.com/tgalal/yowsup‎)

It was made for BlackBerry. Even they used the source code; so, its legal. Yowsup is quite popular among BlackBerry users and it has been there for quite some time
Michael Arthur
Greenhorn

Joined: Apr 01, 2014
Posts: 11
So, can anyone help the 1.3 million Bada users?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42046
    
  64
I don't recall anyone ever discussing Bada in these forums before, so it's possible that nobody here knows how. Doesn't Bada have developer forums or web sites that can help you?


Ping & DNS - my free Android networking tools app
Michael Arthur
Greenhorn

Joined: Apr 01, 2014
Posts: 11
we have got Bada forums on XDA
Some other Bada forums:
http://www.theteamk.co.nr
http://www.badaforums.net/
http://www.mysamsungwave.com
http://forum.dailymobile.net

But, this project is java specific. So, we require people who know Java. So, I came here, as I don't know of any Java developer who could help me in this regard
I will be really grateful if you could help me

Best Regards
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42046
    
  64
What I meant was, since apparently nobody with Bada experience seems to frequent these forums, and this problem seems to require quite a bit of Bada knowledge, turning to a Bada developer forum would seem to be a promising approach. After all, if Java can be used to develop for Bada, then developers fluent in it who have Bada knowledge would be likely to hang out there, IMO.
Michael Arthur
Greenhorn

Joined: Apr 01, 2014
Posts: 11
Well, I don't think this is Bada specific. You just need to know how to compile that source code (link given above). Can anyone do that?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42046
    
  64
I don't understand why you would think creating a Bada app would not be Bada specific. And I also think that you are severely underestimating what it takes to port an app from one mobile OS to another mobile OS (it is a significant undertaking, a whole lot more than just recompiling the code). Plus, there still seem to be no Bada experts in these forums.
Michael Arthur
Greenhorn

Joined: Apr 01, 2014
Posts: 11
As the topic's name suggests, I need someone to make a .jar file out of the source code. Bada runs .jar files and that's why I am asking for someone to make a .jar file out of the source code. I don't know Java and that's the reason I am asking for help. Please help.

Best Rigards
Maki Jav
Ranch Hand

Joined: May 09, 2002
Posts: 436
Michael Arthur,
Please send me the code at my email and lets see what happen I can come up with. The link you have posted does not work for me.
Michael Arthur
Greenhorn

Joined: Apr 01, 2014
Posts: 11
I have emailed it to you. Please see it.

Best Regards
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39079
    
  23
Didn't notice that before. Please don't send code around by e‑mail. We should all be able to see it.
Michael Arthur
Greenhorn

Joined: Apr 01, 2014
Posts: 11
I couldn't attach the code here because it's around 1.2 MB and the limit is 1024 KB.

Best Regards
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42046
    
  64
No, don't post the code here; it would be way too much for a post (or several posts) in a forum like this.

Edited: posted before seeing your last reply.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39079
    
  23
Ulf is right. 1.2MB would be an exception to that rule!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help Required for making WhatsApp.jar