기초 질문입니다.
==================
AndroidManifest.xml
====================
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="kr.com"
android:versionCode="1"
android:versionName="1.0">
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".StartTest"
android:label="@string/app_name"
android:screenOrientation="landscape"
android:launchMode="singleTop"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".LoadingTest" android:label="@string/app_name"/>
</application>
<uses-sdk android:minSdkVersion="8" />
</manifest>
=======================================================================================================
LoadingTest.java
package org.mixare;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
public class LoadingTest extends Activity {
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.loadingg);
Handler h = new Handler();
h.postDelayed(new Runnable() {
public void run() {
finish();
}
}, 3000);
}
}
=====================================================================================================
여기는 무리 없이 잘 돌아갑니다. 로딩 화면 후 첫 페이지로 이동을 잘하죠..그런데
=======================================================================================================
AndroidManifest.xml
<application android:label="@string/app_name" android:icon="@drawable/ic_launcher">
<uses-library android:name="com.google.android.maps" />
<activity android:label="@string/app_name" android:name=".MixView"
android:screenOrientation="landscape"
android:launchMode="singleTop" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" android:mimeType="application/mixare-json"/>
<data android:scheme="content" android:mimeType="application/mixare-json"/>
<data android:scheme="file" android:mimeType="application/mixare-json"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEARCH"/>
</intent-filter>
<meta-data android:name="android.app.searchable"
android:resource="@xml/searchable"/>
<meta-data android:name="android.app.default_searchable"
android:value=".MixView" />
</activity>
<activity android:name="MixListView"
android:screenOrientation="user"
android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data android:name="android.app.searchable"
android:resource="@xml/searchable"/>
</activity>
<activity android:name="MixMap"
android:screenOrientation="user"
android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data android:name="android.app.searchable"
android:resource="@xml/searchable"/>
</activity>
<activity android:label="@string/app_name" android:name=".LoadingTest"/>
<activity android:name=".LoadingTest" android:label="@string/app_name"/>
</application>
<uses-permission android:name="android.permission.WAKE_LOCK"></uses-permission>
==================================================================================================
여기에서는 안돌아가네요....왜그럴까요.....잘알려주시면 감사하겠습니다..잘 몰라서그런데 열심히 배우겠습니다.
LoadingTest 소스는 같습니다.