Join Today
+ Reply to Thread
Results 1 to 4 of 4
Like Tree1Likes
  • 1 Post By kundancool

Thread: How to register mime types to a application ?

  1. #1
    Join Date
    Oct 2009
    Location
    Pusad,Maharashtra,India
    Posts
    156

    Default How to register mime types to a application ?

    Can anybody tell me ,how to register new mime types in a firmware?
    Please give detailed instructions for it ....

  2. #2
    Join Date
    Jul 2010
    Location
    Mumbai
    Posts
    352

    Default

    sk Kundancool bro.............

  3. #3

    Default

    Quote Originally Posted by MNOMAANW View Post
    Can anybody tell me ,how to register new mime types in a firmware?
    Please give detailed instructions for it ....
    Now if you want to add a MIMETYPE to a firmware while modding
    this will need you to mod two files ie.
    cramfs-root-CG43/etc/mime.types
    cramfs-root-CG34/preloadapps/SysMime

    I will give you an example how to add a MIMETYPE. lets take an example I will add .rar MIMETYPE to Assistant application which is in my firmware.

    now open mime.types file and search for rar text
    like for example mp3 MIME looks like this
    audio/mp3 mp3
    if you find like this
    application/x-rar rar
    then we have to do nothing in this file but leave it open in side
    but if it does not have this line with rar add it
    now open SysMime file and edit it and create a entry
    [application/x-rar] <== This should be from mime.types file that we added
    AppID = {8a2b9b37-83e7-a8d9-82cf-000000000018}
    AppList = {8a2b9b37-83e7-a8d9-82cf-000000000018};
    note that red color registry entry is of Assistant application just check it from SysRegistry

    and now save both files
    now .rar extension is added with Assistant application

    NOTE : there should not be any conflicting entries in both files and use a UNIX based editor like Notepad++
    If you have any doubt ask here and If my post was helpful to you use thanks button to say thanks
    MNOMAANW likes this.
    Motorola A1200 : Beast
    Motorola MOTOROKR E6/E6e : GoldenBird/Bricked
    Samsung Galaxy Y S5360 : Stock ROM (Gingerbread 2.3.6) - ROOTED


  4. #4

    Default

    First of all if you want to register Mime types while you are using a firmware then just use the open with option. by holding the stylus on the file and choose the application
    Suppose the filename is filname.ezx and you want to register the .ezx extension to any application which is installed on your phone then just hold the stylus on the file and use the open with option and in open with menu select the application that will open the file and then check the box Always use this program to open this filetype
    Motorola A1200 : Beast
    Motorola MOTOROKR E6/E6e : GoldenBird/Bricked
    Samsung Galaxy Y S5360 : Stock ROM (Gingerbread 2.3.6) - ROOTED



 
+ Reply to Thread

Similar Threads

  1. Are there 2 types of A1600 ?
    By pkshima in forum A1600 General Chat
    Replies: 6
    Last Post: 09-28-2009, 09:14 AM
  2. Mime in mpkg package file.
    By eakrin in forum Development
    Replies: 7
    Last Post: 02-26-2008, 04:16 AM
  3. Q: Different types of permissions
    By Smaniac in forum A1200 General Chat
    Replies: 4
    Last Post: 11-02-2007, 11:28 AM
  4. CCmove register
    By sylvain in forum -The Lounge-
    Replies: 5
    Last Post: 04-23-2007, 12:59 AM
  5. Types of memory
    By lotech in forum E680i General Chat
    Replies: 4
    Last Post: 06-14-2006, 02:05 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