+ private void startApp() {
+ AppContext.getDatabaseManager().setRuntimeCache("AppStartCounter", "1");
+ AppContext.getNavigationManager().navigatePage("SplashScreen", null, false);
+
+ InputMethodManager imm = (InputMethodManager)AppContext.getMainActivity().getSystemService(Context.INPUT_METHOD_SERVICE);
+ imm.hideSoftInputFromWindow(view.getWindowToken(), 0);
+ }
+
+ private boolean setCourse() {
+ AutoCompleteTextView courseInput = (AutoCompleteTextView )view.findViewById(R.id.courseInput);
+ String courseName = courseInput.getText().toString();
+ if(courseName.length() <= 3)
+ return false;
+
+ AppContext.getDatabaseManager().setRuntimeCache("CourseName", courseName);
+ return true;
+ }
+