android MIUI device specific issue - android

Before down vote, give reason in comment so i will ask better question next time :|
I am facing issue in special mi mobile.
i search for this and get some points.
it is device specific issue.
enable auto start from setting.
excludeFromRecent in manifest file.
one option is there if i will lock app from recent then did not kill alarm and services, but considering point 3 i can not get app in recent, i fix this for some reason.
please answer me if you have solutions.
when user click on clear button from recent screen (Please look into image)
then whole service and alarm will destroy and not start till i will start app manually.
i see some UltimateSpecialAppsList in mi phone they added all popular apps and it will working good. so do i need to add my app in this list? if yes then how?

Related

Flutter App does not start on android device due to exceeding memory usage

problem:
My flutter app did not launch or more precise was stuck in launch screen because I had to many other apps in the background e.g. Gallery, Camera, Browser etc. and so on. After closing those sleeping background tasks my flutter app launched like expected.
Questions:
A) Is it possible to e.g. open a dialog and inform the user of the nature of the problem. E.g. close some apps, please. Your cell phone ran out of Memory? If so, how? There are alot „change splash screen“ tutorials, would this be the correct place to implement such logic or is another widget preferable?
B) I know closing other apps is not possible due to android OS restrictions. But may be someone has another idea to atleast inform the user about the issue?
Best regards
Hugo

Launch an App by key press or a combination of key press - Window phone 8.1, iphone, Android

I am planning to build an app which needs a screenshot. My requirement is to launch the app when the designated key presses are executed. (i.e. like volume up+lock key for taking screen shot in windows phone). My app will then launch automatically for further processing of that image. Is it possible to build or is there any work around for that?
Thanks in advance.
There is no way to build such app for Windows Phone.
Even if an app is running it can't get access to hardware keys except BackKey.
App can't run in the backgroud. After user leaves app it goes suspend and only couple of BackgroundTask can be launched to run in background at that moment.
EDIT
To be clear your app on Windows Phone 8.1 can be done but it'll work like following:
User takes screenshot, goes to gallery and choosing to share it.
Your app must declare that it can receive image (https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh871367.aspx)
User see your app in share list, choose it and than your app gets screenshot and may start to work with it.
Adding on what #khamitimur has posted. You will be able to only list down the third party apps installed within your Windows Phone device programmatically but not to launch them using any hardware parts of the device.
P.s : The developers have not yet been given any access or API to hardware parts in order to trigger events from those.

Android: Make app not closeable (kiosk) under certain circumstances

I have a problem that I don't really know how to solve and also the threads here at SO haven't fully helped me.
Here's the issue: I want to have an android app that I can start whenever I want, and then, when I click on a button, I want the app to be somewhat "locked". By that I mean: after this button was pressed, the user is not able to close(see edit below) the app. Also, the app should immediately start after rebooting the device.
This lock can then be revoked by, say, entering a passcode, which makes the app run normally again.
So far I understand how to build kiosk applications. However, a kiosk application needs a particular manifest which will make it always a kiosk app, and not "on demand".
I'd greatly appreciate any hints and tips on this topic. Thank you so much!
EDIT: by "close" I really only mean completely turning the app off, not only going back to your home screen. Such that the app is always running in the background
You can programmatically lock and unlock the App in Android 5.0 http://developer.android.com/about/versions/android-5.0.html#ScreenPinning

how to keep track of which applications used most in android phone

HI ,
I need to keep track of installed applications which are used most and least in android device... can anyone help me how to do this programmatically in android...??
My question some thing like , I need to capture the event/Intent which will/may happen when the apllication is launched every time...(like BOOT_COMPLETED will be brodcasted when device booted).
This does not seem possible (unless the launcher/home screen or applications cooperate, e.g. through instrumentation: but that would be strange in production code!). See also this related question.
Edited to add: indiscriminate capture of application launch intents is not AFAIK permitted. Were Android to add such functionality, the security implications would be significant (particularly if interception or modification were allowed!). What you are describing could be (partially) achieved by replacing the home screen.
Some degree of usage information is collected already - from the launcher go to settings - about phone - battery use.
I think this resets every time you go on a charger, and don't know if its visible to ordinary apps.

Android: Changing entry point activity to app messes up app update

This is the second time this has happened to me now. I changed the starting activity of my app, and put out an update, and now the icon on people's phone will not open my app. The only way they can open it is through the downloads section of their Android Market app, or if they uninstall and reinstall the app, causing them to lose ALL their data.
I have no problem with updates on my N1, but every other Android phone has a problem with this. Why?
The only way they can open it is
through the downloads section of their
Android Market app, or if they
uninstall and reinstall the app,
causing them to lose ALL their data.
Powering their phone off and on should work as well.
I have no problem with updates on my
N1, but every other Android phone has
a problem with this. Why?
It's a question of when the home screen app elects to reload its launcher data. Different home screen implementations handle this differently. You will have the same problem with any user-created shortcuts and the like.

Categories

Resources