Category : mobile-application

i need to make an edittext field required and mandatory to fill in android , but from xml is this possible ? i know the question already exits but all solutions are for a method from java i don’t need that solution supposes i have the following Edittext <EditText android:padding="10dp" android:hint="@string/hint" android:layout_margin="20sp" android:layout_width="match_parent" android:layout_height="wrap_content"/> can ..

Read more

With the firebase version-19.2.0 , authentication works fine. On using firebase(20.0.2 version) authentication, auth.signInWithEmailAndPassword(email, password).addOnCompleteListener { task-> following error is shown. com.google.firebase.FirebaseException: An internal error has occurred. [ socket failed:EPERM (Operation not permitted) ] at com.google.android.gms.internal.firebase-auth-api.zztt.zza(com.google.firebase:[email protected]@20.0.2:4) at com.google.android.gms.internal.firebase-auth-api.zzvb.zza(com.google.firebase:[email protected]@20.0.2:9) at com.google.android.gms.internal.firebase-auth-api.zzvc.zzk(com.google.firebase:[email protected]@20.0.2:1) at com.google.android.gms.internal.firebase-auth-api.zzuz.zzh(com.google.firebase:[email protected]@20.0.2:25) at com.google.android.gms.internal.firebase-auth-api.zztq.zzk(com.google.firebase:[email protected]@20.0.2:1) at com.google.android.gms.internal.firebase-auth-api.zzoi.zza(com.google.firebase:[email protected]@20.0.2:2) at com.google.android.gms.internal.firebase-auth-api.zzvg.zza(com.google.firebase:[email protected]@20.0.2:26) at com.google.android.gms.internal.firebase-auth-api.zzuq.zzf(com.google.firebase:[email protected]@20.0.2:4) at com.google.android.gms.internal.firebase-auth-api.zzpy.zzj(com.google.firebase:[email protected]@20.0.2:5) at com.google.android.gms.internal.firebase-auth-api.zztu.zzi(com.google.firebase:[email protected]@20.0.2:8) at ..

Read more

im trying to get switch state but it keep showing me this error Failed assertion: boolean expression must not be null and this how i get it by saving switch state to shared preferences and getting the value back bool availability; Future<bool> getSwitchState() async { SharedPreferences prefs = await SharedPreferences.getInstance(); setState(() { availability = prefs.getBool(‘isAvailable’) ..

Read more

so i’m learning kivy and I want to have a button bring me to a different screen to be able to set a alarm. I’ve made another file to learn how to transition between screens and its worked and all morning I’ve been trying to get it to work in my other app and I ..

Read more