ActivityStarter problem


#1

Salve,
perché il blocco seguente funziona solo in test mentre quando compilo il file apk e installo l’app e clicco su install non succede niente???


#2

you might have to ask for READ_EXTERNAL_STORAGE permission before using these blocks
also the correct path starts with ile:///mnt/sdcard/… (note the 3 slashes…)

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.


#3

Hi Taifun,

I also tried the path file:///mnt/sdcard/downloads/do-not-delete/install/

but the same problem nothing happens …

how do i do:

you might have to ask for READ_EXTERNAL_STORAGE permission before using these blocks

and why in test mode, even without READ_EXTERNAL_STORAGE permission does it work?


#4

the problem in my opinion is that the app must be authorized to install the other apps …
could this be?


#5

I used taifunfile extension and the path displayed for the file is:

/mnt/sdcard/downloads/do-not-delete/install/example.apk


#6

protip: search the forum…
for example

the companion already has all the permissions…
Taifun


#7

see also


Taifun


#8

hi,
I think the only system is to add to the Manifest file

uses-permission android: name = “android.permission.REQUEST_INSTALL_PACKAGES”/

how can I do?
I have used both Apktool and AppToMarket but I have not been able to do it …


#9

you first should decide, which distribution you want to use and then only ask in the corresponding community… thank you…
Taifun


#10

Hi, sorry,

I have to solve this problem urgently …

I’m going on with appybuilder …

The problem is clear: installation permission is missing …

can you help me insert

“Android.permission.REQUEST_INSTALL_PACKAGES” /

in the manifest file?

Thank you.


#11

use AppToMarket together with the instructions from @Boban here http://baasapps.com/tips-and-tricks/#apptomarket170
Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.


#12

Hi,
I’ve already tried with AppToMarket, but when I try to decompile I have an error…, Why?

This log file:

22gen2020_0823.06: Your Platform: windows 10

22gen2020_0823.06: Java Version: 1.8.0_231

22gen2020_0823.06: AppToMarket Version: v4.1

22gen2020_0823.06: Install folder: C:\Users\Tony\Desktop\AppToMarket\AppToMarket_v40

22gen2020_0823.06: Your data was loaded from: C:\Users\Tony\Desktop\AppToMarket\AppToMarket_v40\resource\config.txt

22gen2020_0823.45: BUTTON CLICKED: 1> Decompile

22gen2020_0823.45: I: Using Apktool 2.1.1 on install_20190504_MIT.apk

22gen2020_0823.45: I: Loading resource table…

22gen2020_0823.45: I: Decoding AndroidManifest.xml with resources…

22gen2020_0823.45: I: Loading resource table from file: C:\Users\Tony\apktool\framework\1.apk

22gen2020_0823.46: I: Regular manifest package…

22gen2020_0823.46: I: Decoding file-resources…

22gen2020_0823.46: I: Decoding values / XMLs…

22gen2020_0823.46: ERROR: Unable to decompile your .apk file

22gen2020_0823.51: BUTTON CLICKED: 2> Update Manifest

22gen2020_0823.53: BUTTON CLICKED: 1> Decompile

22gen2020_0823.53: I: Using Apktool 2.1.1 on install_20190504_MIT.apk

22gen2020_0823.53: I: Loading resource table…

22gen2020_0823.53: I: Decoding AndroidManifest.xml with resources…

22gen2020_0823.53: I: Loading resource table from file: C:\Users\Tony\apktool\framework\1.apk

22gen2020_0823.53: I: Regular manifest package…

22gen2020_0823.53: I: Decoding file-resources…

22gen2020_0823.54: I: Decoding values / XMLs…

22gen2020_0823.54: ERROR: Unable to decompile your .apk file

I attach the aia file.

Help please …install_20190504_MIT.aia (12.4 KB)