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
Related
Here's the scenario: My 5 year old daughter wants to watch a movie on my Hero. I bring up Madagascar 2 and hand her the phone. 2 minutes later she says the movie stopped because she accidentally touched or swiped the screen.
Is there a way to disable the touchscreen so that whatever program is active doesn't get interrupted? Maybe something like Proximity Sensor, but without having to use the sensor. Or some type of key button combination like Home+Search+Volume Down.
is this a serious question? no you cannot disable the touchscreen.
fixxxer2008 said:
is this a serious question? no you cannot disable the touchscreen.
Click to expand...
Click to collapse
Yes, it's a serious question. I saw this posted in a WinMo forum:
"If it's a custom app you could get the app to set the sensitivity of the screen in the registry to zero. That should do it. I've not been able to find anything existing though. Not even on Codeproject, which usually has unusual stuff like that. I suspect the Compact Framework doesn't support it so the registry is your best bet."
I'm sure it's possible...just out of my realm. Hell, if someone can make the End Call button disappear to avoid Face Hang Ups, I'm sure someone else could make this happen.
dennistpm said:
Yes, it's a serious question. I saw this posted in a WinMo forum:
"If it's a custom app you could get the app to set the sensitivity of the screen in the registry to zero. That should do it. I've not been able to find anything existing though. Not even on Codeproject, which usually has unusual stuff like that. I suspect the Compact Framework doesn't support it so the registry is your best bet."
I'm sure it's possible...just out of my realm. Hell, if someone can make the End Call button disappear to avoid Face Hang Ups, I'm sure someone else could make this happen.
Click to expand...
Click to collapse
android doesn't have a registry like winmo, ive never heard of anybody being able to disable the touchscreen, nor want to do it in the first place. sorry....
Good idea, but would probably be most practical to have built into a video player app. An Android VLC player would make my year...maybe after DIVX starts hitting more Android handsets this year more versatile players will show up.
the problem with media players is the have to run in a java VM instead of nativley.
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
abcdfv said:
the problem with media players is the have to run in a java VM instead of nativley.
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
Click to expand...
Click to collapse
Android has a Native development kit available so you can run native C++ code. There is a topic over at the VLC site talking about getting someone to do this - but its REALLY difficult to do it. I thought about it, but I have 0 experience with Media software.
It's my understanding the NDK is a joke a this point. The guys at Coreplayer have been trying to get a full functioning media player for months.
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
dennistpm said:
Yes, it's a serious question. I saw this posted in a WinMo forum:
"If it's a custom app you could get the app to set the sensitivity of the screen in the registry to zero. That should do it. I've not been able to find anything existing though. Not even on Codeproject, which usually has unusual stuff like that. I suspect the Compact Framework doesn't support it so the registry is your best bet."
I'm sure it's possible...just out of my realm. Hell, if someone can make the End Call button disappear to avoid Face Hang Ups, I'm sure someone else could make this happen.
Click to expand...
Click to collapse
Probably going to have to end up doing what I did with my kid: Tell her if she touches the phone the movie will end...then take it away for the day. Try again the next day. After a day or two she'll get the point. We also found a good spot on a table and in the car to set the phone and told the rugrat not to touch it if he wanted to see the movie. My kid's 8, so that worked. Not sure if you'll have the same results.
Not quite what you're looking I know, but...probably the best you'll get: Train the kid to leave it alone
danknee said:
Good idea, but would probably be most practical to have built into a video player app.
Click to expand...
Click to collapse
That is the only way I see it as possible. Android has several running levels for programs. I don't think it is possible for a backgrounded app to take over any functionality of the touchscreen.
Someone would have to write a custom player that doesn't respond to the screen.
For example there is a toddler game app (can't remember the name) that you can only exit by touching a combination of points on the screen. Writing this idea into a kid's player would be a cool app idea.
iPhone users have a program called my3g which tricks the phone into thinking you're on wifi when you're really on 3g so you can watch full episodes on tv.com, etc.
Does the droid have anything like this?
For some reason when I asked this question I got a very unsatisfactory reply. I don't think my fellow Android users like playing second fiddle to the iPhone hacker community. My3G was awesome for me when I had my iPhone. Now I have all sorts of problems with certain apps wanting me to be on wifi only with my EVO. It pisses me off and I have not found a work around yet. Let me know if you discovered anything please.
Was there such a program like My3G for Androidd?....
I've never had an app required wifi.... What apps? Maybe we can find a solution.
zehkaiser said:
I've never had an app required wifi.... What apps? Maybe we can find a solution.
Click to expand...
Click to collapse
for example, there is in israel the Bezeq company.
thay got android app that you can use the same number as your lend line phone on the android device... but thay allow only to use it in wifi connection.
thats way i need to imitate wifi connection on 3G internet...
if you search for "bezeq" in the market you will finde the app.
thanks
Also, the market (and Amazon market) force you to use WiFi to download large apps. I have an unlimited plan, and would like to be able to download these on 3g.
I take it there has still been no solution found to this problem? I want to trick my phone to think it's on wifi in order for itv player to work.
molyneux86 said:
I take it there has still been no solution found to this problem? I want to trick my phone to think it's on wifi in order for itv player to work.
Click to expand...
Click to collapse
I would really like to see my3g (or something like it) for Android. It was very useful on iOS and now that I use Android full time it is one thing I miss. I assume the reason something like this is not as popular on Android yet is in the past it has not been as necessary or useful as it is on a jailbroken iPhone.
Personally, I would pay good money for an Android app to provide this option.
bump
Hello, I am a .NET Web Developer that has become enthralled with the android operating system. I had an idea the other night while me and a friend of mine were discussing his adulterous spouse.
The app would activate the mic and begin streaming audio to a remote server (she's not tech savvy, so as long as it's not obvious she won't notice). He could listen to what was happening in real time, with a slight time lag, and activate/deactivate from the same remote server by having the app check a variable on the remote server that he could change for whether or not it's recording at given point in time.
Would this require root? Is it even possible? I don't see why not.
jancarius said:
Would this require root? Is it even possible? I don't see why not.
Click to expand...
Click to collapse
Once a service is running in the background, it can check whatever internet site it wants whenever it wants. No need for rooting the phone. You just need to install the app.
And you might as well suck up GPS data while you're at it... though some folks (Evo!) disable GPS to prolong their battery life. There's always "course location" information available.
As long as we're being horrifically intrusive, you might as well log incoming and outgoing phone calls, and make recordings of selected numbers. Heck you could record the first 10 seconds or so of all calls, and the full conversation of specific numbers you flag.
:/
Then all you need to do is install this beast... and give it some innocuous/useful name so if she ever checks the service list she won't kill it.
PS: Services don't show up on the app list.
PPS: I'm starting to feel dirty just typing this stuff. This sort of app would be so easy to abuse. Law enforcement wet dream. Stalker wet dream too. Yow!
Of course lets not forget text and mms forwarding or intercepting. Some similar products out the allow remote control over the phone such as turning on the gps, bluetooth, speaker, and camera. Even if the program did show up in a process or service list on the phone - given the proper name no one would end it in fear the it's an important system process or something similar. (Well that excludes us on XDA )
Oh my, this is nasty... Might you ever release it.. Let me know.
Sent from my Legend using XDA App
yrref said:
Oh my, this is nasty... Might you ever release it.. Let me know.
Sent from my Legend using XDA App
Click to expand...
Click to collapse
Hahaha. Sounds like yrref is up to something devious.
There are already several similar spy apps out there... there's a thread in the evo forum about some guy that can't get one off his phone, psycho girlfriend issues.
Not. Cool.
Hi Everyone,
I have big problem which is i cannot close apps. When im done with app i cant close them. I push back button, but it just send app to background. So it is still working and draining battery all the time.
I have same problem with every app. I have Advanced Task Killer Pro but i dont want to use it all the time. It is ridiculous.
And some apps are restart after i close them with Advanced TK Pro. Like Letsgolf,postcard.. I dont want those. I will uninstall them if i can..
I need to close apps when im done with app and uninstall some other apps. Is there any solution for that ? Because it is really annoying and big problem. Simply draining battery..
Thank you for reading.
Best regards.
Are you new to android? You dont have to close every app like lets say symbian or windows mobile, only worry about closing certain games or apps that keep using data frequently, read up on android if this is your first device, anyway If you feel uncomftorble use task killer to stop all or whatever apps you want, not everything will close though, its just the way android works, youre fine.
Where is the problem with the Arc...?
You're referring to the normal behavior of the Android OS. This is normal. If you're not getting over 40 hours of battery life with regular use, you may have downloaded some strange applications.
aaaahh.. iead1.. I've missed your supportive and incisive retorts ! ;-) saved me a job!!
Sent from The Arc!
Please REMOVE the BIG forum title, you are jumping to your own conclusions and distorting public views of ARC.
Next time read more and find out before you post
im_iceman said:
aaaahh.. iead1.. I've missed your supportive and incisive retorts ! ;-) saved me a job!!
Sent from The Arc!
Click to expand...
Click to collapse
Haha. Just trying to set the record straight, tis all.
I thought it was an April fools joke that was a little late
So where is the "BIG" problem with the ARC? What a lame and misleading title! Go read up on Android OS and how it behaves first before freaking out!
It's not about ARC i know that. But i just want to tell my phone is ARC,whatever. I used Linux and i know how it works. But when it comes to phone. Things change. Gallery,Camera,Google Maps,Browser.. When you start apps like that. If you cant close them they are draining battery in background also using RAM for nothing. And it is something that i cant deny.
And think about you didnt restart your phone like 2-3 days. And apps you start never close and working in background. It is a PROBLEM need to solution. Thats not nothing.
Thanks for comments.
MODs please delete these type of threads !!!
xperiax10.awesome said:
MODs please delete these type of threads !!!
Click to expand...
Click to collapse
Could just rename the thread.
Or if closing the thread is the solution, please direct it to a thread where answers can be found.
I'm new to Android and interested to know more about this kind of behavior too.
so do you mean that app will close after a while ...?
can somebody tell me more about it ..?
If you are using MODs like MIUI or CM. you can close apps with Push Back button a bit. They resolve that problem.
But in Original Android 2.3.2. you cant close apps except Apps which have Exit button itself. It is simply absurd, i think anyway.
I get it. This is how linux work. But we are using it in Smartphone. Which means we have Battery. If i cant close big apps like Google Maps etc. its gonna keep draining battery background.
iead1 said:
If you're not getting over 40 hours of battery life with regular use, you may have downloaded some strange applications.
Click to expand...
Click to collapse
I've never gotten 40 hours out of a single charge on my Arc.
oojjii said:
I get it. This is how linux work. But we are using it in Smartphone. Which means we have Battery. If i cant close big apps like Google Maps etc. its gonna keep draining battery background.
Click to expand...
Click to collapse
Do you really think the developers of the android OS didnt think of this?
Theyre not draining battery in the background. Theyre idle. Theyre not doing anything. At all. Think of it like a solid state mp3 player, you used to see people posting on forums panicking that there isnt a stop button, just a pause button, like pausing it will wear out the mp3 file or something. They just dont understand that technology has moved on. The same thing has happened here: android isnt windows (although most windows apps dont eat any power when theyre minimised either, theyre idle, waiting for user input).
Also: they arent wasting memory. If the memory is needed for soemthing else, the android OS frees it up by closing (i.e. unloading) the idle app, but only when it's needed. No point in freeing it up too early, because you may wish to switch back to (i.e. unpausing) the app. This is more efficient.
There are *some* apps (e.g. music player, gps location tracker app) which will continue to run in the background, and yes this will drain battery, but these apps will have the ability to start/stop their services (e.g. pause music, stop tracking gps), and/or exit completely. If there is an app somewhere which continuously runs and doesnt give you a way to pause/exit then it's a very badly programmed app and you should uninstall it, but i dont know what those apps may be, because i cant think of one.
In summary, stop complaining about something like it's the end of the world if you dont have a clue what youre talking about.
Oh finally.
A man who knows what he is talking about. Thanks god.
And thank you. I really learned something from your post.
İ tried and see many combination about it. It is not a big problem for me i just want to learn why it is like that. And i thought it is drain battery..
Okay some apps like Lets Golf or post card doesnt using battery even if they seems like running. But what about Internet Browser ? I cant even close it with one click. I use back button for close. And when i push it it go back first. Simply, i need to come back first page i loaded for close browser. Even i get there and push back. It is still running ( yes running, i can see it in battery options and using battery %2-5). And google maps is same thing. Even i push back and disappear them they keep running and using battery (%3-6 for it ). What can i do for it ?
I'm not complaining about it that much. I really like my telephone and android. I just want to learn something and if this is a problem i want to resolve it thats all.
Anyway, thank you again for your useful answer.
Best regards.
well i think its not a real problem
btw thxxx for ppl who help us
Güncel Konu ..
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!