Need Help : StartActivity - Other Activity WebView ?

davidmd

Member
Licensed User
Longtime User
Hi
I wish to use
StartActivity
New Activity2

in Activity2 , I wish to define
The WebView Load url
From Activity1

I just forgot how To call and declare Activity2
from Activity1 ?
(#import declare in Objective C )

Thanks !!!
 

davidmd

Member
Licensed User
Longtime User
Thanks

I wish The load in Activity2 WebView
different URL
accordind to Button Click on Activity1 or
DropDownList in Activity1
Will triger Specific Web Page in Activity 2

Any Idea ?
:sign0163:
 
Upvote 0

davidmd

Member
Licensed User
Longtime User
I tried, Something Is Wrong, Activity2 = web2
B4X:
'Activity module
Sub Process_Globals
   'These global variables will be declared once when the application starts.
   'These variables can be accessed from all modules.
   url2 = "google.com"
   StartActivity(web2)

End Sub


ub Button5_Click
  web2.url= ( url2)
   Activity.Finish
   StartActivity(web2)
   
End Sub


I got This Error:
Compiling code. Error
Error parsing program.
Error description: פריט עם מפתח זהה נוסף כבר.
Occurred on line: 6
StartActivity(web2)



Will Appreciate , Small Sample,,

Thanks !!!

:sign0013:
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…