sk Kundancool bro.............
Can anybody tell me ,how to register new mime types in a firmware?
Please give detailed instructions for it ....
sk Kundancool bro.............
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 thisif you find like thisaudio/mp3 mp3then we have to do nothing in this file but leave it open in sideapplication/x-rar rar
but if it does not have this line with rar add it
now open SysMime file and edit it and create a entrynote that red color registry entry is of Assistant application just check it from SysRegistry[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};
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
Motorola A1200 : Beast
Motorola MOTOROKR E6/E6e : GoldenBird/Bricked
Samsung Galaxy Y S5360 : Stock ROM (Gingerbread 2.3.6) - ROOTED
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