Nexacro17 프로젝트 추가

This commit is contained in:
techAdmin 2023-09-18 15:40:22 +09:00
parent c29d74a807
commit 7a26644b8f
195 changed files with 4209 additions and 0 deletions

BIN
.DS_Store vendored

Binary file not shown.

BIN
Nexacro14/.DS_Store vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Nexacro17/.DS_Store vendored Normal file

Binary file not shown.

BIN
Nexacro17/Android/.DS_Store vendored Normal file

Binary file not shown.

BIN
Nexacro17/Android/AndroidX/.DS_Store vendored Normal file

Binary file not shown.

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<wildcardResourcePatterns>
<entry name="!?*.java" />
<entry name="!?*.form" />
<entry name="!?*.class" />
<entry name="!?*.groovy" />
<entry name="!?*.scala" />
<entry name="!?*.flex" />
<entry name="!?*.kt" />
<entry name="!?*.clj" />
</wildcardResourcePatterns>
<bytecodeTargetLevel target="1.8" />
</component>
</project>

View File

@ -0,0 +1,3 @@
<component name="CopyrightManager">
<settings default="" />
</component>

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleMigrationSettings" migrationVersion="1" />
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="testRunner" value="GRADLE" />
<option name="distributionType" value="LOCAL" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/app" />
<option value="$PROJECT_DIR$/gvr-libs-base" />
<option value="$PROJECT_DIR$/gvr-libs-common" />
<option value="$PROJECT_DIR$/gvr-libs-commonwidget" />
<option value="$PROJECT_DIR$/gvr-libs-videowidget" />
</set>
</option>
<option name="resolveModulePerSourceSet" value="false" />
</GradleProjectSettings>
</option>
</component>
</project>

View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="EntryPointsManager">
<entry_points version="2.0" />
</component>
<component name="NullableNotNullManager">
<option name="myDefaultNullable" value="android.support.annotation.Nullable" />
<option name="myDefaultNotNull" value="android.support.annotation.NonNull" />
<option name="myNullables">
<value>
<list size="4">
<item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.Nullable" />
<item index="1" class="java.lang.String" itemvalue="javax.annotation.Nullable" />
<item index="2" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.Nullable" />
<item index="3" class="java.lang.String" itemvalue="android.support.annotation.Nullable" />
</list>
</value>
</option>
<option name="myNotNulls">
<value>
<list size="4">
<item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.NotNull" />
<item index="1" class="java.lang.String" itemvalue="javax.annotation.Nonnull" />
<item index="2" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.NonNull" />
<item index="3" class="java.lang.String" itemvalue="android.support.annotation.NonNull" />
</list>
</value>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
<option name="id" value="Android" />
</component>
</project>

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/modules/AndroidXHybrid17.iml" filepath="$PROJECT_DIR$/.idea/modules/AndroidXHybrid17.iml" />
<module fileurl="file://$PROJECT_DIR$/.idea/modules/app/AndroidXHybrid17.app.iml" filepath="$PROJECT_DIR$/.idea/modules/app/AndroidXHybrid17.app.iml" />
<module fileurl="file://$PROJECT_DIR$/.idea/modules/gvr-libs-base/AndroidXHybrid17.gvr-libs-base.iml" filepath="$PROJECT_DIR$/.idea/modules/gvr-libs-base/AndroidXHybrid17.gvr-libs-base.iml" />
<module fileurl="file://$PROJECT_DIR$/.idea/modules/gvr-libs-common/AndroidXHybrid17.gvr-libs-common.iml" filepath="$PROJECT_DIR$/.idea/modules/gvr-libs-common/AndroidXHybrid17.gvr-libs-common.iml" />
<module fileurl="file://$PROJECT_DIR$/.idea/modules/gvr-libs-commonwidget/AndroidXHybrid17.gvr-libs-commonwidget.iml" filepath="$PROJECT_DIR$/.idea/modules/gvr-libs-commonwidget/AndroidXHybrid17.gvr-libs-commonwidget.iml" />
<module fileurl="file://$PROJECT_DIR$/.idea/modules/gvr-libs-videowidget/AndroidXHybrid17.gvr-libs-videowidget.iml" filepath="$PROJECT_DIR$/.idea/modules/gvr-libs-videowidget/AndroidXHybrid17.gvr-libs-videowidget.iml" />
</modules>
</component>
</project>

View File

@ -0,0 +1,53 @@
apply plugin: 'com.android.application'
android {
compileSdkVersion 30
buildToolsVersion "28.0.3"
defaultConfig {
applicationId "tobesoft.androidhybrid17"
multiDexEnabled true
minSdkVersion 19
targetSdkVersion 30
versionCode 1
versionName "1.0"
// testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
// release .
signingConfigs {
release {
storeFile file("nexacro-example.jks")
storePassword "tobe0701"
keyAlias "nexacro-example"
keyPassword "tobe0701"
}
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
// compile fileTree(include: ['*.jar'], dir: 'libs')
// androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
// exclude group: 'com.android.support', module: 'support-annotations'
// })
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation 'androidx.exifinterface:exifinterface:1.3.2'
implementation 'com.google.android.gms:play-services-maps:16.1.0'
implementation 'com.google.android.gms:play-services-location:16.0.0'
implementation 'com.google.firebase:firebase-core:16.0.6'
implementation 'com.google.firebase:firebase-messaging:17.3.4'
compile 'androidx.multidex:multidex:2.0.0'
implementation 'com.google.android.material:material:1.0.0'
compile files('libs/nexacro17.androidx.jar')
compile project(':gvr-libs-videowidget')
compile project(':gvr-libs-commonwidget')
compile project(':gvr-libs-common')
// testCompile 'junit:junit:4.12'
}
apply plugin: 'com.google.gms.google-services'

View File

@ -0,0 +1,35 @@
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "tobesoft.androidruntime16"
minSdkVersion 19
targetSdkVersion 23
versionCode 1
versionName "1.0"
// testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
// compile fileTree(include: ['*.jar'], dir: 'libs')
// androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
// exclude group: 'com.android.support', module: 'support-annotations'
// })
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:support-v4:20.0.0'
compile 'com.google.android.gms:play-services:+'
compile files('libs/nexacro16.jar')
compile project(':gvr-libs-videowidget')
compile project(':gvr-libs-commonwidget')
compile project(':gvr-libs-common')
// testCompile 'junit:junit:4.12'
}

View File

@ -0,0 +1,127 @@
{
"project_info": {
"project_number": "995072755403",
"firebase_url": "https://summer-nexus-581.firebaseio.com",
"project_id": "summer-nexus-581",
"storage_bucket": "summer-nexus-581.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:995072755403:android:0488510b9eaa9ad9",
"android_client_info": {
"package_name": "com.nexacro.nexacroexample14"
}
},
"oauth_client": [
{
"client_id": "995072755403-ksam7299dh20s90batq23eis6gpv1749.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyAaOYYoqFY9-AcA_P5jUtK_-2EmeoLvy7g"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "995072755403-ksam7299dh20s90batq23eis6gpv1749.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:995072755403:android:876a1279862314de",
"android_client_info": {
"package_name": "com.nexacro.nexacroexample17"
}
},
"oauth_client": [
{
"client_id": "995072755403-ksam7299dh20s90batq23eis6gpv1749.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyAaOYYoqFY9-AcA_P5jUtK_-2EmeoLvy7g"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "995072755403-ksam7299dh20s90batq23eis6gpv1749.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:995072755403:android:28b014c688afb816",
"android_client_info": {
"package_name": "nexacro.launcher"
}
},
"oauth_client": [
{
"client_id": "995072755403-ksam7299dh20s90batq23eis6gpv1749.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyAaOYYoqFY9-AcA_P5jUtK_-2EmeoLvy7g"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "995072755403-ksam7299dh20s90batq23eis6gpv1749.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:995072755403:android:cf2f72e91876dd5b",
"android_client_info": {
"package_name": "tobesoft.androidhybrid17"
}
},
"oauth_client": [
{
"client_id": "995072755403-ksam7299dh20s90batq23eis6gpv1749.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyAaOYYoqFY9-AcA_P5jUtK_-2EmeoLvy7g"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "995072755403-ksam7299dh20s90batq23eis6gpv1749.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
}
],
"configuration_version": "1"
}

View File

@ -0,0 +1,17 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in C:\Users\yoonjin\AppData\Local\Android\sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

View File

@ -0,0 +1,110 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="tobesoft.androidhybrid17"
android:versionCode="1"
android:versionName="1.0" android:installLocation="auto">
<uses-feature android:required="true" android:glEsVersion="0x00020000"/>
<uses-feature android:name="android.hardware.camera" android:required="false"/>
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SEND_SMS" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<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.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.READ_SMS" />
<uses-permission android:name="android.permission.WRITE_SMS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.GET_TASKS" /> <!-- ExternalAPI를 위한 permission -->
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/> <!-- Google map을 위한 permission -->
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
<application android:label="@string/app_name"
android:allowBackup="false"
android:icon="@drawable/ic_launcher"
android:theme="@style/AppTheme"
android:hasCode="true"
android:usesCleartextTraffic="true">
<!-- 가장 먼저 실행될 액티비티로 디버깅용 파일을 읽어서 시작 프로젝트를 설정하는 액티비티를 뛰우게 하기위한 매니페스트 설정 -->
<activity
android:name="tobesoft.androidhybrid.MainActivity"
android:label="@string/app_name" android:configChanges="orientation|keyboardHidden|screenSize" android:theme="@style/Theme.AppCompat.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.nexacro.NexacroActivity"
android:windowSoftInputMode="adjustResize"
android:theme="@style/Theme.AppCompat.Light.NoActionBar"
android:launchMode="singleTask"
android:configChanges="orientation|keyboardHidden|screenSize|screenLayout|smallestScreenSize">
<intent-filter>
<action android:name="OPEN_NEXACRO_ACTIVITY_EXAMPLE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name="com.nexacro.deviceAPI.FileDialogActivity" android:screenOrientation="sensor">
<intent-filter>
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<receiver android:name="com.nexacro.deviceAPI.SmsRecv">
<intent-filter>
<action android:name="android.provider.Telephony.SMS_RECEIVED" />
</intent-filter>
<!-- MMS는 KITKAT부터 지원하는 공식 API를 사용하여 차후에 지원 예정 -->
<!--<intent-filter>-->
<!--<action android:name="android.provider.Telephony.WAP_PUSH_RECEIVED" />-->
<!--<data android:mimeType="application/vnd.wap.mms-message" />-->
<!--</intent-filter>-->
</receiver>
<service android:name="com.nexacro.notification.NexacroNotificationService">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths"/>
</provider>
<!-- Google map -->
<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="AIzaSyAaOYYoqFY9-AcA_P5jUtK_-2EmeoLvy7g" />
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
</application>
</manifest>

View File

@ -0,0 +1,38 @@
package tobesoft.androidhybrid;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.nexacro.NexacroUpdatorActivity;
public class MainActivity extends NexacroUpdatorActivity {
public MainActivity() {
super();
//common
setProjectURL("http://your project url");
setBootstrapURL("http://your bootstrap url/start_android.json");
}
@Override
protected void onCreate(Bundle savedInstanceState) {
Intent intent = getIntent();
if(intent != null) {
String bootstrapURL = intent.getStringExtra("bootstrapURL");
String projectUrl = intent.getStringExtra("projectUrl");
if(bootstrapURL != null) {
setBootstrapURL(bootstrapURL);
setProjectURL(projectUrl);
}
}
super.onCreate(savedInstanceState);
}
@Override
public void setContentView(View view) {
super.setContentView(view);
}
}

View File

@ -0,0 +1,28 @@
package tobesoft.androidhybrid;
import android.os.Bundle;
import android.view.View;
import com.nexacro.NexacroActivity;
import com.nexacro.NexacroResourceManager;
/**
* Created by yoonjin on 2016-11-23.
*/
public class MainActivity2 extends NexacroActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
/* for extends NexacroActivity (for soZom module)*/
NexacroResourceManager.createInstance(this);
NexacroResourceManager.getInstance().setBootstrapURL("http://your bootstrap url/start_android.json");
NexacroResourceManager.getInstance().setProjectURL("http://your project url/");
super.onCreate(savedInstanceState);
}
@Override
public void setContentView(View view) {
super.setContentView(view);
}
}

View File

@ -0,0 +1,32 @@
package tobesoft.androidhybrid;
import android.util.Log;
import com.nexacro.NexacroActivity;
import com.nexacro.event.NexacroEventHandler;
public class UserNotify implements NexacroEventHandler {
public UserNotify() {
Log.d("UserNotify", "<init>");
if(NexacroActivity.getInstance() != null)
NexacroActivity.getInstance().setNexacroEventListener(this);
// NexacroActivity.getInstance().setNexacroEventListener(new NexacroEventHandler() {
// @Override
// public void onUserNotify(int nNotifyID, String strMessage) {
// Log.d("UserNotify", "onUserNotify nNotifyID : " + nNotifyID + " strMessage : " + strMessage);
//
// // TODO :
// }
// });
}
@Override
public void onUserNotify(int nNotifyID, String strMessage) {
Log.d("UserNotify", "onUserNotify nNotifyID : " + nNotifyID + " strMessage : " + strMessage);
// TODO :
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#FFFFFF"/>
<stroke android:width="2dp" android:color="#AAAAAA" />
</shape>

View File

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<!-- 클릭되었을때의 상태 -->
<item android:state_pressed="true">
<layer-list>
<!-- 테두리가 있는 사각형 -->
<item>
<shape android:shape="rectangle">
<solid android:color="#ff41d5ff"/>
<stroke android:width="1dp" android:color="#AAAAAA" />
</shape>
</item>
<!-- 오른쪽에 2dp 사이즈의 패딩을 설정한 사각형 -->
<item android:right="2dp">
<shape android:shape="rectangle">
<solid android:color="#ff41d5ff"/>
</shape>
</item>
</layer-list>
</item>
<!-- 통상 상태 -->
<item android:state_pressed="false">
<layer-list>
<!-- 테두리만 있는 사각형 -->
<item>
<shape android:shape="rectangle">
<stroke android:width="1dp" android:color="#AAAAAA" />
</shape>
</item>
<!-- 오른쪽에 1dp 사이즈의 패딩을 설정한 사각형 -->
<item android:right="1dp">
<shape android:shape="rectangle">
<solid android:color="#FFFFFF"/>
</shape>
</item>
</layer-list>
</item>
</selector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:clickable="true"
android:gravity="center_vertical"
android:paddingBottom="0dip"
android:paddingTop="0dip" >
<TextView
android:id="@+id/tv_title"
android:layout_width="78dp"
android:layout_height="match_parent"
android:ellipsize="marquee"
android:gravity="center_vertical|center_horizontal"
android:singleLine="true"
android:textColor="#666"
android:textIsSelectable="false"
android:layout_marginLeft="2dp"
android:background="@drawable/clipboard_separator"
android:textSize="12sp" />
</LinearLayout>

View File

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="0dp"
android:layout_marginTop="0dp"
android:layout_gravity="left|top">
<HorizontalScrollView
android:id="@+id/scroll"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fadingEdgeLength="0dip"
android:paddingLeft="1dip"
android:paddingStart="1dip"
android:paddingRight="1dip"
android:background="@drawable/clipboard_border"
android:scrollbars="none"
android:layout_gravity="left|top">
<LinearLayout
android:id="@+id/tracks"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="10dip"
android:paddingBottom="10dip"
android:orientation="horizontal"
android:gravity="left|top">
<!--<ImageView-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:visibility="gone" />-->
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="New Text"
android:visibility="gone"
android:id="@+id/dummy" />
</LinearLayout>
</HorizontalScrollView>
</LinearLayout>

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/nexacro_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/transparent"
tools:context=".deviceAPI.FileDialogActivity" >
<com.nexacro.view.NexacroLayout
android:id="@+id/nexacro_layout"
android:background="@android:color/transparent"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<!--
<com.nexacro.view.NexacroView
android:id="@+id/nexacro_main"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
</com.nexacro.view.NexacroView>-->
</com.nexacro.view.NexacroLayout>
</FrameLayout>

View File

@ -0,0 +1,81 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#99FF8200"
android:orientation="vertical"
android:layoutDirection="ltr">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:paddingTop="4dip"
android:orientation="horizontal"
android:weightSum="1">
<ImageButton android:id="@+id/prev" style="@android:style/MediaButton.Previous" />
<ImageButton android:id="@+id/rew" style="@android:style/MediaButton.Rew" />
<ImageButton android:id="@+id/pause" style="@android:style/MediaButton.Play"/>
<ImageButton android:id="@+id/ffwd" style="@android:style/MediaButton.Ffwd" />
<ImageButton android:id="@+id/next" style="@android:style/MediaButton.Next" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView android:id="@+id/time_current"
android:textSize="14sp"
android:textStyle="bold"
android:paddingTop="4dip"
android:paddingStart="4dip"
android:layout_gravity="center_horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingEnd="4dip"
android:textColor="@color/dim_foreground_dark" />
<SeekBar
android:id="@+id/mediacontroller_progress"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="0dip"
android:layout_weight="1"
android:layout_height="32dip"
android:layout_alignParentStart="true"
android:layout_alignParentEnd="true" />
<TextView android:id="@+id/time"
android:textSize="14sp"
android:textStyle="bold"
android:paddingTop="4dip"
android:paddingEnd="4dip"
android:layout_gravity="center_horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="4dip"
android:textColor="@color/dim_foreground_dark" />
</LinearLayout>
</LinearLayout>

View File

@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">17 LaunchX</string>
<!-- Clipboard -->
<string name="copy">コピー</string>
<string name="paste">貼り付け</string>
<string name="cut">カット</string>
<string name="selectall">全て選択</string>
<string name="selectword">単語選択</string>
<!-- FileDialog -->
<string name="fd_ok">確認</string>
<string name="fd_cancel">キャンセル</string>
<string name="move">移動</string>
<string name="upper">上位</string>
<string name="filter">フィルター</string>
<string name="home">ホーム</string>
<string name="nofilename">ファイル名がありません。</string>
<string name="wantreplace">同一のファイル名があります。上書きしますか?</string>
<!-- Loading -->
<string name="needupdate">アップデートがあります。\r\n完了した後に, 再起動してください。</string>
<string name="loadingFail">初期ロードに失敗しました。\r\n再起動してください。</string>
<string name="updateFail">アップデートが失敗しました。\r\n再起動してください。</string>
<string name="notexist">起動ファイルがありません。\r\n再起動してください。</string>
<string name="BeingUpdated">アップデート中です。</string>
<string name="checkforupdates">アップデート確認中です。</string>
<string name="installforupdates">アップデート設置中です。</string>
<string name="downloadingforupdates">アップデートダウン中です。</string>
<string name="force_close">アップデートが完了しました。</string>
<string name="LoadingPleaseWait">ローディング 。。。\r\nお待ちください。</string>
<!-- Splash message -->
<string name="start_initialize">初期化</string>
<string name="check_license">ライセンスチェック</string>
<string name="load_frameworkmodule">フレームワークモジュールのロード</string>
<string name="load_extendmodule">拡張モジュールロード</string>
<string name="execute_frameworkscript">フレームワークスクリプトの実行</string>
<string name="load_application">応用プログラムロード</string>
<string name="load_failapplication">ADLファイルロード失敗. クリックすると閉じます</string>
<string name="Init_nexacro_engine">Initialize Nexacro engine</string>
<string name="loading_application">Load the application (loading the application)</string>
<string name="preparing_framework">Load the application (preparing the framework)</string>
<string name="executing_framework">Load the application (executing the framework)</string>
<string name="load_bootstrap">Load the application (bootstrapping)</string>
<!-- SSL -->
<string name="ssl_invalid">SSL証明書が有効ではありません。続きますか。</string>
</resources>

View File

@ -0,0 +1,73 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">17 LaunchX</string>
<!-- Clipboard -->
<string name="copy">복사하기</string>
<string name="paste">붙여넣기</string>
<string name="cut">잘라내기</string>
<string name="selectall">전체선택</string>
<string name="selectword">단어선택</string>
<!-- FileDialog -->
<string name="fd_ok">확인</string>
<string name="fd_cancel">취소</string>
<string name="move">이동</string>
<string name="upper">상위</string>
<string name="filter">필터</string>
<string name="home"></string>
<string name="nofilename">파일명이 없습니다.</string>
<string name="wantreplace">동일한 파일이 이미 존재합니다. 바꾸시겠습니까?</string>
<!-- Loading -->
<string name="needupdate">업데이트가 있습니다. \r\n완료 후 재시작 해 주세요.</string>
<string name="loadingFail">초기 로딩이 실패하였습니다. \r\n재시작 해 주세요.</string>
<string name="updateFail">업데이트가 실패하였습니다. \r\n재시작 해 주세요.</string>
<string name="notexist">구동에 필요한 파일이 없습니다. \r\n재시작 해 주세요.</string>
<string name="BeingUpdated">업데이트 중입니다.</string>
<string name="checkforupdates">업데이트 확인 중입니다.</string>
<string name="installforupdates">업데이트 설치 중입니다.</string>
<string name="downloadingforupdates">업데이트 다운 중입니다.</string>
<string name="force_close">업데이트가 되었습니다.</string>
<string name="LoadingPleaseWait">로딩중입니다.. \r\n잠시만 기다려주세요...</string>
<!-- Accessibility widget statue -->
<string name="listitem_description">%1$d 중에 %2$d, %3$s</string>
<string name="listitem_selected_description">%1$d 중에 %2$d, 선택됨, %3$s</string>
<string name="image_description">%1$s 이미지</string>
<string name="list_description">%1$s 선택됨</string>
<string name="editing_description">입력상자 현재 수정 중 입니다. %1s</string>
<string name="link_description">%1$s 링크</string>
<string name="editing_insert_description">%1$s</string>
<string name="editing_delete_description">%1$s 삭제됨</string>
<string name="spacebar">스페이스바</string>
<!-- Accessibility widget statue -->
<string name="checked">선택 됨</string>
<string name="unchecked">선택 안됨</string>
<!-- Accessibility reaction -->
<string name="click">클릭</string>
<!-- Splash message -->
<string name="start_initialize">Start Initialize</string>
<string name="check_license">Check License</string>
<string name="load_frameworkmodule">Load Framework Module</string>
<string name="load_extendmodule">Load Extend Module</string>
<string name="execute_frameworkscript">Execute Framework Script</string>
<string name="load_application">Load Application</string>
<string name="load_failapplication">Load Fail Application Initialize. Click And Close</string>
<string name="Init_nexacro_engine">넥사크로 엔진을 초기화 합니다.</string>
<string name="loading_application">어플리케이션을 로딩합니다.\n( 어플리케이션 로딩 )</string>
<string name="preparing_framework">어플리케이션을 로딩합니다.\n( 프레임워크 준비중 )</string>
<string name="executing_framework">어플리케이션을 로딩합니다.\n( 프레임워크 실행 )</string>
<string name="load_bootstrap">Load the application\n(bootstrapping)</string>
<!-- Confirm -->
<string name="ok"></string>
<string name="cancel">아니오</string>
<!-- SSL -->
<string name="ssl_invalid">SSL 인증서가 올바르지 않습니다. 계속 진행하시겠습니까?</string>
</resources>

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="dim_foreground_dark">#000000</color>
</resources>

View File

@ -0,0 +1,5 @@
<resources>
<style name="AppTheme" parent="android:Theme.Holo.Light" />
</resources>

View File

@ -0,0 +1,5 @@
<resources>
<style name="AppTheme" parent="android:Theme.Holo.Light.DarkActionBar" />
</resources>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<bool name="is_jellybean_or_higher">true</bool>
</resources>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<bool name="is_jellybean_or_higher">false</bool>
</resources>

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="dim_foreground_dark">#000000</color>
</resources>

View File

@ -0,0 +1,73 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">17 LaunchX</string>
<!-- Clipboard -->
<string name="copy">Copy</string>
<string name="paste">Paste</string>
<string name="cut">Cut</string>
<string name="selectall">Select All</string>
<string name="selectword">Select Word</string>
<!-- FileDialog -->
<string name="fd_ok">OK</string>
<string name="fd_cancel">Cancel</string>
<string name="move">Move</string>
<string name="upper">Upper</string>
<string name="filter">Filter</string>
<string name="home">Home</string>
<string name="nofilename">No File Name.</string>
<string name="wantreplace">There is a file of the save name. Do you want to replace? </string>
<!-- Loading -->
<string name="needupdate">It is need to update. \r\nAfter completing, Please restart.</string>
<string name="loadingFail">First loading is fail. \r\nPlease restart.</string>
<string name="updateFail">Update is fail. \r\nPlease restart.</string>
<string name="notexist">Start file is NOT exist. \r\nPlease restart.</string>
<string name="BeingUpdated">Being updated.</string>
<string name="checkforupdates">Check for updates.</string>
<string name="installforupdates">Install for updates.</string>
<string name="downloadingforupdates">Downloading for updates.</string>
<string name="force_close">Update is Completed.</string>
<string name="LoadingPleaseWait">Loading... \r\nPlease Wait...</string>
<!-- Accessibility reaction -->
<string name="listitem_description">%1$d of %2$d %3$s</string>
<string name="listitem_selected_description">%1$d of %2$d selected %3$s</string>
<string name="image_description">%1$s image</string>
<string name="list_description">%1$s selected</string>
<string name="editing_description">editing. %1s</string>
<string name="link_description">%1$s link</string>
<string name="editing_insert_description">%1$s</string>
<string name="editing_delete_description">%1$s deleted</string>
<string name="spacebar">spacebar</string>
<!-- Accessibility widget statue -->
<string name="checked">checked</string>
<string name="unchecked">unchecked</string>
<!-- Accessibility reaction -->
<string name="click">click</string>
<!-- Splash message -->
<string name="start_initialize">Start Initialize</string>
<string name="check_license">Check License</string>
<string name="load_frameworkmodule">Load Framework Module</string>
<string name="load_extendmodule">Load Extend Module</string>
<string name="execute_frameworkscript">Execute Framework Script</string>
<string name="load_application">Load Application</string>
<string name="load_failapplication">Load Fail Application Initialize. Click And Close</string>
<string name="Init_nexacro_engine">Initialize Nexacro engine</string>
<string name="loading_application">Load the application (loading the application)</string>
<string name="preparing_framework">Load the application (preparing the framework)</string>
<string name="executing_framework">Load the application (executing the framework)</string>
<string name="load_bootstrap">Load the application (bootstrapping)</string>
<!-- Confirm -->
<string name="ok">OK</string>
<string name="cancel">Cancel</string>
<!-- SSL -->
<string name="ssl_invalid">The SSL certificate is invalid. Continue?</string>
</resources>

View File

@ -0,0 +1,5 @@
<resources>
<style name="AppTheme" parent="android:Theme.Light" />
</resources>

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<paths xmlns:android="http://schemas.android.com/apk/res/android">
<external-cache-path name="cache" path="."/>
<external-files-path name="files" path="./"/>
</paths>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<nexacro-config>
<application style="default" dialog-position="bottom" file-logging="true" quiet="false" loglevel="debug" tracemode="none" traceduration="-1"/>
<!--<application dialog-position="center"/>-->
<notification enable="true" handler="com.nexacro.notification.DefaultHandler"/>
<xpush-server request-missing-message="false" sender-id="1234567890"/>
<updator cancelable="true" force="true" restart="false" errormsg="true" quiet="false"/>
<log filepath="%SD_CARD%nreLog.log" filesize="408960" backupfilecount="5"/>
<!--splash-message languages="ko_KR,ja_JP"/-->
</nexacro-config>

View File

@ -0,0 +1,27 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.google.gms:google-services:4.3.5'
}
}
allprojects {
repositories {
google()
mavenCentral()
}
// buildDir= "C:/tmp/${rootProject.name}/${project.name}"
}
task clean(type: Delete) {
delete rootProject.buildDir
}

View File

@ -0,0 +1,19 @@
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
android.enableJetifier=true
android.useAndroidX=true
org.gradle.jvmargs=-Xmx1536m
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true

View File

@ -0,0 +1,6 @@
#Tue Feb 19 11:02:46 KST 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip

View File

@ -0,0 +1,160 @@
#!/usr/bin/env bash
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
warn ( ) {
echo "$*"
}
die ( ) {
echo
echo "$*"
echo
exit 1
}
# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
case "`uname`" in
CYGWIN* )
cygwin=true
;;
Darwin* )
darwin=true
;;
MINGW* )
msys=true
;;
esac
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`"
cd "$SAVED" >/dev/null
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD="java"
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
MAX_FD="$MAX_FD_LIMIT"
fi
ulimit -n $MAX_FD
if [ $? -ne 0 ] ; then
warn "Could not set maximum file descriptor limit: $MAX_FD"
fi
else
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
fi
fi
# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi
# For Cygwin, switch paths to Windows format before running java
if $cygwin ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
JAVACMD=`cygpath --unix "$JAVACMD"`
# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
SEP=""
for dir in $ROOTDIRSRAW ; do
ROOTDIRS="$ROOTDIRS$SEP$dir"
SEP="|"
done
OURCYGPATTERN="(^($ROOTDIRS))"
# Add a user-defined pattern to the cygpath arguments
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
fi
# Now convert the arguments - kludge to limit ourselves to /bin/sh
i=0
for arg in "$@" ; do
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
else
eval `echo args$i`="\"$arg\""
fi
i=$((i+1))
done
case $i in
(0) set -- ;;
(1) set -- "$args0" ;;
(2) set -- "$args0" "$args1" ;;
(3) set -- "$args0" "$args1" "$args2" ;;
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
esac
fi
# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
function splitJvmOpts() {
JVM_OPTS=("$@")
}
eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"

View File

@ -0,0 +1,90 @@
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS=
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto init
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto init
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:init
@rem Get command-line arguments, handling Windowz variants
if not "%OS%" == "Windows_NT" goto win9xME_args
if "%@eval[2+2]" == "4" goto 4NT_args
:win9xME_args
@rem Slurp the command line arguments.
set CMD_LINE_ARGS=
set _SKIP=2
:win9xME_args_slurp
if "x%~1" == "x" goto execute
set CMD_LINE_ARGS=%*
goto execute
:4NT_args
@rem Get arguments from the 4NT Shell from JP Software
set CMD_LINE_ARGS=%$
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1
:mainEnd
if "%OS%"=="Windows_NT" endlocal
:omega

View File

@ -0,0 +1,2 @@
configurations.maybeCreate("default")
artifacts.add("default", file('common.aar'))

View File

@ -0,0 +1,2 @@
configurations.maybeCreate("default")
artifacts.add("default", file('commonwidget.aar'))

View File

@ -0,0 +1,2 @@
configurations.maybeCreate("default")
artifacts.add("default", file('videowidget.aar'))

View File

@ -0,0 +1 @@
include ':app', ':gvr-libs-videowidget', ':gvr-libs-common', ':gvr-libs-commonwidget', ':gvr-libs-base'

View File

@ -0,0 +1,11 @@
# so 및 AndroidX용 jar 를 이용하여 nexacro17앱을 만들수 있는 프로젝트 입니다.
nexacro17.androidx.jar
-> app\libs 폴더에 복사
libnexacro17.so 는 아키텍쳐별로 아래 폴더에 복사
-> app\src\main\jniLibs\arm64-v8a
app\src\main\jniLibs\armeabi-v7a
부트스트랩 시작주소는 아래 파일에서 지정
-> app\src\main\java\tobesoft\androidhybrid\MainActivity.java

Binary file not shown.

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<wildcardResourcePatterns>
<entry name="!?*.java" />
<entry name="!?*.form" />
<entry name="!?*.class" />
<entry name="!?*.groovy" />
<entry name="!?*.scala" />
<entry name="!?*.flex" />
<entry name="!?*.kt" />
<entry name="!?*.clj" />
</wildcardResourcePatterns>
<bytecodeTargetLevel target="1.8" />
</component>
</project>

View File

@ -0,0 +1,3 @@
<component name="CopyrightManager">
<settings default="" />
</component>

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleMigrationSettings" migrationVersion="1" />
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="testRunner" value="GRADLE" />
<option name="distributionType" value="LOCAL" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/app" />
<option value="$PROJECT_DIR$/gvr-libs-base" />
<option value="$PROJECT_DIR$/gvr-libs-common" />
<option value="$PROJECT_DIR$/gvr-libs-commonwidget" />
<option value="$PROJECT_DIR$/gvr-libs-videowidget" />
</set>
</option>
<option name="resolveModulePerSourceSet" value="false" />
</GradleProjectSettings>
</option>
</component>
</project>

View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="EntryPointsManager">
<entry_points version="2.0" />
</component>
<component name="NullableNotNullManager">
<option name="myDefaultNullable" value="android.support.annotation.Nullable" />
<option name="myDefaultNotNull" value="android.support.annotation.NonNull" />
<option name="myNullables">
<value>
<list size="4">
<item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.Nullable" />
<item index="1" class="java.lang.String" itemvalue="javax.annotation.Nullable" />
<item index="2" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.Nullable" />
<item index="3" class="java.lang.String" itemvalue="android.support.annotation.Nullable" />
</list>
</value>
</option>
<option name="myNotNulls">
<value>
<list size="4">
<item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.NotNull" />
<item index="1" class="java.lang.String" itemvalue="javax.annotation.Nonnull" />
<item index="2" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.NonNull" />
<item index="3" class="java.lang.String" itemvalue="android.support.annotation.NonNull" />
</list>
</value>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
<option name="id" value="Android" />
</component>
</project>

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/modules/AndroidHybrid17.iml" filepath="$PROJECT_DIR$/.idea/modules/AndroidHybrid17.iml" />
<module fileurl="file://$PROJECT_DIR$/.idea/modules/app/AndroidHybrid17.app.iml" filepath="$PROJECT_DIR$/.idea/modules/app/AndroidHybrid17.app.iml" />
<module fileurl="file://$PROJECT_DIR$/.idea/modules/gvr-libs-base/AndroidHybrid17.gvr-libs-base.iml" filepath="$PROJECT_DIR$/.idea/modules/gvr-libs-base/AndroidHybrid17.gvr-libs-base.iml" />
<module fileurl="file://$PROJECT_DIR$/.idea/modules/gvr-libs-common/AndroidHybrid17.gvr-libs-common.iml" filepath="$PROJECT_DIR$/.idea/modules/gvr-libs-common/AndroidHybrid17.gvr-libs-common.iml" />
<module fileurl="file://$PROJECT_DIR$/.idea/modules/gvr-libs-commonwidget/AndroidHybrid17.gvr-libs-commonwidget.iml" filepath="$PROJECT_DIR$/.idea/modules/gvr-libs-commonwidget/AndroidHybrid17.gvr-libs-commonwidget.iml" />
<module fileurl="file://$PROJECT_DIR$/.idea/modules/gvr-libs-videowidget/AndroidHybrid17.gvr-libs-videowidget.iml" filepath="$PROJECT_DIR$/.idea/modules/gvr-libs-videowidget/AndroidHybrid17.gvr-libs-videowidget.iml" />
</modules>
</component>
</project>

View File

@ -0,0 +1,53 @@
apply plugin: 'com.android.application'
android {
compileSdkVersion 30
buildToolsVersion "28.0.3"
defaultConfig {
applicationId "tobesoft.androidhybrid17"
multiDexEnabled true
minSdkVersion 19
targetSdkVersion 30
versionCode 1
versionName "1.0"
// testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
// release .
signingConfigs {
release {
storeFile file("nexacro-example.jks")
storePassword "tobe0701"
keyAlias "nexacro-example"
keyPassword "tobe0701"
}
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
// compile fileTree(include: ['*.jar'], dir: 'libs')
// androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
// exclude group: 'com.android.support', module: 'support-annotations'
// })
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support:exifinterface:28.0.0'
implementation 'com.google.android.gms:play-services-maps:16.1.0'
implementation 'com.google.android.gms:play-services-location:16.0.0'
implementation 'com.google.firebase:firebase-core:16.0.6'
implementation 'com.google.firebase:firebase-messaging:17.3.4'
compile 'com.android.support:multidex:1.0.1'
implementation 'com.android.support:design:26.1.0'
compile files('libs/nexacro17.android.jar')
compile project(':gvr-libs-videowidget')
compile project(':gvr-libs-commonwidget')
compile project(':gvr-libs-common')
// testCompile 'junit:junit:4.12'
}
apply plugin: 'com.google.gms.google-services'

View File

@ -0,0 +1,35 @@
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "tobesoft.androidruntime16"
minSdkVersion 19
targetSdkVersion 23
versionCode 1
versionName "1.0"
// testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
// compile fileTree(include: ['*.jar'], dir: 'libs')
// androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
// exclude group: 'com.android.support', module: 'support-annotations'
// })
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:support-v4:20.0.0'
compile 'com.google.android.gms:play-services:+'
compile files('libs/nexacro16.jar')
compile project(':gvr-libs-videowidget')
compile project(':gvr-libs-commonwidget')
compile project(':gvr-libs-common')
// testCompile 'junit:junit:4.12'
}

View File

@ -0,0 +1,127 @@
{
"project_info": {
"project_number": "995072755403",
"firebase_url": "https://summer-nexus-581.firebaseio.com",
"project_id": "summer-nexus-581",
"storage_bucket": "summer-nexus-581.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:995072755403:android:0488510b9eaa9ad9",
"android_client_info": {
"package_name": "com.nexacro.nexacroexample14"
}
},
"oauth_client": [
{
"client_id": "995072755403-ksam7299dh20s90batq23eis6gpv1749.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyAaOYYoqFY9-AcA_P5jUtK_-2EmeoLvy7g"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "995072755403-ksam7299dh20s90batq23eis6gpv1749.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:995072755403:android:876a1279862314de",
"android_client_info": {
"package_name": "com.nexacro.nexacroexample17"
}
},
"oauth_client": [
{
"client_id": "995072755403-ksam7299dh20s90batq23eis6gpv1749.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyAaOYYoqFY9-AcA_P5jUtK_-2EmeoLvy7g"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "995072755403-ksam7299dh20s90batq23eis6gpv1749.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:995072755403:android:28b014c688afb816",
"android_client_info": {
"package_name": "nexacro.launcher"
}
},
"oauth_client": [
{
"client_id": "995072755403-ksam7299dh20s90batq23eis6gpv1749.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyAaOYYoqFY9-AcA_P5jUtK_-2EmeoLvy7g"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "995072755403-ksam7299dh20s90batq23eis6gpv1749.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:995072755403:android:cf2f72e91876dd5b",
"android_client_info": {
"package_name": "tobesoft.androidhybrid17"
}
},
"oauth_client": [
{
"client_id": "995072755403-ksam7299dh20s90batq23eis6gpv1749.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyAaOYYoqFY9-AcA_P5jUtK_-2EmeoLvy7g"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "995072755403-ksam7299dh20s90batq23eis6gpv1749.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
}
],
"configuration_version": "1"
}

View File

@ -0,0 +1,17 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in C:\Users\yoonjin\AppData\Local\Android\sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

View File

@ -0,0 +1,113 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="nexacro.launcher" >
<!--<uses-sdk android:targetSdkVersion="24"/>-->
<uses-feature android:required="true" android:glEsVersion="0x00020000"/>
<uses-feature android:name="android.hardware.camera" android:required="false"/>
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SEND_SMS" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<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.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.READ_SMS" />
<uses-permission android:name="android.permission.WRITE_SMS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.GET_TASKS" /> <!-- ExternalAPI를 위한 permission -->
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/> <!-- Google map을 위한 permission -->
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
<application android:label="@string/app_name"
android:allowBackup="false"
android:icon="@drawable/ic_launcher"
android:theme="@style/AppTheme"
android:hasCode="true"
tools:ignore="GoogleAppIndexingWarning"
android:hardwareAccelerated="true">
<activity
android:name="tobesoft.androidhybrid.MainActivity"
android:label="@string/app_name" android:configChanges="orientation|keyboardHidden|screenSize"
android:theme="@style/Theme.AppCompat.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.nexacro.NexacroActivity"
android:windowSoftInputMode="adjustResize"
android:theme="@style/Theme.AppCompat.Light.NoActionBar"
android:launchMode="singleTask"
android:configChanges="orientation|keyboardHidden|screenSize|screenLayout|smallestScreenSize">
<intent-filter>
<action android:name="OPEN_NEXACRO_ACTIVITY_EXAMPLE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name="com.nexacro.deviceAPI.FileDialogActivity" android:screenOrientation="sensor">
<intent-filter>
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<receiver android:name="com.nexacro.deviceAPI.SmsRecv">
<intent-filter>
<action android:name="android.provider.Telephony.SMS_RECEIVED" />
</intent-filter>
<!-- MMS는 KITKAT부터 지원하는 공식 API를 사용하여 차후에 지원 예정 -->
<!--<intent-filter>-->
<!--<action android:name="android.provider.Telephony.WAP_PUSH_RECEIVED" />-->
<!--<data android:mimeType="application/vnd.wap.mms-message" />-->
<!--</intent-filter>-->
</receiver>
<service android:name="com.nexacro.notification.NexacroNotificationService">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<provider
android:name="android.support.v4.content.FileProvider"
android:authorities="${applicationId}.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths"/>
</provider>
<!-- Google map -->
<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="AIzaSyAaOYYoqFY9-AcA_P5jUtK_-2EmeoLvy7g" />
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
<!-- <meta-data android:value="AIzaSyDtZzx9qV9utApa8dC6gJf9VicxVZDIqdQ" android:name="com.google.android.maps.v2.API_KEY"/> -->
</application>
</manifest>

View File

@ -0,0 +1,38 @@
package tobesoft.androidhybrid;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.nexacro.NexacroUpdatorActivity;
public class MainActivity extends NexacroUpdatorActivity {
public MainActivity() {
super();
//common
setProjectURL("http://your project url");
setBootstrapURL("http://your bootstrap url/start_android.json");
}
@Override
protected void onCreate(Bundle savedInstanceState) {
Intent intent = getIntent();
if(intent != null) {
String bootstrapURL = intent.getStringExtra("bootstrapURL");
String projectUrl = intent.getStringExtra("projectUrl");
if(bootstrapURL != null) {
setBootstrapURL(bootstrapURL);
setProjectURL(projectUrl);
}
}
super.onCreate(savedInstanceState);
}
@Override
public void setContentView(View view) {
super.setContentView(view);
}
}

View File

@ -0,0 +1,28 @@
package tobesoft.androidhybrid;
import android.os.Bundle;
import android.view.View;
import com.nexacro.NexacroActivity;
import com.nexacro.NexacroResourceManager;
/**
* Created by yoonjin on 2016-11-23.
*/
public class MainActivity2 extends NexacroActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
/* for extends NexacroActivity (for soZom module)*/
NexacroResourceManager.createInstance(this);
NexacroResourceManager.getInstance().setBootstrapURL("http://your bootstrap url/start_android.json");
NexacroResourceManager.getInstance().setProjectURL("http://your project url/");
super.onCreate(savedInstanceState);
}
@Override
public void setContentView(View view) {
super.setContentView(view);
}
}

View File

@ -0,0 +1,32 @@
package tobesoft.androidhybrid;
import android.util.Log;
import com.nexacro.NexacroActivity;
import com.nexacro.event.NexacroEventHandler;
public class UserNotify implements NexacroEventHandler {
public UserNotify() {
Log.d("UserNotify", "<init>");
if(NexacroActivity.getInstance() != null)
NexacroActivity.getInstance().setNexacroEventListener(this);
// NexacroActivity.getInstance().setNexacroEventListener(new NexacroEventHandler() {
// @Override
// public void onUserNotify(int nNotifyID, String strMessage) {
// Log.d("UserNotify", "onUserNotify nNotifyID : " + nNotifyID + " strMessage : " + strMessage);
//
// // TODO :
// }
// });
}
@Override
public void onUserNotify(int nNotifyID, String strMessage) {
Log.d("UserNotify", "onUserNotify nNotifyID : " + nNotifyID + " strMessage : " + strMessage);
// TODO :
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Some files were not shown because too many files have changed in this diff Show More