mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 19:42:17 +02:00
more experiments
This commit is contained in:
parent
561629ec55
commit
e17fcd6baf
3 changed files with 2 additions and 4 deletions
|
@ -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" />
|
||||
|
|
|
@ -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" />
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue