mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-06 03:50:19 +02:00
refactoring: platform-dependent classes have been moved to the android package; FBReader -> FBReaderActivity
This commit is contained in:
parent
6ea4881643
commit
05ec6c3861
18 changed files with 96 additions and 69 deletions
|
@ -258,7 +258,7 @@ public class LibraryTabActivity extends TabActivity implements MenuItem.OnMenuIt
|
|||
}
|
||||
|
||||
private Intent getFBReaderIntent(final File file) {
|
||||
final Intent intent = new Intent(getApplicationContext(), org.geometerplus.android.fbreader.FBReader.class);
|
||||
final Intent intent = new Intent(getApplicationContext(), FBReaderActivity.class);
|
||||
intent.setAction(Intent.ACTION_VIEW);
|
||||
if (file != null) {
|
||||
intent.setData(Uri.fromFile(file));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue