top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Why SystemUI is part of frameworks/base/packages/SystemUI in JellyBean 4.2.2

+1 vote
638 views

I just wanted to know why is SystemUI part of framework. What was the thinking process of Google to put SystemUI in framework.The reason behind asking this question was, that i just moved out the SystemUI from frameworks/base and placed in the packages/apps like any other system app e.g Calculator. It works fine on the emulator after building it.

posted May 30, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button
Because its essential to the Android user experience (e.g. the status bar).

2 Answers

+1 vote

The SystemUI is very close to the base framework in terms of versioning (you cant mix-and-match) and source code management (you often need changes to happen at the same time in both). Thats why they ended up in the same git project.

answer May 30, 2013 by anonymous
0 votes

Yeah i know its essential for user as it has statusbar, powerui and ringtoneplayer in it. So still i didn't get why is it part of frameworks/base, where as all this essential part can be a part of packages/app because SystemUI has its own .apk i.e SystemUI.apk which is as good as any other third party app. Correct me i am wrong there..

answer May 30, 2013 by anonymous
Similar Questions
0 votes

I am having problem running netperf in 4.2 JB. The netserver host is a different computer. The test seems to start ok but the netperf client times out waiting for the server to acknowledge the connection. From Wireshark it appears the ACK was sent.

Does netperf need to be run as "system"?

0 votes

How to show/create notification number superimposed over the icon in the status bar in JellyBean. I know this was possible prior to honeycomb, but Google removed it and added under expanded view. I want to do this functionality in my custom rom, so how do i achieve it. Any thoughts around this ?.

+3 votes

After using SCREEN_ON SCREEN_OFF broadcast receiver, screen does not seem to switch off automatically as it used to for default android app.

None of the code commented below works for Android 4.4.2 (API 19 onward)

int time = android.provider.Settings.System.getInt(context.getContentResolver(), Settings.System.SCREEN_OFF_TIMEOUT, Integer.MAX_VALUE);
// Toast.makeText(context, "Screen Time out is "+new Date(lastTimeScreenOn+15000) + ", lastTimeScreenOn = "+new Date(lastTimeScreenOn), Toast.LENGTH_SHORT).show();
// screen off if more than 15 sec
if(System.currentTimeMillis() - lastTimeScreenOn > 15000)
 {
      Toast.makeText(context, "Screen Time out ", Toast.LENGTH_LONG).show();
      //DevicePolicyManager mDPM = (DevicePolicyManager)context.getSystemService(Context.DEVICE_POLICY_SERVICE);
      //mDPM.lockNow();
      //Settings.System.putInt(context.getContentResolver(), Settings.System.SCREEN_OFF_TIMEOUT, 1000);
 }
+2 votes

I want to test bluetooth on Android Development environment any suggestions?

...