Default Home Screen - Droid Incredible Q&A, Help & Troubleshooting

Can anyone tell me where to set a default home screen. I'd like to bundle one in a theme. I've tried flashing com.android.launcher from data/data, but that didn't work. I've read you can set default Widgets (not including background) in defaultworkspace.xml inside launcher.apk but I figured there has to be a file that isn't permanent. Something has to store your settings in data/data or somewhere. Could be wrong though. Any help would be appreciated.

If I remember correctly it is is \system\customize\MNS\default.xml
Should start at the line with <function name="1_shortcuts">
I have never tried it but worth a shot

Lockscreen.Java is the place where you set the default home screen. Your going to be working with smalli the code to change it though.
Since you are doing a theme I don't think this is what you were looking for.
Sent from my Incredible using Tapatalk

Thanks nils and Linux. I'll give them a look. There has to be a file that stores your homescreen setup somewhere for reboots. This would be the easiest because I could set my homescreen to something basic and just include that file in the theme. But I've searched data/data and haven't found it. Maybe its somewhere else or non existent I can handle XML decent so ill try nils suggestion this weekend. Last time I battled with smali it took nearly a month and a stroke of good luck to win.

The Database is stored at /data/data/com.android.launcher/databases under the name of launcher.db. The nice thing is aosp source has a script to take out the database from the phone or at least view it
{
"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"
}
Sent from my Incredible using Tapatalk

I was able to change default Widgets in default_workspace.xml [launcher2.apk]. But i had to clear laumcher data for changes to take effect. I believe the customize/mns directory is responsible for background after looking through XML, but I haven't tested yet. I had problems pushing launcher.db and applying with zip. Databases must not work this way? I actually tried overwriting the entire com.android.launcher directory. I haven't looked at the smali you mentioned Linux. But I'd like to avoid smali until I've exhausted all other options. So I believe the solution I'm going to attempt is: set up default workspace, write script to clear launcher data, and set up customize/mns for appropriate wallpaper. All just to force people to appreciate my theme. If I'm successful ill let you know
Edit: if you know where I'm going wrong applying database please let me know. I still feel like this would be best route. But after applying launcher.preferences and launcher.db nothing changed...which I don't understand

Here are the file that control the workspace
// This sets what is on the workspaces
res/xml/default_workspace.xml
// These two set the number of workspaces
res/layout-port/launcher.xml
res/layout-land/launcher.xml
// This also set the number of screens
src/com/android/launcher2/Launcher.java
Here is a source view a screen changer(https://github.com/OMFGB/packages_apps_Launcher2/commit/239960ef3f959a41dc31d20c6dea3d8e16ff0639)
Anytime the number of screens changes the database needs to be cleared. If not the workscapces that cannot be seen are actually still there, which leads to a memory leak. One that doesn't grow but its still leaked.
So your thought seems correct.
Set the default workspace in xml and smali(Its just one value).
Set the default background.
Clear the database.
restart the launcher(So the new settings take effect from xml and smali)
The theme should be applied to now.(Hopefully)

This will be good to know because I want to edit the widgets and apps that are on my home screen from the Launcher default workspace settings.

Related

[PSD] Calendar Wallpaper

I wanted the calendar from hero ROM but Hero isn't as fast as cupcake. So I came up with this one to use with my Cupcake ROM
its not an application, its a simple wallpaper that displays the month.
{
"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"
}
Made one that fits with Pure Calendar Widget by koxx (http://forum.xda-developers.com/showthread.php?t=545097)
Here's the one im using for August 2009
I created a PSD file that is easy to customize and change the dates and months.
Link to the PSD File http://rapidshare.com/files/265442992/calendar.psd
There are 2 sizes, Large and Small one.
Used photoshop CS3 for this, not sure if it will open in previous versions of Photoshop
How to use:
1) Put the png file in your card
2) Use the png as your wallpaper
3) Change your settings from the Menu-> Extender (change homescreen to 2 and default to 1 or 2)
4) Change the lockscreen wallpaper
How to change your lockscreen wallpaper:
1) Open the theme you're using with winrar
2) Browse to the directory \system\framework-res.apk\res\drawable\
3) Look for zzlockscreenback.png and replace it with your 320x480 png image
4) close Winrar
5) resign the theme and flash (How to resign the theme - http://modmygphone.com/forums/showthread.php?t=10591 look for the autosign tool)
6) boot into recovery and flash the newly signed theme
ToDo:
Need to find a way to edit the background in the pattern lock. Anyone knows how to?
Tested with:
CyanogenMod 3.9.7
Anyone willing to test in other ROM versions?
I've bee kinda hoping that we could run apps as the background something along the lines like this. Just the date could be selected and accessed by the menu button.
Good job I like it, wouldn't you have to update it every month? Lol
Icebergxx said:
I've bee kinda hoping that we could run apps as the background something along the lines like this. Just the date could be selected and accessed by the menu button.
Good job I like it, wouldn't you have to update it every month? Lol
Click to expand...
Click to collapse
yeah just need to change the wallpaper monthly
As you can see, im still running some widgets with this one.
This works well if you only limit your homescreen to 2 (you can do this through the Extended menus)
You should have post the wallpaper to a link so we can try it on are own.
i never thought about doing that haha. good work around but a pain, gotta keep making new ones every month.
PSD released
see instructions on how to apply this
What's the widget below the calendar?
Reeg said:
What's the widget below the calendar?
Click to expand...
Click to collapse
Pure Calendar Widget by koxx (http://forum.xda-developers.com/showthread.php?t=545097)
providence said:
Pure Calendar Widget by koxx (http://forum.xda-developers.com/showthread.php?t=545097)
Click to expand...
Click to collapse
sorry, i meant the one with the switches.
Reeg said:
sorry, i meant the one with the switches.
Click to expand...
Click to collapse
that's the power control widget, I have it from Cyan's 3.9.7 ROM

Testing the waters.....

I've just started breaking open some apks and playing around with the idea of changing some elements I don't like but I don't know if it'll ever be much more than that right now. It's mainly the Advanced Launcher I've been poking around in and blueifying (yes it's a word, shush!) I used the Eclair theme that's around here but anyway less chat, more pics... all three of them >_> Gotta start somewhere, right?
First thing I changed - the app drawer handle
{
"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"
}
Blue icon highlight
Deleting icons now becomes a game...
I tend to lose interest quite fast in doing things but this is kinda therapeutic. If someone out there could tell me how to go about testing themes on an Android VM it would speed things up a lot considering I only have one G1 and it makes it painfully slow to test things. I'm gonna go hunt around for the information anyway but if anyone wants to point me in the right direction I won't complain
A quick way to test things now would be to use the new MetaMorph. You can test most things without flashing.
why would you flash the whole thing? up to now, you've only changed Launcher (I'm ignoring all the other icons you changed on purpose), so all you'd have to do is, after you modified your pngs (and put them back in the apk) just "adb push Launcher.apk /system/app", it will automatically overwrite the old launcher (killing the process first) and then load up the new one with the changes (don't re-sign it, don't listen to people, makes things worse)
jubeh said:
why would you flash the whole thing? up to now, you've only changed Launcher (I'm ignoring all the other icons you changed on purpose), so all you'd have to do is, after you modified your pngs (and put them back in the apk) just "adb push Launcher.apk /system/app", it will automatically overwrite the old launcher (killing the process first) and then load up the new one with the changes (don't re-sign it, don't listen to people, makes things worse)
Click to expand...
Click to collapse
I haven't been flashing the whole thing, only the themed files such as the launcher. I did try using "adb push" but for some files I tried it on earlier it lead to big problems with gapps FC and loss of all wireless service. Thanks for the heads up on MetaMorph. I found how to run different ROMs in an emulator but I'd have to throw on a Linux install for that so MetaMorph will help avoid that.

Lock screen fonts

Managed to change the lock screen sliders to froyo stock ones but I am now wanting to change the font of the clock / date / service provider.
Normally it looks like you would just change the clockopia font for the clock but moto is not using this. The current font being used is DroidSans but if I change this it is pretty much used everywhere!
Is there an XML somewhere I can change?
Maybe keyguard_screen_lock.xml in the framework-res.apk? But I can't see any reference to a font or typeface in there and I just read that you can only use the android default fonts in the layout XMLs so would have to set it in a jar somewhere...
By the way the lock screen sliders are definitely less choppy in the new euro deblurred ROM.
OK so after a bit more digging I can say that the lock screen layout is defined in zz_moto_keyguard_screen_tab_unlock.xml and it uses a bunch of blur styles like: style="\@style/Blur.BigTimeTxt"
Anyone know where these styles are defined?
[Edit]
Looks like it might be in values/styles.xml in the decompiled framework-res.apk
Looking at android.policy.jar next
Also looked at the standard android opensource 2.1 policy code and I can't see any reference to the clock font.
Help!
I think this might be a topic for defy themes forums not general.
Sent using motorola defy
Jt612 said:
I think this might be a topic for defy themes forums not general.
Sent using motorola defy
Click to expand...
Click to collapse
I originally posted it there but it got moved by a mod (the_scotsman).
That's odd i would have thought it was a themeing thing especially because your discussing how.
Sent using motorola defy
Can any devs out there point me in the right direction?
I have copied the standard android lock screen layout and created a new zz_moto_keyguard_screen_tab_unlock.xml which in my opinion looks much cooler than the default defy one.
http://dl.dropbox.com/u/17360979/zz_moto_keyguard_screen_tab_unlock.zip
Still can't figure out how to change the clock font to clockopia though
How does one use this lock screen ? Extract the apk and replace three default and rezip ? Is it possible to use metamorph
Sent using motorola defy
You would need to extract and decompile the framework-res.apk copy in the new XML and then recompile & re zip.
Found it in the framework.jar
Done!
{
"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"
}
good you managed to do it..
it would be nice if you shared how...

[Theme][WIP]WP7 Pink theme, How to change the Keyboard's color?

Hi,all,I make a Pink theme.But there's a question ,How to change the Keyboard's color?
I change the Registry
[HKEY_LOCAL_MACHINE\ControlPanel\Themes\0]"KeyPadBackground"="#FFFFFFFF"
but,it only can be black and white color, so,How to change the Keyboard's color ?
sorry to my English
Code:
[HKEY_LOCAL_MACHINE\ControlPanel\Themes\0] ; ThemeId 0 - Light
"BaseThemeColor"="#FFFFFFFF" ;
"ButtonBackground"="res://UIXMobile!ui.light.button.background.png"
"ButtonBackgroundDisabled"="res://UIXMobile!ui.light.button.background.disabled.png"
"ButtonBackgroundPressed"="res://UIXMobile!ui.light.button.background.down.png"
"CheckBoxBackground"="res://UIXMobile!ui.light.checkbox.background.png"
"CheckBoxBackgroundPressed"="res://UIXMobile!ui.light.checkbox.background.down.png"
"CheckBoxCheckmark"="res://UIXMobile!ui.light.checkbox.checkmark.png"
"CheckBoxCheckmarkDisabled"="res://UIXMobile!ui.light.checkbox.checkmark.disabled.png"
"CheckBoxDisabledBackground"="res://UIXMobile!ui.light.checkbox.background.disabled.png"
"ChromeColor"="#FFDDDDDD" (改为:#FFffc1cd)
"CommonErrorImage"="res://UIXMobile!common.light.error.png"
"ContrastColor"="#FF000000" (改为:#FFd76878)
"DateTimeBackground"="res://UIXMobile!ui.light.datetime.background.png"
"DateTimeBackgroundSelected"="res://UIXMobile!ui.light.datetime.background.selected.png"
"DisplayName"="浅色" (改为:kenchan pink)
"EditBoxBackground"="res://UIXMobile!ui.light.editbox.background.png"
"EditBoxBackgroundPressed"="res://UIXMobile!ui.light.editbox.background.down.png"
"KeyPadBackground"="#FFFFFFFF"
"ListPickerBackground"="#FFDDDDDD"
"ListPickerBackgroundPressed"="#FFE5E5E5"
"PageBackgroundColor"="#FFFFFFFF" (改为:#FFffd7df) 背景颜色
"ProgressBarBackground"="#19000000"??
"ProgressBarDisabledBackground"="#19999999"??
"RadioButtonBackgroundPressed"="res://UIXMobile!ui.light.radiobutton.background.down.png"
"SliderThumb"=" res://UIXMobile!ui.light.slider.thumb.png"
"SysTrayBackgroundColor"="#FFFFFFFF" (改为:#FFffd7df)
"TextHighContrast"="#FFFFFFFF" (改为:#FFffd7df)
"TextNeutralColor"="#DE000000" (改为:#DEd76878)
"TextNeutralColor20"="#33000000" (改为:#33d76878)
"TextNeutralColor30"="#4D000000" (改为:#4Dd76878)
"TextNeutralColor60"="#66000000" (改为:#66d76878)
"TextNeutralColor75"="#99000000" (改为:#99d76878)
"TextNeutralColor80"="#CC000000" (改为:#CCd76878)
"ToggleSwitchBackgroundDisabled"="res://UIXMobile!ui.light.toggleswitch.background.disabled.png"
"ToggleSwitchBackgroundOff"="res://UIXMobile!ui.light.toggleswitch.background.off.png"
"ToggleSwitchBackgroundOn"="res://UIXMobile!ui.light.toggleswitch.background.on.png"
"ToggleSwitchThumbDisabled"="res://UIXMobile!ui.light.toggleswitch.thumb.disabled.png"
"ToggleSwitchThumbOff"="res://UIXMobile!ui.light.toggleswitch.thumb.off.png"
"ToggleSwitchThumbOn"="res://UIXMobile!ui.light.toggleswitch.thumb.on.png"
"ToggleSwitchTrack"="res://UIXMobile!ui.light.toggleswitch.track.png"
"ToggleSwitchTrackDisabled"="res://UIXMobile!ui.light.toggleswitch.track.disabled.png"
"ToggleSwitchTrackLeft"="res://UIXMobile!ui.light.toggleswitch.trackleft.png"
"ToggleSwitchTrackPressed"="res://UIXMobile!ui.light.toggleswitch.track.down.png"
"ToggleSwitchTrackRight"="res://UIXMobile!ui.light.toggleswitch.trackright.png"
"TransparentBackgroundColor"="#AAFFFFFF" (改为:#AAffd7df)
If you want this to stay in this section. Please supply what you have done so far (so others can test) and mark the thread as [WIP]
This is a question and as such should not be here.
Please make the changes or i will close this thread!
Peace!
this is not new and wrong place to post but...
try
texthighcontrast
or
textneutralcolor
or
20
30
60
75
80
systray background color mb?
kenchan2009 said:
I change the Registry
[HKEY_LOCAL_MACHINE\ControlPanel\Themes\0]"KeyPadBackground"="#FFFFFFFF"
Click to expand...
Click to collapse
Changes the lockscreen Pin Input button color. None of the registry seems to change that keyboard/dialer button color. Maybe there's something in the 00##_ThemeResources.xaml files (# = Number value, one for each accent color).
Ive gone through the entire theme section in the registry and have come to same conclusion. Im trying to get rid of the default grey in the dialer and keyboard but cant figure out how to change this. Would love if somebody could find this!
yeahyeahyeah1981 said:
Ive gone through the entire theme section in the registry and have come to same conclusion. Im trying to get rid of the default grey in the dialer and keyboard but cant figure out how to change this. Would love if somebody could find this!
Click to expand...
Click to collapse
that would be system forground color i beleve dont quote me on that but i think i did it one time just cant remember!
"system foreground"... Not seeing this in the registry. It does seem strange to me that this is not an option like every other color option in the registry. I seem to recall doing this (changing the keyboard color) back when I was running Nodo but have forgotten how to do it. Would love it anyone could figure this out.
Thank you for your answer.It seems very difficult
Anyone have any ideas yet? Seems like a nice customization option that we ought to figure out. Ive exhausted my abilities as a hacker(very limited)
The keys on the keypad are image files (png) ive searched the directory in WPDM but not managed to find them. The Radio Buttons, Sliders, Check Boxes, Keypad Keys etc. are all png's. Only the background colours can be edited through the registry, I imagine if we find the png files then we can use photoshop to customize them..
This I think will be the keypad keys (though i may be wrong) - "ButtonBackground"="res://UIXMobile!ui.light.button.background.png"
I am not a developer or hacker, I have just found this out by playing around with my devices (and sometimes breaking them so be careful)
{
"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"
}
Bobage said:
This I think will be the keypad keys (though i may be wrong) - "ButtonBackground"="res://UIXMobile!ui.light.button.background.png"
Click to expand...
Click to collapse
Particularly this png is in UIXMobileRes.dll - just use ResourceHacker or similar utilities to get it.

subfolder and placing icons programs

Hello, recently I've gone from ios to Android, and I was looking for a couple of apps, essential for me, that should work on the page of apps.
I state that I do not know if they exist, given that I've looked everywhere without success.
Ios are the corresponding :
folders in folders
{
"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"
}
,
and grid lock
.
Folders in folders makes it possible to create subfolders, with this app in the apps menu, go to generate, for example a root folder that contains subfolders like multimedia audio, video etc.. . Grid lock the opportunity to place the icons where you want the apps, leaving gaps between one app to another.[/IMG]
Folders in folders makes it possible to create subfolders, with this app in the apps menu, go to generate, for example a root folder that contains subfolders like multimedia audio, video etc.. .
Grid lock the opportunity to place the icons where you want the apps, leaving gaps between one app to another.
Thank you all for your help, for my bad English, is the fault of google.
i asked this question last week about folders within the app drawer. problem was i updated rooted modded my gs2 and as the updates got better and more functions unfortunately the create a folder option disappeared within the app drawer and it doesnt look like it will be implemented in ics either. if it something that important to you i suggest going back to gb 2.3.3. or find a launcher that has the option to create the subfolder i the app drawer i havrnt been able to find a launcher to do it so stuck with adw ex.
hope someone can help you be intresting to read if they can
I'd like to find a launcher that gives the possibility to create subfolders, to date I have not found, and I must say that I have tried several of the launcher.
If by chance know the name of a launcher that can do this, let me look that I run to try it.
you can try Folder Organizer ... you can create subfolders
Go launcher ex let's you create folders in the app list.
Sent from my SCH-R760 using Tapatalk
Thank you all, I tried folder organizer but is not for me, go for the former launcher allows you to make some folders but not subfolders.
Calmly is all (and here it is the calm served a lot because it seems that no one uses or affect the subfolders), the launcher is called tag home launcher, not only gives you the ability to manage apps on the page of a kind of subfolders, but I'll be available in the main form, that, to be placed where they are the widgets (which technically does not know his name).
I hope I can serve others, and if you found other similar apps because if I communicated to me very interested.
Thanks to all

Categories

Resources