Esato

Forum > Sony Ericsson / Sony > Tips and tricks > Signing java apps. is it possible?

Author Signing java apps. is it possible?
StevenC
W910 Black
Joined: Aug 23, 2008
Posts: > 500
From: NY
PM
Posted: 2008-10-29 22:34
Reply with quoteEdit/Delete This PostPrint this post
Hi. I just wanted to know whether it is possible to sign an unsigned java application or not. I am frequently using an application called 'Weather' but there is no signed version available so my phone always prompts me to connect to Internet. Once I tried to copy the signature from a jad file and put it into another jad but it didn't work.

Is that possible?

Boysie
K800 Black
Joined: Jan 17, 2008
Posts: > 500
From: Southampton, England
PM
Posted: 2008-10-30 00:03
Reply with quoteEdit/Delete This PostPrint this post
If ur phone is patchable, there is a patch that would get round that. Im sure ive heard of another way but my pickled brain lets me down! sorry.


[ This Message was edited by: Boysie99 on 2008-10-29 23:07 ]
StevenC
W910 Black
Joined: Aug 23, 2008
Posts: > 500
From: NY
PM
Posted: 2008-10-30 07:25
Reply with quoteEdit/Delete This PostPrint this post
I have a w910 so I'm not allowed to patch until xs++ supports it. I will search for the trick and keep posted. thanks anyways.
sitnet
K850 Blue
Joined: Jun 30, 2008
Posts: 325
PM
Posted: 2008-11-14 11:12
Reply with quoteEdit/Delete This PostPrint this post

On 2008-10-30 07:25:13, StevenC wrote:
I have a w910 so I'm not allowed to patch until xs++ supports it. I will search for the trick and keep posted. thanks anyways.


There are 2 options, or you can use the patch mentioned, or you can download java wireless toolkit and use it's utillities to sighn the app. with the needed certificate.You can also use it as a java emulator to run apps on your computer. O and it's only for windows.

Here is the link for Java Wireless Toolkit: http://java.sun.com/products/sjwtoolkit/download.html

Hope I was helpful!!!
StevenC
W910 Black
Joined: Aug 23, 2008
Posts: > 500
From: NY
PM
Posted: 2008-11-14 12:31
Reply with quoteEdit/Delete This PostPrint this post
Thank you very much sitnet! I will try it.

StevenC
W910 Black
Joined: Aug 23, 2008
Posts: > 500
From: NY
PM
Posted: 2008-11-16 12:11
Reply with quoteEdit/Delete This PostPrint this post
I used it to sign the jad files, but the apps would not install on the phone. I think because I don't have the certificate installed on my phone. JWT does not provide the ability to generate the certificate (.cer) file ???


sitnet
K850 Blue
Joined: Jun 30, 2008
Posts: 325
PM
Posted: 2008-11-16 17:33
Reply with quoteEdit/Delete This PostPrint this post

On 2008-11-16 12:11:44, StevenC wrote:
I used it to sign the jad files, but the apps would not install on the phone. I think because I don't have the certificate installed on my phone. JWT does not provide the ability to generate the certificate (.cer) file ???



No, you are going to have to find that certificate somewhere else and put it on your phone. All that JWT can to is to create .ks files (keystroke). And remember that both jad an jar files have to be in the same folder on your phone to install, not just the jad.

Oh wait here is the certificate you need (I don't know how you are gonna get it on your phone though)



Subject:
CN:Thawte Premium
Server CA
OU=Certification
Services devision
O=Thawte Consulting
cc
C=SA*
Issuer:
CN=Thawte Premium
Server CA
OU=Certification
Services Devision
O=Thawte Consulting
cc
C=SA*
Valid from:
01-Aug-96 00:00:00
Valid to:
31-DEC-20 23:59:59
Certification type:
X.509
Location:
WIM 1.0 Phone
Domain:
Third Party
Version:
V3
Serial number:
01
Signature algorithm:
MD5 with RSA*
Fingerprint:
#### #### #### ####
#### #### #### ####
#### ####



* I think at the first two stars it has to be YOUR country's abreviation (I'm in South Afrika) but I'm not sure at the third star.

OH and sorry about the fingerprint I left out but that's like a Serial key and I'm not gonna give away mine in the net. Maybe there is one somewhere else on the net./

[ This Message was edited by: sitnet on 2008-11-16 16:34 ]
StevenC
W910 Black
Joined: Aug 23, 2008
Posts: > 500
From: NY
PM
Posted: 2008-11-17 20:02
Reply with quoteEdit/Delete This PostPrint this post
Ok I'll see what I can do with it. Thanks anyway.


Access the forum with a mobile phone via esato.mobi