Skip to content

Commit

Permalink
Wikitude Xamarin sample app uses Wikitude SDK 9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
pnagele committed Aug 24, 2020
1 parent 0857e69 commit 785831c
Show file tree
Hide file tree
Showing 72 changed files with 4,510 additions and 4,967 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
by Wikitude GmbH - [www.wikitude.com](https://www.wikitude.com)

The first Xamarin component enabling to put augmented reality into an Xamarin based application
The provided sample projects for Android and iOS demo the most common usecases.
Details about functionality and features of the most current version can be found on [our website](https://www.wikitude.com/products/extensions/cordova-plugin-augmented-reality/)
The provided sample projects for Android and iOS demo the most common use cases.
Details about functionality and features of the most current version can be found on [our website](https://www.wikitude.com/products/wikitude-sdk/)

# Documentation & Samples
- Please find details about plugin installation, samples and the full documentation in our [Wikitude Developer Documentation](https://www.wikitude.com/external/doc/documentation/latest/xamarin/).
- Please install the Wikitude Component from [nuget](https://www.nuget.org/packages/Xamarin.Wikitude.SDK.JS/8.1.0)
- Please install the Wikitude Component from [nuget](https://www.nuget.org/packages/Xamarin.Wikitude.SDK.JS/)


The Wikitude Component and the sample application is under Apache 2.0 license (see below), where the Wikitude SDK library (pre-bundled) itself follows a proprietary license scheme (see [LICENSE.MD](LICENSE.MD) for details).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
#page1 {
position: absolute;
right: 0;
top: 0;
left: 0;
bottom: 0;
}

.info {
font-size: large;
position: absolute;
Expand Down Expand Up @@ -42,19 +34,40 @@
}

#scanButtonWrapper {
font-size: large;
position: absolute;
width: 100%;
padding-top: 12px;
padding-bottom: 12px;
background-color: #BBBBBB;
padding-bottom: calc(12px + env(safe-area-inset-bottom));
background-color: rgba(187, 187, 187, 0.7);
text-align: center;
vertical-align: middle;
bottom: 0;
left: 0;
opacity: 0.7;
display: table;
}

#scanButton {
font-size: large;
background-color: #fff;
}

#scanButton:active {
opacity: 0.5;
}

@media screen and (orientation: portrait) {
#scanButton {
width: 15vh;
height: 5vh;
}
}
@media screen and (orientation: landscape) {
#scanButton {
width: 15vw;
height: 5vw;
}
}

.errorMessage {
font-size: large;
position: absolute;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,37 +13,27 @@

<link rel="stylesheet" href="css/default.css">

<!-- jquery mobile CSS -->
<link rel="stylesheet" href="jquery/jquery.mobile-1.3.2.min.css"/>
<!-- required to set background transparent & enable "click through" -->
<link rel="stylesheet" href="jquery/jquery-mobile-transparent-ui-overlay.css"/>

<!-- jquery JS files -->
<script type="text/javascript" src="jquery/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="jquery/jquery.mobile-1.3.2.min.js"></script>

</head>

<body>
<div data-role="page" id="page1" style="background: none;">
<div id="infoBox" class="info">
<div class="text">Scan:</div>
<div class="icons">
<img src='assets/austria.jpg'/>
<img src='assets/brazil.jpg'/>
<img src='assets/france.jpg'/>
<img src='assets/germany.jpg'/>
<img src='assets/italy.jpg'/>
</div>
<div id="infoBox" class="info">
<div class="text">Scan:</div>
<div class="icons">
<img src='assets/austria.jpg'/>
<img src='assets/brazil.jpg'/>
<img src='assets/france.jpg'/>
<img src='assets/germany.jpg'/>
<img src='assets/italy.jpg'/>
</div>
<div id="loadingMessage" class="info">Loading ...</div>
</div>
<div id="loadingMessage" class="info">Loading ...</div>

<div id="errorMessage"></div>
<div id="errorMessage"></div>

<div id="scanButtonWrapper">
<a href="javascript: World.scan();" data-role="button" data-inline="true">Scan</a>
</div>
<div id="scanButtonWrapper">
<input type="button" id="scanButton" value="Scan" onclick="World.scan()">
</div>

<script src="js/singleimagerecognition.js"></script>
</body>
</html>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@
<script type="text/javascript" src="../ade.js"></script>

<link rel="stylesheet" href="css/default.css">

<!-- jquery mobile CSS -->
<link rel="stylesheet" href="jquery/jquery.mobile-1.3.2.min.css"/>
<!-- required to set background transparent & enable "click through" -->
<link rel="stylesheet" href="jquery/jquery-mobile-transparent-ui-overlay.css"/>

<!-- jquery JS files -->
<script type="text/javascript" src="jquery/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="jquery/jquery.mobile-1.3.2.min.js"></script>

</head>

<body>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,34 +12,21 @@
<script src="https://www.wikitude.com/libs/architect.js"></script>
<script type="text/javascript" src="../ade.js"></script>


<!-- jquery mobile CSS -->
<link rel="stylesheet" href="jquery/jquery.mobile-1.3.2.min.css"/>
<!-- required to set background transparent & enable "click through" -->
<link rel="stylesheet" href="jquery/jquery-mobile-transparent-ui-overlay.css"/>

<!-- jquery JS files -->
<script type="text/javascript" src="jquery/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="jquery/jquery.mobile-1.3.2.min.js"></script>

<link rel="stylesheet" href="css/default.css">

</head>

<body>
<div data-role="page" id="page1" style="background: none;">
<div id="infoBox" class="info">
<div class="text">Scan:</div>
<div class="icons">
<img src='assets/austria.jpg'/>
<img src='assets/brazil.jpg'/>
<img src='assets/france.jpg'/>
<img src='assets/germany.jpg'/>
<img src='assets/italy.jpg'/>
</div>
<div id="infoBox" class="info">
<div class="text">Scan:</div>
<div class="icons">
<img src='assets/austria.jpg'/>
<img src='assets/brazil.jpg'/>
<img src='assets/france.jpg'/>
<img src='assets/germany.jpg'/>
<img src='assets/italy.jpg'/>
</div>
<div id="loadingMessage" class="info">Loading ...</div>
</div>
<div id="loadingMessage" class="info">Loading ...</div>
<script src="js/usingmetainformationintheresponse.js"></script>
</body>
</html>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion XamarinExampleApp/Droid/Assets/samples/ade.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions XamarinExampleApp/Droid/Properties/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="9.2.0" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" package="com.wikitude.xamarinexample">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="27" />
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="9.3.0" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" package="com.wikitude.xamarinexample">
<uses-sdk android:minSdkVersion="22" android:targetSdkVersion="29" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
Expand Down
Loading

0 comments on commit 785831c

Please sign in to comment.