android-Creating Multiple APKs for Different Screen Sizes,Creating Multiple APKs for Different GL Te
>Creating Multiple APKs for Different Screen Sizes
When developing your Android application to take advantage of multiple APKs on Google Play, it’s important to adopt some good practices from the get-go, and prevent unnecessary
headaches further into the development process.
>If you can manage it, confining your application to a single APK has several advantages, including:
- Publishing and testing are easier
- There’s only one codebase to maintain
- Your application can adapt to device configuration changes
- App restore across devices just works
- You don’t have to worry about market preference, behavior from "upgrades" from one APK to the next, or which APK goes with which class of devices
> Putting this all together, your Android Manifests would likely look something like the following:
Blue:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1001" android:versionName="1.0" package="com.example.foo"> <supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" /> ...
Green:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="2001" android:versionName="1.0" package="com.example.foo"> <supports-screens android:smallScreens="false" android:normalScreens="false" android:largeScreens="true" android:xlargeScreens="true" /> ...
Red:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="3001" android:versionName="1.0" package="com.example.foo"> <supports-screens android:smallScreens="false" android:normalScreens="false" android:largeScreens="false" android:xlargeScreens="true" />>Creating Multiple APKs for Different GL TextTures
If you can manage it, confining your application to a single APK has several advantages, including:
- Publishing and Testing are easier
- There’s only one codebase to maintain
- Your application can adapt to device configuration changes
- App restore across devices just works
- You don’t have to worry about market preference, behavior from "upgrades" from one APK to the next, or which APK goes with which class of devices
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="0344001" android:versionName="1.0" package="com.example.foo"> <uses-sdk android:minSdkVersion="3" /> <supports-screens android:smallScreens="false" android:normalScreens="false" android:largeScreens="false" android:xlargeScreens="true" />
相關文章
- android-Maintaining Multiple APKs,Creating Multiple APKs for Different API LevelsAndroidAIAPKAPI
- Multiple Block Sizes (53)BloC
- set up different data screen(masterial master) for different userAST
- 【Oracle-記憶體管理】-Multiple Block SizesOracle記憶體BloC
- 3.5 Different
- ORACLE 記憶體管理 之六 SGA Multiple Block Sizes,Large PoolOracle記憶體BloC
- android-Planning for Multiple Touchscreen Sizes,Providing Descendant and Lateral NavigationAndroidNavigation
- Multiple Regression
- different random numbers generatorrandom
- 2.3.3.3.2 Applications at Different VersionsAPP
- android-Creating a Navigation DrawerAndroidNavigation
- JavaScript select multipleJavaScript
- Small Multiple(最短路)
- DataGridView with multiple tableView
- Multiple Buffer Pools (83)
- How to move progress database to different OSDatabase
- Export And Import Between Different Oracle VersionsExportImportOracle
- Difference between prop and attr in different version of jqueryjQuery
- The different between cumulative and differential incremental backupREM
- Rman Backups When The Directory Structures Are DifferentStruct
- What is the different between ALE, IDOC and BAPI?API
- different testing types ( by quqi99 )
- 2.3.6.2 Synchronization of Multiple ApplicationsAPP
- Multiple Books多賬薄
- Multiple Render Targets in OpenGL with Cg
- MySql multiple servers on linuxMySqlServerLinux
- ssis multiple table to one file
- maven Multiple sourceDirectory外掛Maven
- Using Multiple Tablespaces (46)
- LLM multiple modal applicationsAPP
- Script of Narrative Writing from different point of viewView
- Logstash Multiple Pipelines
- kubernetes traefik multiple namespacesnamespace
- Using Multiple Variables with the Same Name
- How to modify multiple items in the SAP menu
- win10版本multiple editions是什麼版本_win10版本multiple editions啥意思Win10
- LeetCode-Different Ways to Add ParenthesesLeetCode
- Under the same directory(folder) copy or rename with the different extension name