[Q&A] [APP][ROOT] Change lock Screen on CM12 V2.51 - Android Q&A, Help & Troubleshooting

Q&A for [APP][ROOT] Change lock Screen on CM12 V2.51
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [APP][ROOT] Change lock Screen on CM12 V2.51. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!

ratio
Works fine on CM12. Only issue i see is preview image ratio, it looks squeezed from top and bottom.
GT-I9505 (jfltexx latest nightly), i have changed lcd dencity from stock 480 to 420.

Thanks a lot for making this application! Made it very easy for me to change my lockscreen wallpaper in my device running CM12.1.
Cheers

jjusteliss said:
Works fine on CM12. Only issue i see is preview image ratio, it looks squeezed from top and bottom.
GT-I9505 (jfltexx latest nightly), i have changed lcd dencity from stock 480 to 420.
Click to expand...
Click to collapse
I know that this problem exists, but depends of each DPI density... I will check mate. Thanks!
---------- Post added at 10:48 PM ---------- Previous post was at 10:48 PM ----------
calvinize said:
Thanks a lot for making this application! Made it very easy for me to change my lockscreen wallpaper in my device running CM12.1.
Cheers
Click to expand...
Click to collapse
Thanks to you mate, enjoy my app

thanks for share

androidhero.vn said:
thanks for share
Click to expand...
Click to collapse
No problem, enjoy it

Review
You asked for a review, so here you go.
Question:
First, it seems you have fixed something that I have yet to figure out. You can place photos into the lockscreen that I can't. Since I can open the picture from the directory once it is placed there just fine, this issue has something to do with which pictures the system will use and which it won't. Are you doing any kind of editing to the picture other than just copying it to the proper location? After some tests, it looks like there is a file size limitation. How big of a file does the system accept and what API do you use to reduce the image? I'm just using the raw picture with no editing of any kind. I think it should be up to the user to edit using whatever they see fit, but I wasn't aware of a maximum filesize limitation in the OS (I'm running Temasek).
Review:
The Google Billing permission almost made me delete it without installing it. Something that simple shouldn't ask for money. Save that for your next program. You will only scare people away like that! Next, I find being forced to use Google Photos for this to be really annoying. I hate Google Photos, and it crashes on my device just as often as not, but that isn't the point. Its the whole design of the interface.
Here is a scenario ...
Lets say I'm browsing the web, say DeviantART, and I see a picture I want to put on my lockscreen. How many steps does this take?
Hold finger on Image
Click Save Image to Download to SD Card
Press Home Button
Click App Drawer
Find your APP and click it
Click Select Image
Find Picture in Google Photos
Click Apply
My solution ... (using hooks into Open file and Share system dialogs).
Hold finger on image
Tap icon next to share button
This assumes the last share was via my "Show On Lockscreen" APK, if not, you tap the share icon next to the list and tap "Show On Lockscreen" (1 more step). The point is that you don't need to leave the app, load a new one, and try to manually download files and then find them (even though I know where it downloaded to, Google Photos doesn't give me a file system view and you don't let me use any other method such as using my file manager). With my way, I don't have to find anything or look for anything. It doesn't touch the SD Card, it goes from the web directly to the lockscreen file.
So ... your app obviously works, otherwise you wouldn't have posted it, but I just hate the interface. Want to make a deal? Show me the code you use to reduce the image size so that the lockscreen will pick it up, and I'll give you the Intent code that lets you hook into the Open and Share dialogs so you can bring up your interface after the user selects an image. I have some other code you can use to let the user decide what app to use to choose an image (even the camera) so that if they load your app directly (instead of from an Open Image With ... or Share Image ... dialog outside your program), they won't need to be restricted to Google Photos. They can choose how to select the file. And with that, we both get what we want and everyone wins.

Very cool!
Simeting similaire for layer user?
Nexus 5
Tankd

Thanks actually. This is rather helpful.

I try to reach 10 fck his rule

Is this still working on the latest nightlies?

Related

XdaLive Screen Lock (PRE-PRE BETA OPEN TEST RELEASE)

OK, Here is the deal.
I have created a working XdaLive Screen Lock for the XdaLive Live Wm6.
This is similar to the iphone with a working Sliding Unlocker. Only I put the sliding unlocker on the top and used XdaLive image as the Background & put the Digital Clock and Date at the Bottom as you can see in the Image I attached.
FINAL WORKING LIST:
1. Battery Life
2. NEW SMS Counter
3. Active Tasks
4. New Emails
5. OWNER NAME DISPLAY.
(TODO: A LOT OF THINGS LIKE ADDING MORE FUNCTIONALITY, FIX A LOT OF LITTLE THINGS & NEED TO FIGURE OUT HOW TO READ REGISTRY KEYS with SPACES in BETWEEN ANY HELP? ONE THING IS TO NOT HAVE THE APPLICATION QUIT ON END BUTTON (FIXED!).)
Another thing:
----------------------
Does anyone know how to replace the default Lock with this one? I tried replacing the DeviceLock.exe with this one and it does not work. BSDeviceLock.exe does not exist in WM6 either.
WAS A LITTLE OUT OF IT BECAUSE OF JACK DANIELS. HENCE THE BLACK SLIDER
DUE TO A LOT OF PEOPLE WANTING TO TEST THIS, I DECIDED TO JUST PUT THE FILES IN THE OPEN AS I WORK WITH THEM. LIKE DAILY SNAPSHOP OF THE EXECUTABLES (WHENEVER I WORK ON THEM)
THIS IS A PRE-PRE BETA OPEN TEST RELEASE AND NOT PACKAGED.
UNZIP AND PUT THE FILES IN A FOLDER. THE DLL & THE EXECUTABLE HAVE TO BE IN THE SAME FOLDER
REQUIREMENT: FLASH ACTIVEX (NOT FLASH LITE)
ZIP FILE DESCRIPTIONS:
--------------------------
1. xdaLiveScreenLock.zip (XDA LIVE UNLOCKER)
2. SliderLock.zip (JACK DANIELS BLACK SLIDER)
*****MORE IMPORTANCE WAS GIVEN FOR LOOKS RATHER THAN FUNCTIONALITY WHEN STARTING THIS.****
not responsible for anything that might happen by using this little useless application. There are a lot of small glitches usability wise, else works good. preference was given to aesthetics more than anything else. The size is big due to the sliding component being created in flash.
ADDED A 240X240 SLIDER. THIS HAS NOT BEEN TESTED AS I DO NOT HAVE A 240X240 Device.
.
this looks excellent, good job! I have been wondering about that also, devicelock is signed is it not?
Anyone know of a generic wrapper with basic API calls that I can call from within this Flash Application?
edit: compiled own from source code found, change adopted and compiled.
Hi,
i don't really use the device lock... because when turning the phone in standby all key's are locked and i don't want that the screen is always on...
or is there any other significance about using the device lock??
cyberdrakula said:
NEED TO FIGURE OUT HOW TO READ REGISTRY KEYS with SPACES in BETWEEN ANY HELP
Click to expand...
Click to collapse
don't really know it helps... but just test too but the string in " " like in commandline when using spaces... maybe you can just try to use double bslashes \\windows\\system32\\
this looks awesome. the people on this forum never cease to amaze me. Pure Genius
WOW the progress of this is really good sir, youve managed to implement a few more features since i last looked. This will definatly be in the Extras wiki page once it is fully working
I thought about what you could do in respect to replacing the standard lock, disable the lock in the today settings and map this program to a hardware button (5??) How does it fair after a power off (just standby not fully off) as it would be a good way to check the time etc... in the night?
keep up the good work CD, quite a few people are waiting for something like this.
Heya all gurus, give tha man a little help with issues maybe?
Thanks Ppl.
This is something I have been wanting to do for a while now but just got around to doing it. Hopefully in a couple days I will have everything squared out.
I am wondering if I should let ppl test this out. I will also have changeable backgrounds for this.
.
futureshock said:
Hi,
i don't really use the device lock... because when turning the phone in standby all key's are locked and i don't want that the screen is always on...
or is there any other significance about using the device lock??
don't really know it helps... but just test too but the string in " " like in commandline when using spaces... maybe you can just try to use double bslashes \\windows\\system32\\
Click to expand...
Click to collapse
To read the registry I had to actually use \\\\ to get to different levels. But I am NOT able to read the Value Names with spaces.
.
CCRDude said:
Since not even Sbp Mobile Shell was able to replace the lock screen (and that while they basically have something to show then ready with their new Intro screen), I guess it could get quite complicated to replace it...
Does anyone know if the fake iPhone things that were or were not around are able to replace the lock screen? I especially remember that last one were only videos existed, it had a real good fake, but I'm not sure if the video showed it really in action as a lock screen?
Click to expand...
Click to collapse
I am able to Execute it on "Device Wake" via notifications (thanks KYPHUR for the suggestion.) I also actually was able to replace keylock @ Install time and an installation induced reset. The icon also shows up in the Setting folder.
I am also thinking about doing a Today Plugin. Let's see how that goes.
Looks nice..cant wait till its released..
open Pre-pre Beta Test Release On The First Post.
.
Where to download?
Yeah!!
Would love a slider unlocker as a today plugin. I use the WMP plugin since I use my phone as an mp3 player a lot so the device lock function on the today screen is a must for me.
Great work and look forward (hopefully) to a today plugin.
S.K.
cyberdrakula said:
To read the registry I had to actually use \\\\ to get to different levels. But I am NOT able to read the Value Names with spaces.
.
Click to expand...
Click to collapse
Could you use %20% AND %40% to represent the space and other special characters as they do on other windows products? MS has a list on its knowledge base for these...I think %20% is the space, but not sure
eagle 1 said:
Could you use %20% AND %40% to represent the space and other special characters as they do on other windows products? MS has a list on its knowledge base for these...I think %20% is the space, but not sure
Click to expand...
Click to collapse
yes, in html and such it is, maybe you could use \%20%\ as space , but I am just a webprogrammer, and not a very good one
Looks fantastic, can't wait to see this released, should be a good little utility!
Could you make the slide on the bottom because I have short thumb
cybertron said:
yes, in html and such it is, maybe you could use \%20%\ as space , but I am just a webprogrammer, and not a very good one
Click to expand...
Click to collapse
Actually, in HTTP requests it's %20 w/o the percent sign at the end, and it simply means 0x20, which is hexadecimal 20 or decimal 32, which indeed is a space. I highly doubt that it would be useful in accessing the registry, though.
I don't see why a space doesn't work as just a space when accessing the registry. Perhaps escape it with a backslash (or two)?
Where to download?
Where to download?

Need Help making a tiny wings port with app inventor , devs help please demo included

Hi I have been working with app inventor and Iam trying to make a tiny wings port with this tool.
What I have accomplished so far
1) I have the tiny wings charactor heading downward angeled left when screen starts
2) When the tiny wings charactor lands on the ground , he bounces upward at angle
3) When you press the screen the tiny wings charactor will make a quick dive down.
4) I have a score thats triggered when the bird collides with the ground
5) Reset button to reposition the tiny wings bird.
Need immediate help with
1) Making the screen scroll to the right
2) Making platforms appear as screen goes to the right
3) Who to contact so I can make a larger file size game, so that I can add the music
4) If there is anyone who can make music and sound files smaller and compressed, can I get your email address ?
Need future help with
1) Restart and reset game
2) Change animations
Goal
To show how you can make great games with app inventor by making a tiny wings type clone game. I want app inventor to be put on the map and to further promote app inventor. Anyone who helps with the project will recieve credit and project will be promoted on twitter and facebook when its done. I made an apk so you can test it out the progress so far on your device. I will update the apk as I add more to it.
I havent progressed to far so you can try the alpha version here .
Are there any developers who are experianced with app inventor or just really good coders I could use your help. I just need a couple of things to make this project complete and will give credit to those who help me. Thanks for your time!
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums & Read the Forum Rules
Thanks ✟
Moving to General
lufc said:
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums & Read the Forum Rules
Thanks ✟
Moving to General
Click to expand...
Click to collapse
Ok I thought the development forum was for any developer related subject. Now I know to post all questions here for the future.
Hi, im taking a look at the game you have sofar, now im not a pro dev but been dabbling in the arts of app inventor for a few months now, the problem is making games do what you want them to, even when your logic seems fair its not always easy to figure out what the issues are,
ill try figure out how to import the apk to app inventor, i dont think you can produce the sorce code from app inventor, however if it looks easy enough to fix i may need a map of your block editor and which components are used!
you can do this by taking a screen shot of your project open onscreen, i can quickly replicate this on my app inventor.
ill let you know what i think once i test this!
thanks
puggz
Edit:
Tested the apk, ike the little bouncy sound, reminds me of angry birds lol
I think the main problem your going to have is making the screen move when the target passes the screen value, quick and dirty ways to do it woud be having multiple screen arangments 12345etc when the target reaches a point on the screen arangment have it switch screen, how to do thes yet is only my basic theory's would need to mess around with the layout for this, another theory could be using thr clock timer to set screen changes, would mean calculating the time needed to pass to next screen, i think this might be a complex task..
another way would be to use an animation to move the screen a sprite function of sorts could work adding landing blocks as sprites to move with screen would need to be done too,
The problem with this its fine for a few sprites but get too complex and it will lag the app to hell,
Since there is no hardware acceleration involved, the trouble with the screen just now is it fills out to the parent, ie the devices set resolution, you could make the resolution wider and enable scrolling, this would in effect mean you could scroll left and right, up and down to the screens set resolution, it wouldent be an automatic procedure, but alot of finger swipeage.
for a basic game i think this might do the trick, just depends really on what you wish it to do really
i have ripped the main elements from the apk, all i would need is screen shots of the block editor and components used in app inventor, and settings used, or a screen shot of this too would be helpfull,
i can mess around with this idea if you like, i cant promise anything amazing but i should beable to atleast work out what needs to be done and if its possible to do in app inventor, certainly in a real sdk its possible
Ill play around with what i have for now, and workout how to implement a moving screen canvas
i think this is the easy part, getting the fixed landing blocks to be in sync may be the issue, anyways
no harm in trying huh!
thanks
thanks for trying and keep going bro you are making our dreams come true:angel:

FYI: YouTube Full Screen and Blocked View Fix

Those of us who have had our TrueSmart have learned that while this thing is crazy cool, there are a few quirks that need to be worked out.
For example, the YouTube app's Full Screen. The TrueSmart has a square, not rectangle wide screen, so the Full Screen wouldn't be quite full.
With the Xposed Framework Installed, you can install a Mod called "App Settings" and find the YouTube app, then you can make DPI (resolution) changes and click "Force Orientation > Portrait Mode". Now when using YouTube, expanding to full screen will allow for a more 'dedicated viewing experience'.
There are some apps (found in the Play Store) that you can't access without accepting the ToS (Terms of Service), and the "accept" and "decline" buttons are below the screen. In this case, you'd need to change the DPI, and possibly more settings. I even also had the same SuperSU issues that quite a lot of us had: http://forum.xda-developers.com/showthread.php?t=2656146 There are quite a few ways to fix the spillage.
Also, simply because I feel like saying something, why don't we have subsections for General, Q&A, Accessories, Development and such? meh :/
deedscreen said:
Those of us who have had our TrueSmart have learned that while this thing is crazy cool, there are a few quirks that need to be worked out.
For example, the YouTube app's Full Screen. The TrueSmart has a square, not rectangle wide screen, so the Full Screen wouldn't be quite full.
With the Xposed Framework Installed, you can install a Mod called "App Settings" and find the YouTube app, then you can make DPI (resolution) changes and click "Force Orientation > Portrait Mode". Now when using YouTube, expanding to full screen will allow for a more 'dedicated viewing experience'.
There are some apps (found in the Play Store) that you can't access without accepting the ToS (Terms of Service), and the "accept" and "decline" buttons are below the screen. In this case, you'd need to change the DPI, and possibly more settings. I even also had the same SuperSU issues that quite a lot of us had: http://forum.xda-developers.com/showthread.php?t=2656146 There are quite a few ways to fix the spillage.
Also, simply because I feel like saying something, why don't we have subsections for General, Q&A, Accessories, Development and such? meh :/
Click to expand...
Click to collapse
Thanks. If you want to make you post a [Guide] I'll add it to the Everything sticky.
Except for the rotation issue, qemu.sf.lcd_density=115 added to the build.prop also resolves the "fit" issue on almost every app as well and is the reason why I'm adding it back to the patch for all x201s.
Lokifish Marz said:
Thanks. If you want to make your post a [Guide] I'll add it to the Everything sticky...... (Cont.)
Click to expand...
Click to collapse
I'll consider turning it into a guide. Friendly tip: It may have been a mistake but please try not to quote the entire long post, it takes up extra unneeded room, a @deedscreen mention in reply or partial quote works just fine. It can make things a bit hectic. (Ex: you have a long development thread and someone quotes the long post to say "this is cool".) Nevertheless, the guide is a good idea - now if we can only figure out how to get the status bar to always show when using -say- Nova launcher. My attempts haven't gone the greatest so far. :cyclops:
Hi Loki
Don't you just love when guys learns developers how to quote OP...
BTW - request is already sent to moderators for sections inside of Omate section.
Sent from my C6903 using Tapatalk
It was before my first cup of coffee so blame it on the lack of caffeine.
The solution I've been using is Swipe Statusbar. It's not ideal but does free up the space a consistent status bar would use. A permanent status bar fix is going to most likely require the framework and related files be gone through and redone as they use a show intent versus a hide intent from what I've been told.
I do use my ppi edit and Force Orientation on my daily device. Hopefully I can make the need for the orientation lock unnecessary and have it active at all times for all apps. That would cover the majority of users and apps used and can't remember the last time I wanted an app to rotate on the x201.
I know what you mean, with that app I've tried and it covers some areas of apps and drives me insane, I can't quite win...

First impressions and questions

Hi,
I have played with Themer and widgets last few hours, and it looks very nice. I have looked through the introduction videos, and they were informative, but there is always some information missing, and here is what I could not find:
How to lock widgets without right click?
When we unlock the widgets for editing, we need to lock them back. Every tutorial that I looked does this using right click on screen, but what if there is no place on screen available to right click (widget occupies to whole screen)?. I guess we could add one screen temporarily, lock the widgets, and remove the "dummy" screen, but I guess there should be some quicker method?
How to dock particular widget to appear on all screens?
I would like one widget to appear on all screens, something like a Dock on the stock Android. How to mark widget as docked (locked) on all screens?
How to preview a custom (exported) theme?
In the video tutorials it is said to put an image with the same name to thumbs folder (I noticed that it must be png also, not jpeg). However, this only shows the screenshot in the thumbnail preview of exported themes. What about when we select a particular theme, which opens a screen with Delete Apply choices? This preview is still blank screen, which means that it does not use the image from the thumbs. The same behavior is seen in the video tutorials.
How to know if there is an empty widget on screen?
For example, lets say that I have dropped a widget on the screen accidentally, and I did not place any element in it. This widget would be transparent by default. How can I see those widgets, so I can remove them?
Thanks.
Goran_ said:
Hi,
I have played with Themer and widgets last few hours, and it looks very nice. I have looked through the introduction videos, and they were informative, but there is always some information missing, and here is what I could not find:
How to lock widgets without right click?
When we unlock the widgets for editing, we need to lock them back. Every tutorial that I looked does this using right click on screen, but what if there is no place on screen available to right click (widget occupies to whole screen)?. I guess we could add one screen temporarily, lock the widgets, and remove the "dummy" screen, but I guess there should be some quicker method?
How to dock particular widget to appear on all screens?
I would like one widget to appear on all screens, something like a Dock on the stock Android. How to mark widget as docked (locked) on all screens?
How to preview a custom (exported) theme?
In the video tutorials it is said to put an image with the same name to thumbs folder (I noticed that it must be png also, not jpeg). However, this only shows the screenshot in the thumbnail preview of exported themes. What about when we select a particular theme, which opens a screen with Delete Apply choices? This preview is still blank screen, which means that it does not use the image from the thumbs. The same behavior is seen in the video tutorials.
How to know if there is an empty widget on screen?
For example, lets say that I have dropped a widget on the screen accidentally, and I did not place any element in it. This widget would be transparent by default. How can I see those widgets, so I can remove them?
Thanks.
Click to expand...
Click to collapse
Hi Goran,
So sorry for taking an incredibly long time to reply, I'm on a semi-vacation in Thailand at the moment and getting access to internet isn't easy. I'll try help as best I can.
1. Thanks for pointing this one out! The option to do this via the app drawer was removed in the last update, so I'll speak to the team about adding it in again. The only other way would be to enable the Themer notification bar, which has a Themer icon that brings up new themes. From here you can tap the back button to go into the Advanced Settings and then into Desktop.
2. This feature has been requested before, however it will take us a while to add it into Themer, as the resources required are quite vast to say the least. Hopefully in the new year we will have more time to focus on features like this. Right now the team is more focused on fixing bugs and improving the performance.
3. Another requested feature. We still want to improve the front end as much as possible before moving onto the back end. Trust me though we haven't forgotten about the designer side of Themer.
4. I've never heard of this feature before, but it sounds like a good one to have. I think because many users focus on adding widgets that instantly show information, it hasn't been as a priority. I'll speak to the team and see what they think.
I hope this has answered your questions. If you have any more just ask, I have a stable connection now and will be able to reply within the day.
- Marco

[UI] CoordinatorLayout with NestScrollView behavior

First of all let me thank you for your time,
I am a Android newbie programmer and I am stuck with a UI problem. My goal is to achieve something closer to this:
https ://image.ibb.co/e1Y2af/unnamed.png
I thought about it and I decided to do it with a CoordinatorLayout, AppBarLayout / CollapsingToolbarLayout and a NestedScrollView with a CardView. Sounds just fine for this problem, right?
With my actual XML I already have the toolbar, image and the scroll feature.
However, the scroll feature isn't 100% like I wanted. First of all, it's not possible to scroll down since around mid screen (probably because of android:layout_height="275dp"), it is only possible to scroll up. (and of course collapse the toolbar). My main goal is to "open" the image fullscreen. Do you have any idea how can I achieve this behaviour? Maybe controlling % in .java?!
Also have one annoying bug, but I can leave with it for now, just try to help if it also gives you some OCD condition :angel:
I tried to add an transparent property to my LinearLayout but it didn't work.
Normal scroll:
https ://image.ibb.co/duPxQf/normal.png
Buggy 'panel' as it is close to collapse:
https ://image.ibb.co/ms1NrL/buggy.png
My all XML can be found at https: //pastebin.com/R8DSCVXE
Thank you so much
P.S: Links broken to avoid spam message
NelsonPRSousa said:
First of all let me thank you for your time,
I am a Android newbie programmer and I am stuck with a UI problem. My goal is to achieve something closer to this:
https ://image.ibb.co/e1Y2af/unnamed.png
I thought about it and I decided to do it with a CoordinatorLayout, AppBarLayout / CollapsingToolbarLayout and a NestedScrollView with a CardView. Sounds just fine for this problem, right?
With my actual XML I already have the toolbar, image and the scroll feature.
However, the scroll feature isn't 100% like I wanted. First of all, it's not possible to scroll down since around mid screen (probably because of android:layout_height="275dp"), it is only possible to scroll up. (and of course collapse the toolbar). My main goal is to "open" the image fullscreen. Do you have any idea how can I achieve this behaviour? Maybe controlling % in .java?!
Also have one annoying bug, but I can leave with it for now, just try to help if it also gives you some OCD condition :angel:
I tried to add an transparent property to my LinearLayout but it didn't work.
Normal scroll:
https ://image.ibb.co/duPxQf/normal.png
Buggy 'panel' as it is close to collapse:
https ://image.ibb.co/ms1NrL/buggy.png
My all XML can be found at https: //pastebin.com/R8DSCVXE
Thank you so much
Click to expand...
Click to collapse
P.S: Links broken to avoid spam message

Categories

Resources