I am using twitter4j library to post on twitter from android app. I have followed this question. I am having one issue it displays login screen, but after entering username and password, it's displaying this screen.
I tried to display on sign in 4-5 times, but still it's displaying me this screen and not going back to my app again.
Manifest
File
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.objectlounge.OBLTwitter.MainActivity"
android:label="@string/app_name" >
android:launchMode="singleInstance">
<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:host="OBLTwitter"
android:scheme="app" />
</intent-filter>
</activity>
</application>
There was something wrong with api key and api secret. I regenerated both and it started working.