[Q] Default contacts save location (DECOMPILED XML) - G2 Q&A, Help & Troubleshooting

I'm sick of the default save location "in phone" as it doesn't sync with google (learned it the hard way and i always forget to choose google when i'm adding new ones) so today i decompiled the LGContacts.apk with apk studio and under /res/xml/ i found contacts_settings.xml with code looking like this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<profiles>
<profile>
<siminfo operator="TMO" country="AT" mcc="232" mnc="03" />
<item name="NEW_CONTACT_DEFAULT">In Phone Memory</item>
<item name="DEFAULT_DISPLAY">Phone and USIM</item>
</profile>
<profile>
<siminfo operator="TRA" country="AT" mcc="232" mnc="07" />
<item name="NEW_CONTACT_DEFAULT">In Phone Memory</item>
<item name="DEFAULT_DISPLAY">Phone and USIM</item>
</profile>
<profile>
<siminfo operator="A1" country="AT" mcc="232" mnc="01" />
<item name="NEW_CONTACT_DEFAULT">In Phone Memory</item>
<item name="DEFAULT_DISPLAY">Phone and USIM</item>
</profile>
<profile>
<siminfo operator="ORG" country="AT" mcc="232" mnc="05" />
<item name="NEW_CONTACT_DEFAULT">In Phone Memory</item>
<item name="DEFAULT_DISPLAY">Phone and USIM</item>
</profile>
First of all i should say that i'm new to this stuff...
Thats just a small part of it, but it seems like depending on which country and carrier you have lg decides where you should save your contacts by default, and all of them are set to phone memory.... If i'm right this is really stupid!! Why would they override something like that??
Now i guess i could just replace "in phone memory" with google account but i dont know the right term for it. I tried google, google accoumt and gmail as long shots but it didn't work. Can someone help me please?? Of course it's under /system/priv-apps/LGContacts.apk
Thanks

No one?

chripopper said:
No one?
Click to expand...
Click to collapse
Have tried a bunch of editing in that file now with no avail...

Related

Battery Status themes and theme questions

Ikarus suggested we start a new thread with our customized themes and questions on theming, so I thought I would post my current to start it off.
Theme includes the segoe ui font. Ikarus said he would assist in this thread as time permits for him, otherwise anyone with BS experience can jump in and assist anyone with problems.
If you don't know what the excellent Battery Status is, check out here
Here is the online-manual for customization, which is linked in the first post of BS-Thread too.
Yet another clock theme
Here's a clean and simple theme i made for my wizard. Not all meters can be shown, since i made icons for only the ones i use (no operator info, no AM/PM indicator for 12h clock, maybe something else is not implemented).
Includes icons for tray launcher - BT on/off, WiFi on/off, Phone on/off, rotate screen, disable screen and lock device.
With Ecqlipse 2 icons used for Touch commander and ppcProfiles Pro with modified tray icons and profile selection menu to match the overall look (done with ResourceHacker since ppcProfiles has no skinning option) it makes quite a good impression
Works best with HTC Touch Today screen theme, or other dark backgrounds.
Enjoy.
mr_deimos said:
Here's a clean and simple theme i made for my wizard. Not all meters can be shown, since i made icons for only the ones i use (no operator info, no AM/PM indicator for 12h clock, maybe something else is not implemented).
Includes icons for tray launcher - BT on/off, WiFi on/off, Phone on/off, rotate screen, disable screen and lock device.
With Ecqlipse 2 icons used for Touch commander and ppcProfiles Pro with modified tray icons and profile selection menu to match the overall look (done with ResourceHacker since ppcProfiles has no skinning option) it makes quite a good impression
Works best with HTC Touch Today screen theme, or other dark backgrounds.
Enjoy.
Click to expand...
Click to collapse
Nice job Mr_Deimos, looks great with a dark theme.
great job thank you
All the themes will be moved here this weekend
maybe interesting for theme-makers..
Eyecandy for KDE
Many sets of images in png-format.. maybe useful for making themes
Just started using this program and love it.
I actually got rid of Ilauncher since all I was using it for was the meters.
Keep those themes coming
TKS
Hi ikarus,
- How do you add the class="start_app" in the class "date" or the class "cpu_utilization" ?
I tried <Item class="date" ontap="\Windows\Calendar.exe" > but it doesn't work.
- How do change the icons for class="battery_ac_icons" ?
- Sorry to ask : where can I find the manual with all the tags ?
- Something strange : if the view with the CPU load is not active, the CPU load is not displayed in the taskbar. If the view is active and BS is minimized, the CPU load is still displayed in the taskbar.
- I believe the skin setup should override the option setup : if the option is set, the CPU frequency is bold, even with :
<Item class="cpuspeed" >
<label fontfamily="Tahoma" fontsize="12" bold="0" />
</Item>
- When trying to display the CPU utilization below the icon, using :
<Item class="cpu_utilization" ontap="CtlPnl" index="4" subindex="2" >
<image src="CPU.png" width="12" top="2" left="10" />
<label fontfamily="Tahoma" fontsize="12" width="40" top="7" left="-25" align="center" />
</Item>
Only the label area below the icon is refreshed (12 pixels) instead of the whole area (40 pixels).
Thanks again for this great apps.
Kind regards,
Herunim
Themes
Theme by Nostramo. Many Thanks to Nostramo for his great work!!!
Download -> see attachement
ClockTheme by RedUsr:
Download -> 4pda.ru
Theme by banan4ik -> internal Link
Minimalistic theme by utak3r --> Download
Example for application launcher:
Code:
<Row seperator="1" >
<View height="20" itemselect="1" >
<Item class="space" >
<image left="-25" src="rotate.bmp" transparent="020202" />
</Item>
<Item class="start_app" onhold="StartApp" path="\Windows\fexplore.exe" path1="\Windows\solitare.exe" />
<Item class="start_app" path="\Windows\BubbleBreaker.exe" />
<Item class="start_app" path="\Windows\solitare.exe" />
<Item class="start_app" path="\Windows\pword.exe" />
<Item class="start_app" path="\Windows\iexplore.exe" />
<Item class="start_app" path="\Windows\Calc.exe" />
</View>
<View height="38" itemselect="1" >
<Item class="space" >
<image left="-25" src="rotate.bmp" transparent="020202" />
</Item>
<Item class="start_app" path="\Windows\Calc.exe" />
<Item class="start_app" onhold="StartApp" path="\Windows\fexplore.exe" path1="\Windows\solitare.exe" />
<Item class="start_app" path="\Windows\iexplore.exe" >
<image smallicon="1" />
</Item>
<Item class="start_app" path="\Windows\ppt.exe" />
<Item class="start_app" path="\Windows\pword.exe" />
<Item class="start_app" path="\Windows\solitare.exe" />
</View>
<View height="62" absolute="2" itemselect="1" >
<Item class="space" absolute="0" >
<image left="-25" src="rotate.bmp" transparent="020202" />
</Item>
<Item class="start_app" title="Calc" path="\Windows\Calc.exe" >
<image top="1" left="25" />
<label width="40" top="36" valign="top" align="center" left="-2" fontsize="-3" />
</Item>
<Item class="start_app" title="File Explore" path="\Windows\fexplore.exe" >
<image top="1" left="65" />
<label width="40" top="34" valign="top" align="center" left="-4" format="wordbreak" fontsize="-3" />
</Item>
<Item class="start_app" title="Internet Explore" path="\Windows\iexplore.exe" >
<image top="1" left="105" />
<label width="40" top="36" valign="top" align="center" left="-2" format="wordbreak" fontsize="-3" />
</Item>
<Item class="start_app" title="Power Point" path="\Windows\ppt.exe" >
<image top="1" left="145" />
<label width="40" top="36" valign="top" align="center" left="-2" format="wordbreak" fontsize="-3" />
</Item>
<Item class="start_app" title="Solitare" path="\Windows\solitare.exe" >
<image top="1" left="185" />
<label width="40" top="36" valign="top" align="center" left="-2" fontsize="-3" />
</Item>
</View>
<View height="112" itemselect="1" multi="1" >
<Item class="space" >
<image left="-25" src="rotate.bmp" transparent="020202" />
</Item>
<Item class="start_app" title=" Calculator" path="\Windows\Calc.exe" >
<image top="1" />
<label width="180" bold="1" valign="top" top="10"/>
</Item>
<Item class="start_app" onhold="StartApp" title=" File Explorer" path="\Windows\fexplore.exe" path1="\Windows\solitare.exe" >
<image left="-216" top="38" />
<label width="180" bold="1" top="46" valign="top" />
</Item>
<Item class="start_app" title=" Internet Explorer" path="\Windows\iexplore.exe" >
<image left="-216" top="76"/>
<label width="180" bold="1" top="84" valign="top" />
</Item>
</View>
<View height="112" itemselect="1" multi="1" >
<Item class="space" absolute="1" >
<image src="rotate.bmp" transparent="020202" />
</Item>
<Item class="start_app" absolute="1" title=" Calculator" path="\Windows\Calc.exe" >
<image left="25" top="1" />
<label width="180" bold="1" valign="top" top="10"/>
</Item>
<Item class="start_app" onhold="StartApp" absolute="1" title=" öFile Explorer" path="\Windows\fexplore.exe" path1="\Windows\solitare.exe" >
<image left="25" top="38" />
<label width="180" bold="1" top="46" valign="top" />
</Item>
<Item class="start_app" absolute="1" title=" Internet Explorer" path="\Windows\iexplore.exe" >
<image left="25" top="76"/>
<label width="180" bold="1" top="84" valign="top" />
</Item>
</View>
</Row>
Example for Clock with seconds:
Code:
<View height="58">
<Item class="clock_digit" >
<image left="-18" resize="85" />
</Item>
<Item class="clock_digit" />
<Item class="clock_seperator" >
<image top="8" />
</Item>
<Item class="clock_digit" />
<Item class="clock_digit" />
<Item class="clock_seconds_sep" >
<image resize="50" top="25" />
</Item>
<Item class="clock_seconds" >
<image top="22" />
</Item>
<Item class="clock_seconds" >
<image top="22" />
</Item>
<Item class="clock_alarm" ontap="CtlPnl" index="16" subindex="2">
<image left="-43" top="4" />
</Item>
<Item class="clock_apm" >
<image left="4" top="2" />
</Item>
</View>
Themes 1
THEMES !!!!!
Theme from banan4ik, modified/fixed miniBS by utak3r --> Download
nothinpack_xo1BSTheme by nothin --> Download
SkinBS_Tiggerbcn --> Download
mini theme by nihil0 --> Download
Themes 2
Mini Theme by nihil0
--> Download
HTC Home style by tzm0510
--> Download
Hello Herunim,
Herunim said:
- Sorry to ask : where can I find the manual with all the tags ?
Click to expand...
Click to collapse
online-manual for customization, which is linked in the first post of BS-Thread too.
Shall i make the fontsize in first thread bigger?
Basically i don't like to emphasize so much, because it irritates more then..
Herunim said:
- How do you add the class="start_app" in the class "date" or the class "cpu_utilization" ?
I tried <Item class="date" ontap="\Windows\Calendar.exe" > but it doesn't work.
Click to expand...
Click to collapse
you have to use ontap="StartApp", which specifies the action to do.
btw. the class="start_app" implicitly makes use of ontap="StartApp"..
After that you can supply the parameters for that action (see manual) e.g. path="\Windows\Calendar.exe"
Don't you've seen the example for AppLauncher at first page of BS-Thread?
Anything you need is used in the example...
btw. i've just moved it to first page of this thread.
Herunim said:
- How do change the icons for class="battery_ac_icons" ?
Click to expand...
Click to collapse
there are a lot of methods, e.g.
- replace the bitmaps for that icons (copy the resources from default-folder to your desktop-computer and check which ones to change)
- use two <image src="..."... > for the images, where you can use png/bmp/gif/jpeg..
Herunim said:
- Something strange : if the view with the CPU load is not active, the CPU load is not displayed in the taskbar. If the view is active and BS is minimized, the CPU load is still displayed in the taskbar.
Click to expand...
Click to collapse
It's by design. The taskbar-indicator is primarily for showing the cpuspeed.
If no cpu-utilization reading is on today-screen (and cpuscaler is disabled), then there's no need to hold the resources for cpu-utilization. Any resources for cpu-utilization will then be released.
Herunim said:
- I believe the skin setup should override the option setup : if the option is set, the CPU frequency is bold, even with :
Click to expand...
Click to collapse
search for toggleBoldFont-Attribute in the online-manual
Herunim said:
- When trying to display the CPU utilization below the icon, using :
<Item class="cpu_utilization" ontap="CtlPnl" index="4" subindex="2" >
<image src="CPU.png" width="12" top="2" left="10" />
<label fontfamily="Tahoma" fontsize="12" width="40" top="7" left="-25" align="center" />
</Item>
Only the label area below the icon is refreshed (12 pixels) instead of the whole area (40 pixels).
Click to expand...
Click to collapse
I will check this as soon as possible, but i don't know when...
Nevertheless, thanks for reporting your observation
Hi ikarus,
The download link for "HTC Home style by tzm0510" in post #10 seems to be incorrect?
Hi ikarus,
Thank you for your answers.
I'm still having troubles with the battery icons:
<Item type="icon" class="battery_ac_icons" ontap="CtlPnl" index="3" >
<image src="OnBatt.png" />
<image src="OnAC.png" />
</Item>
doesn't work.
It seems that path with accents are not correctly handled. Using:
<Item class="cpu_utilization" ontap="StartApp" path="\Windows\Menu Démarrer\Task Manager.lnk" >
<image src="CPU.png" width="20" top="2" left="10" />
<label fontfamily="Tahoma" fontsize="12" width="20" top="7" left="-20" align="center" />
</Item>
makes BS revert to the default theme.
Kind regards,
Herunim
Hi,
I had this code in my xml. The date and clock is showing fine but the alarmon image is always showing even when alarm is set to off.
Anybody knows how to make it work?
Thannks!
Edit : Another question...what does absolute parameter do?
Code:
<Row>
<View height="14">
<Item class="date" ontap="CtlPnl" index="16">
<label text="dddd, dd MMMM yyyy" bold="1" fontsize="12" left="-28" top="2" align="center" />
</Item>
</View>
</Row>
<Row seperator="1" >
<View height="50">
<Item class="clock" ontap="CtlPnl" index="16">
<label text="HH':'mm':'ss" fontsize="40" left="-28" top="2" width="240" align="center" fontfamily="Alien Encounters" />
</Item>
<Item class="clock_alarm" ontap="CtlPnl" index="16" >
<image top="6" left="-22" />
</Item>
</View>
</Row>
From what i've seen, the alarm icon works only if you use png image-based clock. I think it was mentioned somewhere that it won't work with a label class based clock.
Try getting digit files (0.png - 9.png, separator.png and empty.png") and clock code from any of the themes using png clocks to confirm if it is in fact the case.
d8302530 said:
The download link for "HTC Home style by tzm0510" in post #10 seems to be incorrect?
Click to expand...
Click to collapse
oh, okay. thanks for report.. i will delete it. Actually i don't have a more recent link.
Herunim said:
I'm still having troubles with the battery icons:
<Item type="icon" class="battery_ac_icons" ontap="CtlPnl" index="3" >
<image src="OnBatt.png" />
<image src="OnAC.png" />
</Item>
doesn't work
Click to expand...
Click to collapse
could you attach your xml and the images for battery_ac_icons?
Herunim said:
It seems that path with accents are not correctly handled. Using:
...
makes BS revert to the default theme.
Click to expand...
Click to collapse
it's mentioned in the online-manual, but i don't know whether it works with accents.
You must load the xml on your PC with wordpad and "save as" "Unicode-document".
It's defaulted to ansi-encoding which is good for english. Even german users should do it btw...
whysolate said:
I had this code in my xml. The date and clock is showing fine but the alarmon image is always showing even when alarm is set to off.
Click to expand...
Click to collapse
This will NOT WORK yet.
alarmon is part of digit_clock-component and does not work without the digit_clock. I don't know when, but maybe next year i have more time to make it work..
whysolate said:
Edit : Another question...what does absolute parameter do?
Click to expand...
Click to collapse
check the online-manual
Hey Ikarus,
Is there anyway that using "ontap" for a row, we can toggle the view of the next row (right now, for next row action, I can only find "ToggleNextRow" which enables or hides the next row. I was looking for something similar to ToggleView, i.e., ToggleNextRowView)..
build 0264 - 22/12/2007:
- fixed: png allowed for battery_ac_icons
- removed: version-attribute from Window, version < 1 not supported any longer
- added: <Window ... custombg="0" > for using default-system-theme-background
- added: for RegistryTracker,
<image src="filename%d.png"...> respectively <image src="filename%s.ext"...>
for using images depending on registry-value
if a value is not covered by an image, then filename-1.ext (dword) or filename_empty.ext (string) will be used
- added: Mask to apply to registry-value (dword)
e.g. <label text="%d" mask="0xFF" >...
Herunim said:
I'm still having troubles with the battery icons:
<Item type="icon" class="battery_ac_icons" ontap="CtlPnl" index="3" >
<image src="OnBatt.png" />
<image src="OnAC.png" />
</Item>
doesn't work.
Click to expand...
Click to collapse
fixed in build 0264.
shantzg001 said:
Hey Ikarus,
Is there anyway that using "ontap" for a row, we can toggle the view of the next row (right now, for next row action, I can only find "ToggleNextRow" which enables or hides the next row. I was looking for something similar to ToggleView, i.e., ToggleNextRowView)..
Click to expand...
Click to collapse
hello shantzg, there's no way yet. Do you mean to switch the view or open a certain view?
ikarus, i meant open a certain view. Actually, I thought that if we have this feature we can have a "full-fledged" app launcher with BS. In one row, we can have 3-4 items that work as "tabs", and next row contains launcher icons. So, whenever we click on a tab, it switches the view of the next row accordingly so we see the corresponding icons.
Ikarus said that i have to post my problem here...
Here it is:
Screen1 = my Today-Screen
Screen2 = view 2 of BS in my Today-screen
It takes the red marked Field in Screen4 to open the tasks. When I tap onto the Tasks ("7 aktive Aufgaben") it switches to View 1.
Is there something wrong?
And my Problem 2: the green marked Field (in Screen3 and Screen4) doesnt change anything... it should change the views, but it doesnt change...
Please help me. Thanks you!

RSS Hub Stories Number in registry?

Anyone know if its possible to pull the number of unread stories in rss hub from the registry?
Im working on modding a battery status skin to my own needs, replacing the mms icon and counter with an rss icon and counter, just cant find out how i can pull this in.
Rss hub has a today screen plugin (which is a bit ugly) but id assume it stores it in the reg somewhere.
Any help would be great.
Not to worry, just found it at HKCU\Software\Ilium Software\Rss Hub\NewsItemsCount
however my mod just seems to break it, anyone here good with batterystatus?
Original xml file.
<Item class="registry_tracker" ontap="InboxMms">
<image src="MMS%d.png" left="0" />
<label text="%d" suppress0="1" fontsize="+3" bold="1" color="ffffff" left="-28" width="30" align="center">
<registry key_value="HKCU\System\State\Messages\mms\Unread\Count" />
</label>
</Item>
Click to expand...
Click to collapse
and then my version
<Item class="registry_tracker" ontap="InboxMms">
<image src="rss%d.png" left="0" />
<label text="%d" suppress0="1" fontsize="+3" bold="1" color="ffffff" left="-28" width="30" align="center">
<registry key_value="HKCU\Software\Ilium Software\RSS Hub\NewsItemsCount" />
</label>
</Item>
Click to expand...
Click to collapse
i have created the relevant rss0 and rss-1 graphics same as the mms but when i load my version of the mod that icon or where the mms icon would be is gone completely and the two other icons get shunted to the left in its place, but it does seem to be there because if i click to the right of the first icon it loads the "inboxmms" which i havent changed yet, that will ultimately need to be linked to rsshub.
Hope all this makes sense.
There's a BS dedicated thread here.

dock program for ppc

Hi all,
They developed a very cool application on iphone, it is like a dock in Mac:
http://www.iclarified.com/entry/index.php?enid=1698
(i like the v2.0 Dock sunburst of Nate True)
I wonder if any body developed similar thing for ppc ? What is the hard thing to make it for ppc since i dig around with google but can find nothing like that for windows mobile !! Or is there any way you can run a iphone-program on ppc ?
It is also cool if we have an software that could do individual function from Throttle Launcher: it will launch a bottom bar and you can slide and the icon touching is appeared above (attached image). It will be very cool when you launch it from a main icon button in itask
the Samsung Windows Mobile Device (i don't have the name here) has something similar, but there as Todayscreen.
I think an application like this could be made, or may be it is already exist somewhere ?
nobtiba said:
it will launch a bottom bar and you can slide and the icon touching is appeared above (attached image). It will be very cool when you launch it from a main icon button in itask
Click to expand...
Click to collapse
Homescreen plusplus will let you set up a sliding bottom bar that can be turned on/off with a tap on the screen. Then you can set the icon select to enlarge, reduce, or change position of selected icon. Not exactly what your looking for, but similiar.
Hi, thanks alot ! I look at some post about this and it seems to be the right application. However i didn't know how to set up and get the bottom slide bar with icon effect like you said, yet.
And how to call this slide bar to appear ? If only one way is tap on the today screen then it is quite hard to call this slide bar from itask. Because, itask run on the Flashtlite layer.. It can only call a program via shortcut as i use to do...
Need some more suggestions from you please !!!
The unreleased Velocity 103 has an interesting pop up dock as demonstrated by Dieter Bohn in his WMExperts unboxing and first look video.
http://www.wmexperts.com/articles/velocity_103_111_83_301_vota_o.html
I saw the video but what program you recommending ? I still don't know how to use battery status for having the slide docking
This is what I'm using to create a sliding dock on homescreen plusplus ui. When icon is selected it grows by 10 pixels(this is controlled by selmode and itemselect). Selmode controls size it changes, and itemselect controls whether it grows(+ number), shrinks(- number) or stays same(0). I have 5 different pages for today screen, and it shows like this on all 5. This code here is only the slide row i'm using, not the complete xml.
Code:
<Row name="Slide">
<image src="Dock.png"/>
<View itemselect="1" slide="1" selmode="10" height="42" adaptwidth="0" absolute="0">
<Item class="space" ontap="View" index="0" subindex="0">
<image src="home.png" left="-15" top="0" width="35" height="40"/>
</Item>
<Item class="space" ontap="View" index="0" subindex="1">
<image src="settings.png" left="13" top="4" width="35" height="35"/>
</Item>
<Item class="space" ontap="View" index="0" subindex="2">
<image src="weather.png" left="13" top="4" width="35" height="35"/>
</Item>
<Item class="space" ontap="View" index="0" subindex="4">
<image src="radar.png" left="13" top="4" width="35" height="35"/>
</Item>
<Item class="start_app" path="\Windows\OperaL.exe">
<image left="13" top="4" width="35" height="35"/>
</Item>
<Item class="start_app" path="\Windows\IntShrUI.exe">
<image left="13" top="4" width="35" height="35"/>
</Item>
<Item class="start_app" path="\Windows\Start Menu\Total Commander.lnk">
<image left="13" top="4" width="35" height="35"/>
</Item>
<Item class="start_app" path="\Windows\fexplore.exe">
<image left="13" top="4" width="35" height="35"/>
</Item>
<Item class="start_app" path="\Storage Card\Program Files\Live Search\LiveSearch.exe">
<image left="13" top="4" width="35" height="35"/>
</Item>
</View>
</Row>
Could you send me a link where i could know how to configure this xml file ? A brief description like this is very hard for beginner for me to follow Many thanks !
Thanks showako for your suggestion but finally i think this is not really what i am talking about. Because this is the dock that will stick on today screen not a dock program that you can call and exit separately whenever you want.
Since i am going to find an individual program for this purpose and integrate it with itask and this one doesn't suite ...
Is there any other program that people could think of ? Why they can make such the thing for iphone but not windows mobile?
any new hopes on this?
if anyone shows up with a velocity device? is it extractable (the dock i mean)..
it looks like a good idea/app..
any new hopes on this?
if anyone shows up with a velocity device? is it extractable (the dock i mean)..
it looks like a good idea/app..
I think there will be such a program. People here could make much more amazing stuffs so why not this one !?!

3G and H icon stat_sys_download

Is the stat_sys_download.xml file in framework-res.apk the file that controls what icons show up for edge, 3g, h? If so, could someone in the know see if my suspicion is right, that Tmo has 3g and H both set to only display the 3g icon in the status bar. And if someone could mod that file to display the H icon already in the phone when it is in an HSDPA location. I can take that new xml file and MetaMorph it into my phone. Thanks in advance if anyone can help.
Sent from my SGH-T959 using XDA App
I'll look for it myself with apk manager.
Sent from my SGH-T959 using XDA App
I'm not a developer but ill test if u wip up a morph.
sent from my Vibrant.
I got as far as finding that particular xml file. I don't know how to view it, but I'll do some research and get back to you.
cparekh said:
I got as far as finding that particular xml file. I don't know how to view it, but I'll do some research and get back to you.
Click to expand...
Click to collapse
Open it with notepad.
You can view it in any text editor
There is a png file for the H symbol in the stat_sys_data_in_h.png file located in the res\drawable-hdmi folder in the framework-res file
zephiK said:
Open it with notepad.
Click to expand...
Click to collapse
eweo911 said:
You can view it in any text editor
Click to expand...
Click to collapse
That's what the intertubez tells me to do, but when I do that, I get something that is definitely not a text file. Perhaps I extracted incorrectly. I'll keep trying.
This is not the thread to teach me how to develop in Android, but FWIW, here's a screenshot of what I see in my text editor. (I turned on wrap, so you could see the whole file, but it actually is just one or two lines).
I believe you need to have a Deodexed version of the file to do this
Android xml files are in binary form, for the phone to process them faster. Apk manager decompress them so you can read them in notepad. I'll have a look this weekend to see if I can find the code to make it display when you are in an H area.
Sent from my SGH-T959 using XDA App
Ok I am not officially in over my head I found the icon file as listed in my above post and I found the reference to it in the file public.xml that can be found under res/values. The few lines that seem to deal with the icons are as follows:
<public type="drawable" name="stat_sys_data_in_1x" id="0x0108029e" />
<public type="drawable" name="stat_sys_data_in_3g" id="0x0108029f" />
<public type="drawable" name="stat_sys_data_in_e" id="0x010802a0" />
<public type="drawable" name="stat_sys_data_in_g" id="0x010802a1" />
<public type="drawable" name="stat_sys_data_in_h" id="0x010802a2" />
<public type="drawable" name="stat_sys_data_inandout_1x" id="0x010802a3" />
<public type="drawable" name="stat_sys_data_inandout_3g" id="0x010802a4" />
<public type="drawable" name="stat_sys_data_inandout_e" id="0x010802a5" />
<public type="drawable" name="stat_sys_data_inandout_g" id="0x010802a6" />
<public type="drawable" name="stat_sys_data_inandout_h" id="0x010802a7" />
<public type="drawable" name="stat_sys_data_out_1x" id="0x010802a8" />
<public type="drawable" name="stat_sys_data_out_3g" id="0x010802a9" />
<public type="drawable" name="stat_sys_data_out_e" id="0x010802aa" />
<public type="drawable" name="stat_sys_data_out_g" id="0x010802ab" />
<public type="drawable" name="stat_sys_data_out_h" id="0x010802ac" />
but I have no idea what to change.
Anyone else have any ideas?
Yea, I found that, but here is the guy we are looking for, almost sure of it... Its in bools.xml...
<resources>
<bool name="config_sf_limitedAlpha">false</bool>
<bool name="config_sf_slowBlur">false</bool>
<bool name="config_bypass_keyguard_if_slider_open">true</bool>
<bool name="config_automatic_brightness_available">true</bool>
<bool name="config_deskDockEnablesAccelerometer">false</bool>
<bool name="config_carDockEnablesAccelerometer">false</bool>
<bool name="config_use_strict_phone_number_comparation">false</bool>
<bool name="config_disableMenuKeyInLockScreen">false</bool>
<bool name="config_hspa_data_distinguishable">false</bool>
<bool name="config_swipeDisambiguation">true</bool>
<bool name="config_filterTouchEvents">false</bool>
</resources>
Ok that file and that reference is in 2 locations
res/values
and
res/values/-hdpi-v4
Still dont know what to do with it mind you lol
I would def like this done too, maybe should be in dev section
I tried changing it to to "true" and re-compiling it, but it made my phone lock on boot up. Not sure if I did the APK Manger compile correctly or not. Guess someone else will probably figure it out before me. Just hope someone gets it to work, I'd like watching it flip between H and 3G all day long. LOL
Has anyone else had any luck with this?
Seems no one else wants this feature but a very few of us.
Sent from my Vibrant using the XDA app.
I wouldn't mind having it as well
I'd like it as well but can't contribute to figuring it out. Just don't have the technical know how.
I am working on something similar but I haven't figured out how to recompile the XML files. I have tried with both apktool and apkmanager.

[Q] Where is default app info kept?

When I go to view a video from a webpage or a news app I am always presented with a list of potential players (some of which I don't even have). I check the little box at the bottom of the list that says "always use this" or whatever, and then select RockPlayer. It all works fine but the Nook doesn't seem to remember this choice. It asks each time. Very annoying.
Does anyone know where this default app information is stored? A database file I could look at perhaps? Maybe something is not being set properly. I've made other default selections for other situations and they seem to take. Or maybe it's a RockPlayer issue?
<preferred-activities> inside /data/system/packages.xml
Always in the last place I look
So... this is what is there, but it's repeated over and over (and over--like for every time I've done it):
Code:
<preferred-activities>
<item name="com.redirectin.rockplayer.android.unified/com.redirectin.rockplayer.android.OpenRockPlayerActivity" match="600000" set="5">
<set name="com.estrongs.android.pop/.app.BrowserDownloaderActivity" />
<set name="com.estrongs.android.pop/.app.PopVideoPlayerProxyActivity" />
<set name="com.opera.browser/com.opera.Opera" />
<set name="com.alensw.PicFolder/.StreamingActivity" />
<set name="com.redirectin.rockplayer.android.unified/com.redirectin.rockplayer.android.OpenRockPlayerActivity" />
<filter>
<action name="android.intent.action.VIEW" />
<cat name="android.intent.category.DEFAULT" />
<type name="video/mp4" />
</filter>
</item>
I don't see the BBC News app mentioned in a similar vein, but it behaves in exactly the same way. Nothing in the code above jumps out at me as a novice, but the fact that there are many, many entries in the file all the same does not seem good.
Ideas?
Well, the easiest solution is to just gut the preferred-activities:
Code:
<preferred-activities>
</preferred-activities>
Your Nook may ask you once about a few intents, but that should be it.
It's possible that packages.xml got corrupted.
Also, depending on how a file gets opened there may be different filters for mimetype vs. path filters.
If you are still having problems, narrow it down to exactly how you are trying to open the file.
Use logcat and see what intent generates the picker dialog.

Categories

Resources