[HTC EVO 3D] hockeyfamily737:
Advanced Lockscreen - Tips & Tricks

Advanced Lockscreens - Tips & Tricks

So after taking on a couple of more complex lockscreens and failing and having even bigger fits resizing lockscreens for my Nook Color and it's oddball display size (600X1024), I've gone back to some simple math for a solution. While the math in the OP will get you exactly where you want to be on the first try with most simple lockscreens, it's proving inadequate for some of the more advanced ones....Here's a solution to get you close leaving only a few neccessary final tweaks.

Basically our screens are roughly 12% larger then a standard HDPI display (11.1% wider & 12.5% taller).

So when you rework the necessary images expand them by 12%.

After you're done with the images, open up the lockscreen's manifest.xml and multiply all of your x's and y's by 1.12 to get your values.

When you're done you should have a working lockscreen that needs a few minor tweaks.

Changing Lockscreen App Shortcuts

If you're like me and use Google Voice for texting and voicemail, what good is it to have a shortcut on your lockscreen for sms? None, really. So let's have a look at what we can do to change it.

In the lockscreen's manifest.xml find the following code:

<Intent action="android.intent.action.MAIN" type="vnd.android-dir/mms-sms" category="android.intent.category.DEFAULT" />

Now, replace it with this code:

<Intent action="android.intent.action.MAIN" package="com.google.android.apps.googlevoice" class="com.google.android.apps.googlevoice.LabelListActivity" />

Lastly, replace the corresponding icon in the advance folder with the icon of your choosing for Google Voice.

Below is a list of codes for some popular lockscreen app shortcuts.

Phone:

<Intent action="android.intent.action.VIEW" type="vnd.android.cursor.dir/calls" />

SMS:

<Intent action="android.intent.action.MAIN" type="vnd.android-dir/mms-sms" category="android.intent.category.DEFAULT">/

Google Voice:

<Intent action="android.intent.action.MAIN" package="com.google.android.apps.googlevoice" class="com.google.android.apps.googlevoice.LabelListActivity" />

Gmail:

<Intent action="android.intent.action.MAIN" package="com.google.android.gm" class="com.google.android.gm.ConversationListActivity" />

Android Camera:

<Intent action="android.intent.action.MAIN" package="com.android.camera" class="com.android.camera.Camera" />

Miui Music:

<Intent action="android.intent.action.MAIN" package="com.miui.player" class="com.miui.player.drawerActivityGroup.MainActivityGroup" />

Facebook:

<Intent action="android.intent.action.MAIN" package="com.facebook.katana" class="com.facebook.katana.HomeActivity" />

Email (Thanks vanessaem ):

<Intent action="android.intent.action.MAIN" package="com.android.email" class="com.android.email.activity.Welcome"/>

Calendar:

[COLOR=black]<[/COLOR][COLOR=black]Intent action="android.intent.action.VIEW" package="com.android.calendar" class="com.android.calendar.LaunchActivity" />[/COLOR]

Gallery:

[COLOR=black]<Intent action="android.intent.action.MAIN" package="com.android.gallery" class="com.android.gallery.ui.MainActivity"[/COLOR][COLOR=black] /[/COLOR][COLOR=black]>[/COLOR]

Sound Recorder:

[COLOR=black]<[/COLOR][COLOR=black]Intent action="android.intent.action.MAIN" package="com.android.soundrecorder" class="com.android.soundrecorder.SoundRecorder" />[/COLOR]

Browser:

[COLOR=black]<[/COLOR][COLOR=black]Intent action="android.intent.action.VIEW" package="com.android.browser" class="com.android.browser.BrowserActivity" />[/COLOR]

Miui File Explorer:

[COLOR=black]<[/COLOR][COLOR=black]Intent action="android.intent.action.MAIN" package="com.android.fileexplorer" class="com.android.fileexplorer.FileExplorerTabActivity" />[/COLOR]