Skip to content

Commit

Permalink
versi lama
Browse files Browse the repository at this point in the history
  • Loading branch information
JaservTECH committed Apr 30, 2016
1 parent 527c44c commit e5e0cf8
Show file tree
Hide file tree
Showing 77 changed files with 5,486 additions and 0 deletions.
8 changes: 8 additions & 0 deletions System3PJagung/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*.iml
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
.DS_Store
/build
/captures
1 change: 1 addition & 0 deletions System3PJagung/.idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions System3PJagung/.idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions System3PJagung/.idea/copyright/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions System3PJagung/.idea/dictionaries/Jafar.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions System3PJagung/.idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions System3PJagung/.idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions System3PJagung/.idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions System3PJagung/.idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 46 additions & 0 deletions System3PJagung/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions System3PJagung/.idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions System3PJagung/.idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions System3PJagung/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions System3PJagung/app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
28 changes: 28 additions & 0 deletions System3PJagung/app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 23
buildToolsVersion '23.0.1'

defaultConfig {
applicationId "com.jafar.jaservtech.system3pjagung"
minSdkVersion 16
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:support-v4:23.1.1'
compile 'com.android.support:recyclerview-v7:23.1.1'
compile 'com.android.support:design:23.1.1'
}
17 changes: 17 additions & 0 deletions System3PJagung/app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in C:\Users\Jafar\AppData\Local\Android\sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package com.jafar.jaservtech.system3pjagung;

import android.app.Application;
import android.test.ApplicationTestCase;

/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
super(Application.class);
}
}
49 changes: 49 additions & 0 deletions System3PJagung/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.jafar.jaservtech.system3pjagung">

<!-- To auto-complete the email text field in the login form with the user's emails -->
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.READ_PROFILE" />
<uses-permission android:name="android.permission.READ_CONTACTS" />

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".CheckingComponentUser"
android:configChanges="orientation|keyboardHidden|screenSize"
android:label="@string/checking_component_label"
android:theme="@style/Theme.AppCompat.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".HomeOfSystem"
android:label="@string/title_activity_home_of_system"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name=".CreateProgressDefault"
android:label="@string/title_activity_create_progress_default"
android:parentActivityName=".HomeOfSystem">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.jafar.jaservtech.system3pjagung.HomeOfSystem" />
</activity>
<activity
android:name=".CreateProgressNext"
android:label="@string/title_activity_create_progress_next"
android:parentActivityName=".HomeOfSystem">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.jafar.jaservtech.system3pjagung.HomeOfSystem" />
</activity>
</application>

</manifest>
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
package com.jafar.jaservtech.system3pjagung;

import android.annotation.SuppressLint;
import android.content.Intent;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.os.Handler;
import android.view.MotionEvent;
import android.view.View;
import android.widget.TextView;
import com.jafar.jaservtech.system3pjagung.dummy.DBHandler;

/**
* An example full-screen activity that shows and hides the system UI (i.e.
* status bar and navigation/system bar) with user interaction.
*/
public class CheckingComponentUser extends AppCompatActivity {
protected TextView progressMessage;
protected int codeNext;
protected int SPLASH_TIME = 3000;

@Override
public void onCreate(Bundle savedInstancestate) {
super.onCreate(savedInstancestate);
setContentView(R.layout.activity_checking_component_user);
this.progressMessage = (TextView) findViewById(R.id.progressMessage);

new Handler().postDelayed(new Runnable() {

/*
* Showing splash screen with a timer. This will be useful when you
* want to show case your app logo / company
*/

@Override
public void run() {
// This method will be executed once the timer is over
// Start your app main activity
DBHandler test = new DBHandler(CheckingComponentUser.this);
Intent i = new Intent(CheckingComponentUser.this, HomeOfSystem.class);
startActivity(i);

// close this activity
finish();
}
}, SPLASH_TIME);
}
}
/*
Thread threadMe = new Thread(){
private int codeNext;
public void run(){
try{
sleep(1000);
progressMessage.setText("Checking table ...");
int j=0;
while(j<=10) {
sleep(100);
j++;
}
// SQLJaservTech testAccount = new SQLJaservTech(CheckingComponentUser.this,null,null,1);
// codeNext= testAccount.totalrow("SELECT * FROM user_active");
}catch (Exception e){
}finally {
Intent control = new Intent(CheckingComponentUser.this,HomeOfSystem.class);
startActivity(control);
finish();
/*
Intent control;
if(codeNext >= 1)
control = new Intent(MainActivity.this,ControlFirst.class);
else
control = new Intent(MainActivity.this,SignUpFirst.class);
startActivity(control);
finish();
*//*
}
}
};
threadMe.start();
}
}
*/
Loading

0 comments on commit e5e0cf8

Please sign in to comment.