Skip to content

Commit

Permalink
add ruiru and ip
Browse files Browse the repository at this point in the history
  • Loading branch information
Okuro3499 committed Sep 11, 2024
1 parent 64033f2 commit 3286e02
Show file tree
Hide file tree
Showing 2 changed files with 166 additions and 22 deletions.
94 changes: 83 additions & 11 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">

<queries>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:mimeType="application/vnd.android.package-archive" />
</intent>
</queries>
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>

<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
<uses-permission
android:name="android.permission.BLUETOOTH"
android:required="false" />
Expand Down Expand Up @@ -139,11 +141,71 @@
android:port="54380" />
<data android:pathPattern="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="https" />
<data android:host="planet.uriur.ole.org" />
<data android:pathPattern="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="http" />
<data android:host="planet.uriur.ole.org" />
<data android:pathPattern="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="http" />
<data android:host="planet.ruiru.ole.org" />
<data android:pathPattern="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="https" />
<data android:host="planet.ruiru.ole.org" />
<data android:pathPattern="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="http" />
<data android:host="192.168.100.27" />
<data android:pathPattern="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="http" />
<data android:host="192.168.100.178" />
<data android:pathPattern="/eng/login" />
</intent-filter>
</activity>
<activity
android:name=".ui.sync.LoginActivity"
android:exported="false"
android:configChanges="screenSize|screenLayout|orientation|keyboardHidden|keyboard"/>
android:configChanges="screenSize|screenLayout|orientation|keyboardHidden|keyboard" />

<activity
android:name=".ui.userprofile.BecomeMemberActivity"
Expand All @@ -168,7 +230,8 @@
<activity
android:name=".ui.resources.AddResourceActivity"
android:theme="@style/AppTheme" />
<activity android:name=".ui.viewer.AudioPlayerActivity"
<activity
android:name=".ui.viewer.AudioPlayerActivity"
android:configChanges="orientation|screenSize" />
<activity
android:name=".ui.feedback.FeedbackDetailActivity"
Expand All @@ -179,26 +242,34 @@
android:label="@string/title_activity_dashboard"
android:windowSoftInputMode="adjustPan"
android:theme="@style/FullscreenTheme" />
<activity android:name=".ui.viewer.PDFReaderActivity"
<activity
android:name=".ui.viewer.PDFReaderActivity"
android:configChanges="orientation|screenSize" />
<activity android:name=".ui.viewer.WebViewActivity"
<activity
android:name=".ui.viewer.WebViewActivity"
android:configChanges="orientation|screenSize" />
<activity android:name=".ui.viewer.VideoPlayerActivity"
<activity
android:name=".ui.viewer.VideoPlayerActivity"
android:configChanges="orientation|screenSize" />
<activity android:name=".ui.viewer.ImageViewerActivity"
<activity
android:name=".ui.viewer.ImageViewerActivity"
android:configChanges="orientation|screenSize" />
<activity android:name=".ui.viewer.TextFileViewerActivity"
<activity
android:name=".ui.viewer.TextFileViewerActivity"
android:configChanges="orientation|screenSize" />
<activity android:name=".ui.viewer.MarkdownViewerActivity"
<activity
android:name=".ui.viewer.MarkdownViewerActivity"
android:configChanges="orientation|screenSize" />
<activity android:name=".ui.viewer.CSVViewerActivity"
<activity
android:name=".ui.viewer.CSVViewerActivity"
android:configChanges="orientation|screenSize" />
<activity
android:name=".ui.dictionary.DictionaryActivity"
android:theme="@style/AppTheme" />
<activity
android:name=".ui.SettingActivity"
android:theme="@style/AppTheme" />

<provider
android:name="androidx.core.content.FileProvider"
android:authorities="org.ole.planet.myplanet.fileprovider"
Expand All @@ -208,7 +279,8 @@
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" />
</provider>
<service android:name=".datamanager.MyDownloadService"
<service
android:name=".datamanager.MyDownloadService"
android:exported="false" />
</application>
</manifest>
94 changes: 83 additions & 11 deletions app/src/main/AndroidManifest.xml.lite
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">

<queries>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:mimeType="application/vnd.android.package-archive" />
</intent>
</queries>
<!-- <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>-->

<!-- <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />-->
<uses-permission
android:name="android.permission.BLUETOOTH"
android:required="false" />
Expand Down Expand Up @@ -139,11 +141,71 @@
android:port="54380" />
<data android:pathPattern="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="https" />
<data android:host="planet.uriur.ole.org" />
<data android:pathPattern="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="http" />
<data android:host="planet.uriur.ole.org" />
<data android:pathPattern="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="http" />
<data android:host="planet.ruiru.ole.org" />
<data android:pathPattern="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="https" />
<data android:host="planet.ruiru.ole.org" />
<data android:pathPattern="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="http" />
<data android:host="192.168.100.27" />
<data android:pathPattern="/eng/login" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="http" />
<data android:host="192.168.100.178" />
<data android:pathPattern="/eng/login" />
</intent-filter>
</activity>
<activity
android:name=".ui.sync.LoginActivity"
android:exported="false"
android:configChanges="screenSize|screenLayout|orientation|keyboardHidden|keyboard"/>
android:configChanges="screenSize|screenLayout|orientation|keyboardHidden|keyboard" />

<activity
android:name=".ui.userprofile.BecomeMemberActivity"
Expand All @@ -168,7 +230,8 @@
<activity
android:name=".ui.resources.AddResourceActivity"
android:theme="@style/AppTheme" />
<activity android:name=".ui.viewer.AudioPlayerActivity"
<activity
android:name=".ui.viewer.AudioPlayerActivity"
android:configChanges="orientation|screenSize" />
<activity
android:name=".ui.feedback.FeedbackDetailActivity"
Expand All @@ -179,26 +242,34 @@
android:label="@string/title_activity_dashboard"
android:windowSoftInputMode="adjustPan"
android:theme="@style/FullscreenTheme" />
<activity android:name=".ui.viewer.PDFReaderActivity"
<activity
android:name=".ui.viewer.PDFReaderActivity"
android:configChanges="orientation|screenSize" />
<activity android:name=".ui.viewer.WebViewActivity"
<activity
android:name=".ui.viewer.WebViewActivity"
android:configChanges="orientation|screenSize" />
<activity android:name=".ui.viewer.VideoPlayerActivity"
<activity
android:name=".ui.viewer.VideoPlayerActivity"
android:configChanges="orientation|screenSize" />
<activity android:name=".ui.viewer.ImageViewerActivity"
<activity
android:name=".ui.viewer.ImageViewerActivity"
android:configChanges="orientation|screenSize" />
<activity android:name=".ui.viewer.TextFileViewerActivity"
<activity
android:name=".ui.viewer.TextFileViewerActivity"
android:configChanges="orientation|screenSize" />
<activity android:name=".ui.viewer.MarkdownViewerActivity"
<activity
android:name=".ui.viewer.MarkdownViewerActivity"
android:configChanges="orientation|screenSize" />
<activity android:name=".ui.viewer.CSVViewerActivity"
<activity
android:name=".ui.viewer.CSVViewerActivity"
android:configChanges="orientation|screenSize" />
<activity
android:name=".ui.dictionary.DictionaryActivity"
android:theme="@style/AppTheme" />
<activity
android:name=".ui.SettingActivity"
android:theme="@style/AppTheme" />

<provider
android:name="androidx.core.content.FileProvider"
android:authorities="org.ole.planet.myplanet.fileprovider"
Expand All @@ -208,7 +279,8 @@
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" />
</provider>
<service android:name=".datamanager.MyDownloadService"
<service
android:name=".datamanager.MyDownloadService"
android:exported="false" />
</application>
</manifest>

0 comments on commit 3286e02

Please sign in to comment.