-
-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing char index on D11 on Mobile which has changed something and now it is starting on index 1, instead 0 ¬¬
- Loading branch information
Igor bastos
committed
Oct 17, 2021
1 parent
3dceb8a
commit 9a0696b
Showing
40 changed files
with
2,267 additions
and
3 deletions.
There are no files selected for viewing
58 changes: 58 additions & 0 deletions
58
samples/delphi/mobile/D11/Android/Debug/AndroidManifest.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,58 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- BEGIN_INCLUDE(manifest) --> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.DataSet.Serialize.Samples.MobileD11" | ||
android:versionCode="1" | ||
android:versionName="1.0.0" | ||
android:installLocation="auto"> | ||
<uses-sdk android:minSdkVersion="23" android:targetSdkVersion="30" /> | ||
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> | ||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> | ||
<uses-permission android:name="android.permission.CALL_PHONE" /> | ||
<uses-permission android:name="android.permission.CAMERA" /> | ||
<uses-permission android:name="android.permission.INTERNET" /> | ||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> | ||
<uses-permission android:name="android.permission.READ_PHONE_STATE" /> | ||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | ||
|
||
<uses-feature android:glEsVersion="0x00020000" android:required="true"/> | ||
<queries> | ||
|
||
</queries> | ||
<application | ||
android:persistent="False" | ||
android:restoreAnyVersion="False" | ||
android:label="mobileD11" | ||
android:debuggable="true" | ||
android:largeHeap="False" | ||
android:icon="@drawable/ic_launcher" | ||
android:theme="@style/AppTheme" | ||
android:hardwareAccelerated="true" | ||
android:resizeableActivity="false" | ||
android:requestLegacyExternalStorage="true"> | ||
|
||
|
||
|
||
|
||
<!-- 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="mobileD11" | ||
android:configChanges="orientation|keyboard|keyboardHidden|screenSize" | ||
android:launchMode="singleTask"> | ||
<!-- Tell NativeActivity the name of our .so --> | ||
<meta-data android:name="android.app.lib_name" android:value="mobileD11" /> | ||
|
||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
|
||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
|
||
<receiver android:name="com.embarcadero.rtl.notifications.NotificationAlarm" /> | ||
|
||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<color name="notification_accent_color">#000000</color> | ||
</resources> |
Binary file added
BIN
+6.57 MB
samples/delphi/mobile/D11/Android/Debug/mobileD11.classes/classes.dex
Binary file not shown.
58 changes: 58 additions & 0 deletions
58
samples/delphi/mobile/D11/Android/Debug/mobileD11/AndroidManifest.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,58 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- BEGIN_INCLUDE(manifest) --> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.DataSet.Serialize.Samples.MobileD11" | ||
android:versionCode="1" | ||
android:versionName="1.0.0" | ||
android:installLocation="auto"> | ||
<uses-sdk android:minSdkVersion="23" android:targetSdkVersion="30" /> | ||
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> | ||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> | ||
<uses-permission android:name="android.permission.CALL_PHONE" /> | ||
<uses-permission android:name="android.permission.CAMERA" /> | ||
<uses-permission android:name="android.permission.INTERNET" /> | ||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> | ||
<uses-permission android:name="android.permission.READ_PHONE_STATE" /> | ||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | ||
|
||
<uses-feature android:glEsVersion="0x00020000" android:required="true"/> | ||
<queries> | ||
|
||
</queries> | ||
<application | ||
android:persistent="False" | ||
android:restoreAnyVersion="False" | ||
android:label="mobileD11" | ||
android:debuggable="true" | ||
android:largeHeap="False" | ||
android:icon="@drawable/ic_launcher" | ||
android:theme="@style/AppTheme" | ||
android:hardwareAccelerated="true" | ||
android:resizeableActivity="false" | ||
android:requestLegacyExternalStorage="true"> | ||
|
||
|
||
|
||
|
||
<!-- 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="mobileD11" | ||
android:configChanges="orientation|keyboard|keyboardHidden|screenSize" | ||
android:launchMode="singleTask"> | ||
<!-- Tell NativeActivity the name of our .so --> | ||
<meta-data android:name="android.app.lib_name" android:value="mobileD11" /> | ||
|
||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
|
||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
|
||
<receiver android:name="com.embarcadero.rtl.notifications.NotificationAlarm" /> | ||
|
||
</application> | ||
</manifest> | ||
<!-- END_INCLUDE(manifest) --> |
Binary file added
BIN
+89.6 KB
samples/delphi/mobile/D11/Android/Debug/mobileD11/bin/mobileD11.apk.idsig
Binary file not shown.
Binary file added
BIN
+6.57 MB
samples/delphi/mobile/D11/Android/Debug/mobileD11/classes/classes.dex
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+2.02 KB
...les/delphi/mobile/D11/Android/Debug/mobileD11/res/drawable-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.89 KB
...delphi/mobile/D11/Android/Debug/mobileD11/res/drawable-hdpi/ic_notification.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.65 KB
...s/delphi/mobile/D11/Android/Debug/mobileD11/res/drawable-large/splash_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.22 KB
...les/delphi/mobile/D11/Android/Debug/mobileD11/res/drawable-ldpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.09 KB
...les/delphi/mobile/D11/Android/Debug/mobileD11/res/drawable-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.6 KB
...delphi/mobile/D11/Android/Debug/mobileD11/res/drawable-mdpi/ic_notification.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.02 KB
.../delphi/mobile/D11/Android/Debug/mobileD11/res/drawable-normal/splash_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.83 KB
...s/delphi/mobile/D11/Android/Debug/mobileD11/res/drawable-small/splash_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.36 KB
...es/delphi/mobile/D11/Android/Debug/mobileD11/res/drawable-xhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.27 KB
...elphi/mobile/D11/Android/Debug/mobileD11/res/drawable-xhdpi/ic_notification.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11 KB
.../delphi/mobile/D11/Android/Debug/mobileD11/res/drawable-xlarge/splash_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.05 KB
...s/delphi/mobile/D11/Android/Debug/mobileD11/res/drawable-xxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.95 KB
...lphi/mobile/D11/Android/Debug/mobileD11/res/drawable-xxhdpi/ic_notification.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.66 KB
.../delphi/mobile/D11/Android/Debug/mobileD11/res/drawable-xxxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.64 KB
...phi/mobile/D11/Android/Debug/mobileD11/res/drawable-xxxhdpi/ic_notification.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions
13
samples/delphi/mobile/D11/Android/Debug/mobileD11/res/drawable/splash_image_def.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,13 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" android:opacity="opaque"> | ||
<item android:drawable="@android:color/black" /> | ||
<item> | ||
<bitmap | ||
android:src="@drawable/splash_image" | ||
android:antialias="true" | ||
android:dither="true" | ||
android:filter="true" | ||
android:gravity="center" | ||
android:tileMode="disabled"/> | ||
</item> | ||
</layer-list> |
6 changes: 6 additions & 0 deletions
6
samples/delphi/mobile/D11/Android/Debug/mobileD11/res/values-v21/styles.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,6 @@ | ||
<resources xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<style name="AppTheme" parent="@android:style/Theme.Material.Light.NoActionBar"> | ||
<item name="android:windowBackground">@drawable/splash_image_def</item> | ||
<item name="android:windowClipToOutline">false</item> | ||
</style> | ||
</resources> |
4 changes: 4 additions & 0 deletions
4
samples/delphi/mobile/D11/Android/Debug/mobileD11/res/values/colors.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,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<color name="notification_accent_color">#000000</color> | ||
</resources> |
3 changes: 3 additions & 0 deletions
3
samples/delphi/mobile/D11/Android/Debug/mobileD11/res/values/strings.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,3 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources xmlns:android="http://schemas.android.com/apk/res/android"> | ||
</resources> |
6 changes: 6 additions & 0 deletions
6
samples/delphi/mobile/D11/Android/Debug/mobileD11/res/values/styles.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,6 @@ | ||
<resources xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<style name="AppTheme" parent="@android:style/Theme.NoTitleBar"> | ||
<item name="android:windowBackground">@drawable/splash_image_def</item> | ||
<item name="android:windowNoTitle">true</item> | ||
</style> | ||
</resources> |
13 changes: 13 additions & 0 deletions
13
samples/delphi/mobile/D11/Android/Debug/splash_image_def.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,13 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" android:opacity="opaque"> | ||
<item android:drawable="@android:color/black" /> | ||
<item> | ||
<bitmap | ||
android:src="@drawable/splash_image" | ||
android:antialias="true" | ||
android:dither="true" | ||
android:filter="true" | ||
android:gravity="center" | ||
android:tileMode="disabled"/> | ||
</item> | ||
</layer-list> |
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,3 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources xmlns:android="http://schemas.android.com/apk/res/android"> | ||
</resources> |
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,6 @@ | ||
<resources xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<style name="AppTheme" parent="@android:style/Theme.Material.Light.NoActionBar"> | ||
<item name="android:windowBackground">@drawable/splash_image_def</item> | ||
<item name="android:windowClipToOutline">false</item> | ||
</style> | ||
</resources> |
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,6 @@ | ||
<resources xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<style name="AppTheme" parent="@android:style/Theme.NoTitleBar"> | ||
<item name="android:windowBackground">@drawable/splash_image_def</item> | ||
<item name="android:windowNoTitle">true</item> | ||
</style> | ||
</resources> |
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,49 @@ | ||
<?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%"> | ||
<uses-sdk android:minSdkVersion="%minSdkVersion%" android:targetSdkVersion="%targetSdkVersion%" /> | ||
<%uses-permission%> | ||
<uses-feature android:glEsVersion="0x00020000" android:required="true"/> | ||
<queries> | ||
<%queries-child-elements%> | ||
</queries> | ||
<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%" | ||
android:resizeableActivity="false" | ||
android:requestLegacyExternalStorage="true"> | ||
<%provider%> | ||
<%application-meta-data%> | ||
<%uses-libraries%> | ||
<%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"> | ||
<!-- 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" /> | ||
</intent-filter> | ||
</activity> | ||
<%activity%> | ||
<%receivers%> | ||
</application> | ||
</manifest> | ||
<!-- END_INCLUDE(manifest) --> |
Oops, something went wrong.