[APP] My simple screenlock - Touch Pro, Fuze Themes and Apps

Hello.
I developed for myself screenlock app,I want to share it.
It is with simple graphics,minimum informations,but it has something,what I cannot found in other lockers:
- minimal system requirements
- instant unlock available(others after power-on I have to wait few seconds until I can move the unlock thingie)
- as I am also Android user,my Hero lockscreen requires vertical slide,so I do this same way
- most important feature: it will suspend after 5 secs when you don't unlock(saves lot of power in your pocket)
Please share your opinions.
Unpack to your device and execute.

Sounds interesting. Any screenshots?

Screen unlock
Not yet. Just try that and you'll see.

Screenshot...

Well,some update...
Now I am working on version like this:
http://www.tokyoflash.com/blog/2010/08/high-definition-concept-watch-design/
with shutoff effect,lock etc.
There are no bitmaps to load from resources,just system rectangles,that means it will be even more a bit faster to start. However I designed it for Samsung i780,which has square 320x320 display,so the squares are in order 4x4,not 3x5. The 4 rows,whose actualy displays minutes will be used for unlocking.

Related

[UPDATED 28-04-2009] TorchButton v1.5, using camera LED for flashlight

TorchButton v2.x supports the Leo as well as Raphael and moved to a new thread! Click this link!
On my previous devices (Wizard, Hermes) I found it very useful to have the camera LED function as flashlight. However, all those tools that were previously available to enable the LED didn't seem to work on the Raphael.
I've just spent some time debugging and testing and got it to work on my Raphael. The cab to install is attached to this post. It'll create a shortcut in your programs menu.
Usage is currently twofold. When you start the app, the flashlight turns on. When you don't do anything for 60 secs it will turn off automatically to prevent your led from burning (heard it happen before on other devices). If you start the program again within the 60 seconds, it will manually turn the flashlight off.
I've only tested this on my Raphael so far. Please let me know if it works for everyone.
---------------
Supported modes:
TorchButton has 5 modes so far. Each one explained in short:
Normal
Simply enable the flashlight until the application is started again or the configurable timeout occurs (60 seconds by default). This mode can be used for a prolonged period. I have only tested it up to 5 minutes though.
Bright
The Bright mode is exactly the same as the Normal mode, with the only difference being that the LED is more bright. This mode is equal to the short moment when you make a photo with flashlight on. Note that this mode does stress the LED and should not be used for prolonged periods. I have used this up to a minute without problems.
Blink
The Blink mode turns the LED on and off in specific intervals that you can configure in the registry. An example of usage is the bike light.
SOS
This is extensive mode that supports sending custom morse code. The text to be sent via morse code signals can be configured in the registry. This defaults to "sos ", thus the SOS name for this mode. NOTE that the flashlight timeout does NOT interrupt a text. It checks if the timeout occurred when it starts over again and quits when it reached the timeout.
PTT
The Push-To-Torch mode. When your device has a key you can map to 'hold', you can use this feature to keep the light on as long as the key is pressed. The AT&T Fuze is one of those devices with a PTT button.
---------------
UPDATE 01-09-2008 v1.1:
TorchButton v1.1 now includes the ability to override the default timeout from 30 seconds to anywhere between 0 and 300 (= 5 minutes) seconds. The regkey is HKLM\Software\TorchButton\FlashlightTimeout (DWORD). When the application installs or when it starts for the first time it will create the registry setting if it doesn't exist yet.
UPDATE 09-11-2008 v1.2:
Finally a new version of TorchButton.
* Enlarged maximum timeout override from 300 seconds to 86400 seconds (a day).
* Added 'bright' feature. Note that the light may flicker almost unnoticeable every 750ms. Can't prevent that.
* For Devs: attached source code of TorchButton to this post.
* For Devs: I've created a C# library for easy control of the camera led. Also attached to this post. The .zip contains a readme which has examples on how to use it.
UPDATE 14-11-2008 v1.3:
* Added 'blink' feature. Registry configuration options:
- blinkTimeOnInMs (DWORD), default 500. Configures the time the LED is on.
- blinkTimeOffInMs (DWORD), default 500. Configures the time the LED is off.
* Added 'SOS' feature. More like a 'morse code' feature though. You can set any morse code to be signalled in the registry. Options:
- sosCode (SZ), default " ...---...". Configures the morse code to signal.
- sosDotTimeoutInMs (DWORD), default 200. Configures 200ms LED on, and 200ms LED off for ".".
- sosDashTimeoutInMs (DWORD), default 400. Configures 400ms LED on, and 400ms LED off for "-".
- sosSpaceTimeoutInMs (DWORD), default 1000. Configures 1000ms pause when processing space " ".
* New shortcuts are added for those features.
* Shortcuts are moved to a TorchButton folder within the Programs, for grouping purposes (in case you're wondering where TorchButton went!).
UPDATE 29-11-2008 v1.4:
* Fixed 'sos' mode. It now properly uses a single configurable unit time to calculateother intervals.
* Updated 'sos' mode. You can now configure a text to be sent via morse code in the registry. Check configuration part of the readme for more info.
* Removed old 'sos' registry settings and replaced them with new ones.
- Check out the new configuration settings in the readme.txt (attached to this post).
* Increased default flashlight timeout from 30 to 60 seconds.
* Changed default 'blink' time to 250ms for both on and off.
UPDATE 28-04-2009 v1.5:
* Added Push-To-Torch (PTT) mode. Probably only useful for devices that have the PTT button, such as the AT&T Fuze.
* Added brightResetTimeInMs registry setting for owners of the Alltel Touch Pro. They need to set this value to 100 for bright mode to work properly.
---------------
TODO's:
* Change LCD brightness to minimum when application starts, and restore when exists.
* Prevent standby mode while active
---------------
Developers:
The source code has been attached as well. The app has been written in C/CPP using VS2008. The code doesn't deserve a beauty-price, but it does its job. The 'TorchButtonBright' project is just a wrapper that calls TorchButton.exe with the /bright parameter. This is a workaround to be able to deploy two shortcuts with different icons and a parameter. If anyone decides to use this code, please rename the project. I've also written a C# library that allows easy access to the normal and bright flashlight modes. Attached as well.
---------------
TorchButton v2.x supports the Leo as well as Raphael and moved to a new thread! Click this link!
Works beautifully with stock HTC ROM provided with Raphael released in Europe. One small request: can you provide also an option to change the timeout? For starters - in registry. Some people would like it to work only for 10s, others: for 60s. Others might have the fun of burning it out [anyway you can limit it to max 2 minutes just to protect those less-aware.]
Tnx
Tnx for your effort. It works great.
Works like a charm! Thnx!
I second the request for a change in time out. I need to make it from the front door to my bed without waking my gf, and i don't make it in 30 seconds
works great! Nice job! This will become a standard application on all custom roms
)
Thank you NetRipper. This is a 5 Star utility!!!
HALLELUJAH !
thank you a million times !
make that trillion
Thanks for all the great responses and I'm glad it works for everyone. I'll add that feature to change the hardcoded 30 seconds timeout tomorrow or the day after.
the flashlight has a normal condition and a very bright condition. would it be possible to make a dimmer on the flashlight so that for example one can attach it to the volume buttons on the side ?
Thank you . I have it as part of favourite programs in TF3D . Works great.
da_jojo said:
the flashlight has a normal condition and a very bright condition. would it be possible to make a dimmer on the flashlight so that for example one can attach it to the volume buttons on the side ?
Click to expand...
Click to collapse
The flash indeed has two modes. However, the very bright mode is automatically disabled after 1 or 2 seconds by the camera driver. It's possible to make it sleep for that amount of time and re-set the bright mode, but I can't imagine it being very good for the LED to burn for a longer period of time at that mode. It would also flicker every 1 or 2 seconds.
I think the normal LED is bright enough, so unless the demand for the extra bright setting is overwhelming, I'll keep it like this.
mm that sucks.
its not a great idea to have a flashing flashlight unless one wants to drive anyone crazy or likes discolights ... maybe an idea lol... a stroboscope.. or some sort of signaling light..
it wouldnt hurt to have the LED on for a longer period. since the lifespan is over 50000 hours and it is running on lower power then intended .. only thing, is that it takes toll on the battery. i wouldnt care to much for the LED as it will last longer then the phone's display.
Looks good to me, but you could always play on words and rename it TorchPro. :-D
yesterday I wrote for myself something just like yours. but i prefered fullscreen button which would change color to black while LED switches on (useful in dark places - eyes are not blinded by bright screen).
it is possible to change timeout (setting written in registry) using track bar or up-down, left-right keys.
enter key switches LED on and off. just like big on screeen button.
have fun.
Great stuff, works really well.
steveoidm said:
Great stuff, works really well.
Click to expand...
Click to collapse
+1
Just what i was looking for,
Nadavi
Thank you guys. You,re perfect. I was very sad,when I found out,that VJCandela doesn't work.
new feature request.
Using the Gsensor let it keep the led on as long as the device senses motion, put it down and it turns the led of in 10 seconds.
Doable?
Thanks
Jules
Now thats an excellent suggestion.
Are we 100% sure that leaving the LED on for prolonged periods at the low level is not going to have any adverse effect on it.
Any chance of a version for the LG KS20 ?

Updated [16/11]: [App] [G-Sensor] [Brand New] The XSense v1.0

Credits:
Foremost, let us all acknowledge Koushik for his brilliant "Sensors" library upon which most if not all non-HTC apps that use the G-Sensor, Light-Sensor, and Navi-Sensor are built, simply ingenious. Moreover, I would like to recognize No2chem for the NeuLed2 library which is an equally exquisite peace of code that allows access to the Diamond/Pro Leds. Without those two guys, accessing these advance interfaces on the diamond/pro would be inapproachable at best.
Reason: Since I bought my Diamond, I constantly thought HTC gave it a lot of sensors but nearly no .."Sense".
......... X-Sense ...........
* Hopefully, an innovaton & integration of RANDOM but needful features...
Features:
1. Courtesy Settings:
- Select Volume Profiles to activate on Face-Down & Face-UP events. Choose from: None, Silent, Normal, and Vibrate. You can also choose to suspend the Phone when its facing down (duh!).
- Automatically activate/deactivate the Speakerphone during phone calls depending on the phone's posture. In other words, if you're not holding the phone up then it will automatically activate the Speakerphone.
2. Notifications-Sense:
- IF there is/are any outstanding notification(s), the device will vibrate whenever you move it at customizable intervals: Missed Call(s), Voice Mail, and SMS only.
3. Stylus-Sense:- When the Stylus is in/out: Will play faint sound + Blink the Back button's light +/Vibrate. Moreover, the device will vibrate whenever you move it at customizable intervals.
- When the Stylus is out and the device is moved: Device will vibrate twice on every posture change + blink the Back button's light to REMIND you that the Stylus has not been placed back in. This goes ON until the Stylus is placed where it should be.
* Uses "in.wav" & "out.wav" files in the \XSense\ Dir; you can use whatever wave files for this.
4. General Settings:
- Polling Interval: From 200 to 3000 Miliseconds. This determines the rate at which the G-Sensor is polled. Lower values give higher response times and fluid operation at the cost of battery life & CPU utilization.
- Flash Navi Lights: Will blink button lights to notify you of Profile changes and Stylus In/Out.
- Vibrate on Events: Will induce very subtle vibrations to notify you of Notifications and Profile changes.
- Suspend when UP-Side-Down: Your phone will suspend if you hold it up-side-down (duh!)
- Light Navi Button When Suspended: Will do just that. This is an independent setting that turns ON the Navi button's light at suspend time, and OFF at Resume time (this is Event Driven, so no polling is involved). This feature really helps if, like me, you want to see where the damn thing is in the dark - before you launch it against the floor.
6. Installs to "\Program Files\XSense", and Creates 2 shortcuts:
"Start Menu\Programs\XSense" and "Startup\XSenseSvc".
Program Settings are saved to the Registry at "HKCU\Software\XSense\".
Use of System Resources:
1. Diskspace: 162 KB RAM footprint: 374-535 KB Battery: NOT observed.
2. CPU Usage: %0.29 Average. Spikes for 2 seconds to %2.7 - %8.5.
* Indicated CPU usage occurs ONLY when there is an EVENT (posture changed, stylus in/out Sounds playing,
etc)
Logic:
- During phone calls, All features are suspended except the Speakerphone-specific code.
- Program will respond to posture changes only 2 seconds after they have occured, this is to
avoid unintended operation ( as much as possible ).
- Vibration: The way I like it is in waves of 200 miliseconds length! I generally hate vibrations, so if you want it at 201 ms. you're welcome to make your own program and enjoy the merits of your personal taste.
- This prgram Registers Event Handlers for: "G-Sensor", "Incoming Call", "Phone Call in Progress", "Stylus in/out", and Power Manager events. DO NOT move it to Internal Storage, you have been warned.
Requirements:
.NET 3.5 + Diamond or Raphael.
Restrictions:
Only for the Diamond/Raphael (vis-a-vis, it will crash on any other device!)
Bugs/Limitations:
Knock yourself out...
Disclaimer:
This program is provided strictly on "as is" basis. It is intended only as a proof-of-concept. Although fully functional, it must NOT be considered for daily use. This software is very likely to compromise the integrity of your data as well as invariabley cause your device to malfunction in any way, shape, or form. Therefore, the developer shall be absolved of all responsibility towards testers and/or their computers & devices. While using this software you agree to be solely liable for all and any damages you do to yourself, your device, or any damn thing you possess and care for!
Release Notes:
- Download & Install the CAB
- Run the XSense from your Start Menu\Programs, customize to taste, and enjoy!
- IF you want it, download it from the Diamond section.
NOTE: Further releases/upgrades will NOT work on the Raphael/Diamond PRO.
wheres the cab?
Cab?!?
This program sounds sweet.. Im willing to give it a go, but no cab.
This is like the april fool joke for the wireless charging app. It's a joke, the app is too good to be true
/Closed
klasital said:
This is like the april fool joke for the wireless charging app. It's a joke, the app is too good to be true
/Closed
Click to expand...
Click to collapse
I fell for that too man, it was NOT funny tho! Its October btw..
shirreer said:
I fell for that too man, it was NOT funny tho! Its October btw..
Click to expand...
Click to collapse
And you still haven't posted the app...
Roger
96cobra said:
And you still haven't posted the app...
Roger
Click to expand...
Click to collapse
Released: On first post.
Release: available on the first post. Tell me what you all think (compliments/complaints)...
shirreer said:
Release: available on the first post. Tell me what you all think (compliments/complaints)...
Click to expand...
Click to collapse
can i have your permission to review this app on a video? i have a youtube dedicated to the FUZE but also other stuff
looks promising and nice
Nice but . . .
OK first off I love this program it works very smoothly, except for one thing, and I am sure this is a simple fix. I unzipped and copied everything to the root folder of my device. Started the application and it starts working, very cleanly I might ad. However the stylus function isn't working for me. I am sure it just has to do with the file of the wav, should I put these in any specific folder?
XERO_Racer said:
can i have your permission to review this app on a video? i have a youtube dedicated to the FUZE but also other stuff
looks promising and nice
Click to expand...
Click to collapse
Go right on man, and thanks for the "cheer up". Enjoy
jewill00 said:
OK first off I love this program it works very smoothly, except for one thing, and I am sure this is a simple fix. I unzipped and copied everything to the root folder of my device. Started the application and it starts working, very cleanly I might ad. However the stylus function isn't working for me. I am sure it just has to do with the file of the wav, should I put these in any specific folder?
Click to expand...
Click to collapse
Tell me more:
- Did the stylus-out/in sound EVER play?
- Did you change the original wav files?
- Is the phone's system volume (not the Ringer) loud enough to be heard?
Notes:
- The wav files (in.wav and out.wav) are supposed to be in the same directory as the program.
- The original wav files are subtle, they are meant to merely "hint" at you.
Glad that this app really works. Maybe in the next release you could add some settings so we can customize it as we wish. The only small problem that I encountered is that the phone doesn't turn back to loud mode when I flip it unless I push the wake button to turn the screen on. This can be annoying sometimes because I missed a call this way...
Good job on this app. It's really subtle but useful at the same time.
bedobela said:
Glad that this app really works. Maybe in the next release you could add some settings so we can customize it as we wish. The only small problem that I encountered is that the phone doesn't turn back to loud mode when I flip it unless I push the wake button to turn the screen on. This can be annoying sometimes because I missed a call this way...
Good job on this app. It's really subtle but useful at the same time.
Click to expand...
Click to collapse
Thank you mate. I intend to create a settings screen altough that would be both cumbersome and useless for the current feature-set except for the stylus sounds.
I am thinking of adding a launcher to the stylus events, perhaps a new note would open on stylus-out, then save+close on stylus-in.. who knows, eh?
As for the missed call......LOL... I think that's just the point ...Seriously though, WM devices cannot survive the battery strain if they don't sleep (suspend). So, we do with what we got
Cheers
only issue i am having is.. I would prefer not to have the navi lights on all the time... whether the phone is face up or down my navi lights are always on
Short Review
ok soo far i tested the app and i have to say is this is a real good app, only problems im encountering is the vibration is very very faint, but i guess thats ur deal of conserve battery life? theres no problem to it and besides...speaking of battery life, leaving the NavLight on and messing around with the app for 5 mins straight didnt even take a percent off of my battery, ill try for a more deeper battery challenge but anyways, heres a list of suggestions, pros and cons, btw this app makes my TouchPro look 5000 times more cooler too something ive been wanting on this phone
PROS:
-Courtesy Sense seems to be very effective
-doesnt kill my battery much(yet)
-not a CPU Heavy app, still can run TP flawless
-Stylus Sense is responsive
-not a memory heavy app
CONS:
-Response of every "sense" is very slow, takes like 2 seconds to switch
-Courtesy Sense can sometimes be out of control, can possibly switch the volume off and on since i have my TP in my vertical case(but that can be fixable i guess)
-Cant close the app(if user decides to) but theres a way to close it through task manager(not HTC TM though)
-Backlights dont light up anymore if app is in use
-Cant unmute unless you switch the device on
Suggestions:
-Make a settings menu where u can adjust the poll speed and sensitivity and what Senses you can turn Off or On
-Should make the Stylus notification light blink every 15-30 seconds or 1 min at the most
-Also to add on the Notifications Sense is the famous blinking LED Light whenever you shake the device
-Close/Exit option onto the app
-When the device's volume is set on silent or vibrate, the Common Sense should be turned off until the device volume is set back to normal
-and probably something crazy, the Party Light Mode, where you can make the lights blink with noise or fade different paterns or blink with some random pattern just for FUN lol
Overall Score 9/10 and thats my honest opinion...this is a great app especially in Alpha stage
Video Review coming up this weekend, ill be posting a link soon, thnx for the great app
Video Review
here ya go everyone, a review video courtesy of me feel free to subscribe if you like
http://www.youtube.com/watch?v=Ds2Brq8L_dY
XERO_Racer said:
here ya go everyone, a review video courtesy of me feel free to subscribe if you like
http://www.youtube.com/watch?v=Ds2Brq8L_dY
Click to expand...
Click to collapse
Bro, let me thank you for a VERY groovy flick, I enjoyed every bit of both your written and video reviews.
I must praise you further for a great job at a thorough & constructive critique. Your stylish review and suggestions are valuable and are noted with all due enthusiasm. I will try my utmost to reflect what I can on my next attempt - the Beta. Also, I will contemplate creating this "feast of lights" you're craving as a token of gratitude for your effort
Cheers
Here's v1.0 ... fully customizable.
This seems to be unneeded around here, So... for the few who want it, y'all can download it from the Diamond Section - In the meantime, I'll be contemplating ways of making new versions unusable on the Raphael for the obvious unpopularity of this device, and equally evident lack of enthusiasm from those who have it
Cheers

[APPLICATION] Screebl - Power saving features based on how you hold your phone

Get your Screen on!
Screebl is an innovative application that controls power saving features based on how you hold your phone. Never have the screen turn off again while reading a long email, or looking at a picture. Keep the screen on (or off, it's up to you) during phone calls. Configure every aspect of the application until it matches your precise usage patterns.
All of this, and you could SAVE BATTERY too, by reducing the average amount of time that your screen (one of the most power-hungry components on your phone) is enabled. It's possible with Screebl! This simple little utility app could very well change the way that you use your phone.
See the video below, or visit www.keyeslabs.com for more information.
Pro Features:
- Locale 1.x Plug-ins
- improved orientation detection algorithms
- choice of screen timeout
- icon choice
More info and screenshots here------>> http://www.androlib.com/android.application.com-keyes-screebl-full-pEEj.aspx
Also a Lite Version available on Market, but please if at all possible buy the Paid version to keep development going.

Will someone please tell me why Google hasn't improved the rotation speed?!

I thought this was originally a product if poor sensors. But it wasn't. Then I thought it was a bug. Updates went by, then I saw that wasn't the case either. It just seems to be a "feature".
This feature is really beginning to annoy me! Can anyone tell me why it takes about two seconds before the screen rotates in stock Android. My G.Nex takes about the same time. I'm guessing any remedy involves rooting, which is annoying. I'm rooted, I just don't think this should be necessary for people to do (IF it's necessary).
Can anyone shed light on this?
Sent from my Nexus 7 using xda premium
Actually if it rotates in less than a second it'll be more annoying trust me. Like if you are typing and just tilt your device a little bit, it'll be a disaster right? I don't know however if you can modify this.
Sent from my Nexus 7
Aokp and others allow you to change this. Many roms have a shorter rotation speed. They actually did quicken it, 4.0 was really slow. Yes its a feature.
Sent from my Galaxy Nexus using xda premium
Quite fast considering what it has to do.
marsyeti said:
Actually if it rotates in less than a second it'll be more annoying trust me. Like if you are typing and just tilt your device a little bit, it'll be a disaster right? I don't know however if you can modify this.
Sent from my Nexus 7
Click to expand...
Click to collapse
I agree with this.. The feature is there to prevent you from rotating the screen by accident. Say using the cam in video chat while holding the device in your hand.. While typing and walking around..
Not sure why this is such a bother to you Not everything should be Instant.If it were instant you would also see the screen refresh as its turning the icons..
the ui . would have to turn resize screen background re position the icons and the notification/ now settings menu all in a fraction of a second. The delay helps with my first sentence as well as gives the Interface to make necessary changes for the new orientation.. Good things come to those who wait..
The rotation pause time is perfect for me.
erica_renee said:
I agree with this.. The feature is there to prevent you from rotating the screen by accident. Say using the cam in video chat while holding the device in your hand.. While typing and walking around..
Not sure why this is such a bother to you Not everything should be Instant.If it were instant you would also see the screen refresh as its turning the icons..
the ui . would have to turn resize screen background re position the icons and the notification/ now settings menu all in a fraction of a second. The delay helps with my first sentence as well as gives the Interface to make necessary changes for the new orientation.. Good things come to those who wait..
Click to expand...
Click to collapse
If anyone has used the iPad, other iDevice or some other non-stock Android devices, the rotation delay is only about half a second and smooth. There is no confusion or constant accidental rotations, it's responsive rather than intentionally slow. Plus, I really don't think too many people accidentally rotate their devices too many times.
Another example is that with my N7, JB 4.2, rooted but stock, It can take up to 4 seconds to rotate on the PIN secured lock screen. In what way is this useful?
Its less than one second on my stock 4.2...
The rotation speed seems much longer on 4.2 than it did on 4.1.2. I noticed the difference immediately after updating.
You can play with the 3 screen animation parameters - they are located in setup under the developers section about half way down the page.
-Window animation scale
-Transition animation scale
-Animation duration scale
These parameters affect the speed at which the display dims and brightens, rotates and transitions..
If you set the 3 parameters to zero, you get a binary effect on all animations - in other words, a single step from one position/brightness/orientation to the next.
I found that you may have to reboot the device (or restart the window manager?) for any changes to take effect.
Hope this helps.

Android graphics

I wonder if anyone can help me. I've been programming for some time but I'm new to Android development and am struggling a bit with the graphics and canvas systems on Android Studio.
This is what I want to do:
1. Draw some background graphics on screen (have done this in the onDraw function)
2. Have an 'interrupt' function run every x seconds (have done this with Handler)
3. Use this function to add graphical elements to the screen (i.e. a circle in a random position)
Step 3 is where I'm struggling. I can draw a circle and call invalidate to update the screen but what it seems to do is draw the circle, blank the screen then draw the onDraw elements again. I want it to add a circle so that I get an extra one on the screen every time the function runs.
Not sure if I've explained this properly but can anyone suggest a solution?
TIA

Categories

Resources