又到一年结束时,回顾这一年,我在几个新的技术领域取得了一些小小的收获,这其中,有App相关的,也有App领域之外的。接下来,我来谈谈自己的一些实践和心得体会。 1)《Android插件化开发指南》的英文版出版 在社区一众朋友的帮助下,我把这本书翻译成英文,并经过几番修改,终于由CPC Pre Read More
(十)PMS及App安装过程 PMS,全称PackageManagerService,是用来获取Apk包的信息的。 在前面分析四大组件与AMS通信的时候,我们介绍过,AMS总是会使用PMS加载包的信息,将其封装在LoadedApk这个类对象中,然后我们就可以从中取出在manifest声明的四大组件信 Read More
古者富贵而名灭,不可胜记,唯倜傥非常之人称焉。故西伯拘而演《周易》,屈原放逐,乃赋《离骚》。文人雅士一次次的谱写着千古绝唱,而我亦不能免俗,也要附庸风雅,写一部前不见古人、后不见来者的经典之作。 于是,历时一年,呕心沥血,结合自身3年来从事App领域的一线实战经验,写下这洋洋洒洒三百多页十几万字。初稿完成后,杜勇帮我介绍了机械工业出版社的吴怡老师,促成了这本书的出版。临近出版之际,约到了周鸿祎和刘江、屠毅敏等人的序言,为本书增色不少。 Read More
接下来要说的一个系列,是一个完整的App应用所需要的企业级框架设计,是我这2年来在无线客户端这个领域摸爬滚打的,总结沉淀的心得体会,中途吃了很多亏,走过很多弯路,加了很多班,一次又一次的重构,不断的学习,才知道,哦,原来iOS要这么做,原来Android要那么做,然后回过头来再看看我最熟悉的WP,哦,原来WP还可以做的更好。2年间,我还接手了MobileAPI的维护,从而让客户端和服务器端的配合更顺畅,中途还发明了几个好用的工具,从服务器端到客户端这条路我打通了。再然后,我还碰了碰tcp+protobuf,WP8的项目就是基于此开发的。此外,我还打通了另一条路,那就是前端设计人员和客户端开发人 Read More
Now it is time to resolve the issue left in chapter 8, when there are no obstructions between the distinction and original place, the sprite still use A* algorithm to find path, rather than moving bet... Read More
I introduced how to create map in the game in the previous chapters. The difficulty is the implementation inside the map, such as obstructions. Let me introduce another method to implement obstruction... Read More
I introduce map presentation in the previous chapters. In general, it is enough to simple games; but we need to spend more energy on the map to simulate real world and achieve more realistic effect. T... Read More
本人从事编程20年,主要是前端网站、小程序、App技术、桌面开发等领域。三年前从事AI技术,1年前因为限购,没有英伟达的卡可以用,直接路转粉,开始MindSpore的征程。 在此之前,我对cv、nlp、图神经网络、推荐系统、知识图谱、对抗网络、扩散模型、强化学习都有涉猎,正在看语音合成、语音识别、大 Read More
The mobile technology has become more and more mature, and it has evolved from a ridiculous situation in 2012 to now. For the Chinese engineers, we are more concerned about such a few points, ho... Read More
Since plug-in will be replaced by RN as following years, what is the future of plug-in? the answer is virtual machine technology. Some engineers already have experience of installing a virt... Read More
In Android, Activity, Service, ContentProvider, and BroadcastReceiver are called as four major components. Do all four components need convert to plug-ins? Over the years, I have been worki... Read More
Android plug-in is in full swing in China, why is it silent in foreign countries? The applications of those unicorns in Silicon Valley did not find plug-in. On the one hand, foreigners... Read More
In 2015, React Native (RN) was born. At that time, few people paid attention to it because it was still immature with even few basic controls. Then, with the iteration of the RN project, the fun... Read More