-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
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 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
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' | ||
} |
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); | ||
} | ||
} |
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(); | ||
} | ||
} | ||
*/ |