screen-on app doesn't work - Galaxy Note GT-N7000 Themes and Apps

has anyone tried using this app, it is supposed to keep the screen on but doesn't work. I want to use the note as a side tablet for general use on the desktop without unlocking and being able to see widgets etc whilst it is on the cradle. It would just make sense to have the screen on all the time and this app does seem to work.
http://www.anddev.org/code-snippets...on-powermanager-wakelock-backlight-t3086.html
there are a few links to changing some kind of code in the cmd menu or something so if i have to do that could someone please guide me through a tutorial or the cmd app id need . Or if there is a better app to do this please let me know.
oh... i think i just discovered app called screen on toggler,,,nvm

no screen off works fine

Related

[REQ] Lock Screen App

The power button on my N1 has been giving me fits, and given the number of people I've read about with "dead" power buttons, I think mine is going out so I'm trying to preserve it as long as possible.
I enabled trackball wake (using CM6) which takes care of 1/2 the equation, but I need a good lockscreen app (just something to make the phone go to sleep). I found one in the market called Lock Screen Enabler, but it's not a "true" lockscreen app and it's very buggy, causing all sorts of problems for me.
I've been a web developer for 8 years and recently got into Android development (which I hope to be doing full-time soon), so I thought I'd just code a quick app for personal use in 5 minutes.
The problem, however, is that the DEVICE_POWER permission is needed in order to call goToSleep() and from what I've read so far from other online posts, this permission is only granted to native system applications.
Since my phone is rooted, I even tried granting my application SU privileges, but that doesnt seem to work either.
So, my question boils down to how do I grant my application DEVICE_POWER permission? I figure if anyone out there knows the answer, it's going to be someone on XDA as this place is full of geniuses. Thanks in advance!!
UPDATE: I've attached the finished app. Made this for personal use but if anyone wants to use it they are welcome to. My only gripe about it right now is the "screen flicker" that happens when you launch it because it's trying to launch an app that immediately locks the screen and finishes itself. If I can figure out how to get the app to launch in a smaller window maybe I can minimize the size to reduce the screen flicker. But for now, this works and I can set it to launch when I click the clock on Fancy Widget, so I'm happy. Thanks again to everyone who offered answers to my questions. Just another reason why I love the Android development community!!
-teleknEsis
Search for Lock screen widget. I have the same problem and I use it. It immediately locks your phone once pressed
nDrg said:
Search for Lock screen widget. I have the same problem and I use it. It immediately locks your phone once pressed
Click to expand...
Click to collapse
Awesome, thx! Still would like to know how they got that prompt to show that basically made the application an Administrator app. Seems like the missing piece I need to complete my own
teleknEsis said:
Awesome, thx! Still would like to know how they got that prompt to show that basically made the application an Administrator app. Seems like the missing piece I need to complete my own
Click to expand...
Click to collapse
It seems that you'll need to add the application as a device administrator. There seems to be some decent information half way down this page under Device policy manager: Link.
I'd be interested in using this application as I can't change the icon of my previously mentioned widget.
Edit: More information here as well: Link.
nDrg said:
It seems that you'll need to add the application as a device administrator. There seems to be some decent information half way down this page under Device policy manager: Link.
I'd be interested in using this application as I can't change the icon of my previously mentioned widget.
Edit: More information here as well: Link.
Click to expand...
Click to collapse
I will probably still go ahead and create one. I like how with FancyWidget you can set it so clicking the clock will launch an app. Unfortunately it doesn't work with widgets, so I need an extra icon on my home screen just to lock it. If you have an icon you'd like me to use, feel free to share and I'll put it in
And thx for the info!!
I would be happy with any icon to be honest, I just don't like the lock screen widget one Good luck bud
teleknEsis said:
..If you have an icon you'd like me to use, feel free to share and I'll put it in
And thx for the info!!
Click to expand...
Click to collapse
Yeah, put my themed one in from LockScreenWidget (smoked)
http://forum.xda-developers.com/showthread.php?t=731625
rori~ said:
Yeah, put my themed one in from LockScreenWidget (smoked)
http://forum.xda-developers.com/showthread.php?t=731625
Click to expand...
Click to collapse
Alright, I got it working, but there's one problem. It can't be uninstalled because it's currently a device admin. Same goes for that Lock Screen Widget I installed earlier.
Looking into a way to be able to uninstall, if one even exists....
You disabled: device administrator ?
Looking into a way to be able to uninstall, if one even exists....
Click to expand...
Click to collapse
Try using "root explorer" to find the files and just delete them.
teleknEsis said:
Alright, I got it working, but there's one problem. It can't be uninstalled because it's currently a device admin. Same goes for that Lock Screen Widget I installed earlier.
Looking into a way to be able to uninstall, if one even exists....
Click to expand...
Click to collapse
You need to go to Security & Location - Device Administrators and disable both there.
Hollow.Droid said:
You need to go to Security & Location - Device Administrators and disable both there.
Click to expand...
Click to collapse
Good call. Thx. However, I also came up with a work-around for ppl who are just as lazy as myself. There are 2 icons in the launcher. The first will lock the screen (once you enable the app as a device admin). The second will disable the app as a device admin, allowing you to uninstall at your will.
I really intended for this app to be for personal use, but if anyone wants it I'll put it up here for you to download. If you'd rather I remove the second launcher icon and just let you to disable it through Security settings, I will also do this (as really, I don't plan on uninstalling any time soon so this is fine for myself).
Thanks to everyone who helped out!!!
teleknEsis said:
Good call. Thx. However, I also came up with a work-around for ppl who are just as lazy as myself. There are 2 icons in the launcher. The first will lock the screen (once you enable the app as a device admin). The second will disable the app as a device admin, allowing you to uninstall at your will.
I really intended for this app to be for personal use, but if anyone wants it I'll put it up here for you to download. If you'd rather I remove the second launcher icon and just let you to disable it through Security settings, I will also do this (as really, I don't plan on uninstalling any time soon so this is fine for myself).
Thanks to everyone who helped out!!!
Click to expand...
Click to collapse
Yeah I'd appreciate the single launcher version please if possible
Hollow.Droid said:
Yeah I'd appreciate the single launcher version please if possible
Click to expand...
Click to collapse
OK - I'll update and upload when I get into work
Application is in the OP. Have at it
Great, works perfect on MIUI 0.9.30
Does the job perfectly! I especially like how it runs as an app so I can change the icon
You're a lifesaver, or should I say power button saver
Thanks so much.
I tried to develop something similar before but got stuck. Saved me some time!
Thanks for creating such useful app for my N1. My power bt is fine, but I would like to preserve it to powering up/down the phone.
BTW, I also downloaded Lock Screen Widget to test it out. Is it possible that you can make your app to shut off the screen smoother, like LSW? I like it you set it up as an app, which is super useful for me set up as a gesture swipe on my LauncherPro dock icons.
Thanks again and keep up your good work!
Thanks again, your app is really great. But could you add a option to map it to the search button (long press) please?
Thank you!

[GUIDE]Setup a permanent beautiful Samsung-like replacement for ur default lockscreen

Hi everybody.
Today I present here a Samsung s3 like lockscreen replacement which will actually replace your default lockscreen and you'll never need to launch that app after a reboot to activate it (I know its too annoying :-\ )
HERE I WANT TO MENTION THAT I HAVEN'T CREATED THIS APP. I'M ONLY SHARING IT HERE
This, let me tell u, is the BEST lockscreen out there to get you rid of that default one. Also this doesn't consume your ram as go locker and others do so you won't sacrifice performance for beauty. What else could you want !!!!
Here's how to go about it :-
1. Download the apk file from the attachments.
2. Install the apk as a system app (IF U DONT KNOW HOW TO then first install it as user app and then use titanium backurp to convert it to a system app )
3. After the installation long touch on ur desktop.
4. Choose the following - Shortcuts>Activities>Touch the name "unlock screen">Choose the second activity.
5. Touch the icon that just appeared and first enable the lockscreen.
6. Now choose the Set sceen lock option and choose swipe.
7. Now u can change wallpapers and shortcuts to be shown on the lockscreen as u wish.
Although there aren't many features here but this lockscreen is permanent and will not affect performance at all.
Congrats !!!! You've just set up your phone's lockscreen to be completely like Samsung GS3.
Whenever you want to disable the lockscreen or uninstall the app all u need to for is disable the screen from the settings of the app and then uninstall.
If u have any queries, post them here and I'll answer u as soon as possible.
I have also attached some screenshots for u to see if you're unable to understand anything. Also if you like the app then post it here and rate the thread well. (I can't force you to thank me but if you liked the app then why not )
ENJOY THE BEAUTY.........
DON'T FORGET TO HIT THE THANKS BUTTON IF THIS HELPED YOU
I've installed it as system app but when I long-press my desktop there is no "Activities" option under "shortcuts". :crying:
Edit: I've managed to get it working by downloading a shortcut creator app from the playstore. It's nice but I stick to my default lockscreen because of two things:
1. The app still shows under my running applications consuming around 2-6mb of RAM acceptable but;
2. It does not have notifications for unread sms and missed calls?
Thanks still.
17viper17 said:
I've installed it as system app but when I long-press my desktop there is no "Activities" option under "shortcuts". :crying:
Edit: I've managed to get it working by downloading a shortcut creator app from the playstore. It's nice but I stick to my default lockscreen because of two things:
1. The app still shows under my running applications consuming around 2-6mb of RAM acceptable but;
2. It does not have notifications for unread sms and missed calls?
Thanks still.
Click to expand...
Click to collapse
Thanks for trying the app. The problem is that I didn't write the code so I can't really help that shortcut issue. Anyway I'm trying to find a workaround so maybe this'll be fixed soon.
17viper17 said:
I've installed it as system app but when I long-press my desktop there is no "Activities" option under "shortcuts". :crying:
Edit: I've managed to get it working by downloading a shortcut creator app from the playstore. It's nice but I stick to my default lockscreen because of two things:
1. The app still shows under my running applications consuming around 2-6mb of RAM acceptable but;
2. It does not have notifications for unread sms and missed calls?
Thanks still.
Click to expand...
Click to collapse
Hi, I just tried giving a missed call to my phone and found that it does show a notification which is a semi-transparent round icon at the centre of the screen. Also u can add a shortcut to the call log app for direct access to missed calls and a message icon for messages.
Hi can you help me again? I uninstalled this app without deactivating it as device administrator, it went well except for a few expected forced closes which was easily resolved by rebooting my device. A few days after I wanted to give this app another shot, installed it as system app but when I try to create a shortcut I only have one activity to choose from that is "settings". It still activates as my locker but I wanted it to be a device administrator again. By not being a device admin my default locker shows up for while during boot-up until the app loads and takes over the lock. When it as installed as a device admin it was instant upon boot. Hope you can help solve my problem which is primarily why doesn't it show up among the device administrator choices anymore?
17viper17 said:
Hi can you help me again? I uninstalled this app without deactivating it as device administrator, it went well except for a few expected forced closes which was easily resolved by rebooting my device. A few days after I wanted to give this app another shot, installed it as system app but when I try to create a shortcut I only have one activity to choose from that is "settings". It still activates as my locker but I wanted it to be a device administrator again. By not being a device admin my default locker shows up for while during boot-up until the app loads and takes over the lock. When it as installed as a device admin it was instant upon boot. Hope you can help solve my problem which is primarily why doesn't it show up among the device administrator choices anymore?
Click to expand...
Click to collapse
Hello. This app (being installed as a system app) doesnt need to be a system administrator. Also you can't install an app that has the status of system administrator without disabling it. Therefore I assume that you've missed something in the description. As or the problem of the other locker app taking over, the simplest solution would be to uninstall that app. Post again here if this didn't solve the issue.
Hello, thanks for the reply. After days of having this app as my default lockscreen, my "complaints" are probably not worth it (especially the device administrator thingy ^^). It's working flawlessly, default lock is not showing up anymore. So it stays as my default lockscreen. And by the way there is a missed SMS notification after all. Again thank you! :good:
17viper17 said:
Hello, thanks for the reply. After days of having this app as my default lockscreen, my "complaints" are probably not worth it (especially the device administrator thingy ^^). It's working flawlessly, default lock is not showing up anymore. So it stays as my default lockscreen. And by the way there is a missed SMS notification after all. Again thank you! :good:
Click to expand...
Click to collapse
Glad that I could be of help. Hope you have a nice experience with this locker. As for those "complaints", well they were just some doubts that anybody would've got
Enjoy .....

using s note page as wallpaper

Hey,
I thought about how sweet would it be if there was an app that can use the handwriting great ability using the s pen on the note 3 and combine it with another app that allow to use the s note(or any other similar app) as a wallpaper. this will allow me to use the wallpaper as a blackboard in a single press and see the changes automaticaly on the screen.
I searched a lot on every forum that i know if anyone found a solution for this and coudnt see any.
obviosly i can use the s note and then screencapture - set it as a wallpaper. After giving it a shot i found its uncomfortable and i will gave up on that idea as im looking for something more friendly without all that mess.
Any suggestions?
Have you tried this app https://play.google.com/store/apps/details?id=com.plumillonforge.android.ano
sherif-bakhoum said:
Have you tried this app https://play.google.com/store/apps/details?id=com.plumillonforge.android.ano
Click to expand...
Click to collapse
I have now. Allthough its pretty good it doesn't seem to help my issue as i need it to change it on the wallpaper.
I mean that if it would just auto save the screen captured to be the wallpaper it would be IT.
But it doesn't and so i'm left witht he same ritual of set to wallpaper.
Thanks though.
Any other suggstions?

[HOW TO] Set a custom launcher as default home application

Soon after I bought the fire HD6 I quickly realized that upon installing an alternative launcher, the device would not allow you to set that launcher as default. Today I figured out a way around this issue and put together a quick video showing all the steps. This tutorial should work for all Fire devices spanning from the Fire HD6 and HD7. Before going through the tutorial I suggest you get ADB set up and working on the computer for your Fire device. Enjoy!
https://www.youtube.com/watch?v=v6_2GoSz5N4
Help setting up ADB in Windows: https://www.youtube.com/watch?v=CyJlmTtLsIg
Following this guide will make it so you cannot use the Amazon Book app. A way around this issue would be to side-load the Kindle app. But not any Kindle app, a hacked version I made with a different signature and package name. That way your device will allow the installation and will not downgrade each boot. Download the APK below to get your books working:
https://drive.google.com/file/d/0Bx_94ujbh0qobVBJbWFyVzNzeUU/view?usp=sharing
Now you will be able to access your books.
You're awesome! Thanks! :laugh::good:
This works great, thanks!
Anyways to change the wallpaper?
D600abc said:
This works great, thanks!
Anyways to change the wallpaper?
Click to expand...
Click to collapse
No problem! I do not know how to do that yet. I hope it is plausible
Thank You! This was driving me crazy
Since Amazon "upgraded" the OS to Fire 4.x.x this has been a problem.
You are a gentleman and a scholar. Works for unrooted kindles as well.
Thank YOU!!!
RyanNerd said:
Since Amazon "upgraded" the OS to Fire 4.x.x this has been a problem.
You are a gentleman and a scholar. Works for unrooted kindles as well.
Thank YOU!!!
Click to expand...
Click to collapse
no problem (;
Could you share what exactly you changed in the hacked Kindle app? AFAIK it's a pretty old version and I'd like to have a more recent one on my Kindle. Thanks a lot either way!
crytic said:
Could you share what exactly you changed in the hacked Kindle app? AFAIK it's a pretty old version and I'd like to have a more recent one on my Kindle. Thanks a lot either way!
Click to expand...
Click to collapse
I basically just changed the package name and resigned it so that it will think it is a different app so it allows you to install it. I used apktool to decompile but had problems compiling till I removed some services from the Manifest file. I tried newer versions but could not get them to run without force closing.
Unable to set launcher
Hi, I followed your tutorial, now I am unable to see my kindle on adb devices list.
Can you please help me out with this.
pulnarayana1 said:
Hi, I followed your tutorial, now I am unable to see my kindle on adb devices list.
Can you please help me out with this.
Click to expand...
Click to collapse
try taking a look at this developer.amazon.com/sdk/fire/connect-adb.html
I set up KK Launcher as my launcher but it cannot get it to rotate to landscape mode at all. Is this a problem with other launchers you guys are using or is it just me?
argrr101 said:
I set up KK Launcher as my launcher but it cannot get it to rotate to landscape mode at all. Is this a problem with other launchers you guys are using or is it just me?
Click to expand...
Click to collapse
I use Apex and I can not get it to rotate either.
The best solution I've found so far is the app "Ultimate Rotation Control". It will allow you to manipulate the display as you see fit and even set parameters per app.
I got GEL working, but cannot set background pictures... Anyone else able to?
bilago said:
I got GEL working, but cannot set background pictures... Anyone else able to?
Click to expand...
Click to collapse
I believe this requires root.
I recently purchased a Fire HD 6 and this worked perfectly for me. Thank you for this. I chose to use Nova Launcher Prime as my default home launcher.
Sent from my SGH-T399N using Tapatalk
I forgot to revert to the stock dash before the last update (yesterday) and now I don't have ADB access. It just shows the device as 'offline' so I can't get it back to the stock dash and it's stuck at the Fire loading screen. It's the same in Windows/Ubuntu. Just a notice for anyone else to undo the custom dash before proceeding with the update.
gavin19 said:
I forgot to revert to the stock dash before the last update (yesterday) and now I don't have ADB access. It just shows the device as 'offline' so I can't get it back to the stock dash and it's stuck at the Fire loading screen. It's the same in Windows/Ubuntu. Just a notice for anyone else to undo the custom dash before proceeding with the update.
Click to expand...
Click to collapse
oh god, you scared the **** out of me for a second - I had gotten the update but had never used adb since then. tried just now, and ... nothing.
but! then I remembered, I had turned adb off on the HD, lol. turned it on and all is well.
I am running Nova launcher, and have the real launcher permanently blocked, along with a few other things:
http://forum.xda-developers.com/showpost.php?p=58360063&postcount=5
maybe your problem is something else? (or hopefully, maybe like me, just pilot error and usb debugging was turned off.)
I don't remember turning debugging off. I wouldn't have had any reason to disable it. I just assumed it was reset by the update. Either way, I had to do a factory reset to get it working again. To be honest, the custom dash was mostly a novelty. I'm happy enough with stock. Being able to use Google apps is all I'm worried about.
No body else appears to have mention having problems making widgets on your home screen. Every time I place a new widget it, just takes me to the main setting screen and on going back home there is no new widget.
I have been assuming that this is something else that requires root, but I thought I'd better check.
Thanks for kindlehack.apkill give it a try, ps use nova beta for wallpaper

Screen Mod for Newbies

Hi to all.
Happy with my Fold 2. Would be extremely happy if I could make one mod without root:
If apps (and UI if possible) would behave as if though there was no punch hole!
I'm not talking about the setting to change the aspect ratio of an app.
Some apps don't work properly even if you do that.
Any way to just make the phone work like it had no camera at all at the front (of the big screen)?
Please keep in mind that a)I'm not a programmer , just a user
and b)I don't want to root my device.
Thanks in advance
Gus_Hayabusa said:
Hi to all.
Happy with my Fold 2. Would be extremely happy if I could make one mod without root:
If apps (and UI if possible) would behave as if though there was no punch hole!
I'm not talking about the setting to change the aspect ratio of an app.
Some apps don't work properly even if you do that.
Any way to just make the phone work like it had no camera at all at the front (of the big screen)?
Please keep in mind that a)I'm not a programmer , just a user
and b)I don't want to root my device.
Thanks in advance
Click to expand...
Click to collapse
This is what you want, very easy to enable. The video shows the Note 20 Ultra but it also goes for the Z Fold 2.
Settings/Display/Full screen apps/advanced settings (tap upper right 3 dot icon)/Enable camera cutout.
Thanks but nope.
BigMosley said:
This is what you want, very easy to enable. The video shows the Note 20 Ultra but it also goes for the Z Fold 2.
Settings/Display/Full screen apps/advanced settings (tap upper right 3 dot icon)/Enable camera cutout./QUOTE]
Thanks for your reply my friend but that's exactly what I want to avoid in the first place.
I want all apps and ui to use Full Screen without a black bar.
In other words all apps to use all the screen real estate like there is no camera there. Most games and apps do that but not all and browser also leaves that part blank when in landscape mode.
I know it can be done but I don't know how
Thanks for your reply though.
Click to expand...
Click to collapse
Were you able to figure out how to do this?
drgrape said:
Were you able to figure out how to do this?
Click to expand...
Click to collapse
I heard there is a way to do it by connecting the phone to a pc and typing an ADB command (if I'm saying it correctly) but I havent located the article or the way. All I know is that it can be done, but apparently there is no simple way. Maybe a more experienced member can enlighten us.
You can download multistar together with tasker and autotools. Should give you the desired result without the needs of root.
YIN9 said:
You can download multistar together with tasker and autotools. Should give you the desired result without the needs of root.
Click to expand...
Click to collapse
How? Tell us!

Categories

Resources