Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User thone's Avatar
    Join Date
    Aug 2005
    Posts
    3
    I am a content provider sharing java games. I have 3 problems now:

    1) I have some problem delivery the jar file (jad file is ok) for different operators in my country. I do use the same file, the same mobile phone but different sim card (for different operators), we tested on Nokia 6230 and Nokia 6600. Two operators work just find however, there is one operator which always reports invalid file. I first think of the file size however after sending file size of 56K, the problem still persists, "invalid file". I felt the the mobile downloaded the whole file before.

    2) Invalid file problem on Nokia 6230. I put a game with size around 61.3K in the mysql database, then query it with PHP when delivery. Once, I got always error "invalid file" reports, however, after recompile and change something in the code, with file size 62.1K, it works file. I also tested 61.3K via bluetooth, it works fine too. I wonder if they are some byte order or bit stuffing problem there.

    Thank you.

  2. #2
    Nokia Developer Moderator petrib's Avatar
    Join Date
    Mar 2003
    Posts
    9,430
    Is the problem operator (their WAP gateway) doing something to the MIME type header (assuming your own server is sending the correct MIME type for .jar/.jad files) along the way to the phone?

    Some phones (as well as operators) have limits to the max download size.

    For the 6230 the max .jar size is stated to be 125KB on http://forum.nokia.com/main/0,,018-2...tml?model=6230

    No fixed file size limit on the 6600 (limited by amount of available memory only).

    You said you have three problems, but wrote only about two.

  3. #3
    Registered User thone's Avatar
    Join Date
    Aug 2005
    Posts
    3
    Hi,

    Thank you for your answer. The jad and jar file are working properly with 2 mobile operators <- Can I conclude that the server is sending the correct MINE-Type? I tried to load game from other provider using the problem operator, that game has the file size of 15xK and it works just fine.

    So, I think that it should be my fault somewhere. I really have no idea how to debug it since it just doesnt work for this operator. Do you feel anything fishy in my implementation?

    Sending the file, I have PHP code as follow (for jar):

    header('Content-type: application/java-achieve');
    header('Content-Disposition: attachment; filename="'.$data['FileName'].'"');
    echo $data['data'];

Similar Threads

  1. Mobile Network Latency
    By aeichler in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2003-06-16, 15:18
  2. Replies: 2
    Last Post: 2003-05-26, 08:32
  3. File too large to download using WAP
    By nlecomte in forum Symbian C++
    Replies: 0
    Last Post: 2003-04-29, 07:33
  4. Can any Wap 2.0 mobile phone access any Wap 1.2 content provider?
    By jfyang99 in forum Mobile Web Site Development
    Replies: 1
    Last Post: 2002-11-12, 14:15
  5. Some WAP Push over GPRS and General WAP Questions
    By gnp in forum Mobile Web Site Development
    Replies: 1
    Last Post: 2002-07-05, 08:04

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved