This repository has been archived by the owner on Dec 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated README.md and several application info files
- Loading branch information
1 parent
d8db49e
commit ebdd2df
Showing
2 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
# GardenGnomeViewer | ||
GardenGnomeViewer is a simple offline viewer app for displaying GGPKG files generated by Pano2VR on Android devices. | ||
GardenGnomeViewer is a simple offline viewer app for displaying GGPKG panorama files generated by Pano2VR on Android devices. | ||
|
||
Typical use scenarios are the use as showcase for photographers or on exhibitions to display your greatest panorama experiences! | ||
|
||
![Screenshot](examples/Screenshot1.png) ![Screenshot](examples/Screenshot2.png) | ||
|
||
*Note:* This is not a official project from [GardenGnome Software](https://www.ggnome.com)! | ||
|
||
## Changelog | ||
* Version 1.0.0: Basic version for offline-viewing GGPKG files | ||
* Version 1.0.1: - bug fixes | ||
- optimization of behaviour on orientation change | ||
- nicer launcher icon and logos | ||
- ability to open ViewerActivity via content uri | ||
|
||
## System Requirements | ||
* Android >= API 21 | ||
* Valid GGPKG files generated by Pano2VR >= 5 | ||
|
@@ -23,5 +30,15 @@ is to take a look into the latest enhancements and take a short look over the so | |
the existing code, to keep the project clean and easy to maintain. If you've any questions left, you can | ||
contact me via my profile or write an email to [[email protected]](mailto:[email protected]). | ||
|
||
To call the ViewerActivity from your own application, you can send an intent with file - / content uri containing | ||
a reference to the GGPKG file to open. See this code snippet as little cheat-sheet: | ||
|
||
``` | ||
Uri packageFileUri = Uri.fromFile(new File(packageFileName)); // create uri from whatever you want | ||
Intent intent = new Intent(Intent.ACTION_VIEW); // default action = VIEW | ||
intent.setDataAndType(packageFileUri, "application/com.ggnome.ggpkg"); // important: use MIME type application/com.ggnome.ggpkg!!! | ||
this.startActivity(intent); // and let's go ... :-) | ||
``` | ||
|
||
## License | ||
This project is licensed under the Apache 2.0 license. See [LICENSE.md](LICENSE.md) for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters