Back to project page androidcomplete.
The source code is released under:
MIT License
If you think the Android project androidcomplete listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.core.complete; // w w w .ja v a 2 s . c om import com.odundar.complete.R; import android.app.Activity; import android.os.Bundle; import android.view.View; public class MainActivity extends Activity{ public static String TAG = ""; /** * Login Page appears on start of the application * First connection will be authorized by server * If first connection is successful and user checked the remember me second connection will be only with a progress bar */ @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); TAG = getClass().getSimpleName(); setContentView(R.layout.login); } /** * Where Login authentication happens */ @Override protected void onStart(){ super.onStart(); } /** * Where the main_activity starts */ @Override protected void onResume(){ super.onResume(); } @Override protected void onPause(){ super.onPause(); } @Override protected void onStop(){ super.onStop(); } @Override protected void onDestroy(){ super.onDestroy(); } /** * Define Button Click Callback Functions * It is suggested that defining public void functions and link them to UI Widget */ public void onLoginClick(View v){ /** * Check if TextBoxes filled and not empty */ /** * Check Internet Connection * Warn user if he want's to connect through 3G */ /** * Connect to DB Server and Authenticate user while checking show progress bar */ } public void onSkipClick(View v){ /** * Show Customized Progress Bar for 2 seconds then skip to List */ setContentView(R.layout.loading); /** * 2 Seconds then pass */ } }