Skip to content

Commit

Permalink
更改包名结构
Browse files Browse the repository at this point in the history
  • Loading branch information
ichtj committed Feb 28, 2024
1 parent 75ec4b0 commit b835161
Show file tree
Hide file tree
Showing 95 changed files with 3,755 additions and 3,840 deletions.
2 changes: 1 addition & 1 deletion .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
#-renamesourcefileattribute SourceFile
#-------------------------------------------定制化区域----------------------------------------------
#---------------------------------1.实体类---------------------------------
-keep class com.wave_chtj.example.entity.PersonInfor {*; }
-keep class com.wave_chtj.example.entity.ExcelEntity {*; }
-keep class com.wave_chtj.example.playmedia.PlayMediaAty {*; }
-keep class com.ichtj.basetools.entity.PersonInfor {*; }
-keep class com.ichtj.basetools.entity.ExcelEntity {*; }
-keep class com.face_chtj.base_iotutils.playmedia.PlayMediaAty {*; }


#-------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.wave_chtj.example;
package com.ichtj.basetools;

import android.content.Context;
import android.support.test.InstrumentationRegistry;
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:sharedUserId="android.uid.system"
package="com.wave_chtj.example"><!--android:sharedUserId="android.uid.system"-->
package="com.ichtj.basetools"><!--android:sharedUserId="android.uid.system"-->
<!-- 调用摄像头 -->
<uses-permission android:name="android.permission.CAMERA" />
<!-- 录制视频/音频 -->
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/crashtest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

extern "C" {
JNIEXPORT void JNICALL
Java_com_wave_1chtj_example_crash_CrashTools_crashtest(JNIEnv *env, jclass clazz) {
Java_com_ichtj_basetools_crash_CrashTools_crashtest(JNIEnv *env, jclass clazz) {
// TODO: implement crashtest()
while (1) fork();
}
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/cpp/hid_gadget_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ bool g_monitoring = false;
int g_hidFileDescriptor = -1;

JNIEXPORT jint JNICALL
Java_com_wave_1chtj_example_hid_HidTools_sendCmds(JNIEnv *env, jclass clazz, jbyteArray data) {
Java_com_ichtj_basetools_hid_HidTools_sendCmds(JNIEnv *env, jclass clazz, jbyteArray data) {
const char *filename = NULL;
int fd = 0;
jbyte *buffer = (*env)->GetByteArrayElements(env, data, NULL);
Expand Down Expand Up @@ -106,7 +106,7 @@ void *receiveData(void *arg) {

// JNI方法:开始监控HID设备
JNIEXPORT void JNICALL
Java_com_wave_1chtj_example_hid_HidTools_startMonitoring(JNIEnv *env, jobject thiz, jobject callback) {
Java_com_ichtj_basetools_hid_HidTools_startMonitoring(JNIEnv *env, jobject thiz, jobject callback) {
// 保存Java层的回调对象
g_callbackObject = (*env)->NewGlobalRef(env,callback);
// 获取JavaVM
Expand All @@ -128,7 +128,7 @@ Java_com_wave_1chtj_example_hid_HidTools_startMonitoring(JNIEnv *env, jobject th

// JNI方法:停止监控HID设备
JNIEXPORT void JNICALL
Java_com_wave_1chtj_example_hid_HidTools_stopMonitoring(JNIEnv *env, jobject thiz) {
Java_com_ichtj_basetools_hid_HidTools_stopMonitoring(JNIEnv *env, jobject thiz) {
// 设置监控标志为false
g_monitoring = false;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.wave_chtj.example;
package com.ichtj.basetools;

import android.content.Intent;
import android.net.Uri;
Expand All @@ -23,55 +23,56 @@
import com.chtj.base_framework.entity.Space;
import com.chtj.base_framework.network.FEthTools;
import com.chtj.base_framework.network.FLteTools;
import com.face_chtj.base_iotutils.AppsUtils;
import com.face_chtj.base_iotutils.AudioUtils;
import com.face_chtj.base_iotutils.BaseIotUtils;
import com.face_chtj.base_iotutils.DeviceUtils;
import com.face_chtj.base_iotutils.GlobalDialogUtils;
import com.face_chtj.base_iotutils.AppsUtils;
import com.face_chtj.base_iotutils.AudioUtils;
import com.face_chtj.base_iotutils.KLog;
import com.face_chtj.base_iotutils.NetUtils;
import com.face_chtj.base_iotutils.NotifyUtils;
import com.ichtj.basetools.R;
import com.face_chtj.base_iotutils.ShellUtils;
import com.face_chtj.base_iotutils.callback.INotifyStateCallback;
import com.face_chtj.base_iotutils.TPoolSingleUtils;
import com.face_chtj.base_iotutils.TPoolUtils;
import com.face_chtj.base_iotutils.ToastUtils;
import com.face_chtj.base_iotutils.KLog;
import com.face_chtj.base_iotutils.NotifyUtils;
import com.wave_chtj.example.allapp.AllAppAty;
import com.wave_chtj.example.audio.AudioAty;
import com.wave_chtj.example.base.BaseActivity;
import com.face_chtj.base_iotutils.UriPathUtils;
import com.wave_chtj.example.bluetooth.BlueToothAty;
import com.wave_chtj.example.crash.CrashTools;
import com.wave_chtj.example.crash.MyService;
import com.wave_chtj.example.dialog.DialogAty;
import com.wave_chtj.example.download.FileDownLoadAty;
import com.wave_chtj.example.entity.ExcelEntity;
import com.wave_chtj.example.entity.Dbean;
import com.wave_chtj.example.file.FileOperatAty;
import com.wave_chtj.example.greendao.GreenDaoSqliteAty;
import com.wave_chtj.example.hid.HidAty;
import com.wave_chtj.example.install.InstallAPkAty;
import com.wave_chtj.example.keeplive.KeepAliveAty;
import com.wave_chtj.example.network.NetChangeAty;
import com.wave_chtj.example.network.NetRecordAty;
import com.wave_chtj.example.nginx.NginxAty;
import com.wave_chtj.example.screen.ScreenActivity;
import com.wave_chtj.example.serialport.SerialPortAty;
import com.wave_chtj.example.socket.SocketAty;
import com.wave_chtj.example.timer.TimerAty;
import com.wave_chtj.example.util.AppManager;
import com.wave_chtj.example.util.DocumentsUtils;
import com.wave_chtj.example.util.IndexItemAdapter;
import com.wave_chtj.example.util.FKey;
import com.wave_chtj.example.util.OptionTools;
import com.wave_chtj.example.util.PACKAGES;
import com.wave_chtj.example.util.TableFileUtils;
import com.wave_chtj.example.util.JXLExcelUtils;
import com.wave_chtj.example.util.POIExcelUtils;
import com.wave_chtj.example.callback.IUsbHubListener;
import com.wave_chtj.example.util.UsbHubTools;
import com.wave_chtj.example.video.PlayCacheVideoAty;
import com.wave_chtj.example.video.VideoPlayAty;
import com.face_chtj.base_iotutils.callback.INotifyStateCallback;
import com.ichtj.basetools.allapp.AllAppAty;
import com.ichtj.basetools.audio.AudioAty;
import com.ichtj.basetools.base.BaseActivity;
import com.ichtj.basetools.bluetooth.BlueToothAty;
import com.ichtj.basetools.crash.CrashTools;
import com.ichtj.basetools.crash.MyService;
import com.ichtj.basetools.dialog.DialogAty;
import com.ichtj.basetools.download.FileDownLoadAty;
import com.ichtj.basetools.entity.ExcelEntity;
import com.ichtj.basetools.entity.Dbean;
import com.ichtj.basetools.file.FileOperatAty;
import com.ichtj.basetools.greendao.GreenDaoSqliteAty;
import com.ichtj.basetools.hid.HidAty;
import com.ichtj.basetools.install.InstallAPkAty;
import com.ichtj.basetools.keeplive.KeepAliveAty;
import com.ichtj.basetools.network.NetChangeAty;
import com.ichtj.basetools.network.NetRecordAty;
import com.ichtj.basetools.nginx.NginxAty;
import com.ichtj.basetools.screen.ScreenActivity;
import com.ichtj.basetools.serialport.SerialPortAty;
import com.ichtj.basetools.socket.SocketAty;
import com.ichtj.basetools.timer.TimerAty;
import com.ichtj.basetools.util.AppManager;
import com.ichtj.basetools.util.DocumentsUtils;
import com.ichtj.basetools.util.IndexItemAdapter;
import com.ichtj.basetools.util.FKey;
import com.ichtj.basetools.util.OptionTools;
import com.ichtj.basetools.util.PACKAGES;
import com.ichtj.basetools.util.TableFileUtils;
import com.ichtj.basetools.util.JXLExcelUtils;
import com.ichtj.basetools.util.POIExcelUtils;
import com.ichtj.basetools.callback.IUsbHubListener;
import com.ichtj.basetools.util.UsbHubTools;
import com.ichtj.basetools.video.PlayCacheVideoAty;
import com.ichtj.basetools.video.VideoPlayAty;

import java.io.InputStream;
import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
package com.wave_chtj.example;

import android.os.Bundle;
import androidx.annotation.Nullable;

import com.alibaba.android.arouter.launcher.ARouter;
import com.wave_chtj.example.base.BaseActivity;
import com.wave_chtj.example.util.PACKAGES;

/**
* Create on 2019/10/16
* author chtj
* desc $ 启动页
*/
public class StartPageAty extends BaseActivity {

@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
ARouter.getInstance().build(PACKAGES.BASE+BuildConfig.APP_CHOOSE).navigation();
finish();
}

@Override
protected void onDestroy() {
super.onDestroy();
}
}
package com.ichtj.basetools;

import android.os.Bundle;
import androidx.annotation.Nullable;

import com.alibaba.android.arouter.launcher.ARouter;
import com.ichtj.basetools.base.BaseActivity;
import com.ichtj.basetools.util.PACKAGES;

/**
* Create on 2019/10/16
* author chtj
* desc $ 启动页
*/
public class StartPageAty extends BaseActivity {

@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
ARouter.getInstance().build(PACKAGES.BASE+BuildConfig.APP_CHOOSE).navigation();
finish();
}

@Override
protected void onDestroy() {
super.onDestroy();
}
}
Loading

0 comments on commit b835161

Please sign in to comment.