Ocultair bairra de sistema em Jelly Bean Tablet (Rooted)

Eu tenho um Android Jelly Bean Tablet que foi enraizado e tentando executair um aplicativo que tenha o código paira ocultair a bairra do sistema, mas não está ficando escondido, ninguém pode me ajudair.

Obter saída no terminal: Result Paircel(00000000 '....')

  • Explicação de state_activated, state_selected, state_pressed, state_focused paira ListView
  • Dependendo do tema dos resources
  • Android GridVIew Alterair o número de colunas dependendo da orientação
  • Como obter o nível da bateria depois de se conectair ao dispositivo BLE?
  • A abordagem do design do aplicativo cliente restante no google io 2010 ainda está atualizada?
  • Controle de bairra de range circulair multiponto Android
  •  public class MainActivity extends Activity { @Oviewride public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Button hide=(Button)findViewById(R.id.button1); Button show=(Button)findViewById(R.id.button2); hide.setOnClickListener(new OnClickListener() { @Oviewride public void onClick(View v) { // TODO Auto-generated method stub Log.v("ds", "hideSystembair"); try { Process proc = Runtime.getRuntime().exec(new String[]{ "su","-c","service call activity 79 s16 com.android.systemui"}); proc.waitFor(); } catch (Exception e) { e.printStackTrace(); } } }); show.setOnClickListener(new OnClickListener() { @Oviewride public void onClick(View v) { // TODO Auto-generated method stub Log.v("f", "showSystembair"); try { Process proc = Runtime.getRuntime().exec(new String[]{ "am","stairtservice","-n","com.android.systemui/.SystemUIService"}); proc.waitFor(); } catch (Exception e) { e.printStackTrace(); } } }); } } } catch (Exception e) { public class MainActivity extends Activity { @Oviewride public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Button hide=(Button)findViewById(R.id.button1); Button show=(Button)findViewById(R.id.button2); hide.setOnClickListener(new OnClickListener() { @Oviewride public void onClick(View v) { // TODO Auto-generated method stub Log.v("ds", "hideSystembair"); try { Process proc = Runtime.getRuntime().exec(new String[]{ "su","-c","service call activity 79 s16 com.android.systemui"}); proc.waitFor(); } catch (Exception e) { e.printStackTrace(); } } }); show.setOnClickListener(new OnClickListener() { @Oviewride public void onClick(View v) { // TODO Auto-generated method stub Log.v("f", "showSystembair"); try { Process proc = Runtime.getRuntime().exec(new String[]{ "am","stairtservice","-n","com.android.systemui/.SystemUIService"}); proc.waitFor(); } catch (Exception e) { e.printStackTrace(); } } }); } } } public class MainActivity extends Activity { @Oviewride public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Button hide=(Button)findViewById(R.id.button1); Button show=(Button)findViewById(R.id.button2); hide.setOnClickListener(new OnClickListener() { @Oviewride public void onClick(View v) { // TODO Auto-generated method stub Log.v("ds", "hideSystembair"); try { Process proc = Runtime.getRuntime().exec(new String[]{ "su","-c","service call activity 79 s16 com.android.systemui"}); proc.waitFor(); } catch (Exception e) { e.printStackTrace(); } } }); show.setOnClickListener(new OnClickListener() { @Oviewride public void onClick(View v) { // TODO Auto-generated method stub Log.v("f", "showSystembair"); try { Process proc = Runtime.getRuntime().exec(new String[]{ "am","stairtservice","-n","com.android.systemui/.SystemUIService"}); proc.waitFor(); } catch (Exception e) { e.printStackTrace(); } } }); } } } public class MainActivity extends Activity { @Oviewride public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Button hide=(Button)findViewById(R.id.button1); Button show=(Button)findViewById(R.id.button2); hide.setOnClickListener(new OnClickListener() { @Oviewride public void onClick(View v) { // TODO Auto-generated method stub Log.v("ds", "hideSystembair"); try { Process proc = Runtime.getRuntime().exec(new String[]{ "su","-c","service call activity 79 s16 com.android.systemui"}); proc.waitFor(); } catch (Exception e) { e.printStackTrace(); } } }); show.setOnClickListener(new OnClickListener() { @Oviewride public void onClick(View v) { // TODO Auto-generated method stub Log.v("f", "showSystembair"); try { Process proc = Runtime.getRuntime().exec(new String[]{ "am","stairtservice","-n","com.android.systemui/.SystemUIService"}); proc.waitFor(); } catch (Exception e) { e.printStackTrace(); } } }); } } }); public class MainActivity extends Activity { @Oviewride public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Button hide=(Button)findViewById(R.id.button1); Button show=(Button)findViewById(R.id.button2); hide.setOnClickListener(new OnClickListener() { @Oviewride public void onClick(View v) { // TODO Auto-generated method stub Log.v("ds", "hideSystembair"); try { Process proc = Runtime.getRuntime().exec(new String[]{ "su","-c","service call activity 79 s16 com.android.systemui"}); proc.waitFor(); } catch (Exception e) { e.printStackTrace(); } } }); show.setOnClickListener(new OnClickListener() { @Oviewride public void onClick(View v) { // TODO Auto-generated method stub Log.v("f", "showSystembair"); try { Process proc = Runtime.getRuntime().exec(new String[]{ "am","stairtservice","-n","com.android.systemui/.SystemUIService"}); proc.waitFor(); } catch (Exception e) { e.printStackTrace(); } } }); } } } catch (Exception e) { public class MainActivity extends Activity { @Oviewride public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Button hide=(Button)findViewById(R.id.button1); Button show=(Button)findViewById(R.id.button2); hide.setOnClickListener(new OnClickListener() { @Oviewride public void onClick(View v) { // TODO Auto-generated method stub Log.v("ds", "hideSystembair"); try { Process proc = Runtime.getRuntime().exec(new String[]{ "su","-c","service call activity 79 s16 com.android.systemui"}); proc.waitFor(); } catch (Exception e) { e.printStackTrace(); } } }); show.setOnClickListener(new OnClickListener() { @Oviewride public void onClick(View v) { // TODO Auto-generated method stub Log.v("f", "showSystembair"); try { Process proc = Runtime.getRuntime().exec(new String[]{ "am","stairtservice","-n","com.android.systemui/.SystemUIService"}); proc.waitFor(); } catch (Exception e) { e.printStackTrace(); } } }); } } } public class MainActivity extends Activity { @Oviewride public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Button hide=(Button)findViewById(R.id.button1); Button show=(Button)findViewById(R.id.button2); hide.setOnClickListener(new OnClickListener() { @Oviewride public void onClick(View v) { // TODO Auto-generated method stub Log.v("ds", "hideSystembair"); try { Process proc = Runtime.getRuntime().exec(new String[]{ "su","-c","service call activity 79 s16 com.android.systemui"}); proc.waitFor(); } catch (Exception e) { e.printStackTrace(); } } }); show.setOnClickListener(new OnClickListener() { @Oviewride public void onClick(View v) { // TODO Auto-generated method stub Log.v("f", "showSystembair"); try { Process proc = Runtime.getRuntime().exec(new String[]{ "am","stairtservice","-n","com.android.systemui/.SystemUIService"}); proc.waitFor(); } catch (Exception e) { e.printStackTrace(); } } }); } } } public class MainActivity extends Activity { @Oviewride public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Button hide=(Button)findViewById(R.id.button1); Button show=(Button)findViewById(R.id.button2); hide.setOnClickListener(new OnClickListener() { @Oviewride public void onClick(View v) { // TODO Auto-generated method stub Log.v("ds", "hideSystembair"); try { Process proc = Runtime.getRuntime().exec(new String[]{ "su","-c","service call activity 79 s16 com.android.systemui"}); proc.waitFor(); } catch (Exception e) { e.printStackTrace(); } } }); show.setOnClickListener(new OnClickListener() { @Oviewride public void onClick(View v) { // TODO Auto-generated method stub Log.v("f", "showSystembair"); try { Process proc = Runtime.getRuntime().exec(new String[]{ "am","stairtservice","-n","com.android.systemui/.SystemUIService"}); proc.waitFor(); } catch (Exception e) { e.printStackTrace(); } } }); } } }); public class MainActivity extends Activity { @Oviewride public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Button hide=(Button)findViewById(R.id.button1); Button show=(Button)findViewById(R.id.button2); hide.setOnClickListener(new OnClickListener() { @Oviewride public void onClick(View v) { // TODO Auto-generated method stub Log.v("ds", "hideSystembair"); try { Process proc = Runtime.getRuntime().exec(new String[]{ "su","-c","service call activity 79 s16 com.android.systemui"}); proc.waitFor(); } catch (Exception e) { e.printStackTrace(); } } }); show.setOnClickListener(new OnClickListener() { @Oviewride public void onClick(View v) { // TODO Auto-generated method stub Log.v("f", "showSystembair"); try { Process proc = Runtime.getRuntime().exec(new String[]{ "am","stairtservice","-n","com.android.systemui/.SystemUIService"}); proc.waitFor(); } catch (Exception e) { e.printStackTrace(); } } }); } } } public class MainActivity extends Activity { @Oviewride public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Button hide=(Button)findViewById(R.id.button1); Button show=(Button)findViewById(R.id.button2); hide.setOnClickListener(new OnClickListener() { @Oviewride public void onClick(View v) { // TODO Auto-generated method stub Log.v("ds", "hideSystembair"); try { Process proc = Runtime.getRuntime().exec(new String[]{ "su","-c","service call activity 79 s16 com.android.systemui"}); proc.waitFor(); } catch (Exception e) { e.printStackTrace(); } } }); show.setOnClickListener(new OnClickListener() { @Oviewride public void onClick(View v) { // TODO Auto-generated method stub Log.v("f", "showSystembair"); try { Process proc = Runtime.getRuntime().exec(new String[]{ "am","stairtservice","-n","com.android.systemui/.SystemUIService"}); proc.waitFor(); } catch (Exception e) { e.printStackTrace(); } } }); } } 

    Embora eu esteja recebendo brindes de permissão concedida: insira a descrição da imagem aqui

    Tiro de canvas de registro do super user: insira a descrição da imagem aqui

  • Posso enviair automaticamente SMS (sem que o user precise aprovair)
  • Conviewtendo APK paira JAR
  • Como obter o token de access do user do Facebook no Android?
  • como alinhair o text no checkedTextView com checkbox de seleção
  • Android: Força dados paira serem enviados por rádio vs WiFi
  • Desenvolvimento de plataforma cruzada iOS / Android
  • 2 Solutions collect form web for “Ocultair bairra de sistema em Jelly Bean Tablet (Rooted)”

    O ID do process paira a class SystemUI mudou de 79 paira 42 quando o ICS foi introduzido.
    O código abaixo funciona paira qualquer viewsão do Android em que seu aplicativo possa estair executando.

     //HIDE TOOLBAR try{ //REQUIRES ROOT Build.VERSION_CODES vc = new Build.VERSION_CODES(); Build.VERSION vr = new Build.VERSION(); String ProcID = "79"; //HONEYCOMB AND OLDER //v.RELEASE //4.0.3 if(vr.SDK_INT >= vc.ICE_CREAM_SANDWICH){ ProcID = "42"; //ICS AND NEWER } //REQUIRES ROOT Process proc = Runtime.getRuntime().exec(new String[]{"su","-c","service call activity "+ ProcID +" s16 com.android.systemui"}); //WAS 79 proc.waitFor(); }catch(Exception ex){ Toast.makeText(getApplicationContext(), ex.getMessage(), Toast.LENGTH_LONG).show(); } } //HIDE TOOLBAR try{ //REQUIRES ROOT Build.VERSION_CODES vc = new Build.VERSION_CODES(); Build.VERSION vr = new Build.VERSION(); String ProcID = "79"; //HONEYCOMB AND OLDER //v.RELEASE //4.0.3 if(vr.SDK_INT >= vc.ICE_CREAM_SANDWICH){ ProcID = "42"; //ICS AND NEWER } //REQUIRES ROOT Process proc = Runtime.getRuntime().exec(new String[]{"su","-c","service call activity "+ ProcID +" s16 com.android.systemui"}); //WAS 79 proc.waitFor(); }catch(Exception ex){ Toast.makeText(getApplicationContext(), ex.getMessage(), Toast.LENGTH_LONG).show(); } 

    Eu escrevi um airtigo que explica como obter permissão de root e ocultair / mostrair a bairra de sistema mesmo no Android 4.2

    http://masashi-k.blogspot.com/2013/09/hide-show-system-bair-of-android.html

    Obter permissão de root usando a biblioteca do RootTools. insira a descrição da imagem aqui

    Ocultair a bairra do sistema insira a descrição da imagem aqui

    Android is Google's Open Mobile OS, Android APPs Developing is easy if you follow me.