'Menifest'에 해당되는 글 1건

  1. 2010.10.22 manifest-element (15)
2010.10.22 13:50

manifest-element




<manifest>

syntax:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
         
package="string"
         
android:sharedUserId="string"
         
android:sharedUserLabel="string resource"
         
android:versionCode="integer"
         
android:versionName="string"
         
android:installLocation=["auto" | "internalOnly" | "preferExternal"] >
    . . .
</manifest>

contained in:
none

must contain:
<application>
can contain:
<instrumentation>
<permission>
<permission-group>
<permission-tree>
<uses-configuration>
<uses-permission>

<uses-sdk>

description:
The root element of the AndroidManifest.xml file. It must contain an <application> element and specify xlmns:android and package attributes.
attributes:
xmlns:android
Defines the Android namespace. This attribute should always be set to "http://schemas.android.com/apk/res/android".
package
A full Java package name for the application. The name should be unique. The name may contain uppercase or lowercase letters ('A' through 'Z'), numbers, and underscores ('_'). However, individual package name parts may only start with letters. For example, applications published by Google could have names in the form com.google.app.application_name.

The package name serves as a unique identifier for the application. It's also the default name for the application process (see the <application> element's process process attribute) and the default task affinity of an activity (see the <activity> element's taskAffinity attribute).

android:sharedUserId
The name of a Linux user ID that will be shared with other applications. By default, Android assigns each application its own unique user ID. However, if this attribute is set to the same value for two or more applications, they will all share the same ID — provided that they are also signed by the same certificate. Application with the same user ID can access each other's data and, if desired, run in the same process.
android:sharedUserLabel
A user-readable label for the shared user ID. The label must be set as a reference to a string resource; it cannot be a raw string.

This attribute was introduced in API Level 3. It is meaningful only if the sharedUserId attribute is also set.

android:versionCode
An internal version number. This number is used only to determine whether one version is more recent than another, with higher numbers indicating more recent versions. This is not the version number shown to users; that number is set by the versionName attribute.

The value must be set as an integer, such as "100". You can define it however you want, as long as each successive version has a higher number. For example, it could be a build number. Or you could translate a version number in "x.y" format to an integer by encoding the "x" and "y" separately in the lower and upper 16 bits. Or you could simply increase the number by one each time a new version is released.

android:versionName
The version number shown to users. This attribute can be set as a raw string or as a reference to a string resource. The string has no other purpose than to be displayed to users. The versionCode attribute holds the significant version number used internally.
android:installLocation
The default install location for the application.

The following keyword strings are accepted:

Value Description
"internalOnly" The application must be installed on the internal device storage only. If this is set, the application will never be installed on the external storage. If the internal storage is full, then the system will not install the application. This is also the default behavior if you do not define android:installLocation.
"auto" The application may be installed on the external storage, but the system will install the application on the internal storage by default. If the internal storage is full, then the system will install it on the external storage. Once installed, the user can move the application to either internal or external storage through the system settings.
"preferExternal" The application prefers to be installed on the external storage (SD card). There is no guarantee that the system will honor this request. The application might be installed on internal storage if the external media is unavailable or full, or if the application uses the forward-locking mechanism (not supported on external storage). Once installed, the user can move the application to either internal or external storage through the system settings.

Note: By default, your application will be installed on the internal storage and cannot be installed on the external storage unless you define this attribute to be either "auto" or "preferExternal".

When an application is installed on the external storage:

  • The .apk file is saved to the external storage, but any application data (such as databases) is still saved on the internal device memory.
  • The container in which the .apk file is saved is encrypted with a key that allows the application to operate only on the device that installed it. (A user cannot transfer the SD card to another device and use applications installed on the card.) Though, multiple SD cards can be used with the same device.
  • At the user's request, the application can be moved to the internal storage.

The user may also request to move an application from the internal storage to the external storage. However, the system will not allow the user to move the application to external storage if this attribute is set to internalOnly, which is the default setting.

Introduced in: API Level 8.

introduced in:
API Level 1 for all attributes, unless noted otherwise in the attribute description.

see also:
App Install Location
<application>
Trackback 1 Comment 15
  1. winter boots 2011 2011.10.21 11:31 address edit & del reply

    winter boots 2011|http://www.winterboots2011.net/
    ugg boots on sale|http://www.winterboots2011.net/
    ugg winter boots|http://www.winterboots2011.net/
    winter boots on sale|http://www.winterboots2011.net/
    winter boots sale|http://www.winterboots2011.net/
    ugg boots 2011|http://www.winterboots2011.net/
    winter boots for women|http://www.winterboots2011.net/winter-women.html
    winter boots for men|http://www.winterboots2011.net/winter-men.html
    winter boots for kids|http://www.winterboots2011.net/winter-kids.html

    <a href="http://www.winterboots2011.net/" title="winter boots 2011">winter boots 2011</a>
    <a href="http://www.winterboots2011.net/" title="ugg boots on sale">ugg boots on sale</a>
    <a href="http://www.winterboots2011.net/" title="ugg winter boots">ugg winter boots</a>
    <a href="http://www.winterboots2011.net/" title="winter boots on sale">winter boots on sale</a>
    <a href="http://www.winterboots2011.net/" title="winter boots sale">winter boots sale</a>
    <a href="http://www.winterboots2011.net/" title="ugg boots 2011">ugg boots 2011</a>
    <a href="http://www.winterboots2011.net/winter-women.html" title="winter boots for women">winter boots for women</a>
    <a href="http://www.winterboots2011.net/winter-men.html" title="winter boots for men">winter boots for men</a>
    <a href="http://www.winterboots2011.net/winter-kids.html" title="winter boots for kids">winter boots for kids</a>

  2. Cheap coach handbags 2011.11.10 19:08 address edit & del reply

    It's very lucky for us to meet an article like this.

  3. North Face Jackets on sale 2011.11.17 11:50 address edit & del reply

    Great.I will continue to pay attention to your article.

  4. The North Face Outlet 2011.11.18 16:54 address edit & del reply

    The North Face Outlet

  5. North Face Denali 2011.11.25 17:49 address edit & del reply

    North Face Denali is often a San Francisco based company that was established in 1968. North Face Denali Jacket designed, manufactured

  6. discount designer bags 2011.11.25 17:49 address edit & del reply

    When you buy discount designer bags you are assured of getting a genuine article. coach diaper bags are the perfect choice for a gift. coach poppy bags Do you know someone who would 'just die' for an Italian coach tote bags? purchasing discount sunglasses online is your answer

  7. burberry handbags 2011.11.28 16:02 address edit & del reply

    Chemical examination paper out quite hard aiscs shoes outlet button, I'm also looking quite like it is the opposite. Yang Yu also saw two men for a while , burberry handbags he knew the girl before her at the same table

  8. aiscs shoes outlet 2011.11.28 16:03 address edit & del reply

    you talk about your views."" aiscs shoes outlet , However he is not your standard three-point shot. Heart Hui Head said. 7 herve leger outlet, She stared at him: ""The teacher did not have said burberry bags uk.

  9. ghd outlet 2011.11.28 16:03 address edit & del reply

    Very nice!I'll share to my blog!Thanks!

  10. herve leger sale 2011.11.28 16:03 address edit & del reply

    Oh. Disappointing. Zou Jiming face inquiries by telling her. Thought it a gossip. chanel bags uk, Xiao Han is not in the chase Yin Xinhui?" With a word directly reached the revolutionary base areas. herve leger outlet, but never seen her so comfortable smile. .

  11. jumbo ugg 2011.12.15 16:09 address edit & del reply

    Nice classic short boots with the able adroitness and abundant affection are account of your purchasing. These ugg boots sale are able-bodied fabricated with the artistic design. With the heel bouncer apparent with http://www.ugg-snow-boot.org/, these ugg boots do attending actual timeless. The shoelaces are advanced and the eyelets are big. Thus, these Kids Ugg Boots attending altered from the accustomed winter boots in the appearance market. Featuring the lining abounding with sheepskin, the ugg boots can wick damp abroad for your feet. You can get pleasure the absolute warmth, abundance and benevolence of these absolute thigh-high style boots. It adds abundant absorption to the Appearance Sheepskin ugg boots. http://www.uggbootssale-au.net/rj.com.cn/1879336136
    http://srudut.com/index.php?p=u/auuggboots
    http://truckarmy.com/user/barbourjacket/blogs
    http://freeblogspot.org/canadagoose111/
    http://www.faceofnewzealand.com/blogs/posts/barbourjacket
    http://romancingsingles.com/dating/blogs/posts/barbourjacket
    http://canadagoose128.over-blog.com/
    http://canadagoose0128.blogbus.com
    http://canadagoose.quebecblogue.com

  12. Christian Louboution Outlet 2011.12.16 11:35 address edit & del reply

    다운 재킷은 남성과 여성 http://www.thenfljerseysonsale.com/ 모두에 의해 쟈켓의 따뜻한 가장 추구 다음 품종 중 하나입니다. 비교할 수없는 따뜻함, 섬세한 쉽고 편안하고 http://www.thelouisvuitton.org/ 멋진 http://www.monclerjackets4sales.org/ 스타일을 결합하면 전형적인 양털이나 울 스웨터를 그냥 할 수 없다는 한 가지입니다. http://www.uggsonsalenow.org/ 당신은 최고 http://www.uggsbuffalo.com/ 노치 쉽고 편안하고 따뜻한를 검색하는 경우, 다운 재킷은 목록에 수량 1되어야합니다. 당신은 오늘의 시장에서 얻을 수있는 다운 코트 종류의 다양한 종류를 찾을 것이며, 모두가 모두를 상상할 http://www.cheap-christian-louboutin-outlet.org/ 수 있을지만큼 복잡하지 않습니다. 당신은 수많은 개인 매우 매력적입니다 전형적인 호흡기 코트보다 얇은 http://www.jordanretro13s.org/ 아르 다운 인형 겨울 코트의 스타일 번호를 찾을 수 있습니다. 모든 다운 겉옷는 같은 상투적인 스타일과 색상 안으로 http://www.canadagooseoutlet2012.com/ 올 것이다.시장은 패턴 자료, 황갈색과 검은색도의 핑크, 녹색 및 파랑 또한 많은 표준 색조와 같은 흥미있는 http://www.thecanadagooseoutlet.org/ 색상으로 다운 재킷으로 가득합니다.

  13. New England Patriots Jerseys 2011.12.16 11:37 address edit & del reply

    하이힐 신발 시장에서 매우 인기가있다. 당신은 다양한 크기의 하이힐을 생산 다양한 신발 브랜드를 찾을 수 있습니다. 하이힐을 제조 인기있는 디자이너 신발 브랜드 중 일부는 찰스 데이빗, 프라이, 머시 13 많은이 포함됩니다. 모든 여성은 그녀의 옷장에서 하이힐을 적어도 한 쌍의 주식 싶어. 이 신발은 기본적으로 슬림하고 세련된 있으며 감각적 모양을 제공합니다. 그들은 더 슬림, 이상과 몸매 다리의 미적 환상을주는 발가락 이상 입고있는 사람의 발 뒤꿈치를 올립니다. 이 신발은 펌프, stilettos, 웨지, 테이퍼, 블록 및 블레이드를 포함 다양한 모양의 힐과 스타일, 다양한에서 사용할 수 있습니다. 낡은 하이힐 구두는 여자에게 매력과 세련된 모양을 제공합니다. 패션과 스타일 변화의 전체 정의 여성이 거리 주변이나 파티에서이 신발과 산책을 착용했을 때. 그들은 매력의 중심이된다. 뒤꿈치의 높이는 일반적으로 4인치에서 8 인치 다릅니다. 그러나 일부 격렬도이 제한을 초과합니다.

  14. cheap nike air max shoes 2012.02.18 12:59 address edit & del reply

    관리자의 승인을 기다리고 있는 댓글입니다

  15. polo ralph lauren 2013.04.21 12:45 address edit & del reply

    관리자의 승인을 기다리고 있는 댓글입니다