# one-step **Repository Path**: mirrors/one-step ## Basic Information - **Project Name**: one-step - **Description**: Smartisan open source code for full build.(repo manifest xml) - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: smartisan-m-onestep_bigboom - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 5 - **Forks**: 0 - **Created**: 2017-04-03 - **Last Updated**: 2025-10-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 一步 (One Step) & Big Bang ![](http://static.smartisanos.cn/common/img/third-medium/one-step-icon_8dab923f53.png) ![](http://static.smartisanos.cn/common/img/third-medium/bigbang-icon_90f9202992.png) > 锤子科技的一小步,智能手机进化的一大步 ---- ### 什么是一步(One Step)? 通过拖拽完成将信息发送至应用或联系人的动作,节省了在不同应用之间切换的诸多步骤,第一次打通了手持设备中应用间的边界 [进一步了解 One Step](http://www.smartisan.com/m1/#/os?section=onestep) ### 什么是大爆炸(Big Bang)? 用拇指大面积按压屏幕中的文字,Big Bang 会将你按住的那一段文字全部“炸”开并且按照语义智能拆分成易于选取的独立的字和词,由你随心所欲地选择,并可直接搜索、分享和复制。Big Bang 开创性地解决了在手机这样的小屏幕上难于处理文字的弊端 [进一步了解 Big Bang](http://www.smartisan.com/m1/#/os#blastParticiple) ---- ### 写在前面的话 1. 我们开源 One Step 和 Big Bang 是希望其他厂商能将这些功能集成在系统中,共同改善安卓用户体验、提升操作效率。 2. 我们把 One Step 所有接口封装在 android.view.onestep 包下,考虑到第三方应用集成时的复杂度,请在不改变现有接口的前提下进行扩展。同时也欢迎通过 commit 向我们提交反馈。 3. 此次开源的 Big Bang 基于 Smartisan OS v3.2.0 版本,区别如下: * 分词改为三角兽线上的分词接口,使用过程中需要联网; * 有桌面图标作为设置项入口,在 Smartisan OS 上的设置选项整合在系统设置中; * 不支持 WebView,如需支持,需要修改浏览器内核; * OCR(图像文字识别)功能不可用,如需此功能,可联系上海合合信息科技发展有限公司,联系方式:emma_huang@intsig.net 4. 由于人力有限,我们仅在 Nexus6(Code Base:Android 6.0.1_MOB31K)的真机上进行了相关测试,理论上其他的机型也可以进行编译运行,但不排除会有bug 出现。最后,我们为你提供了 Nexus6 的 [build](https://github.com/SmartisanTech/SmartisanOS_Build_Release)。 ---- ### One Step 涉及的工程列表: * frameworks_base (需要更改WindowManager) * frameworks_native (需要更改input, 响应调整window后touch事件) * packages_apps_OneStep(OneStep UI层) * build(加入smartisanos框架编译以及OneStep应用) * external_sepolicy (为新引入的OneStepService设置权限) * frameworks_smatisanos_base (smartisanos 框架层) * SmartisanSDK (为第三方应用接入提供接口,以及一个简单的demo) ### Big Bang 涉及的工程列表: * frameworks_base * packages_apps_BigBang(BigBang UI层) * build(将BigBang应用加入编译) * frameworks_smatisanos_base (smartisanos 框架层) * .repo/manifest/(更新repo manifest 和 README)  ---- ### Getting Started 下载之前你需要熟悉: * [Build Environment](http://source.android.com/source/initializing.html) * [Git and Repo](http://source.android.com/source/using-repo.html) * [Preparing to Build](http://source.android.com/source/building.html) 初始化仓库: ```sh $ repo init -u https://github.com/SmartisanTech/android.git -b smartisan-m-onestep_bigboom -m manifest.xml ``` > `Tips`: 中国的开发者可以使用清华的镜像,[使用帮助](https://mirrors.tuna.tsinghua.edu.cn/help/AOSP/) 开始同步代码: ```sh $ repo sync -cdj4 ``` 同步完成后进行编译: > `Tips`: 如果你打算用Nexus6的真机体验的话,别忘了在编译前去下载对应的驱动。代码的基线是 Nexus 6 (Mobile) for Android 6.0.1 (MOB31K) 下载地址: ```sh $ . build/envsetup.sh $ lunch aosp_shamu-userdebug $ make -j4; ``` > `Tips`:我们提供了Nexus6的build [传送门](https://github.com/SmartisanTech/SmartisanOS_Build_Release) 编译完成后Nexsu6真机的刷机, 请参考 或者使用模拟器,可能配置不对,会有黑屏的问题 ```sh $ emulator ```