1
0
Fork 0
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:
Nikolay Pultsin 2011-09-25 17:47:24 +01:00
parent 557d938a55
commit cddbe40d0f
6 changed files with 51 additions and 44 deletions

View file

@ -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)));
}