logo

Crowdly

Browser

Add to Chrome

Mobile Device Programming (CS326/CSE5333/CS326n)

Looking for Mobile Device Programming (CS326/CSE5333/CS326n) test answers and solutions? Browse our comprehensive collection of verified answers for Mobile Device Programming (CS326/CSE5333/CS326n) at e-learning.msa.edu.eg.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

(Create)

Create a Flutter application that uses local storage to store a counter value. Each time a button is pressed, increment the counter and save it. Retrieve and display the counter when the app restarts.

View this question

(Create)

Create a Flutter app where a user can navigate from a LoginPage to a DashboardPage after successfully logging in. Display the username on the DashboardPage.

View this question

(Code Evaluation)

Analyze the following Flutter code for signing up a user using Firebase Authentication. Identify potential issues and explain each part of the code.

 

 

Future<void> signUpUser(String email, String password) async {

  try {

    await FirebaseAuth.instance.createUserWithEmailAndPassword(

      email: email,

      password: password,

    );

    print('User signed up successfully');

  } catch (e) {

    print('Error signing up: $e');

  }

}

View this question

(Code Examination)

Examine the following code. Identify potential issues with this approach to reading a JSON file and suggest improvements.

 

 

Future<List<String>> loadItems() async {

  final file = File('/storage/emulated/0/items.json');

  final jsonString = await file.readAsString();

  final List<dynamic> items = jsonDecode(jsonString);

  return items.cast<String>();

}

View this question
Which file is commonly edited to register assets in a Flutter project?
❌
✅
❌
❌
View this question
Which Flutter widget is commonly used to build UI based on continuous asynchronous data?
❌
❌
✅
❌
View this question
Which widget is commonly used to arrange children vertically in Flutter?
❌
✅
❌
❌
View this question
Which Firebase method is commonly called before using Firebase services in Flutter?
❌
❌
✅
❌
View this question
Which widget is commonly used to define the app title, theme, and routes?
❌
❌
✅
❌
View this question
Which navigation method pushes a named route onto the navigation stack?
❌
❌
❌
✅
View this question

Want instant access to all verified answers on e-learning.msa.edu.eg?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome