xml formatting and comments for IITC_Application
This commit is contained in:
parent
1b1c850532
commit
499ff6f09d
@ -68,25 +68,6 @@
|
|||||||
-->
|
-->
|
||||||
<import file="custom_rules.xml" optional="true" />
|
<import file="custom_rules.xml" optional="true" />
|
||||||
|
|
||||||
<!-- Import the actual build file.
|
|
||||||
|
|
||||||
To customize existing targets, there are two options:
|
|
||||||
- Customize only one target:
|
|
||||||
- copy/paste the target into this file, *before* the
|
|
||||||
<import> task.
|
|
||||||
- customize it to your needs.
|
|
||||||
- Customize the whole content of build.xml
|
|
||||||
- copy/paste the content of the rules files (minus the top node)
|
|
||||||
into this file, replacing the <import> task.
|
|
||||||
- customize to your needs.
|
|
||||||
|
|
||||||
***********************
|
|
||||||
****** IMPORTANT ******
|
|
||||||
***********************
|
|
||||||
In all cases you must update the value of version-tag below to read 'custom' instead of an integer,
|
|
||||||
in order to avoid having your file be overridden by tools such as "android update project"
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- allow the package name to be overridden when building -->
|
<!-- allow the package name to be overridden when building -->
|
||||||
<property name="override.package.name" value="com.cradle.iitc_mobile.test"/>
|
<property name="override.package.name" value="com.cradle.iitc_mobile.test"/>
|
||||||
|
|
||||||
@ -199,6 +180,24 @@
|
|||||||
overwrite="true" />
|
overwrite="true" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<!-- Import the actual build file.
|
||||||
|
|
||||||
|
To customize existing targets, there are two options:
|
||||||
|
- Customize only one target:
|
||||||
|
- copy/paste the target into this file, *before* the
|
||||||
|
<import> task.
|
||||||
|
- customize it to your needs.
|
||||||
|
- Customize the whole content of build.xml
|
||||||
|
- copy/paste the content of the rules files (minus the top node)
|
||||||
|
into this file, replacing the <import> task.
|
||||||
|
- customize to your needs.
|
||||||
|
|
||||||
|
***********************
|
||||||
|
****** IMPORTANT ******
|
||||||
|
***********************
|
||||||
|
In all cases you must update the value of version-tag below to read 'custom' instead of an integer,
|
||||||
|
in order to avoid having your file be overridden by tools such as "android update project"
|
||||||
|
-->
|
||||||
<!-- version-tag: 1 -->
|
<!-- version-tag: 1 -->
|
||||||
<import file="${sdk.dir}/tools/ant/build.xml" />
|
<import file="${sdk.dir}/tools/ant/build.xml" />
|
||||||
|
|
||||||
|
@ -5,6 +5,12 @@ import android.preference.PreferenceManager;
|
|||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* To write the WebView cache to external storage we need to override the
|
||||||
|
* getCacheDir method of the main application. Some internal Android code seems
|
||||||
|
* to call getApplicationContext().getCacheDir(); instead of
|
||||||
|
* getContext().getCacheDir(); to decide where to store and read cached files.
|
||||||
|
*/
|
||||||
public class IITC_Application extends Application {
|
public class IITC_Application extends Application {
|
||||||
@Override
|
@Override
|
||||||
public File getCacheDir() {
|
public File getCacheDir() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user