[Solved] Android studio error in stack trace

It should be like this public class MainActivity extends AppCompatActivity { EditText number1, number2….. double ach1, ach2…. @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); initializeUi(); …………….. ……………….. …………….. } private void initializeUi() { number1 = (EditText) findViewById(R.id.achieved1); number2 = (EditText) findViewById(R.id.achieved2); number3 = (EditText) findViewById(R.id.achieved3); number4 = (EditText) findViewById(R.id.achieved4); number5 = (EditText) findViewById(R.id.achieved5); number6 … Read more

[Solved] The iPhone app closes immediately when I open the map [closed]

You need to add the google map API key on ios/Runner/AppDelegate.swift file import UIKit import Flutter import GoogleMaps @UIApplicationMain @objc class AppDelegate: FlutterAppDelegate { override func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? ) -> Bool { GMSServices.provideAPIKey(“GOOGLE_API_KEY”) GeneratedPluginRegistrant.register(with: self) return super.application(application, didFinishLaunchingWithOptions: launchOptions) } } 2 solved The iPhone app closes immediately when … Read more

[Solved] I need to create a Android activity that’s protected with a pin code [closed]

When Ok is pressed after the pin is entered you need to verify if the entered pin is the same as the saved pin, if yes you can open the activity you want to. You need to have an edittext to collect the pin. <EditText android:id=”@+id/passwordedittext” android:layout_width=”200dp” android:layout_height=”wrap_content” android:inputType=”textPassword”> <requestFocus /> An ok button is … Read more