Related
Source Code Finally Posted...
Sorry it took so long to post the source. I haven't been monitoring this thread for some time due to other time demands. A recent email reminded me that I promised to release the source, so here ya go...
Release 6 Notes Below...
About a week ago, I was looking for an app that would lock my wizard when it came out of suspend. I use a bluetooth headset for all my calls, so I rarely remove my phone from its carrier. However, while talking, I tend to move around and frequently the hang-up button would be pressed resulting in a disconnect.
Frustrated, I looked at a few apps. I really like the "Slide to Unlock" feature in the iPhone-like app S2U. It more or less suited my needs. However, my bluetooth headset wouldn't work with S2U installed.
Thus I set about writing an app that would "lock" the phone whenever it came out of suspend mode. The result is the app, LockDown, attached to this post. Once run, LockDown sits in the background waiting for "resume" event. At this time, it locks all keys and prevents any stylus events save one - a "Slide right to unlock" slider control. As with S2U, once the thumb tab is slid all the way to the right, the keys are unlocked and the unit once again responds to the stylus. Also note that LockDown only takes up 5k of memory.
LockDown has been tested on TNT.1933 (WM6) for the Wizard. It's compiled as a PPC 2003 app, so in theory it should also work on WM5 and any PPC 2003 devices. I've tested it with my Visual Studio WM5 and PPC emulators, and it worked fine. However, it couldn't test it on the real deals.
It's a new app. While I'm not experiencing any problems, please consider it beta for now. As such, don't wire it up as an auto-start link until you've run with it awhile and are certain it works as advertised. For now, I suggest just copying it to your \windows folder and linking to it there. If you have any problems, please report them, and I'll address them ASAP.
Release 6 Notes
The slider bug was fixed.
The Message option was fixed.
Application Invocation
Lockdown [-lock] [-close]
With the -lock parameter, the application starts in lock mode.
With the -close parameter, the application is removed from memory (if running).
Registry Options in Folder \HKEY_LOCAL_MACHINE\Software\Lockdown\Slider
Position (DWORD, 0):
If set to 0, the slider is centered.
If > 0, the slider is positioned X pixels below the "Top Taskbar".
If < 0, the slider is positioned X pixels above the "Bottom Taskbar".
Padding (DWORD, 2):
Pixel offsets for slider arrow from the left and right edges of the slider window.
Message (String, "Slide right to unlock.")
The text message displayed in the slider window.
TextColor (DWORD, 00FFFFFF hex):
Color of slider message. Note that the HEX color format is 00BBGGRR where BB is blue, GG is green, and RR is red.
FontPoint (DWORD, 16):
The font size of the slider message.
PenColor (DWORD, 00F04050 hex):
Color of the slider arrow.
BackgroundColor (DWORD, 00CCCCCC hex):
Color of the slider background.
WidthMultiplier (String, .92):
Must be a floating point value. Multiply this value with the lesser value of the desktop height or width (in pixels) to determine the slider width.
For example: If the desktop display is 240 by 320 and the WidthMultiplier is 0.9, the slider width is 216 (240 X .9) pixels.
HeightMultiplier (String, .22):
Must be a floating point value. Multiply this value with the lesser value of the desktop height or width (in pixels) to determine the slider height.
TabWidthMultiplier (String, 1.5):
Must be a floating point value. Multiply this value with the calculated slider height to determine the width of the slider arrow.
Note that the height of the arrow is always equal to the height of the slider.
EnableAnswer (DWORD, 1):
If set to 1, the answer button is enabled during an incoming call period (while the phone is ringing).
If set to 0, the answer button is always disabled.
EnableIgnore (DWORD, 1):
If set to 1, the ignore button is enabled during an incoming call period (while the phone is ringing).
If set to 0, the ignore button is always disabled.
After the installation, only the Position key will be present in the registry. I figure that most users will only tweak this value.
To modify the other parameters, add the appropriate keys with the defined types as shown in parenthesis. The default values are also listed in the parenthesis.
If you decide to tweak these parameters, please remove any shortcut to Lockdown from the StartUp folder. While I've taken steps to prevent "bad" values in these parameters, I still suggest this precaution.
Please note that Lockdown must be terminated and restarted before any changes to registry settings take effect.
As always, if you have any issues, please let me know.
W James
Very Great app...im sure many will find it useful
Does not work on my CDMA Touch
Tried it out but does not run on my CDMA touch.
It work for me on Hermes With schaps wm6 Ver 4.30
thanks.
WJames said:
Greets.
About a week ago, I was looking for an app that would lock my wizard when it came out of suspend. I use a bluetooth headset for all my calls, so I rarely remove my phone from its carrier. However, while talking, I tend to move around and frequently the hang-up button would be pressed resulting in a disconnect.
Frustrated, I looked at a few apps. I really like the "Slide to Unlock" feature in the iPhone-like app S2U. It more or less suited my needs. However, my bluetooth headset wouldn't work with S2U installed.
Thus I set about writing an app that would "lock" the phone whenever it came out of suspend mode. The result is the app, LockDown, attached to this post. Once run, LockDown sits in the background waiting for "resume" event. At this time, it locks all keys and prevents any stylus events save one - a "Slide right to unlock" slider control. As with S2U, once the thumb tab is slid all the way to the right, the keys are unlocked and the unit once again responds to the stylus. Also note that LockDown only takes up 5k of memory.
LockDown has been tested on TNT.1933 (WM6) for the Wizard. It's compiled as a PPC 2003 app, so in theory it should also work on WM5 and any PPC 2003 devices. I've tested it with my Visual Studio WM5 and PPC emulators, and it worked fine. However, it couldn't test it on the real deals.
It's a new app. While I'm not experiencing any problems, please consider it beta for now. As such, don't wire it up as an auto-start link until you've run with it awhile and are certain it works as advertised. For now, I suggest just copying it to your \windows folder and linking to it there. If you have any problems, please report them, and I'll address them ASAP.
W James
Click to expand...
Click to collapse
hi WJames,
any screenshots of your app? it sounds very usefull, but how does it look
like?
today plugin s2u
it was a dream cam true if was a today plugin, to the left...lock, to the right ...unlock, but in the today,
I use my standard windows lock today plugin, without the lock buttons, so when i touch any buttom , the backlight goes on (to see the clock and appointments in one clic).
today plugin s2u is the rigth way.
great work
red.schumi said:
hi WJames,
any screenshots of your app? it sounds very usefull, but how does it look
like?
Click to expand...
Click to collapse
as he said...it sits behind the screen..and waits for the resume event
Here's a screen shot as per request. It's very plain jane. I wasn't looking for the beauty of something like S2U. I merely wanted a functional app that didn't take up much real estate (5kb).
Once it's gone through the paces and looks to be bug-free, I'll release the code and you can tweak to meet your needs.
It gives a black screen with white text in the center of screen saying "Slide right to unlock." There is a box with a plain white slider. You cannot see your today screen.
edit: Sorry, had the page open while I tested it and did not notice your reply before posting.
is it me or do we really need another "slide to unlock" app to mimic the iphone. There's already S2U Pro & S2U2.
What's funny, is that yeah these are cool but are they really needed? If you setup the device button lock correctly, then what's the point of a S2U app? All it does is add one more step to getting to your today page....
smittyofdhs said:
is it me or do we really need another "slide to unlock" app to mimic the iphone. There's already S2U Pro & S2U2.
What's funny, is that yeah these are cool but are they really needed? If you setup the device button lock correctly, then what's the point of a S2U app? All it does is add one more step to getting to your today page....
Click to expand...
Click to collapse
To each his own, but i run S2U2 because it allows me to operate my phone via bluetooth while the buttons are locked. The builtin lock doesn't let me do that.
perasite said:
To each his own, but i run S2U2 because it allows me to operate my phone via bluetooth while the buttons are locked. The builtin lock doesn't let me do that.
Click to expand...
Click to collapse
Hmm, never had that problem with bulit-in lock. Yes, to each their own. I've installed/uninstalled S2U2 soooo many times. I love the app but end up finding that it serves me no real purpose (other then eye candy) and it gets uninstalled. New version comes out, installed for a about 3-4 hours, then uninstalled again.
Very Nice...can i Request something?
Hi
Thanks for the nice application
very small, problem free so far (on Eten M700 with WM6) & useful
Can i have 3 requests please:
1- can you make the slider spring back to the left if it was accidentaly moved to the right, right now it stays half way & i think if you make it spring back it will be more safe as a lock & it will look better too
2- can you make the slider button wider (double) so i can catch it with my fat fingers
3- can you add an icon, so i may put it in my today launcher list & it would look better than the plain white square, something like a lock or key or a hand can do.
I also noticed that sometimes as i come out of the suspend mode, the slider is either late to appear (1-2 sec) & may remain unresponsive for two or three trys to slide it to right (stays in place)
Once started i couldn't figure how to get rid of it & seems that only way is to soft reset to go back to normal wake up without locking
Hope these comments help..thanks again for nice work
smittyofdhs said:
is it me or do we really need another "slide to unlock" app to mimic the iphone. There's already S2U Pro & S2U2.
What's funny, is that yeah these are cool but are they really needed? If you setup the device button lock correctly, then what's the point of a S2U app? All it does is add one more step to getting to your today page....
Click to expand...
Click to collapse
Those apps you mentioned take a ****load of memory and add to battery drain because of all the animations and graphics. His is a simple slide function that sips memory and battery life. Very useful IMO. Sliding is good cuz I find unlocking the WM way to be annoying. I have to touch an icon to lock. Then to unlock, I have to press two buttons. With sliding, it locks automatically and unlocking is accompished in one simple motion.
You're right that there's already enough S2U programs.
I also think S2U2 is an awesome balance between beauty and speed/mem cost. For people who have only tried S2U, you really need to change to S2U2... WAY faster and stable!
In most cases, yes S2U isn't that necessary, as it's similar an extra step to get to your today page, but I need it because:
1) My alarms don't wake if the phone is on standby, so I put it onto S2U2 mode when I sleep
2) My audio manager doesn't go to the next song if the phone is on standby, so I have to lock my phone while listening using S2U2
I question how good it'll be to have Slide 2 Lock as a today plugin, since I don't need some extra waste of space. What I do is set the gesture right-to-left (using FTouchFlo) to execute S2U2 so when I slide right to left, it opens S2U2, then sliding left to right, unlocks it. Love it!
smittyofdhs said:
is it me or do we really need another "slide to unlock" app to mimic the iphone. There's already S2U Pro & S2U2.
What's funny, is that yeah these are cool but are they really needed? If you setup the device button lock correctly, then what's the point of a S2U app? All it does is add one more step to getting to your today page....
Click to expand...
Click to collapse
I hate to say it, but that's not quite true. If you setup the lock all buttons, sure you won't accidentally turn it on, but if you get a phone call, it doesn't just power right off (at least my 6700 doesn't) - it can and has made phone calls like that...
And as for the S2U/2 - they use quite a bit more memory than this. A 5k program use is great, although I won't use it because I like the clock on s2u2.
Great App
This is all I ever really wanted. Just a very simple slide unlock. simple.
Excellent.
thanks.
This simple slide to unlock app is perfect for my needs...Thanks!
The point here is WJames created an application for his own use and shared it with everybody. If someone think that it is not req. they might not use it. Anyway thanks for the nice little app.
Thanks! Great small app. Would be fantastic with a simple white clock above the lock bar though, so we could check the time on the phone without unlocking it. Thanks a bunch!
Do you want an additional 'THREE' customizable homescreens on your Hero? Well, there's an 'app' for that! HA!
First, I'm not sure if doing this has any bugs or inherent problems, and I am not responsible for any problems you may encounter doing this! BUT, I haven't experienced any so far myself.
Anyway, I stumbled onto this by using the Home Switcher app. When I saw how it launched the original Android Home app, that gave me an IDEA.
Using an application called 'Bar Control', I setup a Taskbar ICON to launch the native Android 'Home' application which, if you ask me, 'extends' the Hero with an additional three homescreens. I simply pull down the Taskbar and tap Home to launch the original Android Home app which gives me access to three more homescreens. AND, a simple tap of the Home button takes me back to HTC Sense.
So, I now have TEN (10) homescreens!!!!! These additional native Android homescreens are where I put some Android widgets (non HTC Sense widgets of course). And get this, the two Sprint widgets, NFL Mobile Live and Sprint TV, are available too! The Hero uses the same Wallpaper for both HTC Sense and Home, but it unlocks the native Android wallpaper gallery too.
Steps I did:
1. Downloaded Bar Control from the Market.
2. Launched Bar Control and waited for it to scan all the programs.
3. Scrolled down to the app called, 'Home' and selected it.
4. Selected an ICON of choice. (I used the same home ICON)
5. Pulled down my Notification Bar, tapped 'Home, and WALLA!
Simply hit the Home button to return to HTC Sense.
Note: To get rid of this Home ICON in the Notification Bar, simply perform the first three steps above again which will remove it.
OK, now can anyone tell me of a simple shortcut app that can be set to launch the native Android Home app without having to go through the Taskbar via the Bar Control app in my example above?
So, I believe this is the GREATEST HERO HACK so far!
When two unused screens just aren't enough lol, nice find.
Not really an hack if you ask me... why don't you install a few extra homescreen replacement apps (like openhome) so you'll even have more homescreens
this is not a hack at all. installing apps and using them as intended is as far away from a hack as could be. please change the title, this is so lame...
btw, i would love to have my homescreens scrolling "round", meaning if i swipe screen #7 (the most right one) to the left i want to go to screen #1 (the most left one). anybody know if this is possible?
kendong2 said:
btw, i would love to have my homescreens scrolling "round", meaning if i swipe screen #7 (the most right one) to the left i want to go to screen #1 (the most left one). anybody know if this is possible?
Click to expand...
Click to collapse
I would like to know this as well, I sort of wonder why htc didn't design it like that.
DaWeav said:
5. Pulled down my Notification Bar, tapped 'Home, and WALLA!
Click to expand...
Click to collapse
[PEDANTRY-MODE]
It's "Voila" not "Walla"!
[/PEDANTRY-MODE]
Sorry, couldn't resist - to me, it's like fingernails on a black board!
Regards,
Dave
lol, the same happens when you install any theme app such as open home, dxtop, etc...
What happens is, the default for the home button is cleared of it's default (HTC Sense) giving you the option which home screen you want to fire up after holding down the home button.
You could probably just clear the default yourself in App settings, limiting the need for another app all together.
Downloading a home screen app equals hacking your phone?
give him a Break it was his first post.He was over zealous on his find..LOL
well atleast he let us know about his find.sum peeps probably wouldnt had even shared..thx DaWeav
Yup, just to elaborate on what N0J mentioned:
menu/settings/applications/manage applications/HTC Sense
tap "Clear defaults"
Now, every time you push your "Home" button you will be presented with the options "Home" and "HTC Sense." As long as you don't check the default box you will always have a two-touch access to either interface.
Alternatively, for those that prefer vanilla Android to Sense, check the default box and hit "Home." Your phone will no longer load the Sense UI. This can be reversed by going to Home in manage applications (above) and again clearing defaults.
cgraunke said:
Yup, just to elaborate on what N0J mentioned:
menu/settings/applications/manage applications/HTC Sense
tap "Clear defaults"
Now, every time you push your "Home" button you will be presented with the options "Home" and "HTC Sense." As long as you don't check the default box you will always have a two-touch access to either interface.
Alternatively, for those that prefer vanilla Android to Sense, check the default box and hit "Home." Your phone will no longer load the Sense UI. This can be reversed by going to Home in manage applications (above) and again clearing defaults.
Click to expand...
Click to collapse
Well said and thanks for the detailing the steps out for me!
Dang. I thought this was actually going to be some useful information that could lead me to getting rid of the 4 unused homescreens
This isn't a hack and not much of a discovery but if it makes you happy...
Would be kind of cool if Sense had 10 screens of its own.
nice find! But yes, 7 home screens is a little much. until we find some better widgets.
kendong2 said:
this is not a hack at all. installing apps and using them as intended is as far away from a hack as could be. please change the title, this is so lame...
btw, i would love to have my homescreens scrolling "round", meaning if i swipe screen #7 (the most right one) to the left i want to go to screen #1 (the most left one). anybody know if this is possible?
Click to expand...
Click to collapse
GDE Home Screen does this
edit: by the way this is a dumb "hack"
I'm assuming this works for vanilla android as well? One of the most annoying things about my Moment that my Hero does is only having 3 screens.
Does anyone know how to REMOVE any of the homescreens from sense?
My hero is so slow!
I really hope that as part of an update to Sense that they make it so you can have any number of screens so long as it's 2X+1. (1, 3, 5, 7, 9, 11)
Personally, I only really use 5, so I would just drop the last 2 screens and have the little indicator get a tiny bit larger.
Hello all,
I'm looking for an application which will allow me to toggle my Wifi, Bluetooth, GPS, Mobile Internet, Hotspot, Auto Rotate without leaving any application. Because sometimes when you go into some application and needs to turn on Mobile Internet because wifi is not working, then you'll have to come to home screen to turn off wifi and then turn on mobile internet, instead of that, what if there was an application which will do as follows.
Long press home button, instead of displaying recent apps which I'm sure is of no use, it will display toggle switches from which you can turn on or off bluetooth, WiFi, GPS, Hotspot etc.
It will also allow option after press to select Toggle or Recent Apps. Optionally user will be able to set the desired behavior on long press of home button in the settings if he wants to directly open the toggle or recent apps or choose at runtime.
There are some applications which allows you to do this using search button, but most of the applications already use search button for in within application search, whereas they don't use home button for anything and long pressing home button won't interfere without any action in actual application.
Thanks for listening and I'd love if someone can find the application if already developed. If not, I just gave the idea for development of new tool.
Not sure if it's an option to you, but you can run cm7 nighties. In there you have the option to define any application to run after long pressing the home or search key
Since you cant get the CM7 Nightlies, you can get some of the many applications that are listed in the Android Market which puts the toggle switches along with the notification bar. As I had specified in some other thread, here is a short list, just lifted from there:
* Extended Controls
* Bartender
* Bar Control
* Power Control Plus
* Widgetsoid
* Quickdesk
Hope they do work out for you.
Good Luck
jorgen2009 said:
Not sure if it's an option to you, but you can run cm7 nighties. In there you have the option to define any application to run after long pressing the home or search key
Click to expand...
Click to collapse
Perfect. long press home button to start the popup of notification is sweet. That's exactly what I'm looking for. But as my wildfire came with 2.2.1, no root and no custom roms.
3xeno said:
Since you cant get the CM7 Nightlies, you can get some of the many applications that are listed in the Android Market which puts the toggle switches along with the notification bar. As I had specified in some other thread, here is a short list, just lifted from there:
* Extended Controls
* Bartender
* Bar Control
* Power Control Plus
* Widgetsoid
* Quickdesk
Hope they do work out for you.
Good Luck
Click to expand...
Click to collapse
{
"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"
}
Have a look at above screen, I'm looking for something which will start the above screen. MySettings and Quick Settings does the job, but they won't start from some applications like Opera where even long pressing Search key brings the search bar.
So is there any way to add applications to home screen long press action. Why are they all insisting on using Search key long press instead of home key long press?
Does any of above applications provide the home screen long press initiation? Thank you.
Did you try any of the applications I listed? They are placed along with the notification bar, something like this:
So, with that, although the disadvantage is that you cannot get so many settings on that as posted in your screen shot, the advantage is they are universally available everywhere, and, does not require any button presses. I would assume that the Search Key is the most preferred one for app developers, since, it is the "least" used key among the 4, simply because, even without the search key, almost all apps and even the home screens, have their own search functions and widgets.
The problem is, most of the applications including Opera hides the notification bar and there's no way to access those settings in Opera or the applications which hides the notification bar. Search key is least used, agreed. But the home key long press is something no application will ever use as it's a key which will let you exit the application. On the other hand, search key long press is used in Opera, Market and some other applications that I can't recollect at this point of time.
The problem with above applications list is, all of them are aiming at displaying toggles either on home screen or through notification bar, but none of them give us ability to choose the custom keys. I appreciate your help mate, but I'm looking for more specific thing.
Also I'd like to know from some developer if it's possible to assign custom application to home key long press without rooting? If not, may be that is the reason no one has come up with home key long press instead of search key long press.
Launchkey lets you assign a custom app but only for long pressing search button.
Sent from my HTC Wildfire using XDA App
chiaotzu said:
Also I'd like to know from some developer if it's possible to assign custom application to home key long press without rooting? If not, may be that is the reason no one has come up with home key long press instead of search key long press.
Click to expand...
Click to collapse
There are apps in the market that do this - but, they are only Task Manager Apps. More advanced versions of the default Android Task Switcher.
But, that's an idea as well. Many task switchers allow you to "stick" app shortcuts there. So, simply install one of the task switchers, add the shortcut to Quick Settings there, and, you should be able to use it without exiting Opera Mini / other apps.
This is probably an extremely long and tiring method, but nothing else comes to my mind.
kevin2516 said:
Launchkey lets you assign a custom app but only for long pressing search button.
Sent from my HTC Wildfire using XDA App
Click to expand...
Click to collapse
Indeed, I don't know why everyone is sticking to long press of search key instead of long press of Home key, which I think is available on all android handsets, unlike search key on samsung galaxy phones.
3xeno said:
There are apps in the market that do this - but, they are only Task Manager Apps. More advanced versions of the default Android Task Switcher.
But, that's an idea as well. Many task switchers allow you to "stick" app shortcuts there. So, simply install one of the task switchers, add the shortcut to Quick Settings there, and, you should be able to use it without exiting Opera Mini / other apps.
This is probably an extremely long and tiring method, but nothing else comes to my mind.
Click to expand...
Click to collapse
Thanks for keeping up with me. I have tried the task switcher applications as you said, but I couldn't find an app which will be activated on long press of home key. Most of them again uses the search key or notification bar. Now I don't know if there are certain set of rules, but Android applications don't have coherent UI interface as compared to iOS. And that is the reason, I think Opera is in fault or we're expecting too much from our Mobile?
3xeno said:
Did you try any of the applications I listed? They are placed along with the notification bar, something like this:
So, with that, although the disadvantage is that you cannot get so many settings on that as posted in your screen shot, the advantage is they are universally available everywhere, and, does not require any button presses. I would assume that the Search Key is the most preferred one for app developers, since, it is the "least" used key among the 4, simply because, even without the search key, almost all apps and even the home screens, have their own search functions and widgets.
Click to expand...
Click to collapse
chiaotzu said:
The problem is, most of the applications including Opera hides the notification bar and there's no way to access those settings in Opera or the applications which hides the notification bar. Search key is least used, agreed. But the home key long press is something no application will ever use as it's a key which will let you exit the application. On the other hand, search key long press is used in Opera, Market and some other applications that I can't recollect at this point of time.
The problem with above applications list is, all of them are aiming at displaying toggles either on home screen or through notification bar, but none of them give us ability to choose the custom keys. I appreciate your help mate, but I'm looking for more specific thing.
Also I'd like to know from some developer if it's possible to assign custom application to home key long press without rooting? If not, may be that is the reason no one has come up with home key long press instead of search key long press.
Click to expand...
Click to collapse
The long press button functions are "hard-coded" into the ROM, and Search is mapped to "Custom-Shortcut" or something like that; simply put, app developers can ONLY use long press Search. On CyanogenMod it's a different story, because they added additional code to open up the other buttons.
chiaotzu said:
Thanks for keeping up with me. I have tried the task switcher applications as you said, but I couldn't find an app which will be activated on long press of home key. Most of them again uses the search key or notification bar. Now I don't know if there are certain set of rules, but Android applications don't have coherent UI interface as compared to iOS. And that is the reason, I think Opera is in fault or we're expecting too much from our Mobile?
Click to expand...
Click to collapse
Well, browsing the market, I found this app switcher which claims it works with the Home Key. Couldn't test it though, since it's a paid one:
https://market.android.com/details?id=com.magouyaware.appswipe2
Even this one claims to do the same thing: (Again paid though)
https://market.android.com/details?id=com.magouyaware.quicklaunch
And one more, which seems exactly like what you are looking for:
https://market.android.com/details?id=mobi.intuitit.android.p.powerstrip
Will keep looking for any free solutions and let you know.
EDIT: One Free Solution:
https://market.android.com/details?id=mobi.conduction.swipepad.android
But, here's the catch. "Officially", it is not compatible with the Wildfire. So, you will have to look elsewhere for the APK and sideload it on your Wildfire,
Hope it works out.
Good Luck
3xeno said:
Well, browsing the market, I found this app switcher which claims it works with the Home Key. Couldn't test it though, since it's a paid one:
https://market.android.com/details?id=com.magouyaware.appswipe2
Even this one claims to do the same thing: (Again paid though)
https://market.android.com/details?id=com.magouyaware.quicklaunch
And one more, which seems exactly like what you are looking for:
https://market.android.com/details?id=mobi.intuitit.android.p.powerstrip
Will keep looking for any free solutions and let you know.
EDIT: One Free Solution:
https://market.android.com/details?id=mobi.conduction.swipepad.android
But, here's the catch. "Officially", it is not compatible with the Wildfire. So, you will have to look elsewhere for the APK and sideload it on your Wildfire,
Hope it works out.
Good Luck
Click to expand...
Click to collapse
Probably works with a listener service constantly running in the background or something; point is, it will always be better done in CyanogenMod, at system level
3xeno said:
Well, browsing the market, I found this app switcher which claims it works with the Home Key. Couldn't test it though, since it's a paid one:
https://market.android.com/details?id=com.magouyaware.appswipe2
Even this one claims to do the same thing: (Again paid though)
https://market.android.com/details?id=com.magouyaware.quicklaunch
And one more, which seems exactly like what you are looking for:
https://market.android.com/details?id=mobi.intuitit.android.p.powerstrip
Will keep looking for any free solutions and let you know.
EDIT: One Free Solution:
https://market.android.com/details?id=mobi.conduction.swipepad.android
But, here's the catch. "Officially", it is not compatible with the Wildfire. So, you will have to look elsewhere for the APK and sideload it on your Wildfire,
Hope it works out.
Good Luck
Click to expand...
Click to collapse
OMG, that did the trick. Thanks a million. Used the Quick Launch to start the MySettings app and it's perfect. It allows us to use home key, not a long press though as explained by NickHu. But it allows us to quick press it 2 times and set the maximum delay for which the action will be effective. Like if you set it to 500ms, after pressing Home button, it will wait for 500ms for you to press home button one more time. If you press home button in those 500ms, your specified application will open. If you don't do anything in those 500ms, it will perform the default home button behavior.
@NickHi, Perfect and always, it will be better at system level rather than at application level. But when I bought this Wildfire, I was on 2.2.1. So can't root, won't be able to install CyanogenMod or any other custom ROMs. So the above setting is working pretty good for me.
I'd like to know one more thing. How to get that notification setting which in turn is the best way to toggle in applications which shows you notification bar.
Kindly link me to the application which will add the panel in notification window.
chiaotzu said:
Kindly link me to the application which will add the panel in notification window.
Click to expand...
Click to collapse
I listed these in the first post I made in the thread. You can check them out.
* Extended Controls: https://market.android.com/details?id=com.extendedcontrols
* Bartender: https://market.android.com/details?id=com.miromind.bartenderlite and https://market.android.com/details?id=com.miromind.bartender
* Bar Control: https://market.android.com/details?id=com.schwimmer.android.barcontrol
* Power Control Plus: https://market.android.com/details?id=com.siriusapplications.eclairwidgets
* Widgetsoid: https://market.android.com/details?id=com.jim2 and https://market.android.com/details?id=com.jim_donate
* Quickdesk: https://market.android.com/details?id=sg.ruqqq.quickdesk and https://market.android.com/details?id=sg.ruqqq.quickdeskpro
All of these add the toggles to the notification bar, as it is in my screenshot.
Thanks a lot. Everything is perfect now. The software is widgetsoid. Thanks a lot everyone who has helped me.
Advice for widgetsoid (in case you don't know yet)
If you want to have the widget ONLY in the notification bar choose the 5x1 type widget, after configuring the wanted widget uncheck the "open popup" in notification tab in widgetsoid (this so that the widget doesn't popup after the selection in the notification bar).
Also if you want something more simple search the market for status bar settings.
https://market.android.com/details?id=karson.app.SettingsBar
Cheers.
stuffynet said:
Advice for widgetsoid (in case you don't know yet)
If you want to have the widget ONLY in the notification bar choose the 5x1 type widget, after configuring the wanted widget uncheck the "open popup" in notification tab in widgetsoid (this so that the widget doesn't popup after the selection in the notification bar).
Also if you want something more simple search the market for status bar settings.
https://market.android.com/details?id=karson.app.SettingsBar
Cheers.
Click to expand...
Click to collapse
LOL yeah. Figured it out eventually. I was clicking on the toggles and every single time, there was this popup. Then did some trial and error, and got rid of it successfully. SettingsBar looks good, but will switch to it when few more toggles support comes i.e. Orientation toggle which is a must when reading something while sleeping, annoying little android keeps them switching in weird orientation making it impossible to read, thanks to lock orientation on Widgetsoid.
And It gave me some warning after I tried to made the 5x1 widget that "OMG ITS ONLY FOR BIGGER SCREENS AND BLABLA" So made the 4x1 widget, but I guess that doesn't make any difference at all, I have 8 toggles on it anyways.
Hi!
I've found a strange Activity behavior while programming a game for Android (currently with API level 8)
Following Situation:
The Main Activity only consinsts of one View on which the Game Thread draws all the sprites and stuff. In the manifest I checked android:multiprocess="false" and android:launchMode="singleInstance" for the Main Activity, so that Android only creates one instance of this activity, so you always come back to your left game after pressing the home button and starting the app again. This works great, but if I turn off the screen WHILE in game, and the activity is active, and turning it back on, Android creates another instance of the game (the Main Activity), so it starts over again.
So my question is, what could I do to prevent this and have the same behavior as if switched back to Home Screen before turning off the screen?
(The testing device is a HTC Desire HD with Android Revolution HD 5.1.7, if this is necessary information for helpers )
I hope someone here can help me!
I think you will have to listen for the screen off intent and handle this situation very explicitly. Maybe make the pause screen come up and then when it turns back on have your activity check for instances of itself and then deal with it.
Do you use static activities?
From something awesome
Thanks for your answer
The ScreenOff/On Intents method would be easy, but how can I recover the old Activity in the new one?
The Activity should be static, cause of the manifest properties, or not?
Another idea: In the onPause() Method queck if it was Screen off (with the corresponding intent) and 'call' the home button
Is this possible? And how could I realize this?
There is a way to use adb to send the home key press. And you can run adb on the phone with getRuntime().exec("adb keyevent xx")
Where xx is the home button constant
From something awesome
Thanks for your help!
But I made it now a much easier way...
One single 'moveTaskToBack()' in the onPause and everything works perfect!
Nice. Its always best to assume that android will do nothing to manage your app and to just do everything very explicitly
From something awesome
My goal:
RenderFX is a CM7 settings feature that puts a color mask of your choosing over the screen. I believe it is generated by an app called CMParts.apk. I am running on the Neutrino 3.0.2 ROM for the Atrix 4g. I love this ROM paired with this phone. It's very minimalist, but does everything I could possibly want.
There is a widget built into CM7 that generates the intent that I want, but it's hideous and inconvenient (I have a picture of it attached to this post). I'd like to be able to trigger it maybe from a soft key long press or through an invisible widget in which I can touch the home screen to activate it. I have the means to create the soft key and/or invisible widget. All I need to do is figure out how to find the intent and write it in such a way that one of my apps (Macrodroid and/or DesktopVisualizeR) can use it as a trigger to turn on RenderFX.
My questions:
Would anyone here know of an app or file in the android system that shows the intents being generated? From here, I would be able to get clues as to what app the RenderFX runs through and the language that calls up the service.
Also, what is the proper format to request a specific intent from an app on android 2.3.6 (CM7)? I have no idea how to do this.
Maybe, someone can shed some light on this.
Thank you so much.
Crazy filter, idk though