Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
View Poll Results: Which one do you prefer. Vertical or Horizontal slide?
Vertical 118 58.71%
Horizontal 83 41.29%
Voters: 201. You may not vote on this poll

Post Reply

JWMD SlideUnlock v1.0.0520.2011

OP Nullstring

28th March 2011, 06:14 PM   |  #1  
Nullstring's Avatar
OP Recognized Developer
Flag Baguio
Thanks Meter: 241
 
1,170 posts
Join Date:Joined: Jul 2009
Donate to Me
More


This is my 2nd attempt on creating a Windows Phone 7 Lock like application for Windows Mobile 6.x and 6.5.x. The first one I made was like too simple and it's not skinnable, so this one has that feature.

I made the horizontal-slide-and-unlock because I thought it'll be more Finger Friendly because we just have to use one hand when sliding unlike what WP7 usually have. Pshychologically, more people will use their other hand when unlocking because they have a large screen and they have to slide their finger all the way to the top or probably make a fast flick of their thumb. And think about the screen got an initial hard pressure from your thumb.

This is a very early stage of SlideUnlock development but i'm releasing it so I can get your inputs and feedbacks.

So what are the features?
  • It's skinnable!
  • Add your own Image or Text!
  • Add your custom font.
  • Add your custom image or text
  • You can reposition the objects.
  • Supports all resolution!
  • Slide horizontally
  • Slide vertically
  • Supports All Language.
  • It Suspend or turn the Backlight Off when unused or unlocked for n seconds.
  • and it's free (again)

How to skin?
You can grab the app.settings file after you install the application. The file is located where you installed the application. Open it and you can read the comments I made there. There are some initial PNG images there too.

The current theme is designed for VGA So I wish guys you make your theme and share it here too

Quote:
Originally Posted by HISTORY

May 30, 2011 - 1.0.0530.2011

  • ADDED: sumon file (you don't have to worry about it) - now you can lock the screen by tapping on the program icon. The old one was either you have to press the power button or you have to wait the phone to standby before it locks the screen.

April 29, 2011 - 1.0.0426.2011
  • ADDED: Vertical sliding support (check configuration "app.config" and post #2)
  • FIXED: Slider. Continues to slide even if it slides tooo slow.
  • FIXED: Lagging when scrolling

March 31, 2011 - 1.0.0331.2011
  • ADDED: It will Suspend/Backlight Off when not unlock for n seconds
  • ADDED: Text support for image objects
  • ADDED: sleep.exe - will suspend your device
  • ADDED: backlightoff.exe - will turn the backlight off
  • UPDATED: Animation code
  • FIXED: support for multi language rom
  • FIXED: slide to left
  • FIXED: adding custom image object and text object

March 29, 2011 - 1.0.0329.2011
  • Fixed localization
  • Updated comments on app.config

March 28, 2011 - Initial Release
  • It's skinnable!
  • Add your own Image or Text!
  • Add your custom font.
  • You can reposition the objects.
  • Supports all resolution!
  • Slide horizontally.
  • and it's free (again)

Guys when reporting an error

Kindly include this details:
Device Brand and Model
ROM, ROM Language, ROM Link
Error Message and Screenshots
What you did before the error shown.

there's a patch for version 1.0.0329.2011
http://forum.xda-developers.com/show...9&postcount=20
patch details: fixed language
Last edited by Nullstring; 29th May 2011 at 07:39 PM.
The Following 16 Users Say Thank You to Nullstring For This Useful Post: [ View ]
28th March 2011, 06:15 PM   |  #2  
Nullstring's Avatar
OP Recognized Developer
Flag Baguio
Thanks Meter: 241
 
1,170 posts
Join Date:Joined: Jul 2009
Donate to Me
More


If you're having a difficulty unlocking, you can play around on the settings (But I suggest, play around with DragSensitivity first). You can also share your best setting for your device.

Editing the settings can be found in app.settings.

here's the complete app.config file content.

HTML Code:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <appSettings>
    <!-- START: GENERAL SETTINGS -->
      <add key="fontname" value="Segoe WP Light"/>
      <!-- if locked, the phone will sleep after n seconds -->
      <add key="SleepTimeout" value="30"/>
      <!-- -1 = Disable, 0 = Turn Off Backlight, 1 = Sleep Device -->
      <add key="SleepType" value="1"/>
      <!--
        The goal is to support lower DPIs when your theme was designed for higher DPI(192)
        So you're designing your theme in what DPI?
        QVGA, WQVGA = 96
        VGA, WVGA = 192
      -->
      <add key="ThemeDPI" value="96"/>
      <!-- double tap to end the application -->
      <add key="DevMode" value="1"/>
      
    <!-- END: GENERAL SETTINGS -->
    
    <!-- START: scrolling settings -->
      <!-- DragDistanceFactor must be greater than or equal to 1.0 -->
      <add key="DragDistanceFactor" value="50.0"/>
      <!-- SnapBackFactor must fall within exclusive range 0.0 < value < 1.0 -->
      <add key="SnapBackFactor" value="0.5"/>
      <!-- DeaccelerationFactor must fall within exclusive range 0.0 < value < 1.0 -->
      <add key="DeAccelerationFactor" value="0.95"/>
      <!-- MaxVelocity must be greater than or equal to 1.0 -->
      <add key="MaxVelocity" value="9000.0"/>
      <!--
        0 = Horizontal, 1 = Vertical
        When setting the SlideMode to Vertical, make sure to have a higher
        DragSensitivity!
      -->
      <add key="SlideMode" value="0"/>
      <!-- the lesser the more sensitive -->
      <add key="DragSensitivity" value="8"/>  
    <!-- END: kinectic scrolling settings -->
    
    <!-- START: object count -->
      <!-- max key for text objects -->
      <add key="TextObjects" value="20"/>
      <!-- max key for image objects -->
      <add key="ImageObjects" value="20"/>
    <!-- END: object count -->
    
    <!-- START: Text Objects -->
      <!--
        format:
        key_text_properties
      -->
    
      <!--
      CLOCK
      -->
      <add key="0_text_left" value="12"/>
      <add key="0_text_top" value="110"/>
      <add key="0_text_textsize" value="70"/>
      <add key="0_text_color_red" value="255"/>
      <add key="0_text_color_green" value="255"/>
      <add key="0_text_color_blue" value="255"/>
      <add key="0_text_fontstyle_normal" value="1"/>
      <add key="0_text_fontstyle_bold" value="0"/>
      <add key="0_text_fontstyle_italic" value="0"/>
      <add key="0_text_fontstyle_strikeout" value="0"/>
      <add key="0_text_fontstyle_underline" value="0"/>
      <!-- 0 = PLAIN TEXT, 1 = DATETIME -->
      <add key="0_text_type" value="1"/>
      <add key="0_text_text" value=""/>
      <add key="0_text_format" value="h:mm"/>

      <!--
      DATE DAY
      -->
      <add key="1_text_left" value="12"/>
      <add key="1_text_top" value="160"/>
      <add key="1_text_textsize" value="40"/>
      <add key="1_text_color_red" value="255"/>
      <add key="1_text_color_green" value="255"/>
      <add key="1_text_color_blue" value="255"/>
      <add key="1_text_fontstyle_normal" value="1"/>
      <add key="1_text_fontstyle_bold" value="0"/>
      <add key="1_text_fontstyle_italic" value="0"/>
      <add key="1_text_fontstyle_strikeout" value="0"/>
      <add key="1_text_fontstyle_underline" value="0"/>
      <!-- -1 = HIDE, 0 = PLAIN TEXT, 1 = DATETIME -->
      <add key="1_text_type" value="1"/>
      <add key="1_text_text" value=""/>
      <add key="1_text_format" value="dddd"/>

      <!--
      DATE
      -->
      <add key="2_text_left" value="12"/>
      <add key="2_text_top" value="190"/>
      <add key="2_text_textsize" value="40"/>
      <add key="2_text_color_red" value="255"/>
      <add key="2_text_color_green" value="255"/>
      <add key="2_text_color_blue" value="255"/>
      <add key="2_text_fontstyle_normal" value="1"/>
      <add key="2_text_fontstyle_bold" value="0"/>
      <add key="2_text_fontstyle_italic" value="0"/>
      <add key="2_text_fontstyle_strikeout" value="0"/>
      <add key="2_text_fontstyle_underline" value="0"/>
      <!-- -1 = HIDE, 0 = PLAIN TEXT, 1 = DATETIME -->
      <add key="2_text_type" value="1"/>
      <add key="2_text_text" value=""/>
      <add key="2_text_format" value="d MMMM"/>

      <!--
      APPOINTMENTS
      -->
      <add key="3_text_left" value="12"/>
      <add key="3_text_top" value="225"/>
      <add key="3_text_textsize" value="15"/>
      <add key="3_text_color_red" value="255"/>
      <add key="3_text_color_green" value="255"/>
      <add key="3_text_color_blue" value="255"/>
      <add key="3_text_fontstyle_normal" value="1"/>
      <add key="3_text_fontstyle_bold" value="0"/>
      <add key="3_text_fontstyle_italic" value="0"/>
      <add key="3_text_fontstyle_strikeout" value="0"/>
      <add key="3_text_fontstyle_underline" value="0"/>
      <!-- -1 = HIDE, 0 = PLAIN TEXT, 1 = DATETIME -->
      <add key="3_text_type" value="0"/>
      <add key="3_text_text" value=""/>
      <add key="3_text_format" value="d MMMM"/>
      <add key="3_text_maxapp" value="1"/>

      <!--
      custom text? if you want to have your custom text
      make sure to have all those properties and start from
      20th key "20_" to n
      
      and don't forget to update TextObjects
      <add key="TextObjects" value="<max_key>"/>
      -->
    
      <!--
      VERSION text
      -->
      <add key="20_text_left" value="42"/>
      <add key="20_text_top" value="24"/>
      <add key="20_text_textsize" value="10"/>
      <add key="20_text_color_red" value="0"/>
      <add key="20_text_color_green" value="0"/>
      <add key="20_text_color_blue" value="0"/>
      <add key="20_text_fontstyle_normal" value="1"/>
      <add key="20_text_fontstyle_bold" value="0"/>
      <add key="20_text_fontstyle_italic" value="0"/>
      <add key="20_text_fontstyle_strikeout" value="0"/>
      <add key="20_text_fontstyle_underline" value="0"/>
      <add key="20_text_type" value="0"/>
      <add key="20_text_text" value="version 1.0.0331.2011" />
      <add key="20_text_format" value="d MMMM"/>
    <!-- START: Text Objects -->

    <!-- START: Image Objects -->
      <!--
        format:
        key_properties
      -->
    
      <!--
      CALL ICON
      -->
      <add key="0_left" value="31"/>
      <add key="0_top" value="277"/>
      <add key="0_width" value="32"/>
      <add key="0_height" value="32"/>
      <add key="0_icontext_left" value="35"/>
      <add key="0_icontext_top" value="0"/>
      <add key="0_icontext_size" value="30"/>
      <add key="0_color_red" value="255"/>
      <add key="0_color_green" value="255"/>
      <add key="0_color_blue" value="255"/>
      <add key="0_fontstyle_normal" value="1"/>
      <add key="0_fontstyle_bold" value="0"/>
      <add key="0_fontstyle_italic" value="0"/>
      <add key="0_fontstyle_strikeout" value="0"/>
      <add key="0_fontstyle_underline" value="0"/>

      <!--
      SMS ICON
      -->
      <add key="1_left" value="94"/>
      <add key="1_top" value="277"/>
      <add key="1_width" value="32"/>
      <add key="1_height" value="32"/>
      <add key="1_icontext_left" value="35"/>
      <add key="1_icontext_top" value="0"/>
      <add key="1_icontext_size" value="30"/>
      <add key="1_color_red" value="255"/>
      <add key="1_color_green" value="255"/>
      <add key="1_color_blue" value="255"/>
      <add key="1_fontstyle_normal" value="1"/>
      <add key="1_fontstyle_bold" value="0"/>
      <add key="1_fontstyle_italic" value="0"/>
      <add key="1_fontstyle_strikeout" value="0"/>
      <add key="1_fontstyle_underline" value="0"/>

      <!--
      EMAIL ICON
      -->
      <add key="2_left" value="157"/>
      <add key="2_top" value="277"/>
      <add key="2_width" value="32"/>
      <add key="2_height" value="32"/>
      <add key="2_icontext_left" value="35"/>
      <add key="2_icontext_top" value="0"/>
      <add key="2_icontext_size" value="30"/>
      <add key="2_color_red" value="255"/>
      <add key="2_color_green" value="255"/>
      <add key="2_color_blue" value="255"/>
      <add key="2_fontstyle_normal" value="1"/>
      <add key="2_fontstyle_bold" value="0"/>
      <add key="2_fontstyle_italic" value="0"/>
      <add key="2_fontstyle_strikeout" value="0"/>
      <add key="2_fontstyle_underline" value="0"/>

      <!--
      BATTERY ICON
      -->
      <add key="3_left" value="218"/>
      <add key="3_top" value="7"/>
      <add key="3_width" value="15"/>
      <add key="3_height" value="7"/>
      <add key="3_icontext_left" value="-21"/>
      <add key="3_icontext_top" value="-3"/>
      <add key="3_icontext_size" value="12"/>
      <add key="3_color_red" value="0"/>
      <add key="3_color_green" value="0"/>
      <add key="3_color_blue" value="0"/>
      <add key="3_fontstyle_normal" value="1"/>
      <add key="3_fontstyle_bold" value="0"/>
      <add key="3_fontstyle_italic" value="0"/>
      <add key="3_fontstyle_strikeout" value="0"/>
      <add key="3_fontstyle_underline" value="0"/>

      <!--
      custom icon? if you want to have your custom text
      make sure to have all those standard properties and start from
      20th key "20_" to n
      
      and don't forget to update ImageObjects
      <add key="ImageObjects" value="<max_key>"/>
      -->
    
      <!--
      BETA ICON
      -->
      <add key="20_left" value="5"/>
      <add key="20_top" value="5"/>
      <add key="20_width" value="32"/>
      <add key="20_height" value="32"/>
      <add key="20_icontext_left" value="37"/>
      <add key="20_icontext_top" value="0"/>
      <add key="20_icontext_size" value="18"/>
      <add key="20_color_red" value="0"/>
      <add key="20_color_green" value="0"/>
      <add key="20_color_blue" value="0"/>
      <add key="20_fontstyle_normal" value="1"/>
      <add key="20_fontstyle_bold" value="0"/>
      <add key="20_fontstyle_italic" value="0"/>
      <add key="20_fontstyle_strikeout" value="0"/>
      <add key="20_fontstyle_underline" value="0"/>
      <!--
        keyn_custom_text - implementation for version 1.0.0330.2011
        it's an optional property for Image Objects
      -->
      <add key="20_custom_text" value="Beta Version"/>
    <!-- START: Image Objects -->
  </appSettings>
</configuration>
if you want to remove the Beta icon and Version text, update ImageObjects and TextObjects. Make it look like this
<!-- max key for text objects -->
<add key="TextObjects" value="3"/>
<!-- max key for image objects -->
<add key="ImageObjects" value="3"/>
and remove the configuration for key #20

Applying the settings requires the program to be restarted, so It's best to set that DevMode to 1 and launch the application again.

Quote:
Originally Posted by Settings History

April 26, 2011
ADDED: "SlideMode" key in Kinetic Scrolling Settings

Attached Thumbnails
Click image for larger version

Name:	Screen01.jpg
Views:	15188
Size:	73.2 KB
ID:	556298  
Last edited by Nullstring; 25th April 2011 at 07:05 PM.
The Following 3 Users Say Thank You to Nullstring For This Useful Post: [ View ]
28th March 2011, 08:16 PM   |  #3  
zalaros's Avatar
Senior Member
Flag Thessaloniki
Thanks Meter: 25
 
486 posts
Join Date:Joined: Oct 2007
More
Just tried it on my HD mini (wm 6.5.X) and it's working fine I have only one problem. When i double tap the lock screen the proccess gets killed.

Edit: Ok i found it in the settings. It is supposed to do that when dev mode is enabled.
Last edited by zalaros; 28th March 2011 at 08:19 PM.
29th March 2011, 02:10 AM   |  #4  
Nullstring's Avatar
OP Recognized Developer
Flag Baguio
Thanks Meter: 241
 
1,170 posts
Join Date:Joined: Jul 2009
Donate to Me
More
Quote:
Originally Posted by zalaros

Just tried it on my HD mini (wm 6.5.X) and it's working fine I have only one problem. When i double tap the lock screen the proccess gets killed.

Edit: Ok i found it in the settings. It is supposed to do that when dev mode is enabled.

Yes Double tapping kills the application

Read the first post about the app.settings file so you can disable the double tap
29th March 2011, 11:22 AM   |  #5  
darfri's Avatar
Senior Member
Thanks Meter: 1
 
562 posts
Join Date:Joined: Nov 2008
I haven't yet tried this because of my device being repaired but does this locker also turn off (or allow to be turned off by system) the screen/sleep IF not unlocked in time? This is the most important thing for lockers i think because if the screen gets turned on in the pocket for some third party reason occasional contacts with screen would keep the device on (also locked ofcourse) and drain the battery hardly
29th March 2011, 11:40 AM   |  #6  
Nullstring's Avatar
OP Recognized Developer
Flag Baguio
Thanks Meter: 241
 
1,170 posts
Join Date:Joined: Jul 2009
Donate to Me
More
Thumbs up
Quote:
Originally Posted by darfri

I haven't yet tried this because of my device being repaired but does this locker also turn off (or allow to be turned off by system) the screen/sleep IF not unlocked in time? This is the most important thing for lockers i think because if the screen gets turned on in the pocket for some third party reason occasional contacts with screen would keep the device on (also locked ofcourse) and drain the battery hardly

Good question darfi.

Yes, this locker does not interfere with winmo's Power Scheduling or any other 3rd party power scheduler apps. So if you have your phone scheduled to turn off the backlight or to sleep, it does not interfere with those or simply saying, this locker don't make your phone always awake!

On the other hand, I like the idea of having its own power scheduling.
29th March 2011, 11:50 AM   |  #7  
darfri's Avatar
Senior Member
Thanks Meter: 1
 
562 posts
Join Date:Joined: Nov 2008
Quote:
Originally Posted by Nullstring

Good question darfi.

Yes, this locker does not interfere with winmo's Power Scheduling or any other 3rd party power scheduler apps. So if you have your phone scheduled to turn off the backlight or to sleep, it does not interfere with those or simply saying, this locker don't make your phone always awake!

On the other hand, I like the idea of having its own power scheduling.

Hi again. Confusing issue
As I understand winmo's Power Scheduling keeps the device awake for predefined time from the last input (screen, key) so winmos power sch is causing the device to drain. So lets say that if I have locked the device with JWMD SU and it wakes up in the pocket for third reason the winmo will keep it awake because of occasional touches on screen. Which is bad. So this wont protect from that problem? This problem is solved in s2u2, pocketshield and touchlockpro
29th March 2011, 11:55 AM   |  #8  
Nullstring's Avatar
OP Recognized Developer
Flag Baguio
Thanks Meter: 241
 
1,170 posts
Join Date:Joined: Jul 2009
Donate to Me
More
Lightbulb
Quote:
Originally Posted by darfri

Hi again. Confusing issue
As I understand winmo's Power Scheduling keeps the device awake for predefined time from the last input (screen, key) so winmos power sch is causing the device to drain. So lets say that if I have locked the device with JWMD SU and it wakes up in the pocket for third reason the winmo will keep it awake because of occasional touches on screen. Which is bad. So this wont protect from that problem? This problem is solved in s2u2, pocketshield and touchlockpro

Well the bottom line, I got the point and will integrate that feature.

and Yes, I have noticed that functionality in Pocketshield which at first use, I didn't get the reason why they have that.
29th March 2011, 12:53 PM   |  #9  
Mister B's Avatar
Senior Member
Flag Ratchada (Bangkok)
Thanks Meter: 339
 
1,883 posts
Join Date:Joined: Sep 2006
More
Looks interesting & promising development.
Will this work on WVGA if use correct sized background PNG ?
29th March 2011, 02:27 PM   |  #10  
Nullstring's Avatar
OP Recognized Developer
Flag Baguio
Thanks Meter: 241
 
1,170 posts
Join Date:Joined: Jul 2009
Donate to Me
More
Quote:
Originally Posted by Mister B

Looks interesting & promising development.
Will this work on WVGA if use correct sized background PNG ?

yeap will you share your theme if you made one?

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes