摘要:
1. adb 查看文件读写权限可以使用 adb shell ls -l 命令查看文件或文件夹的读写权限。adb shell ls -l /sdcard/myfolder系统会显示文件夹的详细信息,其中包括权限信息。例如: total 40 drwxr-xr-x 2 root root 4096 20
阅读全文
posted @ 2025-02-14 16:29
邢帅杰
阅读(735)
推荐(0)
摘要:
来源百度AI回答1. Windows系统在Windows系统上,你可以使用SystemInformation类(属于System.Windows.Forms命名空间)来获取一些基本的设备信息,例如制造商、型号等。但是,请注意,这种方法可能不会提供所有设备的详细型号信息。 using System;
阅读全文
posted @ 2025-02-14 13:14
邢帅杰
阅读(71)
推荐(0)
摘要:
ps脚本,获取进程可执行程序路径:Get-Process -Name Cmd | Select-Object Path 必须是正在运行的进程,否则报错。ps脚本,列出正在运行的进程信息:tasklistcmd脚本,获取进程可执行程序路径:wmic process where name="cmd.ex
阅读全文
posted @ 2025-02-13 09:50
邢帅杰
阅读(165)
推荐(0)
摘要:
使用Cjwdev.WindowsApi /// <summary> /// 执行BAT(前端) /// 创建一个进程,并以指定的会话身份运行一个应用程序或命令。 /// 这对于需要模拟用户上下文或在特定权限下执行操作的应用程序特别有用。 /// </summary> /// <param name=
阅读全文
posted @ 2025-01-22 13:45
邢帅杰
阅读(23)
推荐(0)
摘要:
code <activity android:name=".YourSplashActivity" android:theme="@style/Theme.AppCompat.NoActionBar"> <intent-filter> <action android:name="android.in
阅读全文
posted @ 2025-01-13 11:36
邢帅杰
阅读(7)
推荐(0)
摘要:
服务端 using System; using System.Collections.Generic; using System.Net.Sockets; using System.Net; using System.Text; namespace XCGConsoleApp { internal
阅读全文
posted @ 2025-01-06 15:32
邢帅杰
阅读(190)
推荐(0)
摘要:
来源:https://blog.51cto.com/u_16213385/12575668整个安装过程一般可以分为以下几个步骤:获取 APK 文件的路径、请求权限、调用安装 Intent、完成安装在 Android 7.0(API Level 24)及以上版本中,安装应用包需要用户人工干预并且设备需
阅读全文
posted @ 2024-12-30 15:01
邢帅杰
阅读(166)
推荐(0)
摘要:
打开 PowerShell 命令行界面(按下 Win+R,输入“powershel”,然后按回车键),输入 Test-NetConnection -ComputerName <主机名或IP地址> -Port <端口号>示例:Test-NetConnection -ComputerName local
阅读全文
posted @ 2024-12-26 14:42
邢帅杰
阅读(691)
推荐(0)
摘要:
参考:https://www.cnblogs.com/qlky/p/7210403.htmlhttps://blog.csdn.net/shixianzuishuai/article/details/140906330创建Fragment与创建Activity类似,开发者实现的Fragment必须继
阅读全文
posted @ 2024-12-25 16:06
邢帅杰
阅读(94)
推荐(0)
摘要:
两个都是布局加载器,而View.inflate是封装LayoutInflater.from(context).inflate后的产物,功能相同。将布局文件/res/layout/my_view.xml实例化为View对象,inflate()方法返回布局文件的view对象。LayoutInflater
阅读全文
posted @ 2024-12-25 15:08
邢帅杰
阅读(70)
推荐(0)