首页 \ 问答 \ 在android中的/ system / app目录中安装应用程序(installing application in /system/app directory in android)

在android中的/ system / app目录中安装应用程序(installing application in /system/app directory in android)

通常,当我们安装Android应用程序时,它们会进入/data/app目录,该目录包含用户应用程序。 但/system/app目录包含浏览器,图库,电子邮件等系统应用程序。

所以,我希望我的应用程序安装在/system/app目录中。

有没有办法实现这个?


Generally when we install android applications, they go in the /data/app directory, which holds user applications. But /system/app directory holds the system applications like Browser, Gallery, Email etc.

So,i want my application to be installed in the /system/app directory.

Is there any way to implement this?


原文:https://stackoverflow.com/questions/10209146
更新时间:2022-03-29 07:03

最满意答案

我快速修复了你的代码,不知道你真正想要得到什么,但是应该有用

<style type="text/css"> 
body {background-color:#FFFFFF;font-family:Calibri;} 
table {margin-left:auto;margin-right:auto;border:1px solid RoyalBlue;border-collapse:collapse;font-size:90%;} 
td {margin:0px;border:1px solid RoyalBlue;padding:1px;} 
td.tcname_selected {margin:0px; text-align:center; background-color: LightSkyBlue;min-width:900px;color:white;font-weight:bold;} 
td.tcname {margin:0px; text-align:center;background-color:LightSkyBlue;min-width:900px;} 
td.tccontainer {padding:0px;} 
tr.stepstbl_vis {} 
tr.stepstbl_notvis {display:none;padding:1px;border:0px;} 
table.stepstbl {margin:0px;border:none;padding:1px;}
table.stepstbl {border:1px solid RoyalBlue;border-collapse:collapse;font-size:90%;} 
td.step_head {margin:0px; text-align:center; background-color:LightSkyBlue;border:1px solid RoyalBlue;padding:1px;} 
td.step_reg {margin:0px;border:1px solid RoyalBlue;padding:1px} 
span.hidden {display:none;} 
</style>

<body> 
<table width="90%" align="center"> 
<tr> 
<td width="97%" class="tcname" id="tsname1">cell 1</td> 
<td>cell 2</td> 
</tr>

I did a quick fix of your code, not sure about what you really want to get, but should work

<style type="text/css"> 
body {background-color:#FFFFFF;font-family:Calibri;} 
table {margin-left:auto;margin-right:auto;border:1px solid RoyalBlue;border-collapse:collapse;font-size:90%;} 
td {margin:0px;border:1px solid RoyalBlue;padding:1px;} 
td.tcname_selected {margin:0px; text-align:center; background-color: LightSkyBlue;min-width:900px;color:white;font-weight:bold;} 
td.tcname {margin:0px; text-align:center;background-color:LightSkyBlue;min-width:900px;} 
td.tccontainer {padding:0px;} 
tr.stepstbl_vis {} 
tr.stepstbl_notvis {display:none;padding:1px;border:0px;} 
table.stepstbl {margin:0px;border:none;padding:1px;}
table.stepstbl {border:1px solid RoyalBlue;border-collapse:collapse;font-size:90%;} 
td.step_head {margin:0px; text-align:center; background-color:LightSkyBlue;border:1px solid RoyalBlue;padding:1px;} 
td.step_reg {margin:0px;border:1px solid RoyalBlue;padding:1px} 
span.hidden {display:none;} 
</style>

<body> 
<table width="90%" align="center"> 
<tr> 
<td width="97%" class="tcname" id="tsname1">cell 1</td> 
<td>cell 2</td> 
</tr>

相关问答

更多
  • CSS (替换那里的那个): table#first { display: table; } 脚本: function toggleDisplay(myTableId) { if(myTableId == "first"){ document.getElementById('first').style.display = "table"; document.getElementById('second').style.display = "none"; } if(myT ...
  • 你的第二个代码片段应该没问题。 这里有一个工作示例(在Chrome中为我成功测试): const fn = document.body.addEventListener; fn.call(document.body, 'MyCustomEvent', e => { console.log('MyCustomEvent', e.detail); }); document.body.dispatchEvent(new CustomEvent('MyCustomEvent', { det ...
  • 我测试了你的代码,发现如果从中删除type =“css / stylesheet”: 它看起来像: 您也不需要结束/结束。 它解决了这个问题。 (测试标准模式不是怪癖) 你不应该这样做:

    Add ...

  • 代码看起来很好。 在0.6.0版本中有一些错误处理错误,你可以尝试使用PreloadJS-Next的SoundJS-Next,并告诉我是否能解决悬挂问题。 希望有所帮助。 The code looks fine. There were some bugs in handle errors in the 0.6.0 versions, can you try SoundJS-Next with PreloadJS-Next and let me know if that fixes the hanging i ...
  • IE团队不能(出于某些尴尬的原因)重现此错误。 即使我已经发送了大约3x800mb的崩溃转储文件以及IE客户端的信息文件,但他们无法找到问题。 所以...他们关闭了这个问题因为它们在他们眼中不再相关。 GG微软。 叹 The IE team can not (for some awkward reason) reproduce this error. Even though I've sent them around 3x800mb crash dump files as well as info file ...
  • 我快速修复了你的代码,不知道你真正想要得到什么,但是应该有用