Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #153 from HODLERTECH/0.4.1d
0.4.1
- Loading branch information
Showing
233 changed files
with
151,373 additions
and
44,805 deletions.
There are no files selected for viewing
83 changes: 83 additions & 0 deletions
83
HODLER_Multiplatform_Win_And_iOS_Linux/APP.AndroidManifest.template.xml
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 |
---|---|---|
@@ -0,0 +1,83 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- BEGIN_INCLUDE(manifest) --> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="%package%" | ||
android:versionCode="%versionCode%" | ||
android:versionName="%versionName%" | ||
android:installLocation="%installLocation%"> | ||
|
||
<!-- This is the platform API where NativeActivity was introduced. --> | ||
<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="26" /> | ||
<uses-permission-sdk-23 android:name="android.permission.CAMERA" /> | ||
<uses-permission android:name="android.permission.CAMERA" android:maxSdkVersion="22" /> | ||
|
||
<uses-permission-sdk-23 android:name="android.permission.READ_EXTERNAL_STORAGE" /> | ||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="22" /> | ||
|
||
<uses-permission-sdk-23 android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | ||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="22" /> | ||
|
||
<uses-permission-sdk-23 android:name="android.permission.READ_INTERNAL_STORAGE" /> | ||
<uses-permission android:name="android.permission.READ_INTERNAL_STORAGE" android:maxSdkVersion="22" /> | ||
|
||
<uses-permission-sdk-23 android:name="android.permission.WRITE_INTERNAL_STORAGE" /> | ||
<uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" android:maxSdkVersion="22" /> | ||
|
||
<uses-permission android:name="android.permission.INTERNET" /> | ||
<uses-permission android:name="android.permission.WAKE_LOCK" /> | ||
<!-- <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> | ||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | ||
<uses-permission android:name="android.permission.READ_INTERNAL_STORAGE" /> | ||
<uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" /> --> | ||
|
||
<uses-permission android:name="android.permission.VIBRATE" /> | ||
<uses-feature android:glEsVersion="0x00020000" android:required="True"/> | ||
<application android:persistent="%persistent%" | ||
android:restoreAnyVersion="%restoreAnyVersion%" | ||
android:label="%label%" | ||
android:debuggable="%debuggable%" | ||
android:largeHeap="%largeHeap%" | ||
android:icon="%icon%" | ||
android:theme="%theme%" | ||
android:hardwareAccelerated="%hardwareAccelerated%"> | ||
<provider | ||
android:name="android.support.v4.content.FileProvider" | ||
android:authorities="tech.hodler.core.fileProvider" | ||
android:grantUriPermissions="true" | ||
android:exported="false"> | ||
<meta-data | ||
android:name="android.support.FILE_PROVIDER_PATHS" | ||
android:resource="@xml/file_paths" /> | ||
</provider> | ||
<%application-meta-data%> | ||
<%services%> | ||
<!-- Our activity is a subclass of the built-in NativeActivity framework class. | ||
This will take care of integrating with our NDK code. --> | ||
<activity android:name="com.embarcadero.firemonkey.FMXNativeActivity" | ||
android:label="%activityLabel%" | ||
android:configChanges="orientation|keyboard|keyboardHidden|screenSize" | ||
android:launchMode="singleTask"> | ||
<!--<activity android:name="tech.hodler.additional.NativeActivity" | ||
android:configChanges="orientation|keyboard" /> --> | ||
|
||
|
||
|
||
<!-- Tell NativeActivity the name of our .so --> | ||
<meta-data android:name="android.app.lib_name" | ||
android:value="%libNameValue%" /> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
<category android:name="android.intent.category.LAUNCHER" /> | ||
<!-- <category android:name="android.intent.category.DEFAULT"/>--> | ||
<!--<category android:name="android.intent.category.HOME"/>--> | ||
</intent-filter> | ||
</activity> | ||
|
||
<!--<activity android:name="com.lamerman.FileDialog" | ||
android:configChanges="orientation|keyboard" />--> | ||
<%activity%> | ||
<%receivers%> | ||
</application> | ||
</manifest> | ||
<!-- END_INCLUDE(manifest) --> |
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
26 changes: 26 additions & 0 deletions
26
HODLER_Multiplatform_Win_And_iOS_Linux/CrossPlatformHeaders.pas
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
unit CrossPlatformHeaders; | ||
|
||
interface | ||
type | ||
AnsiString = string; | ||
|
||
type | ||
WideString = string; | ||
|
||
type | ||
AnsiChar = Char; | ||
{$IF DEFINED(ANDROID) OR DEFINED(IOS) } | ||
|
||
const | ||
StrStartIteration = 0 ; | ||
|
||
|
||
{$ELSE} | ||
|
||
const | ||
StrStartIteration = 1; | ||
{$ENDIF} | ||
|
||
implementation | ||
|
||
end. |
Oops, something went wrong.