Related
hi to all, it's my first time to be here! me and a friend of mine have joined a small competition that require for participating -of cours- to develop an android app! also we are a newbies in java developement and it's our first experience in android world, so my question is: is there a java or linux or c++ code that can power on an android device at a specific time? I googled a lot of time and i didn't got an answer.Please any suggestion or help? And sorry foy my bad english.
No definitely not!*
Because, you're app is only running if android has booted, so there is now way for your app.
The build-in Clock-App can't do it, too!
The only think you can do is, to unlock a booted phone.
Regards
-----
*There could maybe a way, for a specific phone, which has the hardware, which is needed and a SDK for developers for that hardware. But I don't know anyone.
Thanks for the replay. You speaked about the build-in clock app can't do it? it's indeed a reality! But why? unlike the android phone, when you set the alarm clock app in a Nokia phone and you shutdown the device.. the app is able to power on and boot the os!! So why it's not possible on android! is it something related to android architectur (layers)? maybe the hardware? can someone give me an explanation please.
Yes, I suppose you'll need specific hardware support. If the phone is really off, there needs to be some kind of timer that is still running, which can turn the phone on, so it can boot again, and then run some app for the alarm or whatnot.
Apparently Blackberry phones support it too, perhaps others as well, but it's not a common feature on Android phones.
Thanks you for the info.
hypered said:
Thanks you for the info.
Click to expand...
Click to collapse
there are many apps available on play store search and get it all working ....
Have a nice day
I dont know how to but its possible in Android because if you got to Settings --> Accessibility --> There is an option to turn on and off the device... So there must be a turn around for the same...
I also have a similar kind of Idea for my next app but dont know how to run my app when the phone is off or how to switch it on...
Maybe in rooted devices...Please let me know if you get anything similar.
Thanks
Hello ...
I have the Samsung Galaxy J5 (2016) with Android 6.0.1 from Saturday (NOT rooted ... yet). After a lot of hours searching and setup I have this "problem":
When I press the PowerButton for 2-3 seconds to show the options: Reboot/ShutDown/SafeMode it sounds the Messages notification !! How can I disable this?
Thanks in advance.
I still cannot disable it (without reset the phone)
I wonder if this notification is by default ....???
Thanks
zavag said:
I still cannot disable it (without reset the phone)
I wonder if this notification is by default ....???
Thanks
Click to expand...
Click to collapse
Dunno if you can remove it without root, but you can do it with root. You find system sounds at /system/media/audio/ui. There you should find the sound file regarding power menu, then delete it and reboot and that's it.
@zavag
I try to turn it on to reproduce your problem but In my case, I can not even find out how I can turn it on.
Can you tell me...
How you activated it?
On which build are you?
@Henkate
I think it would be rather embarrassing for Samsung if you can not even personalize a notification tone without major changes to the system.
By the way, even if I do not actually think of TouchWiz. For me it's just ugly and overbloat!
I really don't know how it activated. The phone is new and ... you know ... I was searching a lot of settings in order to setup as I like. I googled it ... I found some infos but it didn't work.
On the other hand I don't want to reset (and most I don't want to root it from now) because I spent a lot of hours to set it up.
bronko3010 said:
@zavag
I try to turn it on to reproduce your problem but In my case, I can not even find out how I can turn it on.
Can you tell me...
How you activated it?
On which build are you?
@Henkate
I think it would be rather embarrassing for Samsung if you can not even personalize a notification tone without major changes to the system.
By the way, even if I do not actually think of TouchWiz. For me it's just ugly and overbloat!
Click to expand...
Click to collapse
Know what you mean! I think if there is really no other way you are at minimum able to backup your settings in almost any app.
Maybe you like to inform about adb based backup solutions like declared here:
https://www.droidwiki.de/wiki/Backup/Ohne_Root
I also found a tool called Ultimate Backup on XDA:
http://forum.xda-developers.com/showthread.php?t=1844032
If you don't have access to a Linux or at least Windoof computer you can maybe search for how to use adb through androids buit in Linux command shell. Don't know if there is a workaround.
But in my opinion it is already poor from Samsung if one must operate such an effort in order to turn off a notification!
zavag said:
I really don't know how it activated. The phone is new and ... you know ... I was searching a lot of settings in order to setup as I like. I googled it ... I found some infos but it didn't work.
On the other hand I don't want to reset (and most I don't want to root it from now) because I spnt a lot of hours to set it up.
Click to expand...
Click to collapse
zavag said:
Hello ...
I have the Samsung Galaxy J5 (2016) with Android 6.0.1 from Saturday (NOT rooted ... yet). After a lot of hours searching and setup I have this "problem":
When I press the PowerButton for 2-3 seconds to show the options: Reboot/ShutDown/SafeMode it sounds the Messages notification !! How can I disable this?
Thanks in advance.
Click to expand...
Click to collapse
It's related to some accesibility services. Try to disable them in settings!
MaDaLiNoSt said:
It's related to some accesibility services. Try to disable them in settings!
Click to expand...
Click to collapse
I found this while searching internet for other phones. But ... I think that is general infos and no specific....I couldn't disable it.
MaDaLiNoSt said:
It's related to some accesibility services. Try to disable them in settings!
Click to expand...
Click to collapse
You are right!
Settings => Accessibility => Vision => Accessibility Shortcut
Was On and I changed it to OFF
Sent from my GT-N5120 using XDA Free mobile app
zavag said:
You are right!
Settings => Accessibility => Vision => Accessibility Shortcut
Was On and I changed it to OFF
Sent from my GT-N5120 using XDA Free mobile app
Click to expand...
Click to collapse
I am happy that I helped you.
So I had my Mi A1 for a couple of months now, and a lot of android phones before. Now my girlfriend got one, after getting tired of apple phones. We managed to set up everything. but on my lockscreen you will read the time as AM or PM, in caps and no dots between the letters. On hers, it's a.m. or p.m. in lower case and with dots between the letters. I can't for the life of me find the way to change this, and she hates it. Also, I don't recall ever having to set this up. Any help please? Other than switching phones with her
This must be a joke lol
DualBandWiFi said:
This must be a joke lol
Click to expand...
Click to collapse
I'm afraid it is not, it may be a stupid question, but it is a genuine one.
Use 24 hrs format
AlaiSalaam said:
So I had my Mi A1 for a couple of months now, and a lot of android phones before. Now my girlfriend got one, after getting tired of apple phones. We managed to set up everything. but on my lockscreen you will read the time as AM or PM, in caps and no dots between the letters. On hers, it's a.m. or p.m. in lower case and with dots between the letters. I can't for the life of me find the way to change this, and she hates it. Also, I don't recall ever having to set this up. Any help please? Other than switching phones with her
Click to expand...
Click to collapse
You can download Andromeda, Substratum Theme Engine and Substweaks overlay to remove AM/PM.
Andromeda: https://play.google.com/store/apps/details?id=projekt.andromeda
Substratum: https://play.google.com/store/apps/details?id=projekt.substratum
Substweaks: https://play.google.com/store/apps/details?id=me.msfjarvis.substweaks&hl=en
AlaiSalaam said:
I'm afraid it is not, it may be a stupid question, but it is a genuine one.
Click to expand...
Click to collapse
I've switched to 12hrs format just for testing and it shows a.m.
I'm on Oreo march update (And downloading the latest from yesterday) if that helps.
DualBandWiFi said:
I've switched to 12hrs format just for testing and it shows a.m.
I'm on Oreo march update (And downloading the latest from yesterday) if that helps.
Click to expand...
Click to collapse
Are either of you using any clock apps like "Chronus Home & Lock Widgets"?
kudos1uk said:
Are either of you using any clock apps like "Chronus Home & Lock Widgets"?
Click to expand...
Click to collapse
No, no 3rd party apps and 100% stock, i didn't even rooted it.
DualBandWiFi said:
I've switched to 12hrs format just for testing and it shows a.m.
I'm on Oreo march update (And downloading the latest from yesterday) if that helps.
Click to expand...
Click to collapse
That's exactly how her screen looks, and I'm attaching how my screen looks. We are both 100% stock and updated to the latest patch (april) and I'm afraid to switch to 24-hs format and switch back to find my screen looking like hers
(Can't seem to get the image attached...)
imgur.com/a/6NbThyr
AlaiSalaam said:
That's exactly how her screen looks, and I'm attaching how my screen looks. We are both 100% stock and updated to the latest patch (april) and I'm afraid to switch to 24-hs format and switch back to find my screen looking like hers
(Can't seem to get the image attached...)
imgur.com/a/6NbThyr
Click to expand...
Click to collapse
You must put the same area for your girlfriend as yours. Example English from USA in the language settings.
Ed: You must put that language and zone at the first place in Language preferences
mardrest said:
You must put the same area for your girlfriend as yours. Example English from USA in the language settings.
Ed: You must put that language and zone at the first place in Language preferences
Click to expand...
Click to collapse
Probably this is the fix, isn't Movistar an Spanish company like mine?
mardrest said:
You must put the same area for your girlfriend as yours. Example English from USA in the language settings.
Ed: You must put that language and zone at the first place in Language preferences
Click to expand...
Click to collapse
You know what, that might be it... her phone is in latin american spanish and mine is american english...
AlaiSalaam said:
You know what, that might be it... her phone is in latin american spanish and mine is american english...
Click to expand...
Click to collapse
Yes, thats it, in Spanish comes am./pm. and english from america comes AM/PM, she can leave 24 hrs in Spanish or change to american english and she will have also AM/PM
hi for the last year or so i've been working on designing a custom environment for android, i just released a custom navigationbar app called arc lighting navigationbar on the playstore allthough it has been used and tested on galaxy devices such as the note 9 it works on any other phone too, this app will let you customize the navigationbar extensively, which includes changing each button back,home,recent apps to various icons both presets and icons from any iconpack, you can also place colored layers behind the icons, each color can also follow your wallpaper or app, you can customize it so much that you can turn it into a taskbar for desktop use meaning you can use any phone as a pc without a seperate environment such as samsung dex, the app is called arc lighting navigationbar, i couldn't possibly describe everything it can do so you'd have to test it i don't think theres anything you can think of that you can't do with when it comes to customization, whats left is the dockmenu for true desktop and mobile environment but the developer i am working with does not want to finish the work until this app gets traffic as i owe him too much money for the work he did.
here you can see it on a s9+ https://www.facebook.com/symetium/videos/441167859757603/
and here you can see it on a xperia 1 including it's desktop ui
https://www.youtube.com/watch?v=hKuIKY2fvH0
https://www.youtube.com/watch?v=f0BsPqgkDKc
zzcool said:
hi for the last year or so i've been working on designing a custom environment for android, i just released a custom navigationbar app called arc lighting navigationbar on the playstore allthough it has been used and tested on galaxy devices such as the note 9 it works on any other phone too, this app will let you customize the navigationbar extensively, which includes changing each button back,home,recent apps to various icons both presets and icons from any iconpack, you can also place colored layers behind the icons, each color can also follow your wallpaper or app, you can customize it so much that you can turn it into a taskbar for desktop use meaning you can use any phone as a pc without a seperate environment such as samsung dex, the app is called arc lighting navigationbar, i couldn't possibly describe everything it can do so you'd have to test it i don't think theres anything you can think of that you can't do with when it comes to customization, whats left is the dockmenu for true desktop and mobile environment but the developer i am working with does not want to finish the work until this app gets traffic as i owe him too much money for the work he did.
here you can see it on a s9+ https://www.facebook.com/symetium/videos/441167859757603/
and here you can see it on a xperia 1 including it's desktop ui
Click to expand...
Click to collapse
in the beginning of the message you say you are developing the app and its in the play store and then at the end u speak about the actual dev is someone else and they dont want to finish the work for x reason.
sooo.. what are we to do with this?
is it available or not?
or is this just to monetize youtube links?
bober10113 said:
in the beginning of the message you say you are developing the app and its in the play store and then at the end u speak about the actual dev is someone else and they dont want to finish the work for x reason.
sooo.. what are we to do with this?
is it available or not?
or is this just to monetize youtube links?
Click to expand...
Click to collapse
i designed the app and he helped me develop it
zzcool said:
i designed the app and he helped me develop it
Click to expand...
Click to collapse
oh ok thanks.
can you link to the app please?
bober10113 said:
oh ok thanks.
can you link to the app please?
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.symetium.arclightingnavigationbar
remember that it's not perfect yet
This app is freaking cool. Very very hard to figure out. Having said that I'm good try cuz it's freaking cool.
lincolnsxda said:
This app is freaking cool. Very very hard to figure out. Having said that I'm good try cuz it's freaking cool.
Click to expand...
Click to collapse
honestly it means a lot when someone truly appreciates my work i have to go through a lot of 1 star ratings for really weird reasons such as too complicated or uses too many permissions so it's nice when someone actually appreciates it thank you, and yes it is difficult to figure out as i wanted customization per button rather than all 3 at once, i could have made it simpler and had one light control for all buttons at once but each button has it's own full set of settings icon, color,light indicator,movement, layer etc i don't find it complicated as i designed it but i understand if other people do.
I'm impressed. To be able to do that without root is awesome since this thing is in root limbo. As soon as I have 6 bucks I'll donate. I'm on an N9... Can't get the advanced option to work... Any thoughts?
lincolnsxda said:
I'm impressed. To be able to do that without root is awesome since this thing is in root limbo. As soon as I have 6 bucks I'll donate. I'm on an N9... Can't get the advanced option to work... Any thoughts?
Click to expand...
Click to collapse
well i am really sorry to say but the advanced option does not work on galaxy phones for some reason so the app has been made to block the advanced option to function, we tried to get it to work but it crashes the phones ui theres something with oneui so you'd need to use the mode that requires no root or software, the difference between advanced and simple is simply no transparency theres no other difference so you get all the same features as advanced but instead of modifying the navigationbar it will place one ontop of the old one i recommend doing this with gesture navigation enabled as then you get a very thin navigationbar as well as the gesture navigation, but i am so sorry for this i should have been more clear on that, made me sad considering you liked the app.
Sounds great. Thank you, Thank you, Thank you!!!
lincolnsxda said:
Sounds great. Thank you, Thank you, Thank you!!!
Click to expand...
Click to collapse
you're welcome let me know if you need any help, as mentioned i do recommend enabling gesture navigation first this makes the navigationbar much thinner than usual it also allows you to use gesture navigation or taps at the same time.
these are ugly navbars!
onlineemails said:
these are ugly navbars!
Click to expand...
Click to collapse
personally i like it but thats a matter of taste
Can't seems to enable permission from pc. 1st step it asked to connect my phone, after I vonnected my phone and press the 2nd step (enable), it asked me to connect my phone while my phone was still connected and my oc can read my phone. [emoji24]
Sent from my SM-N960F using Tapatalk
Hi guys,
i have my nothing phone 1 now for 2 weeks and have a problem with notifications. most of the time i receive my notifications way to late or only when i activate the phone. some times i have to open the app and watch for new messeges like for example in the gmail app.
ive done all possible settings in the options menue like no power saving at sertain apps and ignore dnd mode and deactivate dnd and so on... i hope some one has an answer to my problem.
sorry for my english, i am native german =)
best regards
mjr
maj0r said:
Hi guys,
i have my nothing phone 1 now for 2 weeks and have a problem with notifications. most of the time i receive my notifications way to late or only when i activate the phone. some times i have to open the app and watch for new messeges like for example in the gmail app.
ive done all possible settings in the options menue like no power saving at sertain apps and ignore dnd mode and deactivate dnd and so on... i hope some one has an answer to my problem.
sorry for my english, i am native german =)
best regards
mjr
Click to expand...
Click to collapse
It's a knowed issue for some users.
Be sure that for each apps with notifications wanted (social apps, mail apps with wakelock/sync) you put the apps with the mode "Not restricted" for be sure app in background is not shutdown by system.
Long press on a apps icon > "!" symbol (App Info) > Battery > Unrestricted (instead Optimized)
Be sure also to do not have magisk module (like GMS Doze) or "optimize" apps (like cleaner apps) refresh/wipe cache in background
maj0r said:
Hi guys,
i have my nothing phone 1 now for 2 weeks and have a problem with notifications. most of the time i receive my notifications way to late or only when i activate the phone. some times i have to open the app and watch for new messeges like for example in the gmail app.
ive done all possible settings in the options menue like no power saving at sertain apps and ignore dnd mode and deactivate dnd and so on... i hope some one has an answer to my problem.
sorry for my english, i am native german =)
best regards
mjr
Click to expand...
Click to collapse
All android phones have this issue, been 3 years since a a notification arrived on time.
thank you for the tipp. i already done that settings but it does not help. i cant factory reset my device because of my banking apps and auth apps but i realy want to do that.
Patman86 said:
All android phones have this issue, been 3 years since a a notification arrived on time.
Click to expand...
Click to collapse
yea thats to bad, i have changed so many phones now just because of that problem
maj0r said:
yea thats to bad, i have changed so many phones now just because of that problem
Click to expand...
Click to collapse
It is what happens when people complain about battery life without telling about 200+ apps running, then Google have to have settings you cannot change so people dont complain about an issue that never existed.
Patman86 said:
It is what happens when people complain about battery life without telling about 200+ apps running, then Google have to have settings you cannot change so people dont complain about an issue that never ex
Click to expand...
Click to collapse
So true, it's for this reason i talking about optimized app and other doze apps like greenify or GMS Doze.
If a person have always the same problem from 3 years on all his Android devices, for sure problem come from user... not of all his devices.
Patman86 said:
It is what happens when people complain about battery life without telling about 200+ apps running, then Google have to have settings you cannot change so people dont complain about an issue that never existed.
Click to expand...
Click to collapse
and that is the right way?
i buy android phones to have control over my device else i would buy an apple product and have not an direct control but instant messeges...
maj0r said:
thank you for the tipp. i already done that settings but it does not help. i cant factory reset my device because of my banking apps and auth apps but i realy want to do that.
Click to expand...
Click to collapse
On the last NOS 1.1.6 first time you launch app you have a question "authorized notifications" YES/BLOCK"
Be sure in App Infos to also check Notifications settings.
After that if you factory reset, test during 1 day if the problem is back just with your minimal apps installed, always with unrestricted for social/sync apps.
i have 35 apps installed, not a single crappy optimizer in the background so i dont think that i overload my phone.
i dont think that it is my fault that the notifications dont arrive on time, i think that googles power plan and others like samsungs and oneplus power plans are sh*t!
Pho3nX said:
So true, it's for this reason i talking about optimized app and other doze apps like greenify or GMS Doze.
If a person have always the same problem from 3 years on all his Android devices, for sure problem come from user... not of all his devices.
Click to expand...
Click to collapse
Android 10 was start of the problems with doze from Android.
Welcome to Android, you must be new.
Patman86 said:
Android 10 was start of the problems with doze from Android.
Welcome to Android, you must be new.
Click to expand...
Click to collapse
??? You have not understand my answer.
But if you want, i'm new.
maj0r said:
Hi guys,
i have my nothing phone 1 now for 2 weeks and have a problem with notifications. most of the time i receive my notifications way to late or only when i activate the phone. some times i have to open the app and watch for new messeges like for example in the gmail app.
ive done all possible settings in the options menue like no power saving at sertain apps and ignore dnd mode and deactivate dnd and so on... i hope some one has an answer to my problem.
sorry for my english, i am native german =)
best regards
mjr
Click to expand...
Click to collapse
Did you by any chance restore your apps with data via Swift/Titanium backup? It is the common culprit for late arrival of push messages (Gmail, Whatsapp,..) - fix is quite simple https://forum.xda-developers.com/t/...s-after-titanium-backup-data-restore.4001959/.
Btw. Gmail push messages have lower priority, so they show up only when the phone is not deep sleeping, or during regular scheduled checks when deep sleeping. Chats like Whatsapp are using priority channel, so they are delivered instantly. Priority of push notifications is set by developers, so there is nothing you can do to raise their urgency.
_mysiak_ said:
Did you by any chance restore your apps with data via Swift/Titanium backup? It is the common culprit for late arrival of push messages (Gmail, Whatsapp,..) - fix is quite simple https://forum.xda-developers.com/t/...s-after-titanium-backup-data-restore.4001959/.
Click to expand...
Click to collapse
thank you for the tipp but i dont use such tools.
BUT now i am going to see if i have this file in my system and if so im gonna delete it too.
Pho3nX said:
??? You have not understand my answer.
But if you want, i'm new.
Click to expand...
Click to collapse
"If a person have always the same problem from 3 years on all his Android devices, for sure problem come from user... not of all his devices."
Google introduced new settings you cannot edit without ether root or a custom rom, that means ALL versions from android 10 to Android 13 from Vendors have the same problem with battery savings on apps, you cannot fix this without root or installing a custom OS.
If you did not know this then you are new to android.
Patman86 said:
"If a person have always the same problem from 3 years on all his Android devices, for sure problem come from user... not of all his devices."
Google introduced new settings you cannot edit without ether root or a custom rom, that means ALL versions from android 10 to Android 13 from Vendors have the same problem with battery savings on apps, you cannot fix this without root or installing a custom OS.
If you did not know this then you are new to android.
Click to expand...
Click to collapse
dude, do me a favor plz... help or stay away
you dont help by any means with your posts! if you were a pro you would already helped me with a quallified answer so plz stop calling out the guys whot try to help noobs!