脚本/功能 【更新】Android Native Goodies! 1.8.5

Unity插件信息
插件名称: Android Native Goodies!
插件官网: https://assetstore.unity.com/packages/tools/integration/android-native-goodies-67473
版本: 1.8.5
解压密码:
素材类型: 脚本/功能
本帖最后由 微笑的猫 于 2024-6-20 16:00 编辑


Android Native Goodies 1.8.4版下载链接


















Advantages:
Clean and flexible API
No overriding of Unity default activity
Every API method is documented.
Full source code included
Well-written documentation
Features:
APP INTERACTION
• Show all alarms, set the alarm with all properties, or set timer
• Open other apps by package, watch YouTube video in native app
• Create a calendar event with all required params or open calendar app on the provided date
• Dial or directly call a phone number, and check if the user has a phone app.
• Open maps location, address, check if the user has a maps app
• Open any system settings screen
• Native share text, text+image, video, tweet, email, send SMS, etc, check if the user has Twitter, SMS, or email app installed
• Share directly to the most popular messaging apps
• Pick a photo from the gallery app, save the picture to the gallery
• Take a photo with the camera and get the image
• Video, sound, or arbitrary file picker.
• Contact picker
• Copy text to clipboard
• Print images and HTML documents

Local notifications
• Support for various styles (messaging, inbox, big text, big picture and many many more)
• Scheduling and scheduling repeating notifications
• Cancelling by id or all at once • Manage notification channels and channel groups
• Pass custom data with the notification
• Check if the app was open via a notification (if it wasn't running)

Native UI
• Showing native alert dialogs with buttons/radio buttons/checkboxes
• Showing date/time picker
- Show spinner/horizontal progress bar
• Showing toasts and immersive mode methods.
• Set wallpapers from file/texture, set with crop, and reset wallpaper to default.

Retrieving Info
• Various methods to get various info about devices and apps (android.os.Build, android.os.Build.Version) and other
• Access to some android.os.Environment properties and methods
• Internet connectivity and wifi-related methods
• Telephony-related methods

Hardware
• Get device battery charge level
• Enable and disable camera flashlight (as a torch), check if the device has a flashlight
• Listen to GPS location changes with all the detailed GPS data, check if GPS is enabled, and get the last known location
• Check if the device has a vibrator, vibrate or vibrate pattern, support for new vibration effects API Other
• Method to save Unity Texture2D to Android gallery
• Fingerprint authentication and fingerprint data encryption/decryption

Other
• Manage and request Android Runtime Permissions
• Manage Android SharedPreferences the native way.


优点:
干净灵活的 API
不会覆盖 Unity 默认活动
每个 API 方法都有文档记录。
包含完整源代码
编写良好的文档
功能:
应用程序交互
• 显示所有闹钟、使用所有属性设置闹钟或设置计时器
• 按包打开其他应用程序、在本机应用程序中观看 YouTube 视频
• 使用所有必需参数创建日历事件或在提供的日期打开日历应用程序
• 拨打或直接拨打电话号码,并检查用户是否有电话应用程序。
• 打开地图位置、地址,检查用户是否有地图应用程序
• 打开任何系统设置屏幕
• 本机共享文本、文本+图像、视频、推文、电子邮件、发送短信等,检查用户是否安装了 Twitter、短信或电子邮件应用程序
• 直接分享到最流行的消息应用程序
• 从图库应用程序中选择照片,将图片保存到图库
• 用相机拍照并获取图像
• 视频、声音或任意文件选择器。
• 联系人选择器
• 将文本复制到剪贴板
• 打印图像和 HTML 文档

本地通知
• 支持各种样式(消息、收件箱、大文本、大图片等等)
• 安排和安排重复通知
• 按 ID 取消或一次性取消 • 管理通知渠道和渠道组
• 通过通知传递自定义数据
• 检查应用是否通过通知打开(如果未运行)

原生 UI
• 显示带有按钮/单选按钮/复选框的原生警报对话框
• 显示日期/时间选择器
- 显示微调器/水平进度条
• 显示提示和沉浸模式方法。
• 从文件/纹理设置壁纸、使用裁剪设置壁纸以及将壁纸重置为默认值。

检索信息
• 获取有关设备和应用的各种信息的各种方法(android.os.Build、android.os.Build.Version)和其他
• 访问一些 android.os.Environment 属性和方法
• 互联网连接和 wifi 相关方法
• 电话相关方法

硬件
• 获取设备电池电量
• 启用和禁用相机闪光灯(作为手电筒),检查设备是否有闪光灯
• 使用所有详细的 GPS 数据监听 GPS 位置变化,检查 GPS 是否已启用,并获取最后已知位置
• 检查设备是否有振动器、振动或振动模式,是否支持新的振动效果 API 其他
• 将 Unity Texture2D 保存到 Android 图库的方法
• 指纹认证和指纹数据加密/解密

其他
• 管理和请求 Android 运行时权限
• 以本机方式管理 Android SharedPreferences。





作者 cg小白兔 发表于 2024-6-20 10:14:34
您需要登录后才可以回帖 登录 | 立即注册
cg小白兔

关注0

粉丝0

发布8211

热门作品推荐
glow
TriLib 2 - Model Loading Package 2.1.6
glow
Trails FX 1.6.2 平滑轨迹 拖尾特效
glow
金属边缘受损破损皮革Layering old metal,
glow
逼真低多边形岩石包Game and render ready
glow
高质量无缝地形岩石雕刻笔刷Ultra HQ Terra
glow
40种恐龙爬行动物鳄鱼皮肤笔刷 40 Dragons
glow
Procedural Forest 适配UE5.0枯木冬季森林
glow
【更新】DunGen 2.17.4地牢生成工具
glow
80个昆虫生物画笔Zbrush + Blender - 80 In
glow
【更新】Best HTTP 3.0.13