[Q] How can I link my ListPreference to an actual piece of data in another apk - Android Software/Hacking General [Developers Only]

So, I have edited the CM9 Settings.apk AND SystemUI.apk. I added the following code
Code:
<ListPreference
android:entries="@array/dutchgfx_entries"
android:title="@string/dutchgfx_title"
android:key="dutchgfx_****"
android:summary="@string/dutchgfx_summary"
android:entryValues="@array/dutchgfx_entryvalues" />
to the system_settings.xml.
My list works and appears and I can select my options correctly.
But, I need to link this preference to @color/notification_item_background_color in SystemUI.apk, and I do not know even where to start. If any of you can give em any insight as to how to do this, i'de be very grateful. here is a screenshot of my menu (in case it helps at all)
{
"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"
}

Bump

Got it to work, just need to figure out how to make the data send now, i have new project, buttons preferences and etc, just wanna send color code from one app to another. Help anyone?

Related

>1 instance of wm5newmenu? yup.

i read somewhere, that multiple instances of wm5newmenu arent possible.
So, i thought i check something to make it possible, and it works.
Now, i have one menu under softkey 1, and second menu on softkey 2. both are different, and can be placed anywhere on screen
Method is simple, but i am not sure, if i can say how - registry editor and hexeditor are needed to make it possible..and it is possible.
i am so damn happy, no more launchers=more RAM.
Thanks for author for such useful app.
testscreen:
{
"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"
}
as You can see both menus are similar now..but not the same all i need is to configure new new menu now
btw, i managed to do the trick to have INDEPENDENT configurators too, and it's working.
upd: oops damn, sorry i post it in wrong forum ... could post be moved to..somewhere?

Manila Help - People Tab

Am trying to change the gray square background of the pics on the "People" Tab.
I thought I found the correct Manila file (1a30a317_manila) as it looks like (and is called "bg_frame_normal"):
{
"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 when I change it (the 1a30a317_manila file) to look like:
I get this (on the right):
(Obviously I figured out the "Add Favorite" option...but am looking to change things up for my contacts.)
I have also changed the following without luck:
1d1da8f4_manila
03fe172b_manila
10a48f74_manila
2a865d86_manila
625c6c57_manila
3a28e9e8_manila
Any ideas!?!
Thanks in advance...
the needed files!
Here you have the list of the needed files:
framework:
02420dbe_manila
11487091_manila
1a30a317_manila
7a0b0cad_manila
Contact information:
38af9109_manila
59fbe65f_manila
Remove crosses:
2d096e24_manila
54d551d7_manila
With this information it will works!
thank you! i was going mad looking for all of them...
can't wait to get it going!
EDIT:
In addition to your files, you also need to edit: 302a07fe_manila
(this is the bottom bar when you press there!)

[Q] Start menu "sorted"

Hey there,
Is there a way to "sort/clean" the start menu. Usually the start menu ist collumnwise shifted. Is there a way to get the menu straight like on the iphone (bad word ^_^).
I hope its understandable? Below are pictures.
{
"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"
}
vs.
Not sure about sorting, but to change the layout you can use this:
http://www.xda-developers.com/windows-mobile/tweak-wm6-5-x-start-menu-easily-with-jwmd-armids/
No, not really,
I don't care about how many grids I have.
Just want to have it sorted (see images above)
use a third party app called "vito winterface" clean looking...search for it and try the trail version...m sure u will like it !
You can use another utility made by nullstring. It lets you sort by name, etc. and I think you can move the shortcuts around as well. If you feel like using custom icons, it can do that too.
http://forum.xda-developers.com/showthread.php?t=567080

Custom Themed Youtube/VideoPlayer in Android

Hi,
got another problem here.
I'm using an ICS themed Custom ROM for my Mt6573 Device, and got some Problems here.
the Dev of this Rom build that "feature" into the Rom, but it isn't working for me properly.
Normally, the HQ Button used to be inside the Preview-Picture ( on the bottomleft side) but in this case its themed under the Previewpicture.
I cannot start videos that way, it isn't loading.
Maybe someone of you can tell me what apk, jar or file is the cause of this problem? where can i change it? maybe some custom libs?
It is not the framework,i copied SystemUI.apk and the complete framework folder to another similar Rom and it is working there nicely(HQ button in the previewpicture, not below the picture)
{
"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"
}
the red arrow shows what i mean.
thx, chris

[Q] How to edit data use in the notification panel ?

Hi,
I've already asked in help thread, without any answers, so I do re-ask it there, hoping someone will be able to bring useful answer or any trail.
So, I would like to edit the data use we can see in notification panel, as shown in the attached screen.
Why ? 'Cause my operator's data won't synch with my phone's, and I would like them to be synched as well. I would want to directly edit the data consumption, but I can't find the file where these data are stored.
So I could write a shell script letting me to re-setting data usage, when I need it (when my operator's and my phone's are desynchronized)
I hope I was clear enough
Thanks you for your future answers
PS : of course the phone is rooted, and I am used to bring such modifications to my phone.
Screen attachment:
{
"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"
}
Up
Up. Any ideas?

Categories

Resources