java - Android - Hide first activity before parseloginui -
i starting study parse android, , found parseloginui, having problems, when using parseloginui dispatcher, 1 empty screen open before starts login screen,how can hide this, please?!
manifest
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="br.com.appstudy" android:versioncode="1" android:versionname="1.0" > <uses-sdk android:minsdkversion="8" android:targetsdkversion="19" /> <uses-permission android:name="android.permission.internet" /> <uses-permission android:name="android.permission.access_network_state" /> <application android:name=".appapplication" android:allowbackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@android:style/apptheme" > <activity android:name=".mainactivity" /* dispatcher */ android:label="@string/app_name" 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="com.parse.ui.parseloginactivity" android:label="@string/app_name" android:launchmode="singletop" > <meta-data android:name="com.parse.ui.parseloginactivity.parse_login_enabled" android:value="true" /> <meta-data android:name="com.parse.ui.parseloginactivity.parse_login_email_as_username" android:value="true" /> <meta-data android:name="com.parse.ui.parseloginactivity.facebook_login_enabled" android:value="true" /> </activity> <activity android:name="com.facebook.loginactivity" android:label="@string/app_name" android:launchmode="singletop" /> <meta-data mainactivity (dispatcher) public class mainactivity extends parselogindispatchactivity { @override protected class<?> gettargetclass() { homecoming appactivity.class; } } android:name="com.facebook.sdk.applicationid" android:value="@string/facebook_app_id" /> <activity android:name=".appactivity" android:label="@string/title_activity_app" android:launchmode="singletop" > </activity> </application> </manifest>
mainactivity (dispatcher)
package br.com.dietshare; import com.parse.ui.parselogindispatchactivity; public class mainactivity extends parselogindispatchactivity { @override protected class<?> gettargetclass() { homecoming dietactivity.class; } }
best regards, rodrigo
java android parse.com
No comments:
Post a Comment