Click here to Skip to main content
15,890,527 members
Home / Discussions / Android
   

Android

 
GeneralRe: OT Pin
David Crow2-Dec-16 5:52
David Crow2-Dec-16 5:52 
GeneralRe: OT Pin
Eytukan3-Dec-16 16:46
Eytukan3-Dec-16 16:46 
QuestionError Collection is of a fixed size Pin
Member 1129526527-Sep-16 16:13
Member 1129526527-Sep-16 16:13 
AnswerRe: Error Collection is of a fixed size Pin
Richard MacCutchan27-Sep-16 21:36
mveRichard MacCutchan27-Sep-16 21:36 
AnswerRe: Error Collection is of a fixed size Pin
Richard Deeming28-Sep-16 2:40
mveRichard Deeming28-Sep-16 2:40 
QuestionManage auto update Pin
Andy_Bell26-Sep-16 6:20
Andy_Bell26-Sep-16 6:20 
AnswerRe: Manage auto update Pin
Afzaal Ahmad Zeeshan26-Sep-16 6:50
professionalAfzaal Ahmad Zeeshan26-Sep-16 6:50 
GeneralRe: Manage auto update Pin
Andy_Bell28-Sep-16 10:31
Andy_Bell28-Sep-16 10:31 
Thank you for repaly. Last days I have made some tests. Now I can recal new intent to unistal my application, after downloading and storing new version in Download folder.

I have found the routine to send Intent for installing the new version.

Here is the code for this two procedures:

Uri packageURI = Uri.parse("package:com.example.nameapp");
                  Intent uninstallIntent = new Intent(Intent.ACTION_DELETE, packageURI);
                  startActivityForResult(uninstallIntent, PICK_CONTACT_UPDATE);
                  //
                  Intent intent = new Intent(Intent.ACTION_VIEW);
                  intent.setDataAndType(Uri.fromFile(new File(Environment.getExternalStorageDirectory() + "/download/" + nomeApp)), "application/vnd.android.package-archive");
                  intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
                  startActivity(intent);//installation is not working


But when application executes unistallation, it is arrested and it cant't execute the install procedure (loading II intent).

How can I execute II intent after unistallation? Is it possible? How can I do?
QuestionMake a call from my contact list Pin
Member 1275186521-Sep-16 2:04
Member 1275186521-Sep-16 2:04 
AnswerRe: Make a call from my contact list Pin
Richard MacCutchan21-Sep-16 2:30
mveRichard MacCutchan21-Sep-16 2:30 
GeneralRe: Make a call from my contact list Pin
Member 1275186521-Sep-16 20:23
Member 1275186521-Sep-16 20:23 
GeneralRe: Make a call from my contact list Pin
Richard MacCutchan21-Sep-16 22:06
mveRichard MacCutchan21-Sep-16 22:06 
GeneralRe: Make a call from my contact list Pin
Member 1275186521-Sep-16 22:23
Member 1275186521-Sep-16 22:23 
QuestionRe: Make a call from my contact list Pin
David Crow21-Sep-16 6:32
David Crow21-Sep-16 6:32 
AnswerRe: Make a call from my contact list Pin
Member 1275186521-Sep-16 20:27
Member 1275186521-Sep-16 20:27 
QuestionRe: Make a call from my contact list Pin
David Crow22-Sep-16 2:23
David Crow22-Sep-16 2:23 
QuestionAndroid - Information leakage flaw OutputStream Pin
Member 1235809712-Sep-16 21:24
Member 1235809712-Sep-16 21:24 
QuestionRe: Android - Information leakage flaw OutputStream Pin
David Crow13-Sep-16 3:23
David Crow13-Sep-16 3:23 
AnswerRe: Android - Information leakage flaw OutputStream Pin
Afzaal Ahmad Zeeshan13-Sep-16 7:10
professionalAfzaal Ahmad Zeeshan13-Sep-16 7:10 
GeneralRe: Android - Information leakage flaw OutputStream Pin
Member 1235809720-Sep-16 20:56
Member 1235809720-Sep-16 20:56 
GeneralRe: Android - Information leakage flaw OutputStream Pin
Richard MacCutchan20-Sep-16 22:16
mveRichard MacCutchan20-Sep-16 22:16 
GeneralRe: Android - Information leakage flaw OutputStream Pin
Member 1235809720-Sep-16 23:46
Member 1235809720-Sep-16 23:46 
GeneralRe: Android - Information leakage flaw OutputStream Pin
Member 1235809720-Sep-16 23:55
Member 1235809720-Sep-16 23:55 
GeneralRe: Android - Information leakage flaw OutputStream Pin
Richard MacCutchan21-Sep-16 1:57
mveRichard MacCutchan21-Sep-16 1:57 
GeneralRe: Android - Information leakage flaw OutputStream Pin
Member 1235809721-Sep-16 3:13
Member 1235809721-Sep-16 3:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.