changed update apk download description
This commit is contained in:
parent
cb281151a2
commit
be91809e84
@ -16,6 +16,8 @@
|
|||||||
<string name="locate">Get Location</string>
|
<string name="locate">Get Location</string>
|
||||||
<string name="local">local</string>
|
<string name="local">local</string>
|
||||||
<string name="close">Close</string>
|
<string name="close">Close</string>
|
||||||
|
<string name="download_description">Downloading latest intel package...</string>
|
||||||
|
|
||||||
<string name="pref_about_title">About IITC Mobile</string>
|
<string name="pref_about_title">About IITC Mobile</string>
|
||||||
<!-- Use CDATA to prevent android from parsing html tags....we are doing this with Html.fromHtml() -->
|
<!-- Use CDATA to prevent android from parsing html tags....we are doing this with Html.fromHtml() -->
|
||||||
<string name="pref_about_text">
|
<string name="pref_about_text">
|
||||||
|
@ -606,7 +606,7 @@ public class IITC_Mobile extends Activity implements OnSharedPreferenceChangeLis
|
|||||||
|
|
||||||
public void updateIitc(String url) {
|
public void updateIitc(String url) {
|
||||||
DownloadManager.Request request = new DownloadManager.Request(Uri.parse(url));
|
DownloadManager.Request request = new DownloadManager.Request(Uri.parse(url));
|
||||||
request.setDescription("downloading IITCm update apk...");
|
request.setDescription(getString(R.string.download_description));
|
||||||
request.setTitle("IITCm Update");
|
request.setTitle("IITCm Update");
|
||||||
request.allowScanningByMediaScanner();
|
request.allowScanningByMediaScanner();
|
||||||
Uri fileUri = Uri.parse("file://" + getExternalFilesDir(null).toString() + "/iitcUpdate.apk");
|
Uri fileUri = Uri.parse("file://" + getExternalFilesDir(null).toString() + "/iitcUpdate.apk");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user