mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 10:49:24 +02:00
open network catalogs from external applications
This commit is contained in:
parent
557d938a55
commit
cddbe40d0f
6 changed files with 51 additions and 44 deletions
|
@ -47,7 +47,7 @@ public abstract class Util implements UserRegistrationConstants {
|
|||
return uri != null ? NetworkLibrary.Instance().getLinkByUrl(uri.toString()) : null;
|
||||
}
|
||||
|
||||
static Intent intentByLink(Intent intent, INetworkLink link) {
|
||||
public static Intent intentByLink(Intent intent, INetworkLink link) {
|
||||
if (link != null) {
|
||||
intent.setData(Uri.parse(link.getUrl(UrlInfo.Type.Catalog)));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue