Skip to content

Commit

Permalink
Intro 베가에서 안되던 부분 수정완료!
Browse files Browse the repository at this point in the history
  • Loading branch information
jangwonseo committed Nov 6, 2015
1 parent 6994d74 commit 1d035ae
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 15 deletions.
27 changes: 27 additions & 0 deletions .idea/misc.xml

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

2 changes: 0 additions & 2 deletions .idea/modules.xml

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

2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<uses-permission android:name="android.permission.WRITE_OWNER_DATA" />
<uses-permission android:name="android.permission.READ_OWNER_DATA" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<application
android:name=".sign.MyApplication"
android:allowBackup="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ public class IntroActivity extends Activity {
AlertDialog.Builder alt_bld;
Boolean isUpdate = false;

Runnable irun;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Expand Down Expand Up @@ -119,6 +121,18 @@ public void onClick(DialogInterface dialog, int id) {
AlertDialog alert = alt_bld.create();
alert.setTitle("안 내");
alert.show();
}else{
irun = new Runnable() {
@Override
public void run() {
if(!isUpdate) {
Intent introIntent = new Intent(IntroActivity.this, HomeActivity.class);
startActivity(introIntent);
overridePendingTransition(android.R.anim.fade_in, android.R.anim.fade_out);
finish();
}
}
};
}
super.onPostExecute(result);

Expand All @@ -127,17 +141,7 @@ public void onClick(DialogInterface dialog, int id) {
}


Runnable irun = new Runnable() {
@Override
public void run() {
if(!isUpdate) {
Intent introIntent = new Intent(IntroActivity.this, HomeActivity.class);
startActivity(introIntent);
overridePendingTransition(android.R.anim.fade_in, android.R.anim.fade_out);
finish();
}
}
};

@Override
protected void onDestroy() {

Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include 'ImageSliderLibrary', ':jsoup-1.7.3', ':MarketVersionChecker', ':ImageSliderLibrary', ':app', ':com.skp.Tmap_1.0.33'
include 'ImageSliderLibrary', ':jsoup-1.7.3', ':MarketVersionChecker',':ImageSliderLibrary', ':app', ':com.skp.Tmap_1.0.33'

0 comments on commit 1d035ae

Please sign in to comment.