1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-05 19:42:17 +02:00

more experiments

This commit is contained in:
Nikolay Pultsin 2011-07-20 01:48:37 +01:00
parent 561629ec55
commit e17fcd6baf
3 changed files with 2 additions and 4 deletions

View file

@ -144,9 +144,7 @@
<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="*" android:scheme="litres-book" />
<data android:host="*.litres.ru" android:scheme="http" path="/pages/biblio_book/" />
</intent-filter>
</activity>
<receiver android:name="org.geometerplus.android.fbreader.network.BookDownloaderCallback" android:process=":networkLibrary" />

View file

@ -144,9 +144,7 @@
<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="*" android:scheme="litres-book" />
<data android:host="*.litres.ru" android:scheme="http" path="/pages/biblio_book/" />
</intent-filter>
</activity>
<receiver android:name="org.geometerplus.android.fbreader.network.BookDownloaderCallback" android:process=":networkLibrary" />

View file

@ -78,6 +78,8 @@ public class NetworkBookInfoActivity extends Activity implements NetworkView.Eve
}
if (myBook == null) {
System.err.println("uri = " + getIntent().getData());
final NetworkTree tree = Util.getTreeFromIntent(getIntent());
if (!(tree instanceof NetworkBookTree)) {
finish();