[Q] [req] "Multitask" Lockscreen - Android Q&A, Help & Troubleshooting

Hi, I've had an idea to develop a some kind of lockscreen.
The main purpose is to switch apps from the lockscreen. I don't know if is this possible (I'm kinda newby to develop), by doing a widget for the new 4.2 unlock screen, or should be done from the bottom.
You could think, 'when you have a notification, touching it, you can switch apps from the lockscreen', but if I don't have that notification? I must unlock, press tasks button (or hold home button in most galaxys) and then touch the app. It's not a big effort, but I leave here my thought.
If someone wants to develop it, I would like to join (learning purposes).
Thanks & Regards!

misejoh said:
Hi, I've had an idea to develop a some kind of lockscreen.
The main purpose is to switch apps from the lockscreen. I don't know if is this possible (I'm kinda newby to develop), by doing a widget for the new 4.2 unlock screen, or should be done from the bottom.
You could think, 'when you have a notification, touching it, you can switch apps from the lockscreen', but if I don't have that notification? I must unlock, press tasks button (or hold home button in most galaxys) and then touch the app. It's not a big effort, but I leave here my thought.
If someone wants to develop it, I would like to join (learning purposes).
Thanks & Regards!
Click to expand...
Click to collapse
And....it's done. It's called Cover:
Cover[ play.google.com/store/apps/details?id=com.coverscreen.cover ] - 18 April 2014

Related

[APP][UPDATED Updated 26/01/2010] PLToggle - Toggle screen rotation

I made this program in answer to a request in the HD2 General forum, but thought I should post it here.
It's a small app that toggles the display orientation back and forth to the rotation of your choice, without the need for the g-sensor.
The default installation includes the settings screen (available from your start menu), and the application itself, which is available via a long-hold of the call button. When the application is first installed, it defaults to standard landscape (the left of the phone being the bottom), but this can be changed via the settings screen.
BIG THANKS!! to vonski and Eldorado9 for their patience and testing. Thanks guys
Have fun
Note:
Manila doesn't like being forced into landscape, so you can't use this app for that - sorry. It works upside-down, just not sideways. (I've got a HD2 with Sense/Manila 2.5)
Also, I've only tested this on a WVGA device and would like to know how it works on other resolution devices, so please feel free to private message me with any feedback regarding this.
Change details (26/01/2010)
Removed the long_send link that was originally being installed in the Windows folder.
For some reason, when you press the call button to answer a call, it executes the long_send link, despite only being a quick send.
This only happens when there's an incoming call. I've removed this link from the installer, but you still execute the toggle with a long-hold of the call button.
NOTE: The installer will remove the long_send link from your windows folder.
Change details (13/01/2010)
Added the settings screen so there's now only 1 installer, instead of 3.
If you do have the previous version, you can simply delete it from the windows folder, or just leave it and install this one.
It will override the existing version's functionality, despite being able to install it on your storage card now.
Great Job!
John,
Great job and thanks for this. First thing that comes to mind is why did you not combine these into one programme so one can have the option to go left, right or upside down without having to install 3 separate apps?
If its not difficult to do and you can spare the time to do it then I would be very interested in a single combined app that I could run off my quicklinks.
I'm subscribing to this thread to watch developments.
Thanks again.
WB
wacky.banana said:
John,
Great job and thanks for this. First thing that comes to mind is why did you not combine these into one programme so one can have the option to go left, right or upside down without having to install 3 separate apps?
If its not difficult to do and you can spare the time to do it then I would be very interested in a single combined app that I could run off my quicklinks.
I'm subscribing to this thread to watch developments.
Thanks again.
WB
Click to expand...
Click to collapse
It actually is 1 program, but the shortcut (long_send) is different in each zip file, and that tells the app which direction to rotate the display.
This started because someone asked for an app that would put their display in landscape and then back again, with a long-hold on the call button. After I'd done that for them, someone else asked for the opposite direction. Whilst doing that I remember that someone had once asked how to change the display to upside-down, so I did that at the same time.
The main idea here is that you pick a default rotation, and then you only have a button press to toggle it on and off. Anything more than that would require a UI and therefore more interaction, and since I'm trying to keep interaction to a minimum, that sort of goes against the principle of it.
I'll have a think about it though, but I think what you're suggesting is a completely different application. I'm not against doing that, but it won't be part of the development of this.
Thanks for the suggestion mate
Ah ok, I see. Also understand the "minimalist" philosophy behind the development.
The way I would use a programme like this would be to have it as a quicklink on my front screen (I tend not to link things to hardware buttons) which would then give me the options of (L)eft, (R)ight or (U)pside Down. If that requires a UI (I guess it does) then don't go to all that trouble.
The problem with me is I don't always rotate my device the same way all the time (I'm weird like that) although upside down is a new one on me (I remember Tubgirl, I think, asking for that).
Cheers anyway.
WB
Very nice....it's much more convenient than using BSBTweaks and shaking it... Thanks!
Just a quick question:
I use the Standard Windows Hardware Button Assignment and mapped my internet browser button with "rotate Screen"...
now here for the question: Is it possible to write that app for other buttons too? 'cause i'd love to have multifunction on my browser button and your app is almost perfect for it^^ short press = Opera, long hold = rotate... that would be SO AWESOME!!!!
btw: your app is great as it is now.... it's just a question^^
strange_nu_kid said:
Just a quick question:
I use the Standard Windows Hardware Button Assignment and mapped my internet browser button with "rotate Screen"...
now here for the question: Is it possible to write that app for other buttons too? 'cause i'd love to have multifunction on my browser button and your app is almost perfect for it^^ short press = Opera, long hold = rotate... that would be SO AWESOME!!!!
btw: your app is great as it is now.... it's just a question^^
Click to expand...
Click to collapse
Thanks for the comment
I think to do what you've suggested, you'd need something like AEButtons. I've never used it myself, but I believe you can assign different actions for long and short button presses to hardware buttons.
Hope this helps
Thanks thanks thank you very much
another key assignement
is it possible to assignt the exe not to long send button but to windows start button (u know that one in the middle in htc leo-next to home button)
tnx in advance.
karaern said:
is it possible to assignt the exe not to long send button but to windows start button (u know that one in the middle in htc leo-next to home button)
tnx in advance.
Click to expand...
Click to collapse
You'll need to look at other software for that. Try AEButtons. It's not something I use myself, but I believe it will do what you want.
tnx for the fast replay...actually i started to use that toggle and it works fine with long press key.
eve bsb tweek cant rotate application screen on LEO but that toggle does it.
tnx
karaern said:
tnx for the fast replay...actually i started to use that toggle and it works fine with long press key.
eve bsb tweek cant rotate application screen on LEO but that toggle does it.
tnx
Click to expand...
Click to collapse
Glad it's helped mate.
Version 2 will be coming soon, with a settings screen where you can select an orientation, rather than having 3 different downloads.
Thank you vry much.
thanks man!!
Thanks
Many thanks for this, a very useful app
wacky.banana said:
First thing that comes to mind is why did you not combine these into one programme so one can have the option to go left, right or upside down without having to install 3 separate apps?
Click to expand...
Click to collapse
I never liked it the way it was, so I've done some work to give you a UI so you can select a rotation style for the application.
Hope this is better for you
johncmolyneux said:
I never liked it the way it was, so I've done some work to give you a UI so you can select a rotation style for the application.
Hope this is better for you
Click to expand...
Click to collapse
John,
In the language of the streets, "yo da man!"
Just downloaded and will give it a try in a minute. Sounds like just what the doctor ordered.
Cheers again.
WB
PS: Does this mean that our request has given you a chance to hone your UI skills then (lol)?
wacky.banana said:
Does this mean that our request has given you a chance to hone your UI skills then (lol)?
Click to expand...
Click to collapse
Heh - They're far from honed! If it were a windows (PC) app I was building, I'd have no problems. I'm pretty nifty around windows on a PC, but mobile dev is pretty new to me, so I'm just picking it up as I go along. It's always good to find someone asking for something that makes me think "I could do that!"
Cheers for the comments mate - hope you like the new version
Just perfect on my Touch Diamond!!!! Thanks
Towserspvm2000 said:
Just perfect on my Touch Diamond!!!! Thanks
Click to expand...
Click to collapse
Thanks for the comment mate - nice to know it's working well on a different resolution.

Does anyone else want a lockscreen for their Archos?

Hey all. I always wondered why Archos didn't make a lockscreen (like most android phones have). I always liked to have some widgets and info on my old iPhone lockscreen so I could see basic info without having to unlock the device.
Has anyone come across a way to add a lockscreen to Gen8 devices? An option to turn on/off the lockscreen would be a nice addition by Archos.
I had used this basic method to lock my screen.
Settings --> Location & security --> Change screen lock
You can use Pattern or PIN to unlock screen.
If you need Slide to unlock, you can search "Unlock Screen" for apps in market.
jakkrith's method is great. or you could purchase widget locker from the Market:
https://market.android.com/details?id=com.teslacoilsw.widgetlocker
chemical1der said:
jakkrith's method is great. or you could purchase widget locker from the Market:
https://market.android.com/details?id=com.teslacoilsw.widgetlocker
Click to expand...
Click to collapse
Force Closes on A70S.
I think what Techngro means is a lockscreen which also shows some useful information like calendar, todo list, etc..without a need to unlock it.
Sent from my A70S using Tapatalk
I installed widgetlocker, but I got a problem now.
When I try to put out my screen (by pressing the power button)
The screen will turn black, as it has to, but then the slide bar will return.
I have to push the power button again to let the screen stay black.
Is there a setting I set wrong? Or is there a way to let the screen turn black and stay out at once? (until I push a button ofc)
Zinloos1 said:
I installed widgetlocker, but I got a problem now.
When I try to put out my screen (by pressing the power button)
The screen will turn black, as it has to, but then the slide bar will return.
I have to push the power button again to let the screen stay black.
Is there a setting I set wrong? Or is there a way to let the screen turn black and stay out at once? (until I push a button ofc)
Click to expand...
Click to collapse
Some folks have reported sleep issues with widget locker. you should check out the thread on XDA for possible solutions. i believe there is setting in WL to prevent it from coming back on:
http://forum.xda-developers.com/showthread.php?t=732986
I looked there, but couldn't really find it in the 680 comments.
Used the search function, but I don't think I use the right words..
Can you tell me where to look, or what words to look for?
bthoven said:
I think what Techngro means is a lockscreen which also shows some useful information like calendar, todo list, etc..without a need to unlock it.
Sent from my A70S using Tapatalk
Click to expand...
Click to collapse
Yes, that is what I was thinking about. I'll take a look at widget locker though.

CM7 features MIUI needs

Not sure if this is impossible, easy, or even already accomplished, but coming from CM7 to MIUI there are two CM7 features that I am sorely missing:
1. Lockscreen gestures. I want to secure my device, but I've always hated that with Android you have to get past your "slide this there" lockscreen, THEN enter your pin or draw your pattern before you can get to the phone. With CM7, you can turn off the slides/rotaries/tabs/whatever that normally appear on the lockscreen (so it's just your lockscreen background, clock, and music controls) and set it to unlock when you draw whatever special invisible lockscreen gesture (which I also feel is more secure/less susceptible to onlookers than connecting dots on the Android pattern grid) you specified. This feature is great, and I think a lot of people misunderstand it!
If that isn't possible, does anyone know how you can at least turn off the conventional lockscreen if you have the pattern lock on? I really just hate the redundancy of the two-step unlock process.
2. (Screen off) long press volume-button track skipping. Simple as that. I need to be able to skip tracks without looking at my device (when running, driving, working out, whatever). Even lockscreen music controls don't cut it, because you have to click the screen on, look at it, poke the right button, relock the screen etc. When you're running, being able to long press on the volume up button to skip a track is HUGE.
I'm loving MIUI otherwise. Looking forward to Ace getting a handle on the wakelock, and sound/games/media issues.
As an aside, I do wish Xiamoi would release source code for people to comb through...it seems weird to me that a corporation--Chinese or otherwise--would sink untold dollars/development hours perfecting and making freely available a product that offers no clear monetization strategy. Furthermore, Huawei and Baidu's longstanding cooperation with Chinese Intelligence agencies makes me leery of Chinese corporate interest)
Gestures would be cool especially since on the default lock screen you have over half the screen of nothing.
(Accidentally hit reply. Oops.)
Kevin M said:
(Accidentally hit reply. Oops.)
Click to expand...
Click to collapse
Just wondering, if you accidentally hit reply, why "submit" the comment? You could have still avoided it.
Just found this flashable MIUI mod for the volume track skipping:
http://forums.miuiandroid.com/showthread.php?7356-MOD-Skip-track-via-volume-press
I haven't given it a shot yet, but if it works, it might be a good one to build into Ace's MIUI (like he inbuilt the extended settings mod).
Still keeping my eyes out for a lockscreen gesture mod.

[Q] How to access core Android functions like app switching

Is there any way to access core Android functions like app switching (holding down the Home button for a few seconds), to be used in other contexts? Similar to how you can access Activities from the apps installed and use them as Shortcuts.
What I'd like to do is this:
press Home -> bring up app switching interface
long-press Home -> go to Home screen
Basically I want to reverse the two functions that short and long pressing the Home button does.
If not that, I'm also interested in being able to access the "app switching interface" via a Shortcut (like a Shortcut you place on your Home screen), or via an app.
For example, you can long-press on the Home screen and add a Shortcut (different than adding a shortcut to an App) which basically includes various context functions of some of the apps you have installed. I want to be able to do this - add a Shortcut - in which the Shortcut I add launches the "app switching interface" that you normally get by long-pressing the Home button. That way I can put that Shortcut in Wavelauncher or wherever else I want to be able to app switch without the annoyance of having to long-press something.
Maybe this kind of thing requires root and hacking, but that's why I'm here! I'd be grateful for any advice and help; thank you!
As far as I know you'll need a custom rom like cyanogenmod or aokp to do things like that.Being able to do that in a stock rom would compose of alot of work within the framework-res.apk, systemUI.APK, and button maps. To flash a custom rom require root and clockworkmod. I want to help you but first what type of device do you have?
eugeneeaster18 said:
As far as I know you'll need a custom rom like cyanogenmod or aokp to do things like that.Being able to do that in a stock rom would compose of alot of work within the framework-res.apk, systemUI.APK, and button maps. To flash a custom rom require root and clockworkmod. I want to help you but first what type of device do you have?
Click to expand...
Click to collapse
I'll be getting my new LG Optimus G Pro in a few days. I was hoping, if I can't reverse the functionality on the Home button, that I could maybe assign the "app switching interface" to the programmable button on the side. Thanks for helping out by the way.
Is your device rooted? Also thank me with the button
eugeneeaster18 said:
Is your device rooted? Also thank me with the button
Click to expand...
Click to collapse
I don't have it yet, but I would be willing to root it. I'm using my good ol' GS2 Skyrocket for the next few days until it arrives.
Well I have my Optimus G Pro and I've been using it for a few days. I saw an app by the makers of Tasker that allows you to build your own app. Could I possibly use that to accomplish what I want (build an app whose function is to show the "app switching interface" )? Or would I really need to root it (and if so, what then?)?

Remap App Switch To Menu

So ive been search around for a while now on how to fix this. And to anyone that chimes in and says why do you need the menu button obviously you don't use older apps, the new touch button on the screen is a huge annoyance especially since i've used my phones this way since my first S1. Regardless this is how i want it and so do many other people.
Currently this is only for a rooted phone
I have figured out how to remap the left soft key from the App Switcher/Multi window over to the old style menu key. Instructions for that can be found here
But now i don't have any way of switching to my currently open apps, after remapping the left key, the longpress now takes you to search. and long pressing on the home button also takes you to another variation of the search (both i dont use nor want). I want to be able to remap my left softkey on longpress to open up currently open apps (APP_SWITCH) and it would be nice if long pressing on Home could open the Task Manager as it did on my S3.
As far as i can tell editing of the longpress function is done via a Policy edit. Read about that HERE
Keep in mind that post is from 2014 so i have no idea if the internal code is still being handled the same way, i couldn't even find that file on my S6, but i did find a file called SEPOLICY in my root folder using ROOT EXPLORER. Do any of you know more about this and how I can go about changing this? im sure its a code level adjustment. Thanks
Long-press home button can be controlled without root easily.
Check out this app:
https://play.google.com/store/apps/details?id=com.spada.nowgesturetweaksfree
I use the long-press home to get to my last used app.
I wonder if I can remap my buttons to launch any other apps.. Will have to tinker around a bit.
Ewww.
@rbiter said:
Ewww.
Click to expand...
Click to collapse
if you have nothing useful to bring to this discussion then please get out
j1635 said:
if you have nothing useful to bring to this discussion then please get out
Click to expand...
Click to collapse
very useful. menu for navigation is long long outdate. software nave or 3 dots is the customary way to go. adding a secondary menu button is redudant and unnecessary. my little ewww comment brought a lot to the table. you tryingt to call me out on it is less useful.
@rbiter said:
very useful. menu for navigation is long long outdate. software nave or 3 dots is the customary way to go. adding a secondary menu button is redudant and unnecessary. my little ewww comment brought a lot to the table. you tryingt to call me out on it is less useful.
Click to expand...
Click to collapse
lol f off
If you guys use Dropbox, how do you get to the menu with SORT, etc.. without a menu key. This is making me crazy. I'm using nova launcher and there is no floating menu key. ????
The problem is if not every developer uses it, it's inconsistent.
It often helps if the options etc. In apps are on the top, so you don't have to fidget with your phone to reach the top or use two hands.
The menu button on every app is positioned somewhere else, so I find the op wanting it justified.
All in one gestures let's you remap every key, for some odd reason on my s4 I can remap the menu key, but on the S6 for some odd reason the option of the menu key has vanished in the same app:what:
Sent from my SM-G925F using XDA Free mobile app
Hi pal. Hope it helps. Make 254 button remap, then install nova launcher, in tab gestures select long press menu and then recent app. Profit! Now once tapped you have menu button, long pressed - recent apps.
So, i made it, i use it. It works.
j1635 said:
So ive been search around for a while now on how to fix this. And to anyone that chimes in and says why do you need the menu button obviously you don't use older apps, the new touch button on the screen is a huge annoyance especially since i've used my phones this way since my first S1. Regardless this is how i want it and so do many other people.
Currently this is only for a rooted phone
I have figured out how to remap the left soft key from the App Switcher/Multi window over to the old style menu key. Instructions for that can be found here
But now i don't have any way of switching to my currently open apps, after remapping the left key, the longpress now takes you to search. and long pressing on the home button also takes you to another variation of the search (both i dont use nor want). I want to be able to remap my left softkey on longpress to open up currently open apps (APP_SWITCH) and it would be nice if long pressing on Home could open the Task Manager as it did on my S3.
As far as i can tell editing of the longpress function is done via a Policy edit. Read about that HERE
Keep in mind that post is from 2014 so i have no idea if the internal code is still being handled the same way, i couldn't even find that file on my S6, but i did find a file called SEPOLICY in my root folder using ROOT EXPLORER. Do any of you know more about this and how I can go about changing this? im sure its a code level adjustment. Thanks
Click to expand...
Click to collapse
but if i want to change the long press from split screen to menu? how do i find that? will it work the same?
Delphinus3 said:
but if i want to change the long press from split screen to menu? how do i find that? will it work the same?
Click to expand...
Click to collapse
look at my Rom.. it needs changes in framework to get that working..and it is working
Alex-V said:
look at my Rom.. it needs changes in framework to get that working..and it is working
Click to expand...
Click to collapse
i saw your page.. there are 2 roms i seem to like, yours and EMPORIA but idk who is best. lol i haven't even bought the phone yet but yea the menu button will be missed for me. what i want in a rom? if its based on stock i like it as close to stock as possible (no bloatware), call recording, if there's an option for increasing camera performance thats awesome, better battery life than stock original. that's it basically. and if i only want to root, how can i change menu longpress? i hered theres like a toolbox root app for galaxy devices...
Delphinus3 said:
i saw your page.. there are 2 roms i seem to like, yours and EMPORIA but idk who is best. lol i haven't even bought the phone yet but yea the menu button will be missed for me. what i want in a rom? if its based on stock i like it as close to stock as possible (no bloatware), call recording, if there's an option for increasing camera performance thats awesome, better battery life than stock original. that's it basically. and if i only want to root, how can i change menu longpress? i hered theres like a toolbox root app for galaxy devices...
Click to expand...
Click to collapse
it's only my personal rom..means it's not made for making any profit or let's say thousands of users..
i think you must try it yourself for one or two days and compare..my is very clean

Categories

Resources