Android Question callsubdelayed2 for multi activity

Discussion in 'Android Questions' started by jai76, Jun 1, 2015.

  1. jai76

    jai76 Member Licensed User

    Dear all,

    Good day,

    I need a help from the members regarding the callsubdelayed2 function.
    I have a many of words in "autoCompleteEditText", the total of alphabet in one words is not fix.

    My question is, if I'm using the callsubdelayed2, then using the selection of words from the "autoCompleteEditText" as a result, how can i set the result to go to multi activity?
    I want to get first alphabet as a result.
    for example if the words is "apple and altitude"
    In this situation, the first alphabet is "a"
    so i want to get the "a" as a result and proceed to next activity.

    please give some advice..

    thanks in advance..
  2. Erel

    Erel Administrator Staff Member Licensed User

    Create a sub in the second activity:
    Sub StartWithParameter(Letter As String)

    End Sub
    Now you can start the second activity with CallSubDelayed2 (Activity2, "StartWithParameter", EditText.Text)
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice