I'm doing an app that opens whatever applications that show up on status bar so that I can easily view one and go to next one, without having to press every notifications to go to each app. Is there any way I can get the list of apps that are on status bar, or is it not possible at all? Sorry if this has already been covered here and thanks in advance.
Latest OS version 4.3 introduced this capability in the API. Check out NotificationListenerService.
Feature update notes.
Related
I am working on an Android app and want to display a menu with some data about the app on a similar menu when you do a long click on the app logo in the main menu of the phone, like the one the YouTube app has, or other Android apps when pressed down.
I am working on Android Studio, and I've searched different sites for info on how to get to the menu, by default the android apps show a menu when long clicked, in which you can choose whether you want to delete the app or something else. I want to know how to access that menu.
At least I want to know the name of the menu so I can do more research, but if anyone knows how to interact with it, it would be great.
This blog explains it nicely
https://medium.com/#andreworobator/implementing-android-app-shortcuts-74feb524959b
Also FYI, With Q Android is doing some changes in shortcuts api. Do check that as well.
they're called Android App Shortcuts, this could help you answer your question How to create shortcut within app in Android?
Good luck! :)
Sorry for very basic question but could not find the exact answer for it.
Using one application called AppXplore I am able to see one application systemui.apk (com.android.systemui) on my Nexus5. I want to know what is the use of this APK? What does this apk actually do?
Thanks in advance!
SystemUI is the application that controls all the window decor you see on your device. It is a core application running as part of the system framework. The following items are handled/drawn by SystemUI:
Top status bar
Notification window shade (and the notifications inside)
Bottom software navigation buttons (HOME, BACK, RECENTS), if the device has them
System-level dialogs (e.g. USB Connection Permission or Power Off)
The file has a lot of icons for customizability. You can edit this (through some app or coding ,not sure though) to change the look and feel of your mobile. How to edit this can be found on http://forum.xda-developers.com/showthread.php?t=2203166.
Cheers
How do I hide an android app from the app drawer
I have read some similar questions and suggests using the Android PackageManager.
I was able to successfully hide them but according to a reply in this link,
link
It says:
Keep in mind that this also disables the app, so it will not respond to any more intents etc.
I think he is right, I am having problems while opening my app from an intent.
Is it possible retain the same app functionalities even if I remove the launcher icon.
currently I'm working on an UI Replacement of Android, currently achived by writing a different launcher and different-styled apps. All's good so far, BUT: there is still the notification bar missing, means, I have no idea how to replace the notification bar.
The "new" notification bar shall show only generic informations like the clock and network state, similar to windows phone and ios, without NotificationManager-binding.
How can I achive this? I know that there are several notification bar replacement apps out there, like omega statusbar or statusbar+.
My idea was to make every app of my UI fullscreen and having its own NotificationBar-Instance, fed by a ContentProvider or Service. But if the user decides to use classic android apps, he also will see the generic notification bar, which isn't what I want.
Also it might be an idea to create a window on top the notification bar, but I have no clue either this is "the right way", nor if it is even possible to achive this in this way.
I'm looking to do something along the lines of the image below, with the "Snooze" button, but I'm trying to do it on Froyo and later. Is it possible to do this on pre 4.0 devices? I basically want to give the user the option to close my ongoing service from the notification bar.
You can use NotificationCompat:
http://developer.android.com/reference/android/support/v4/app/NotificationCompat.html
Add support libraries revision 10 more info http://developer.android.com/tools/extras/support-library.html