First my task is: to permanently remove the Bottom menu from Tables Android 4.0.4, which includes back , home and menu keys. I don't want that, as per my requirement.
首先,我的任务是:永久从Android 4.0.4中删除底部菜单,其中包括back、home和menu键。我不想要那个,按我的要求。
I have gone through number of blogs and posts available on internet about "How to modify Android Source code". But none of them is clear about exactly changing the Source code and then use that in device.
我浏览了很多关于“如何修改Android源代码”的博客和帖子。但是没有一个是明确的改变源代码然后在设备中使用。
I mean i downloaded Android source code using Hiding and Showing System Bar(Status Bar + Navigation Bar) in Android Tablets using Android Source Code
我的意思是我下载了Android的源代码,使用Android的源代码在Android平板上使用隐藏和显示系统栏(状态栏+导航栏)
1: http://source.android.com/source/initializing.html and got some idea about changing source from here
1: http://source.android.com/source/initializing.html,并从这里得到一些关于改变源的想法
but nothing clear to me. Can anyone point me to the clear blog or video which can help me because its a week of googling and still unable to get it done.
但我什么都不清楚。谁能告诉我清楚的博客或视频可以帮助我,因为这是一个星期的谷歌,仍然无法完成它。
1 个解决方案
#1
2
Your question is so generic. So I just suppose that you have already got to know how to build and flash your customized firmware. And here is the answer for your original requirement:
你的问题太笼统了。因此,我认为您已经知道如何构建和flash您的定制固件。这是你最初要求的答案:
To disable the navigation buttons, you should modify the file YOURANDORIDROOT/framework/base/core/res/res/values/config.xml and change the value
要禁用导航按钮,您应该修改文件YOURANDORIDROOT/framework/base/core/res/res/值/config。xml并更改值
<bool name="config_showNavigationBar">true</bool>
< bool name = " config_showNavigationBar " >真正< / bool >
to
来
<bool name="config_showNavigationBar">false</bool>
< bool name = " config_showNavigationBar " >假< / bool >
And some more information for your reference, you can go to framework/base/package/systemui directory and there you can find the source code of the status bar.
还有一些更多的信息供你参考,你可以到framework/base/package/systemui目录,在那里你可以找到状态栏的源代码。
#1
2
Your question is so generic. So I just suppose that you have already got to know how to build and flash your customized firmware. And here is the answer for your original requirement:
你的问题太笼统了。因此,我认为您已经知道如何构建和flash您的定制固件。这是你最初要求的答案:
To disable the navigation buttons, you should modify the file YOURANDORIDROOT/framework/base/core/res/res/values/config.xml and change the value
要禁用导航按钮,您应该修改文件YOURANDORIDROOT/framework/base/core/res/res/值/config。xml并更改值
<bool name="config_showNavigationBar">true</bool>
< bool name = " config_showNavigationBar " >真正< / bool >
to
来
<bool name="config_showNavigationBar">false</bool>
< bool name = " config_showNavigationBar " >假< / bool >
And some more information for your reference, you can go to framework/base/package/systemui directory and there you can find the source code of the status bar.
还有一些更多的信息供你参考,你可以到framework/base/package/systemui目录,在那里你可以找到状态栏的源代码。