Java Question Java Libraries startActivity don't start

sigster

Active Member
Licensed User
Longtime User
Hi

I am try to open settings from a Libraries

1. Eclipse New Java Project

but nothing happen in B4A can anyone help me with this Please

Dim f2 As Ledsample

Log(f2.Start)


B4X:
   public class Ledsample {
  
  
    public Intent Start() {
            
          Intent in = new Intent( Settings.ACTION_LOCATION_SOURCE_SETTINGS );
            startActivity(in);
            return in;
      }


      private void startActivity(Intent in) {
          // TODO Auto-generated method stub
        
      }
    
      }


Regards
Sigster
 

sigster

Active Member
Licensed User
Longtime User
Hi

Finish to fix this this thanks

StartActivity(f2.Start)

Regards
Sigster
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…