Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

Commit

Permalink
updated README.md and several application info files
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianknopf committed Sep 1, 2019
1 parent d8db49e commit ebdd2df
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
19 changes: 18 additions & 1 deletion README.md
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
Expand All @@ -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.
2 changes: 1 addition & 1 deletion app/src/main/assets/html_ggnome_viewer.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h2>GardenGnomeViewer</h2>
<p>Offline viewer for GGPKG files generated with Pano2VR</p>
<img src="ggnome_viewer.png" style="width:50%;max-width:300px" />
<p>
Version: 1.0<br />
Version: 1.0.1<br />
Copyright (c) 2019 Sebastian Knopf
</p>
<p style="text-align:left"><i>Note:</i> This is <b>not</b> a official project from GardenGnome Software! You can find the latest information on GitHub</p>
Expand Down

0 comments on commit ebdd2df

Please sign in to comment.