Android Open Source - Android-Cloud-Storage-Application Fullscreen Activity






From Project

Back to project page Android-Cloud-Storage-Application.

License

The source code is released under:

MIT License

If you think the Android project Android-Cloud-Storage-Application 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.example.cloudaltas;
/*  w w w. ja v  a 2  s .  co  m*/
import com.example.cloudaltas.util.SystemUiHider;

import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.Toast;


public class FullscreenActivity extends Activity {
  
    Button b1;
  
  @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setContentView(R.layout.activity_fullscreen);
        
        Button b;

      
             
        
           super.onCreate(savedInstanceState);    
           setContentView(R.layout.activity_fullscreen);
           
           final Handler handler = new Handler();
           handler.postDelayed(new Runnable() {
             @Override
             public void run() {
               
               Intent startNewActivityOpen = new Intent(FullscreenActivity.this, first.class);
                 startActivityForResult(startNewActivityOpen, 0);
               
               
             // setContentView(R.layout.chumma);
               //  Intent i = new Intent(FullscreenActivity.this, first.class);
                 //startActivity(i);
             }
         }, 10000);  
               
               
             

        
        
        
        

           
          // b1 = (Button) findViewById(R.id.button1);
        /*   b = (Button) findViewById(R.id.button2);
           b.setOnClickListener(new OnClickListener()
           {
             @Override
             public void onClick(View v)
             {Toast msg = Toast.makeText(getBaseContext(),
                       "Login /  Sign Up", Toast.LENGTH_LONG);
             
         msg.show();   
         Intent startNewActivityOpen = new Intent(FullscreenActivity.this, first.class);
         startActivityForResult(startNewActivityOpen, 0);
         
         //setContentView(R.layout.chumma);
     
          }
          });   */
        
       //    Intent startNewActivityOpen = new Intent(FullscreenActivity.this, first.class);
        //   startActivityForResult(startNewActivityOpen, 0);
        
        
        
        
     
        
        
        final View controlsView = findViewById(R.id.fullscreen_content);
        final View contentView = findViewById(R.id.fullscreen_content);

        // Set up an instance of SystemUiHider to control the system UI for
        // this activity.
      
    }
    
}




Java Source Code List

com.example.cloudaltas.Base64.java
com.example.cloudaltas.DashboardActivity.java
com.example.cloudaltas.FullscreenActivity.java
com.example.cloudaltas.LoginActivity.java
com.example.cloudaltas.RegisterActivity.java
com.example.cloudaltas.UploadImage.java
com.example.cloudaltas.library.DatabaseHandler.java
com.example.cloudaltas.library.JSONParser.java
com.example.cloudaltas.library.UserFunctions.java
com.example.cloudaltas.util.SystemUiHiderBase.java
com.example.cloudaltas.util.SystemUiHiderHoneycomb.java
com.example.cloudaltas.util.SystemUiHider.java
com.example.cloudaltas.first.java
com.example.cloudaltas.hello.java