×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Apr 2011
    Posts
    35

    Is there any way that we can change the Java apps default installation folder ?

    Hi all,

    I have developed an application for Nokia devices using J2ME. When I installed the app on devices , the app will get into either "Applications" folder or "Games" folder.

    An user of our app reported that the app is not usable as it is burried in "Games" folder on his Nokia C3-01 device,
    So Could you please let me know if there is any alternative taht we can change the default installation path for the Java apps. or Can we create a shortcut or move the app to different folder of our wish after installation.




    Thanks in advance
    Haripriya

  2. #2
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: Is there any way that we can change the Java apps default installation folder ?

    Hello Haripriya,

    yes, that can be achieved by using the following in the JAD file:

    Nokia-MIDlet-Save-Location: Root

    That places the MIDlet into the root folder i.e. just above the Application and Games folders.

    More about this on Java Developer's Library (Java Developer's Library 3.9 > Developer's guides > Application framework > JAD and JAR manifest attributes):

    http://library.developer.nokia.com/i...E4A538FB8.html


    Regards,
    r2j7
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

  3. #3
    Registered User
    Join Date
    Apr 2011
    Posts
    35

    Re: Is there any way that we can change the Java apps default installation folder ?

    Thank you Raj for your reply.

    Will test using that.

  4. #4
    Registered User
    Join Date
    Apr 2011
    Posts
    35

    Re: Is there any way that we can change the Java apps default installation folder ?

    Hi Raj,

    I have installed the app by adding teh attribute you specified.The path is not changing in any device.I have tested in S40 devices

  5. #5
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: Is there any way that we can change the Java apps default installation folder ?

    Hello Haripriya,

    now that is strange. That used to work as defined by the documentation.

    You specified that you used Nokia C3-01 for testing. Is that the one which fails? Which other Series 40 devices are you using for testing?

    Regards,
    r2j7
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

  6. #6
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: Is there any way that we can change the Java apps default installation folder ?

    Quote Originally Posted by r2j7 View Post
    Hello Haripriya,

    now that is strange. That used to work as defined by the documentation.

    You specified that you used Nokia C3-01 for testing. Is that the one which fails? Which other Series 40 devices are you using for testing?
    ...and could you also specify which installation method (Bluetooth, OTA, USB) you used?


    Regards,
    r2j7
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

  7. #7
    Registered User
    Join Date
    Apr 2011
    Posts
    35

    Re: Is there any way that we can change the Java apps default installation folder ?

    Hi Raj,

    I have tested in Nokia 5130 and C1-01 as well. Im using PC suite method of installation. Will it makes any difference ? Do I need to use OTA method ?

  8. #8
    Registered User
    Join Date
    Apr 2011
    Posts
    35

    Re: Is there any way that we can change the Java apps default installation folder ?

    Any help on this ?

  9. #9
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: Is there any way that we can change the Java apps default installation folder ?

    Hello Haripriya,

    basically this JAD attribute can be used when downloading the application via OTA.

    I am yet to verify whether there are other requirements involved, including whether or not application signing is required for using the JAD attribute. I will get back to you as soon as possible on this.

    Regards,
    r2j7
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

Similar Threads

  1. Installation problem for some java apps
    By seamus_rooney in forum Mobile Java General
    Replies: 1
    Last Post: 2006-11-08, 17:14
  2. Series60 3rd Edition MR + second installation + installation folder
    By sliponoga in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2006-10-20, 08:09
  3. Replies: 0
    Last Post: 2006-07-24, 08:03
  4. Bug with installation of java apps on Nokia6230i
    By _DENgerous_ in forum [Archived] Other Programming Discussion 关于其他编程技术的讨论
    Replies: 1
    Last Post: 2005-09-28, 14:37
  5. Replies: 1
    Last Post: 2001-11-06, 20:55

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×