activity

Discussion in 'Android' started by NST_Adventure, Mar 20, 2022.

  1. NST_Adventure

    NST_Adventure MDL Addicted

    Jun 1, 2019
    912
    208
    30
    #1 NST_Adventure, Mar 20, 2022
    Last edited: Apr 20, 2022
    Activity​
    activity is android components to determine what is app will to do

    for example login on google facebook etc etc

    developer need add activity code to manifest.xlm and need to declare is exportable flagged as true or false

    example code template please Modify it at your own risk:
    <manifest ... >
    <application ... >
    <activity android:name=".ExampleActivity" />
    ...
    </application ... >
    ...
    </manifest >


    and here is flag to declare exportable activity:
    android:exported="value"
    (replace value with true / false)

    This value is determine do third party app is allowed to launch this activity or not

    false mean not
    true mean yes

    to launch non exported activity is simply using su (Root) privilege
    (yes unfortunately ADB can't launch non exported activity)
    non rooted user usually cannot launch non exported activity but here is bug
    by installing target app inside virtual enviroment like blackbox you can launch non exported activity without root
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...