Urgent Android Development Help To Enable Users To Select Multiple Images - Android Design Resources

Basically, I must make a secure locking device app where users may unlock their phone by swiping images they select to their likes and dislikes. I have started it, however I have a few problems at the moment on my project. I found quite a few useful source code I have been making use of on github I am trying to allow users to highlight the image that they select on the phone rather than display each image clicked.
I feel this must be done in order for ease of usability and comfort and from this screen I will take users to another screen where they may setup their likes and dislikes of the images they selected and hence use them in the locked screen to unlock their phone.

Related

[APP][WM6.5+] DeviceLockXT - A fix for the Windows Classic Lock Screen [UPDATED v1.1]

On WM6.5 and WM6.5.x you have the option of using the new sliding lock screen. I for one prefer to use the old 'Windows Classic' lock screen (i.e. the one where you have to tap the soft key then an unlock button like in WM6.1, see images), as it uses less memory and allows me to see the today screen. However, on many ROMs for HTC phones, even stock ROMs, it doesn't seem to work properly with regards to incoming calls.
When you receive an incoming call, the lock screen pops up asking you to tap unlock, but it is unresponsive and obscures the caller ID screen, meaning you can't see who's calling you or the accept / reject slider. On phones / ROMs were it does work properly, you sometimes still have to press the unlock button manually before you can do anything.
This had annoyed me for ages and I couldn't find a solution, so since I am learning C++ at uni, I decided to try and teach myself Win32 programming and create a a program to fix it. The result was this little utility, my first windows mobile app
The program basically just sits and waits for an incoming call, and when the system notifies it of one, if the device is locked it waits for the unlock screen to pop up and then very quickly presses the '*' key. The result is that the device unlocks before the screen messes up, allowing you to see the dialler! The app is very lightweight (executable is only ~6KB), fast (native code), and does not use the CPU whilst idle since it makes use of the windows messaging notification system. Should theoretically work on any resolution on any device, but I've only tested it on my Touch Pro2 (WVGA).
I originally made this just for myself, but XDA Developers has been so useful to me over the years I thought it would be nice to share it with you guys For this reason it is provided as is, I may or may not add to it. I'll try and fix any bugs and stuff if they arise, but I'd like to keep it a simple, lightweight app.
[size=+1]VERSION HISTORY:[/size]
1.0 - Initial Release
1.1 - Multilingual support. If v1.0 works for you, you don't have to upgrade but you can if you like.
Fixed the bug that causes program to crash if not using an English ROM.
Removed message box that tells you you're using the sliding lock. Program now just exits silently.
CAB file now changes the registry key to disable the sliding lock screen for you.
[size=+1]INSTALLATION:[/size]
I've attached the EXE in a zip file, simply unzip, place it on your device somewhere and run it to activate the program. Run it again to exit the program. You might like to place a shortcut in \Windows\Startup. The program will not run if you have the WM6.5 sliding lock enabled, you need to have set:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\LockScreen] "Enable"= dword:00000000 (obviously).
I've also made a cab file which just simply places the EXE in \Program Files\DeviceLockXT, and creates a startup shortcut and the reg key for you, if you prefer
If you already have DeviceLockXT installed and are installing a newer version, you probably need to stop the old one from running first, and you should probably uninstall the old CAB before installing the new one. I don't know what difference it will make if any.
Enjoy!
DISCLAIMER: In the unlikely event that this program damages your device / causes you to lose data / kills your cat / whatever, I am not responsible. Use at your own risk.
Feel free to include it in a custom ROM if you like!
This looks interesting. Like you, I also do not like the latest lock screen (I've been searching forever for a better one). Does yours support PIN lock? And if you wouldn't mind, I think it'd be cool to see a screenshot (or just a google image), I'm not sure if I remember the classic lock screen you are referring to...
Certainly! Images added & first post updated
The reason I like it is that it isn't a lock screen as such, more of a lock softkey. This allows you to see through to the lovely HTC flip clock when the phone is locked / you turn it on to see the time. You only see the rather ugly looking grey screen when you want to unlock the device.
The program will run if you have PIN lock enabled, but there is no need to use the program in this case, it will literally sit there doing nothing. If you are using the PIN lock then the dialler screen works fine, at least on my phone anyway
To use the Windows Classic Lock Screen with a PIN just set:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\LockScreen]
"Enable"=dword:00000000
Then enable a PIN in Settings > Lock and you're good to go! No need to install my program You can also set:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\LockScreen]
"ShowLockScreenPicker"=dword:00000001
To get an extra tab in Settings > Lock which lets you change lock screen without editing the registry.
EDIT: There is not supposed to be a space between the c and r in LockScreen in the reg keys, don't know why the forum does that.
I'm also a fan of the "Windows Classic Lock Screen", and have encountered the same problem that you describe!
So thanks a lot for this great tool, I'm trying it ASAP.
i see your point of locking and seeing at the same time your home screen right there and then and i think i'm liking it. i'll give it a try. any chance to change the "ugly" gray unlock screen to something else? a simple black one would be good for me, or better still to a customized background.
edit: btw, does this work on stock wm 6.5? it says 6.5+ in your post.
Yup, I meant 6.5+ as in 6.5 and above (including both 6.5 and 6.5.x)
Not that I know of, the grey screen is part of the windows mobile locking program itself so I don't think it can be easily changed. On some ROMs I have tried the grey screen is skipped entirely, unlocking straight away when you press the softkey, but this is tied to something at the ROM level I think. So it's possible, but I don't have the time or ability to figure it out
Another way to do it would be to write your own locking program from the ground up that mimics the standard windows classic one, then you could do what you like, which interestingly is what I tried initially. But it was much harder than I thought! Defeats the point of utilising what is already on your phone though, which is what I like to to (minimal 3rd party software).
I repeat my program is NOT a stand alone lockscreen, but a utility to hopefully make the built in one work properly. In my opinion the windows classic lock is fine as it is, apart from the issue my program aims to fix
Great job!
This little app works very well and it does what it promises.
The grey screen is something that I've seached how to change for quite some time, but haven't found nothing. It would be very cool if we could edit it!
This is just awesome...thanks so much for sharing...
What about cooking this program into ROM? Is it fine to do so?
Yeah sure, it says so at the very end of the first post (under 'Disclaimer')
Uch, sorry, I never read disclaimers or other important notes.
Keep up great work. I'll include this software into my ROMs if I don't find anything annoying
thank you very much.this problem is annoying me for a long time,i'll have a try.is this work well,i'll get a reply.wish it work well and jack use it in his roms~
It's work very well in my phone,thank you very much~good job~
Been using this for a day or so now...no complains...works as intended. Thank you!
i find a problem with the app.when i use the app,the screenlight is turn on and turn off,it's change all the time.when i use the swith button to turn off the screen light,the screen light will turn on soon.and if i close the app ,the screen light became well.what's the wrong?can you help me ?
I'm not sure what would be causing that behaviour, what device are you using? What version of windows mobile / ROM are you using? Do you have any other screen lock type apps installed?
It is nice
but unfortunately it works only for WM6.1
i hope i can find one for WM6.5
jamiemckee said:
I'm not sure what would be causing that behaviour, what device are you using? What version of windows mobile / ROM are you using? Do you have any other screen lock type apps installed?
Click to expand...
Click to collapse
I use HTC TOUCH PRO 2 ,HTC Version.and the rom is Jackos EVO FULL v1.1.0.i don't installed another screen lock.do you know what cause the problem?thanks~
Delete Hd2ProximityScreenOff.lnk from /Windows/StartUp
Jackos said:
Delete Hd2ProximityScreenOff.lnk from /Windows/StartUp
Click to expand...
Click to collapse
Thank you very much ,i 'll have a try~

a request for a custom lock screen?

i don't care much about which base theme ( puzzle or rotary or whichever), so take your pick.
basically what i want is to have more features in this main lock screen. one, mainly, being the data network mode as holding down the button to do it is irritating (i do it several times a day). plus the button might get spoilt or something :/
now how i picture this to work can be something like this:
in the rotary unlock screen, there can be another rotor (a bit above the original one) with another two features. data network mode (assume it to be on the left side of the new rotor), and another one (assume this to be on the right side of the rotor) whichever you prefer. music player, a shortcut to a particular app (like whatsapp, or a game or whatever). so if i rotate the data network mode icon on the new rotor (since this is on the left, to activate / deactivate it i rotate it to the right) it's status will change. i.e, activate or deactivate.
in the puzzle unlock there can be more than one missing pieces of the puzzle.
one being the standard one to unlock, one being the data network mode, one with silent, and others if you prefer.
so if i pick up the jigsaw and place it into one of the empty slots, it will activate / deactivate that option.
i'm basically asking for this because i'm (along with a few other people here) facing a serious network issue. read the other thread that i started about network issues and it's solutions and if you know what's causing this, please answer there.
also, i don't know anything about coding so i don't even know if the above idea is possible. so pardon my ignorance. also, for screenshots of the unlock screens, here's the link : http://forum.xda-developers.com/showthread.php?t=957123
(it's your page, Kyrillos. If you don't like me using it please let me know and i'll remove the link to it)
thank you. please let me know of what you think about my idea.
okay can someone at least reply telling me whether :
a) this is possible to do.
b) this is easy to make.
c) if it's easy to port into a rom, say, kyrillos' ROM
d) if you like the idea.
You can use the app widgetlocket. You will be able to costumize everything on you lockscreen.
Sent from my GT-I5800 using XDA App

[Q] Cyanogenmod 10 Developer tools?

I have been lurking on this site for a while. Let me say thank you to all the developers here, its incredible that you would take time out of your life to help other people with our miniscule problems that we bring upon ourselves.
Anyway I recently upgraded from cyanogenmod 9 to cyanogenmod 10 on my Samsung infuse 4g. In the 9th version, there was a section in the system menu for developer tools. In it was a bunch of options but the one i am concerned with is the cursor. Actually i cant recall what it is called but when enabled, it shows a little circle wherever the screen is being touched. I love that feature and i figured it would still be in the 10th version but i cannot find it. I dont know what to search for to find information so i had to create this account and ask.
Okay i was playing with the settings and i found this.
Settings - Lock Screen - Slider shortcuts - drag the dot to a new location - activities - Dev tools - Pointer Location
but when i lock the screen and then unlock it and slide the dot to the icon, it just brings up a kind of app. the one in CM9 was global and it was different, it didnt track the touch, just showed it...
found it (?)
okay i found how to enable it but its hidden like a *****
Had to set Dev tools to the slider icon, then save, lock the screen, unlock it, slide to the dev tools icon, and the developer options is THERE. WHO PUT IT THERE?! How were we supposed to get to it? The dev tools contain many useful features. I use the long press back key kill app feature, and some people might use the max background processes to free up memory. You can change transition animation timing, and lots of other things. IDK why they hid it away on CM10 unlike CM9.
Anyway thats where the dev tools are. Question answered, maybe it will help someone else.
a10fjet said:
okay i found how to enable it but its hidden like a *****
Had to set Dev tools to the slider icon, then save, lock the screen, unlock it, slide to the dev tools icon, and the developer options is THERE. WHO PUT IT THERE?! How were we supposed to get to it? The dev tools contain many useful features. I use the long press back key kill app feature, and some people might use the max background processes to free up memory. You can change transition animation timing, and lots of other things. IDK why they hid it away on CM10 unlike CM9.
Anyway thats where the dev tools are. Question answered, maybe it will help someone else.
Click to expand...
Click to collapse
Found an easier solution... was having the same issue.
http://envyandroid.com/archives/683/developer-options-menus-cm10-1
too cool
Excellent, Worked like a charm and too 30 seconds. :highfive:
Developer Options
a10fjet said:
I have been lurking on this site for a while. Let me say thank you to all the developers here, its incredible that you would take time out of your life to help other people with our miniscule problems that we bring upon ourselves.
Anyway I recently upgraded from cyanogenmod 9 to cyanogenmod 10 on my Samsung infuse 4g. In the 9th version, there was a section in the system menu for developer tools. In it was a bunch of options but the one i am concerned with is the cursor. Actually i cant recall what it is called but when enabled, it shows a little circle wherever the screen is being touched. I love that feature and i figured it would still be in the 10th version but i cannot find it. I dont know what to search for to find information so i had to create this account and ask.
Click to expand...
Click to collapse
Go to settings - About Phone - And press on the "build number" for 7 times.
You will get a message saying "You're now a developer" or something.
And the Developer Options menu should be available in settings.

[Q] How to add a pattern matching screen to your app?

So I was wondering if there was any existing API from Google or else where that lets you integrate a pattern based gesture system like the unlock screen for apps?
So that it is not used as an unlock to the phone's screen like it is used right now, but could be used as an advanced gesture based activity that you have to launch.
For example, it could now perform VERY specific macros that I can use, like say reply with "This is not a Q&A forum, please use the right forum section" in a forum browsing/posting app when I perform a specific pattern. This would also help cut down on possible false positives for gesture based events.
If it was possible, something like for every pattern that is possible in this screen, a unique ID is assigned to it. And a event is fired that we can catch and process when it recognized it.

Custom rom for father with Alzheimers, where to begin?

My father has early onset Alzheimers and I need to create a rom that when the device is powered on all he sees is 3 buttons call, end call, and text which brings up the plain texting option. Call shows square photos of people and services..etc.. tap on one it calls that person. I Would also like to do things like change the power button so it cant fully shut down the phone with out a specific combination of buttons or a pattern. Where do I begin to learn how to do this? I would really like to learn to do this on my own.
Hi there. Sorry to hear about your father. I've had a couple members of my family suffer from this and it's difficult, to say the least. As far as what you are looking for, well, I'm not sure you need to go all in and make a custom rom for this. I think many of the things you are trying to do can be done with existing mods.
As far as the power button, you can look into using the Xposed Framework and the Xposed Additions module which allows you to customize the activity of the hardware buttons.
http://forum.xda-developers.com/xposed/framework-xposed-rom-modding-modifying-t1574401
http://forum.xda-developers.com/xposed/modules/mod-xposed-additions-t2294274
For the buttons on screen for Call / End Call - Well, the Call with a link to favorite contacts with pictures is easily done with most launchers or a favorite contact widget. The End Call option though, I'm not so sure about. Reason being is that any time you're going to make a call, it's going to open the dialer app and the end button will be there. I can't really think of a way around that. I looked into adding a shortcut to that activity with Nova Launcher, but it's not an option available (though there are a dozen other shortcuts).
But with a launcher like Nova, you will have the ability to add / delete anything off the main screen besides what you want. You can lock the home screen so he can't inadvertently make changes to it and enable a gesture he wouldn't be likely to use to allow you to access the app drawer (like 2 fingers swipe up, etc). You can also use one of the variety of locking apps that will prevent access to any unwanted apps by requiring a password or PIN.
Ooh. Custom ROMs. A lot of work for such simple need. Maybe use Tasker instead? You can accomplish this with a scene and some profiles/tasks setup on stock ROM. Only disadvantage I see compared to making your own rom is long boot time. You can bypass everything in regards to Android UI just by making the scene fullscreen and disabling keyguard with a on-boot profile. That way, when he turns the screen back on, it goes right to your scene setup with no "slide-to-unlock" crap. I am very experienced in Tasker, so if you need any help, I can help you. I'd be willing to develop this for you, it would be about a half hour on my part
All the best,
Sent from my SCH-I605 using XDA Free mobile app
Thanks for the suggestions, these are great places to start.

Categories

Resources