Skip to content

Commit

Permalink
加入电子称重
Browse files Browse the repository at this point in the history
  • Loading branch information
DelphiTeacher committed Oct 27, 2020
1 parent 7bc8e88 commit d38d894
Show file tree
Hide file tree
Showing 38 changed files with 4,921 additions and 0 deletions.
55 changes: 55 additions & 0 deletions TScale电子称重/AndroidManifest.template.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?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%" />





<!-- SDCard中创建与删除文件权限 -->
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
<!-- 向SDCard写入数据权限 -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />



<%uses-permission%>
<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%"
android:resizeableActivity="false">

<%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">
<!-- 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) -->
639 changes: 639 additions & 0 deletions TScale电子称重/EScaleSDK/Androidapi.JNI.libserial_release_aar.pas

Large diffs are not rendered by default.

611 changes: 611 additions & 0 deletions TScale电子称重/EScaleSDK/Androidapi.JNI.tsscale_aar.pas

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions TScale电子称重/EScaleSDK/DeployConfig.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[]
LastProjectFilePath=C:\OrangeFreeSDK\电子称重\TestEScale.dproj
-=
--=
---=
IOSLinkerOptions=
[AndroidAar]
0=EScaleSDK\libserial-release.aar
1=EScaleSDK\tsscale.aar
[AndroidUsersPermissions]
0= <!-- SDCard中创建与删除文件权限 -->
1= <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
2= <!-- 向SDCard写入数据权限 -->
3= <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="serial.android"
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="22" />

<application android:allowBackup="true" />

</manifest>
Empty file.
Binary file not shown.
Binary file not shown.
Binary file added TScale电子称重/EScaleSDK/tsscale.aar
Binary file not shown.
15 changes: 15 additions & 0 deletions TScale电子称重/EScaleSDK/tsscale_aar/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.tscale.tsscale"
android:versionCode="1"
android:versionName="0.2.3" >

<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="28" />
<!-- SDCard中创建与删除文件权限 -->
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
<!-- 向SDCard写入数据权限 -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

</manifest>
Loading

0 comments on commit d38d894

Please sign in to comment.