hello everyone,
my basic4android app has to start an activity defined in java library.
i've built a java library and sucessfully imported in basic4android. The library contains just a public class that extends android.app.Activity.
@ShortName("DemoLibActivity")
public class DemoLibActivity extends Activity {
...
i need to use this libray in my basic4android app and i need to perform a startActivityForResult. for instance, i'm able to use the library in other java class like as
public class MainAppActivity extends Activity {
...
final Context ctx = getBaseContext();
Intent intent = new Intent(ctx, DemoLibActivity.class);
startActivityForResult(intent,requestCode);
...
but i don't know how to translate these three lines in b4a.
any solutions?
regards
my basic4android app has to start an activity defined in java library.
i've built a java library and sucessfully imported in basic4android. The library contains just a public class that extends android.app.Activity.
@ShortName("DemoLibActivity")
public class DemoLibActivity extends Activity {
...
i need to use this libray in my basic4android app and i need to perform a startActivityForResult. for instance, i'm able to use the library in other java class like as
public class MainAppActivity extends Activity {
...
final Context ctx = getBaseContext();
Intent intent = new Intent(ctx, DemoLibActivity.class);
startActivityForResult(intent,requestCode);
...
but i don't know how to translate these three lines in b4a.
any solutions?
regards