Join Today
+ Reply to Thread
Results 1 to 2 of 2
  1. #1

    Default memCheck, J2ME midlet that use to check momory space in Moto

    memCheck is a Java midlet that use file access API to read directory used and available size in phone memory and card memory. this midlet show a total size, available size, and used size of each partition in phone. with a file access API this midlet need User data read permission to run. but this permission is only in Motorola Trusted midlet that I can't submit and done it. so I find the way to hack a midlet permission from ccmove.com by changing midlet domain to Manufacturer or Trusted Third Party.



    Requirement.
    1. Linloader was installed.
    2. showEZX.lin was executed before runing this midlet.

    and this midlet need a User data read and User data write permissions. for Motorola A1200 and Rokr E6
    First we hack for a midlet permission by
    1. Goto folder .system/java/DownloadApps/MIDletXXXXX/Files where XXXXX is a midlet runing number. and check for file .jar and .jad that this is a right midlet to be hack a permission.

    2. go upper 1 folder to .system/java/DownloadApps/MIDletXXXXX/ and edit registry.txt in lines

    Is-Trusted: 0 to Is-Trusted: 1
    Domain: Untrusted to Domain: Manufacturer

    or

    Domain:Untrusted to Domain: Trusted Third Party
    PS. becareful if going into this folder by telnet. try copy registry to edit in PC and copy it back.

    after this we got a permission. but we need to manage it by
    1. Manage midlet permissions by tap and hold on midlet icon
    2. select Manage.
    3. select Permissions.
    4. set permissions that you want to use to Never Ask for Manufacturer domain or Ask once per application for Trusted Third Party.[/img]
    Attached Files Attached Files

  2. #2
    Join Date
    Mar 2008
    Location
    Goa
    Posts
    3

    Default

    Hi all,
    I am Mudit Gupta, working on a project using j2me.I am using motorola A1200 for my project. I downloaded your application and it worked fine.
    But when i am running my application, reading the file using JSR75 giving me error. i changed the permission, but still i am getting error.

    My source code is --

    FileConnection fc = (FileConnection) Connector.open("file:///MemoryStick/help.txt");
    System.out.println("Trying to open a file in read mode");
    //System.out.println("File Created in Write Mode....");
    if(!fc.exists())
    {
    throw new IOException("File does not exists");
    }
    if(System.getProperty("com.motorola.file.access") == null)
    {
    System.out.println("File READ not allowed");
    }

    InputStream is = fc.openInputStream();
    StringBuffer sofar = new StringBuffer();
    byte c;
    //int length = is.read(c, 0, 1024);

    while ((c = (byte)is.read()) != -1)
    {
    sofar.append((char)c);
    }
    is.close();
    fc.close();
    viewer = new TextField("View File: " + sofar, null, 1024,
    TextField.ANY | TextField.UNEDITABLE);

    Error "The application has expectedly quit. Contact the application provider to resolve the issue. 0"


 
+ Reply to Thread

Similar Threads

  1. Replies: 17
    Last Post: 12-11-2007, 08:35 AM
  2. moto midlet manager
    By don57 in forum E6 General Chat
    Replies: 3
    Last Post: 07-12-2007, 07:27 AM
  3. How to check ezxlocal space and how to clear it.
    By eakrin in forum Moto Skins Technical Forum
    Replies: 20
    Last Post: 09-21-2006, 12:52 AM
  4. midlet permissioning
    By xml780 in forum A780 General Chat
    Replies: 31
    Last Post: 01-25-2006, 07:22 PM
  5. Replies: 2
    Last Post: 07-13-2005, 02:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Optimization by vBSEO 3.6.0 RC 1