Extra parameters with Debug APK on Android

Sysprogs forums Forums VisualGDB Extra parameters with Debug APK on Android

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #627
    cpuser
    Participant

    Is there a way to pass extra parameters when using debug APK on Android?

    For example, I’d like to start the executable with something like this:

    %ADB% shell am start –activity-clear-top -n %PACKAGE%/%ACTIVITY% –es %EXTRASTRING% stringValue -t application/vnd.myapp.ext+ext -d file:///storage/emulated/0/%FILE%

    Thanks.

    #2597
    ket
    Participant

    Hi,

    Currently, no. The option to add extra parameters to “am start” is planned to be added into the upcoming 4.1 version.

    #2598
    cpuser
    Participant

    Ok, thanks, that would be extremely useful, especially since you support saving the debug APK parameters under a given name. That would make for a great experience.

    In the meantime, a co-worker showed me that I can simply call the start the command with parameters with adb manually after the executable is already started under the debugger, and I am getting the proper code path executed in my code.

    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.