For example, I need to push the status bar (statusbar). For this there is an expand method in the StatusBarManager class. How can I call him? I understand something like this:
In the root of the project, create the android folder, in it the app folder and in it create the StatusBarManager class with the expand body method.
package android.app.StatusBarManager; public class StatusBarManager { public void expand() {} } Then in activity
StatusBarManager sbm = (StatusBarManager) getSystemService("statusbar"); sbm.expand(); Will it be possible to achieve a status bar? In theory, the class will be compiled and executed exactly as a class from the framework. If this doesn't work, then how is the normal compiled code that comes in the SDK executed? What is there? Why is the code being executed from the framework and not from the SDK?
StatusBarManagerfrom which package? - post_zeewandroid.app, but my project. What will happen if compiled? Now there is no possibility, very interesting. After all, the same package is in the framework and in my package - Flippy