Soru & Cevap

Android Java Twitter

29.12.2018 - 03:39

Android.manifest
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="tr.edu.snurkiraztrakya.twiitterjs"> <uses-permission android:name="android.permission.INTERNET"></uses-permission> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"></uses-permission> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme"> <activity android:name=".MainActivity"> <intent-filter> <action android:name="android.intent.action.MAIN"></action> <category android:name="android.intent.category.LAUNCHER"></category> </intent-filter> <intent-filter> <action android:name="android.intent.action.VIEW"></action> <category android:name="android.intent.category.DEFAULT"></category> <category android:name="android.intent.category.BROWSABLE"></category> <data android:host="t4jsample" android:scheme="oauth"></data> </intent-filter> </activity> </application> </manifest>
MainActivity


Uri data=getIntent().getData();

if (data != null && data.toString().startsWith(Const.CALLBACK_URL))

data neden null dönüyor yardımcı olur musunuz
 

15 Görüntülenme

1 Cevap

Sitedeki sorulara cevap verebilmek için giriş yapın ya da üye olun.

Profile picture for user cbozkurt367
cbozkurt367
05.12.2019 - 03:18
Kodundaki hatalar yüzünden dikkat etmen lazım