I am new to Android programming and I need help. If any of you has a simple example of adding (icon/message) notification on the Phone and when clicked it restores back the application to its state. The purpose is the user could open any other application without exiting my app. Just like AIRDROID do.
I created an application where the user can login and do some tasks. But when I click the HOME it exits the application, and the user will have to login again. (Saving user/pass is not ideal for my project).
Anyone has a link/example/suggestion?
Thanks in advance.
Follow this tutorials,hope it helps :) - http://www.youtube.com/watch?v=e74z0_Z5QWI&feature=relmfu
Related
I am creating a Flutter menu app android for a restaurant. The user will check the dishes on the tablet screen, if the user somehow returns to the device's home screen, I would like to restart the app automatically after some time returning to the app's home screen, for example.
I can already start the application automatically when someone turns off the device. Thanks to to everyone
The thing what you r looking is "kiosk mode". https://www.google.com/url?sa=t&source=web&rct=j&url=https://pub.dev/packages/kiosk_flutter&ved=2ahUKEwi10-jDtqHvAhWqxoUKHY5YAj8QFjAAegQIARAC&usg=AOvVaw1gwQqs5Ep1oOfjNKbv-z5-
User installs my app. Once installed, it runs in the background forever unless user disables the run forever button in my app or uninstalls my app. Now, my app need to show a popup message once a hyperlink click event is triggered from anywhere in the android device. The click event might have been triggered from default messaging apps (like user click a link provided in a message he/she has received) or from some other apps in the device like twitter and facebook.
I want to know if there is any way I could achieve this? If yes, then please suggest me how to do it.
Any kind of help will be greatly appreciated.
Thanks!
The correct way to do this is with Intent Filter, not by having your app run constantly in the background.
Android Respond To URL in Intent
Then, you can program whatever behavior you would like to happen
I have developed an application set as a home onto my Android device. On my device I set it as the default home application. That way, each time I click the home button, I am redirected to this app.
The problem I have is that I have to produce some updates. But when the app has been updated, the device ask to define the default home once anew.
I would like the update to be performed without the user having to define the default home again.
There isnt a way to do this. Each time your app is updated the user will have the opportunity to chose whether they want to keep it as the default home application. It is a means of Android showing a user he or she is in control of there device at all times.
If im wrong someone please correct me.
I need urgent help to make a android app to be launched after unlocking the phone.
I want always on top kind of functionality in App, Means whenever phone unlocked by the user , they should see the app.
is it Possible??
Thank in Advance
Not really. You could approximate it by having your app replace the home screen/launcher, but the user will still be able to revert to the original one through the settings menu.
Yes. This thread discusses that there is an Intent Object that you can capture using a BroadcastReceiver. The BroadcastReceiver can then run the code you need or launch an Activity, etc.
Can someone point me in the right direction to have an Android Application reopen itself to the forefront after a user has pressed the home key? It should be able to be linked to some kind of countdown (which I already have setup, and runs when pushed to background).
I just can't find the function to force this action
*And yes, this is what the user will want, don't worry, I know this doesn't sound user friendly (forcing open) but in this case the user wants it.
Thanks
I needed the exact same thing before -> an app being displayed upon an event but I was sure I read on the Android developers site that this can't be done and that's what notifications are used for, although starting a new activity does bring an app to front. I found this link however to a NEW_TASK_LAUNCH flag with startactivity that might solve your problem -
http://developer.android.com/guide/appendix/faq/framework.html#4