Appium browser button launch app with parameter

my test scenario is
open browser -> click the ‘launch app button’-> open app with parameter(which page?which id)
I’ve try start activity but it just open the app without the parameter
Anyone have an idea? Is that possible to do the scenario with autotesting?
Here is my code:

import os
import unittest
from appium import webdriver
from import By
import time

class AppiumTest(unittest.TestCase):
    def setUp(self):
        adb_devices_result = os.popen("adb devices").read()
        if adb_devices_result.find("List of devices attached") < 0:  # adb is not working
            return None
        deviceId = adb_devices_result.replace("List of devices attached", "").replace("\n", "").split("\t")[0]
        model = os.popen("adb -s " + deviceId + " shell getprop ro.product.model").read()
        osVersion = os.popen("adb -s " + deviceId + " shell getprop").read()
        apkVersion = os.popen("adb -s " + deviceId + " shell dumpsys package com.twca.middemo | grep versionName").read()
        self.driver = webdriver.Remote(
                'platformName': 'Android',
                'browserName': 'Chrome',
                'deviceName': deviceId,
                'udid': deviceId,
                'model': model,
                'osVersion': osVersion,
                'appVersion': apkVersion,
                'chromedriverExecutable': 'C://chromedriver_win32//chromedriver.exe',
    def testFirstAutomationTest(self):
        self.driver.find_element(By.XPATH, '//button[text()="APP"]').click()
        self.driver.start_activity("", "com.twLauncherActivity")  
    def tearDown(self):

if __name__ == '__main__':