Android Open Source - tasktracker-android Main Activity






From Project

Back to project page tasktracker-android.

License

The source code is released under:

Copyright (c) 2012 Remo Mueller https://github.com/remomueller This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. To view a copy of this lice...

If you think the Android project tasktracker-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.github.remomueller.tasktracker.android;
/*from  www .ja  v a  2s  .c  o m*/
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;

public class MainActivity extends Activity
{
    public final static String HOST_URL = "https://sleepepi.partners.org/edge/tasktracker";

    public final static String USERNAME = "com.example.mysecondapp.USERNAME";
    public final static String PASSWORD = "com.example.mysecondapp.PASSWORD";

//     private EditText usernameText;
//     private EditText passwordText;
//     private String username;
//     private String password;

//     /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
//         setContentView(R.layout.main);

//         usernameText = (EditText) findViewById(R.id.username);
//         passwordText = (EditText) findViewById(R.id.password);
    }

//     // Login
//     public void myClickHandler(View view)
//     {
//         username = usernameText.getText().toString();
//         password = passwordText.getText().toString();

//         // new DownloadWebpageText().execute(stringUrl);
//         // new DownloadJSONSTickies().execute(stringUrl);
//         Intent intent = new Intent(this, StickiesIndex.class);

//         intent.putExtra(USERNAME, username);
//         intent.putExtra(PASSWORD, password);

//         startActivity(intent);
//     }
}




Java Source Code List

com.github.remomueller.tasktracker.android.AboutActivity.java
com.github.remomueller.tasktracker.android.DashboardActivity.java
com.github.remomueller.tasktracker.android.LoginActivity.java
com.github.remomueller.tasktracker.android.MainActivity.java
com.github.remomueller.tasktracker.android.ProjectAdapter.java
com.github.remomueller.tasktracker.android.Project.java
com.github.remomueller.tasktracker.android.ProjectsIndex.java
com.github.remomueller.tasktracker.android.ProjectsNew.java
com.github.remomueller.tasktracker.android.StickiesFragment.java
com.github.remomueller.tasktracker.android.StickiesIndex.java
com.github.remomueller.tasktracker.android.StickiesNew.java
com.github.remomueller.tasktracker.android.StickiesShow.java
com.github.remomueller.tasktracker.android.StickyAdapter.java
com.github.remomueller.tasktracker.android.Sticky.java
com.github.remomueller.tasktracker.android.Tag.java
com.github.remomueller.tasktracker.android.TaskTracker.java
com.github.remomueller.tasktracker.android.User.java
com.github.remomueller.tasktracker.android.util.AsyncRequest.java
com.github.remomueller.tasktracker.android.util.Base64.java
com.github.remomueller.tasktracker.android.util.DatabaseHandler.java
com.github.remomueller.tasktracker.android.util.ProjectsRequest.java
com.github.remomueller.tasktracker.android.util.StickiesRequest.java
com.github.remomueller.tasktracker.android.util.WebRequest.java