| Reply | « Previous Thread | Next Thread » |
|
Hi all,
I have uploaded to a server a jad and a jar, and it is working correctly the installation process in a Nokia Series 60 3rd edition (N95). My problem is that when I try to download the jad in a Series 40 a error "Unsupported file format" is displayed. The MIME-Types for jad and jar are set correctly in the server, so I don't know what could be the problem... |
|
Which Series 40 devices are you trying to use (in case you're, e.g, trying to use a MIDP 2.0/CLDC 1.1 MIDlet on a MIDP 2.0/CLDC 1.0 or even MIDP 1.0 device)?
|
|
It is not the problem because I can install the application using PC Suite or similar. I am using a Nokia 8800-e.
|
|
You need to download the JAR file on that device from a Web server.
Hartti |
|
I don't understand, sorry.
If I click to a link to a JAD file, which references to a JAR in the same folder in the same web server, it is being installed correctly in Series 60 (N95). I have installed in 8800-e gmail application, which also uses a JAD for installing, and it is installing correctly. I am sure the difference is in the web server, but I don't know what could be the problem... |
|
So are you using the phone browser to connect to the server and downloiad the MIDlet from there?
Also are you using some APIs which are not available on 8800? Hartti |
|
No no. I install it using PC Suite without any problem. The problem is installing from our WebServer.
|
|
Have you the correct JAR and JAD MIME types defined on that server?
scratch this question, I forgot to read your initial post... I do not have any guesses at this point Hartti |
|
Yes yes. I have sniffed the http response from the server, and the unique difference are some headers that our server returns, and google server doesn't.
|
|
First problem fixed. The problem was that our company's server has by default activadted gzip, and the jad was sent compressed to browser. Now the jar download starts correctly.
The problem now is that when finishing download of the jar, a "invalid application" message appears. The jar is signed by JavaVerified, and works correctly in the same device if installed using PC Suite. |
|
When you installed the MIDlet over the PC suite, was it installed with JAD file (so it was installed in the trusted 3rd party domain? Could you check that?
Hartti |
|
I don't understand... I use Nokia PC Suite 6.83, and Install Applications (Nokia Application Installer 3.0). I can navigate in the hard disk of the PC, and I choose the jar file which is in the same folder than the jad file, then double click, and the application is installed.
I have also discovered that if I type in the browser the url of the JAR, it is installed correctly in the phone, but in spite of it is signed by JavaVerified, I can't grant some permission as "Read User Data" to be always allowed (it is like it was not signed). On the other hand, if I install it using PC Suite I can set all permissions correctly. It seems like if JAR and JAD had differente attributes, but then why does it install correctly using PC Suite? Or why does it install using Web Server in Nokia N95 and other Series 60 3rd edition devices? Thank you very much. |
|
Hi Felixksp,
[First of all, Sorry to all viewers, as this is not related to this post "Series 40 problem".] I have to make a HTTP filter plugin and I found your post related to it very helpful. I have some problem which I have posted in your post "http filter problem" link : http://discussion.forum.nokia.com/fo...d.php?t=112824 Please check the link and help me as you have already faced the same problem. Regards, Suyash. |
|
Hi felixksp,
I am facing some more problem in the HTTP filter plugin which I have mentioned in your post "http filter problem" link : http://discussion.forum.nokia.com/fo...d.php?t=112824 Plese have a look at it... Regards, Suyash. |
|
Hello Felixksp,
try this: before installing the app using PC Suite, try placing the JAD and JAR to different folders. Then install the JAR using PC Suite and check if the 'Always allowed' is still there available. If not, then it's clear that using PC Suite for JAR installation means installing both JAR + JAD if they are in the same folder. Regards, r2j7 |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| MIDP applicatyion accessing a servlet not working in series 60 emulator | ferozekadamapuzha | Mobile Java General | 11 | 2008-05-07 19:04 |
| Redirect problem on Nokia Series 40 | diod | General Browsing | 2 | 2008-03-02 11:44 |
| Problem in NewL() of CVideoPlayerUtility (series 60 2.0 SDK) | mishrasaurabh | General Symbian C++ | 1 | 2004-12-31 14:08 |
| Series 60 Concept Emulator (SDK Beta 0.2 Linux) not working | mattbee | Mobile Java Tools & SDKs | 1 | 2003-06-10 12:43 |
| Series 60Series 60 MIDP Concept SDK Beta 0.2 Linux bug? | kauppi | Mobile Java Tools & SDKs | 3 | 2003-04-07 10:05 |