How to develop custom status bar in android JellyBean 4.2.2

南笙酒味 提交于 2019-12-21 03:42:42

问题


I want to develop customized StatusBar. I know i am not the only one with this requirement. But still want to know the opinions.

  • After lot of search on StackOverflow, i found that people have modified status bar using tools but thats not i need.

  • I am bit looking into the direction of developing of my own Status Bar with my own branding and layouting of the system icons.

  • Also i have seen on Google play store about having a customized status bar app like omega status bar and couple more. I am looking for the same implementation. I also learnt that these kind of apps are installed on non-rooted device, the way i need and uses a "DISABLE OR MODIFY STATUS BAR" permission.

  • I also have created some basic layout for status bar but don't know how to proceed further in making my status bar app and overriding the default status bar (Systemui.apk)

Summary - How can one develop its own status bar app in android pro-grammatically?.

Help Appreciated!


回答1:


Here is what I could find:

  • a "How to Make a Custom Status Bar" site that has a step by step (looks promising)

However it looks like you may need to alter the firmware

  • this link claims the only way to override the status bar is to change the android source code

I was also able to find this

  • a SO question that uses the full screen feature and then put a new psuedo status bar on top creating the illusion of an altered status bar

Still, there are already apps on the market that do this as you mentioned yourself. So, there is an answer out there, however IMHO it may not be worth the effort to implement unless it is integral to your app (however, I would not advise you to pursue making a copycat app unless it is for personal improvement/practice)



来源:https://stackoverflow.com/questions/17165767/how-to-develop-custom-status-bar-in-android-jellybean-4-2-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!