Change context menu in def. messaging app? - Hero, G2 Touch Android Development

Hi,
since HTC provided us with their kernel I am looking through the internet How do I modify context menu in default messaging app..
In default Android 1.5 (w/o Rosie UI) i looks like this (in Eclipse AVD Emulator):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
But who(!) from HTC came with idea, that following option are more useful?:
[- show all threads (I have "Back button" - it does the same)]
- quick text -> OK
- write (why? I clicked input area => i really want to write...)
- attachment -> OK
- delete -> OK
- more (add subject and smiley)
Moreover - why is the keyboard hiding, when I press Menu to evoke context menu? If I want to insert smiley today i have to:
1) write it char after char = : then - and then click the complete smiley from dictionary
2) insert smiley composed from two char (eyes and mouth) if I switch keyboard view. but it doesn't convert into an icon
3) click menu -> more -> insert smiley -> choose one -> tap input field -> continue writing
instead of click menu -> insert smiley -> choose one -> continue writing
I think Insert smiley or add subject (in MMS) is much more useful (at least for me)
I think it won't be that difficult, but I am not the "programming guy"...

Hi,
the kernel is what manage hardware, memory, thread, cpu, etc. It has NOTHING do do with user interface or applications. I think you are looking in the wrong direction...

Furthermore, HTC have not released the source code of their versions of the applications, so they can't be "changed" - the best you can do is "replace".
Note that whilst Android is open source, it has been released under the Apache Software Licence which means that HTC have absolutely no obligation to release the source code to their version of Android and its applications.
Regards,
Dave

Related

[Q] Change the order of the apps in the menu

Any way to change the order of the Apps in the menu?
/ I mean it should better to view them by alphabetical order /
I think the order stored in a (text) file. If we could find it, we could able to make an application (for a PC, may java app for the phone) to re-order them, and that application could push back the new file...
Check with sTune for instance folder:
Registry\MainMenu_reg.ini
Here are 10 Pages... each are for 12 Apps... maximum 120 Apps on 10 sites.
Apps have MenuID
Where the ID exact stored, NO idea at the moment... So you have to understand which ID is your App.
As every Page is arranged by
MenuIDx you can find App per count...
First left App on top starts with 0, last right App bottom ends with 11...
Rumours about MainMenu_reg.ini... depend on Firmware Version it is writeprotected.
To sort by alphabet it is easier to do it on handset.
In my opinion.
Best Regards
Edit 1.
See here for some Screenshots:
http://forum.xda-developers.com/showthread.php?t=916940
As example Route 66 the Navigation on ID 53. Now you could copy this 53 to every Position you want.
Edit 2.
sTune is an PC Tool with the Power to change MainMenu_reg.ini and copy back to handset. See last Tab.
First:
We should have explore to find the connection between the ID and the location where the app stored (in memeroy or an SD card)
Next: we have to pair the ID with the application'S info to read the name of the app from the XML
Then we should do the trick to change the IDs in the matrix of the menu
I found that Softkey_reg.ini use the same index number to know which 3 app used on softkeys as you see below:
#Version
Version=1
#Softkey
SKMenuID0=67
SKMenuType0=0
SKMenuID1=69
SKMenuType1=0
SKMenuID2=68
SKMenuType2=0
It should be changed to any ID of an app
On the right bottom corner of the first page of mine menu there is a Flash Torch app. As I found, the app id# is 190. I searched for it, and i found under (where applications installed) in a sys file called Appinfo.sys
Registry/MainMenu_reg.ini:
#Page0 (first page)
..
MenuID11=190
Mount/Mnt/Mmc/Others/[email protected]@[email protected]@__/XYZ/Info/Appinfo.sys:
<Application ID="190" AppId="3w1n2nuqxk" Name="Flash Torch">
The connection is:
(MainMenu_reg.ini).MenuID11 -- > (Appinfo.sys).Apllication ID --> Name
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now somebody should make a java widget, what should read the Name from every Appinfo.SYS, and put them into an array, sort them by the first letters, and put index orders, save the MainMenu_Reg.ini to SD card, then replace it with the fresh new ordered numbers

[JUN 26] ---- [Icon Set] From Yosef

After many times of Flashing new Roms I tired every time use the " Advanced Configure " tool to change the icons of some Apps .
I found all names of folders that Apps use . One step you need to do
1) Install " Windows Phone Device Manager " .
2) Past The Folders (Applications and Windows) via Explorer .
I added some programs to zip:
1) Accent Changer - to change the color of regular Apps as you wont ...
2) Advanced Configure 1.2.1.1 beta
3) Battery Percent No Do
4) Restart
ICONS-1.0.rar
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
THANKS BUTTON IS DOWN THERE ​
Somebody ? Replay ...
Yosef said:
Sorry for my ugly English ,
BUT :
After many times use of the icons set of drkfngthdragnlrd i think that some one must do the ugly work of theme combiner . I took icons of drkfngthdragnlrd (regards to him) , and put them to the folders of the apps .
All what you must do is " PAST " the folder to the right place
AND :
I putted to the zip AccentChanger.xap , to change the color of regular apps as you wont ...
DOWNLOAD IT
Thanks button is down ...
Click to expand...
Click to collapse
No Idea what you are on about?? But Go here: http://forum.xda-developers.com/showthread.php?t=1055567
There is a lot of icons and instructions on how to do it properly. Least you wont put the wrong folder in the wrong place.
FPM
FlowerPotmen said:
No Idea what you are on about?? But Go here: http://forum.xda-developers.com/showthread.php?t=1055567
There is a lot of icons and instructions on how to do it properly. Least you wont put the wrong folder in the wrong place.
FPM
Click to expand...
Click to collapse
There you must check every single icon ... I do it every thing in folder.
you must only past the folder

Power and logout options from Win+X menu

If you use Windows 8, you may miss the options in the Start menu such as shut down, restart, logout, etc. Well, my program brings them back! Once installed, you can click in the bottom left corner of the screen (or use the Win+X keyboard combination), then select Shut down from the menu. This brings up a program with the following options:
Shut down
Sleep
Restart
Sign out
Switch user
Lock
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Just download it from the link below, extract it to wherever, then run Setup.exe
I have tested it, and I've had a friend test it, and it works. If it doesn't work for you, please tell me, and I will try to help out as best as I can.
UPDATE: Since uploading this, I've tested it on another PC, and the shortcut isn't being created. I am looking into this, but in the meantime, you can install my program, then use WinAero's Win-X Menu Editor to add a shortcut to the menu. You can download the Win-X Menu Editor from here: http://winaero.com/download.php?view.21
Could you please provide some more info on how this works? Hacking the Win+X menu, that's awesome... but please don't just give us an opaque binary that I'm going to have to decompile before I can be sure it won't mess something up (on a system that I can't afford to use as a guinea pig). Either provide some info on how the hack works (as simple as "it modifies registry key [foo]), or the source code, please!
GoodDayToDie said:
Could you please provide some more info on how this works? Hacking the Win+X menu, that's awesome... but please don't just give us an opaque binary that I'm going to have to decompile before I can be sure it won't mess something up (on a system that I can't afford to use as a guinea pig). Either provide some info on how the hack works (as simple as "it modifies registry key [foo]), or the source code, please!
Click to expand...
Click to collapse
The power options part is just a program I put together in Visual Studio, it's just a form with some buttons. The other program, which puts the shortcut to the power options in the Win+X menu, is something I found in an article on Cnet about customizing Windows 8. No registry entries are modified, it just adds a shortcut to the folder C:\Users\%USERNAME%\AppData\Local\Microsoft\Windows\WinX. There's nothing to worry about.
Cool, thanks for the info! That's awesome.
I've stopped working on this as I no longer have any use for it (I'm now using Stardock's Start8). I am still happy to answer any questions and may provide the original files if requested.
Sent from my GT-I9305T running CyanogenMod 10.1

[Q] Need help to configure keyboard...

Managed to install the Samsung Chinese IME, however, when I click on the "settings" button to activate the popup to get to the mic , error appeares that "Samsung Chinese IME has stopped working".
Since the voice input button shares the button with other functions, so you have to long press the settings button, select the mic icon and then the mic icon will stay there in that place.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(see screenshot)
Thus I can never have the MIC button as the default button, since it cannot be activated by any chance.
I did some research and found out that this button is called DefaultMultiModalKeyAs
<Cs</CSCFeature_Sip_DefaultMultiModalKeyAs>
Can someone tell me, where this default setting for extra installed keyboard on S4 mini is saved? Maybe in a .xml file?
Thus I can change the setting in the .xml file manually with a text editor?
Thank you very much!
anybody help please?
thank you.
You need to add the following in your features.xml
Code:
<CscFeature_Sip_DefaultMultiModalKeyAs>VOICE</CscFeature_Sip_DefaultMultiModalKeyAs>
These features can be found in /system/csc/feature.xml
Some users have reported on being on a rom that does not have feature.xml. If you are one of these you may try adding the code to /system/csc/others.xml (same directory).
For help on how to add it, see [CSC features] Enable secret CSC features on Note II in my signature.
PS: I dont know i this will work on S4. I dont have one.
kkoolpatz said:
You need to add the following in your features.xml
Code:
<CscFeature_Sip_DefaultMultiModalKeyAs>VOICE</CscFeature_Sip_DefaultMultiModalKeyAs>
These features can be found in /system/csc/feature.xml
Some users have reported on being on a rom that does not have feature.xml. If you are one of these you may try adding the code to /system/csc/others.xml (same directory).
For help on how to add it, see [CSC features] Enable secret CSC features on Note II in my signature.
PS: I dont know i this will work on S4. I dont have one.
Click to expand...
Click to collapse
Hello!
Thank you so much.
this command line is built in already for the SAMSUNG deafult keyboard at /system/csc/others.xml.
however i can i apply this setting to the Chinesse Samsung Keyboard?
Thank you!

[HOW TO] Customizing your phone via CSC (wallpaper gallery, data toggle)

I'm quite new to the experience of digging into the Android system to make it fit exactly all my needs and wishes.
As many others I stumbled into one question: why the stock Wallpaper Gallery has only few pics and, moreover, why there isn't an option to add more pictures?
The answers I found on the Internet either didn't properly apply to my phone ROM or they were not much feasible (like tampering with the system resources files).
But I observed something interesting... a custom vendor wallpaper image added to the default wallpaper gallery; I tried to find the trace back to the source files that made it possible that addition and I found this:
/system/csc/custom.xml
Code:
<Display>
<NbWallpaper>1</NbWallpaper>
<Wallpaper src="/Customer/XTE/Wallpaper/Sun 480 x 320.jpg" width="480" height="320">
<Position>1</Position>
<FileType>JPG</FileType>
</Wallpaper>
</Display>
Modify that at your will and add pictures to the Wallpaper Gallery in a simple way.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Note: the 3rd wallpaper is a custom one that I added by injecting it directly to the TwWallpaperChooser.apk with same name of a previous one picture, actually replacing it.
I also found that through the use of CSC files a Data toggle option can be conveniently added to the menu that comes with a long press of the power button.
Unfortunately, despite hours spent in a trial & errors task, I haven't been able to figure out where it actually is saved the option that makes appear the Data toggle.
The best thing that I've come to know is that to have the Data toggle available I need to have AT LEAST this two files (with proper permissions and owner):
/system/csc/custom.xml
/system/csc/sales_code.dat
custom.xml can be as small as this:
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<CustomerData>
<GeneralInfo>
<SalesCode>HAL</SalesCode>
</GeneralInfo>
</CustomerData>
Note: Sales code is set to HAL but it really doesn't matter as HAL CSC folder doesn't exist; it could be PPP or XYZ and still would be fine.
sales_code.dat must contain XTE (or maybe other *valid* code that I don't know at the moment).
Other than those two files the /system/csc folder can be empty and still the Data toggle is available.

Categories

Resources