Mobile Platform
文章平均质量分 65
magic_dreamer
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Unity性能监控工具Graphy:模块化架构与低开销实现原理
在游戏开发与实时应用领域,性能监控是保障用户体验和系统稳定性的关键技术。其核心原理在于通过运行时数据采集与分析,实时反馈CPU、GPU、内存等关键指标,帮助开发者定位瓶颈。这项技术的价值在于将性能问题从“事后排查”转变为“实时洞察”,是优化应用流畅度、防止卡顿和崩溃的工程实践基石。典型的应用场景包括移动端游戏、VR/AR应用以及大型开放世界项目的开发与测试阶段。本文以Unity生态中广受认可的Graphy工具为例,深入剖析其如何通过模块化设计、低GC开销的数据采集(如使用直方图桶算法高效计算1% Low F原创 2026-07-16 16:37:30 · 586 阅读 · 0 评论 -
Android Talker(3)Go on with the REST Sample with Real Device
Android Talker(3)Go on with the REST Sample with Real DeviceEclipse Error Message:Errors occurred during the build.Errors running builder 'Maven Project Builder' on product 'xxxxx'.jav...原创 2013-01-06 09:33:24 · 141 阅读 · 0 评论 -
APNS(1)Apple Push Notification Service
APNS(1)Apple Push Notification ServiceAPNS is Apple Push Notification Service.A Push Notification and Its PathApple Push Notification service transports and routes a notification from a given ...原创 2013-01-14 06:03:44 · 245 阅读 · 0 评论 -
GCM(1)Get Start
GCM(1)Get Start1. Getting StartedFollow the document to create Google APIs Console projectThe URL are as follow:https://code.google.com/apis/console/I click create project to create an API...原创 2013-01-14 09:27:22 · 191 阅读 · 0 评论 -
GCM(2)GCM Demo Application
GCM(2)GCM Demo ApplicationThis demo consists of the following pieces:1. A web server containing a page where you can send messages2. An Android application that receives and displays such ...原创 2013-01-14 09:34:09 · 183 阅读 · 0 评论 -
GCM(4)GoogleCloudMessaging
GCM(4)GoogleCloudMessaging1. Reading the documentsThe registration ID identifies the device and application, and also determines which 3rd-party application servers are allowed to send messages to thi...原创 2014-01-04 04:04:04 · 265 阅读 · 0 评论 -
GCM(5)Working with MAVEN and Android OS Upgrade 2.3.7
GCM(5)Working with MAVEN and Android OS Upgrade 2.3.7The latest GCM API is working fine with Android Studio and gradle. I love it. But I still need to figure out how to working and build with my old m...原创 2014-01-10 04:30:16 · 235 阅读 · 0 评论 -
PhoneGap(1)Introduction and Installation
PhoneGap(1)Introduction and Installation1. Installation> sudo npm install -g phonegap>phonegap -v 3.3.0-0.18.0Update the phone gap>sudo npm update -g phonegap2. Simply use PhoneGap>phonega...原创 2014-01-23 05:34:09 · 167 阅读 · 0 评论 -
Android Content Framework(1)Concept
Android Content Framework(1)ConceptSome Concept1, total customizedThe Main activity will open the local html index.html page with android WebView and WebViewClient, for exampleimport android.webkit.We...原创 2014-06-14 13:54:09 · 181 阅读 · 0 评论 -
Mobile Jquery(5)Update and Know about Express
Mobile Jquery(5)Update and Know about Express1. Check my environment>npm -version 1.3.23>grunt -versiongrunt-cli v0.1.11grunt v0.4.1>npm install>gruntBuild and release the Jquery mobile.&g...原创 2014-01-30 06:33:09 · 185 阅读 · 0 评论 -
USB3.1接口信号定义与PCB布局实战:从差分对原理到高速传输优化
差分信号传输是现代高速接口设计的核心技术,它通过一对相位相反的信号线来抵消共模噪声,从而在复杂电磁环境中实现稳定可靠的数据传输。这一原理是USB、PCIe、HDMI等高速串行总线的基础。在工程实践中,差分对需要严格的阻抗控制(如USB3.1要求90Ω差分阻抗)、等长布线以及完整的参考平面,以确保信号完整性。其技术价值在于支撑了从5Gbps到10Gbps乃至更高速率的数据传输需求,广泛应用于数据采集、外设连接和文件传输等场景。本文聚焦于USB3.1这一典型应用,深入解析其SuperSpeed+差分对(SSTX原创 2026-07-31 12:22:55 · 578 阅读 · 0 评论 -
IOS7 App Development Essentials(2)iBeacon
IOS7 App Development Essentials(2)iBeacon1. Beacon IntroductionCLBeaconRSSI(Received Signal Strength Indication) [-93, -113]accuracy The accuracy of the proximity value, measured in meters from th...原创 2014-03-05 05:55:46 · 171 阅读 · 0 评论 -
Android Fire Project(1)Recall Env and Knowledge
Android Fire Project(1)Recall Env and Knowledge 1. Android SDK Standalone ToolDownload from here http://developer.android.com/sdk/installing/index.html?pkg=toolsThe file I get is android-sdk...原创 2015-02-11 12:28:12 · 157 阅读 · 0 评论 -
Feel Android Studio(1)Install and Update Android Studio
Feel Android Studio(1)Install and Update Android Studio1. Prepare the Git environmentFirst of all, I need to deal with the fork problem on github.com>git config --list>git config --global remote...原创 2014-04-11 03:12:56 · 327 阅读 · 0 评论 -
SpringBoot学生公寓管理系统实战:从架构设计到性能优化的完整解决方案
在Java企业级应用开发中,SpringBoot框架因其约定大于配置的理念和快速开发能力,已成为构建Web应用的首选技术栈。其核心原理基于自动装配和Starter依赖,大幅简化了传统SSM框架的复杂配置,提升了开发效率。这一技术价值在需要快速迭代和稳定交付的管理系统开发中尤为突出,特别适用于学校、企业等机构的后台管理系统。通过结合MyBatis-Plus实现高效数据持久化,并利用Vue.js构建前后端分离的现代化界面,开发者可以构建出业务逻辑清晰、易于维护的应用。本文以学生公寓管理系统为例,深入探讨了在权限原创 2026-08-11 14:13:56 · 522 阅读 · 0 评论 -
大模型微调实战指南:LoRA、PEFT与RLHF的工程落地解析
大模型微调(Fine-tuning)是将通用基础模型适配垂直业务场景的核心技术路径,其本质并非简单调参,而是围绕参数高效性、任务对齐性与人类偏好建模展开的系统工程。从全量微调的资源门槛,到PEFT(如LoRA)通过低秩更新实现知识子空间精准干预,再到RLHF利用人类反馈重塑输出分布,每种范式对应不同数据规模、标注成本与评估维度约束。LoRA中的rank(r)和target_modules选择直接决定语义对齐质量,尤其在多模态(如Qwen3-VL遥感分析)或强规则领域(金融、法律)中,模块级注入比全局微调更具原创 2026-06-17 15:51:37 · 451 阅读 · 0 评论 -
Secure REST API and Mobile(1)Document Read and Understand OAUTH2
Secure REST API and Mobile(1)Document Read and Understand OAUTH2I used to use OAuth1 before, but it seems that it is different from OAuth2.1. Introduction on OAuth2Resource Owner — UserCl...原创 2015-07-14 00:36:23 · 160 阅读 · 0 评论 -
Create the Google Play Account
Create the Google Play AccountHaving a Google account, pay 25$, then you get your google developer account.References:http://developer.android.com/distribute/googleplay/start.htmlhttps://p...原创 2015-07-18 06:42:51 · 2034 阅读 · 0 评论 -
Hybrid(2)meteor Running Android and iOS
Hybrid(2)meteor Running Android and iOS1. Build the AndroidRunning on an Android emulator> meteor install-sdk android✗ Android emulator acceleration is not installed (The Android emulat...原创 2015-07-28 23:59:36 · 268 阅读 · 0 评论 -
Hybrid(3)More Meteor Example - Social
Hybrid(3)More Meteor Example - SocialFollowing the document from herehttp://angular-meteor.com/tutorials/angular1/bootstrapping1. BootstrappingCreate the project> meteor create socially...原创 2015-08-11 05:04:01 · 183 阅读 · 0 评论 -
Retrofit实战指南:Android网络请求从入门到生产级落地
Retrofit是Android开发中主流的类型安全HTTP客户端,其本质是构建在OkHttp之上的声明式网络抽象层,通过注解将Java接口映射为HTTP请求,并借助Gson等Converter完成JSON与对象的自动序列化。它解决了传统AsyncTask+HttpURLConnection模式下手动拼URL、解析JSON、线程切换易错等工程痛点,显著提升网络层可维护性与稳定性。在电商、金融、IoT等真实业务场景中,Retrofit需配合OkHttp连接池、超时控制、拦截器链及生命周期管理才能发挥最大价值。原创 2026-06-20 15:58:54 · 745 阅读 · 0 评论 -
Hybrid(5)Customize Meteor Directly Google Login
Hybrid(5)Customize Meteor Directly Google Login1. First of All, Find a working Release on MeteorCurrently, the release version release-1.2 is working, so I branch from that release and create re...原创 2015-09-01 02:33:02 · 197 阅读 · 0 评论 -
动态SQL安全与性能实战:从注入防御到执行计划复用
动态SQL是数据库开发中处理运行时结构变化的核心技术,其本质是数据库在执行期重新进行词法解析、语义绑定与执行计划生成的过程。它既非简单的字符串拼接,也非万能胶式解决方案,而是一套需融合参数化、对象名白名单校验、QUOTENAME()转义及最小权限控制的分层防御体系。技术价值在于支撑多租户隔离、BI拖拽报表、自动化DDL等静态SQL无法实现的场景,同时带来SQL注入、执行计划缓存失效、调试黑盒等典型风险。本文聚焦SQL Server动态SQL工程实践,深入解析sp_executesql参数定义精度、QUOTE原创 2026-06-23 15:17:41 · 463 阅读 · 0 评论 -
ionic UI(1)Introduction
ionic UI(1)Introduction1 InstallationMake Sure Installed nodeJS 4.x> node --versionv4.2.2> npm install -g cordova> npm install -g ionic> npm install -g ios-simCreate the applicat...原创 2016-03-19 03:18:16 · 152 阅读 · 0 评论 -
C# WebAPI安全实战:JWT认证与HMAC数字签名防篡改防重放
在分布式系统和微服务架构中,API安全是保障数据交互可信的基石。其核心原理在于建立一套可靠的身份验证与数据完整性保障机制。从技术价值看,这不仅能防止未授权访问,更能有效抵御数据在传输过程中被篡改或重放的风险,是构建高安全等级应用服务的必备能力。典型的应用场景包括金融交易、物联网设备通信、开放平台接口等对安全敏感的业务领域。本文聚焦于C# WebAPI开发,深入探讨如何结合JWT(JSON Web Token)认证与HMAC-SHA256数字签名技术,构建一套覆盖身份验证、防参数篡改和防重放攻击的全方位安全方原创 2026-07-02 15:25:37 · 578 阅读 · 0 评论 -
AMD Ryzen AI Halo开发套件实战:边缘AI推理优化与部署指南
边缘AI推理作为人工智能落地的关键技术,通过在设备端直接处理数据,实现了低延迟响应和数据隐私保护。其核心原理是利用专用NPU(神经网络处理单元)进行模型计算优化,相比传统GPU方案具有更好的功耗控制和实时性。在技术价值层面,边缘AI解决了云端推理的网络依赖和延迟问题,特别适合计算机视觉、自然语言处理等需要快速响应的应用场景。以AMD Ryzen AI Halo开发套件为例,这款4000美元的硬件平台集成了专用AI加速单元,提供完整的软硬件生态支持。开发者可以利用Vitis AI平台进行模型量化优化,通过性能原创 2026-07-09 11:20:38 · 486 阅读 · 0 评论 -
Ubuntu 18.04离线安装MariaDB实战指南
MariaDB是MySQL的高性能开源替代方案,广泛用于嵌入式、工控及遗留系统数据库服务。其核心原理基于客户端-服务器架构与插件化存储引擎(如Aria、InnoDB),通过SQL接口提供ACID事务支持。在长期维护系统中,MariaDB的技术价值体现在轻量部署、高兼容性及对老旧环境的深度适配能力。典型应用场景包括边缘计算网关、RAGFlow等AI应用后端、工业数据采集终端等对稳定性与可追溯性要求严苛的生产环境。本文聚焦Ubuntu 18.04这一已退出标准支持的LTS版本,围绕apt源失效、mariadb-原创 2026-06-21 10:13:52 · 530 阅读 · 0 评论 -
ionic UI(3)TypeScript - handbook
ionic UI(3)TypeScript - handbook1 Basic Typesboolean - var isDone :boolean = false;number - var height: number = 6;string - var name:string = ‘carl’; name = “sillycat”;Array ...原创 2016-03-22 23:21:28 · 162 阅读 · 0 评论 -
uni-app/小程序生命周期函数执行时机深度解析与实战解决方案
在移动应用开发中,页面生命周期管理是构建稳定用户体验的核心基础。其原理在于框架通过定义一系列回调函数(如onLoad、onShow),精确控制页面从创建、显示到销毁的各个阶段,以实现资源的高效管理和状态同步。掌握生命周期机制的技术价值在于,它能有效避免数据重复加载、逻辑错误执行等常见问题,是提升应用性能与稳定性的关键。尤其在电商、社交等需要频繁页面跳转与状态维护的应用场景中,对生命周期的深入理解至关重要。本文聚焦于uni-app及微信小程序开发中常见的生命周期“失控”现象,例如onShow重复执行和tabB原创 2026-08-11 09:29:59 · 575 阅读 · 1 评论 -
Android Tutorial(1)Simple Cursor Adapter and ListView
Android Tutorial(1)Simple Cursor Adapter and ListViewListActivity is actually a subclass of the Activity class that includes strategies where you can attach ListAdapters.1. Prepare the files...原创 2013-03-22 05:35:42 · 151 阅读 · 0 评论 -
WURFL introduce
WURFL introduceofficial website:http://wurfl.sourceforge.net/JAVA API:http://wurfl.sourceforge.net/njava/file download url:http://sourceforge.net/projects/wurfl/files/WURFL%20Java%20...原创 2010-07-20 16:57:56 · 166 阅读 · 0 评论 -
Build Envirenment in Ubuntu10.10
Build Envirenment in Ubuntu10.10the official websitehttp://developer.android.com1. make sure my system is up-to-date:>sudo apt-get update>sudo apt-get upgrade2. Install javaI alrea...原创 2010-12-29 23:34:04 · 141 阅读 · 0 评论 -
CTF竞赛核心知识体系与实战技巧全解析
CTF(Capture The Flag)竞赛是网络安全领域的重要实战平台,涵盖Web安全、逆向工程、密码学、二进制漏洞、取证分析等多个技术方向。其核心原理在于通过模拟真实攻击场景,检验参赛者的漏洞挖掘、代码审计和防御绕过能力。在工程实践中,CTF竞赛不仅能够提升安全从业者的技术实力,还能培养团队协作和快速学习能力。Web安全方向涉及SQL注入、XSS、文件上传等常见漏洞利用;逆向工程则需要掌握静态分析和动态调试技术。这些技能在渗透测试、红蓝对抗等实际安全工作中具有重要价值。本文以CTF竞赛为切入点,系统梳原创 2026-07-28 09:14:15 · 218 阅读 · 0 评论 -
Android Framework(I)Android Spring Json
Android Framework(I)Android Spring Json1. Backgroud of Spring Android and JsonFirst, learn from spring.Spring Mobile project that provides extensions to Spring MVC for developing mobile web ap...原创 2011-05-30 23:50:38 · 321 阅读 · 0 评论 -
Android Framework(II)Person Sample with restserver
Android Framework(II)Person Sample with restserver1. Base settingsI only use the spring rest template part, so my pom.xml will be like this: 4.0.0 com.sillycat.restclient restclient 1....原创 2011-05-30 23:52:07 · 289 阅读 · 0 评论 -
MODBUS协议读写PLC V存储区:地址计算、字节序处理与实战代码
在工业自动化与物联网数据采集中,MODBUS协议因其开放性和通用性,成为连接PLC、传感器与上位机软件的核心通信标准。其工作原理基于主从架构,通过预定义的功能码和地址模型,实现对线圈、输入寄存器、保持寄存器等数据区域的读写操作。这项技术的核心价值在于为异构设备提供了统一的通信接口,极大简化了系统集成复杂度。其典型应用场景包括生产线监控、能源管理和远程设备控制。本文聚焦于一个工程实践中的关键问题:如何通过MODBUS协议高效、稳定地读写西门子S7-200 SMART等PLC的V存储区。文章深入解析了V区地址与原创 2026-08-13 14:08:32 · 560 阅读 · 0 评论 -
Mobile Jquery(II) Jquery mobile what can it do for you
Mobile Jquery(II) Jquery mobile what can it do for you1. transition type SpeakersThere are 6 types:slide Slide right to left (left to right if tapping the Back button). This i...原创 2011-07-21 10:44:23 · 162 阅读 · 0 评论 -
Mobile Jquery(III)jquery mobile with json
Mobile Jquery(III)jquery mobile with json1. Form validationDelete this entryvalidate JSfunction checkForm() { try { if ($.trim($('#person').val()) == "" || $.trim($('#contact'...原创 2011-07-21 10:45:06 · 206 阅读 · 0 评论 -
Mobile Jquery(IV)jquery mobile with ajax
Mobile Jquery(IV)jquery mobile with ajaxCSS and Script import$(function() { var serverURL = "http://192.168.1.58"; $("#AjaxTest").click(function() { var xmlHttp; ...原创 2011-07-21 10:46:01 · 166 阅读 · 0 评论 -
视频理解中的稀疏注意力机制优化与应用
稀疏注意力机制是深度学习领域处理长序列数据的重要技术,通过选择性关注关键信息而非全序列计算,显著降低计算复杂度。其核心原理基于动态构建信息密集的KV缓存子集,结合硬件感知设计实现高效计算。在视频理解等时序数据处理场景中,该技术能有效解决传统密集注意力机制面临的内存爆炸问题。Native Sparse Attention(NSA)作为创新实现,通过三分支混合架构(压缩分支、选择分支、滑动窗口分支)动态适应不同视频内容特性,在体育赛事分析、监控视频理解等实际应用中展现出显著优势。特别是在处理超长视频时,NSA机原创 2026-06-23 11:27:27 · 512 阅读 · 0 评论
分享