{"id":13497661,"url":"https://github.com/SmartisanTech/android","last_synced_at":"2025-03-28T22:31:48.716Z","repository":{"id":41344789,"uuid":"73700424","full_name":"SmartisanTech/android","owner":"SmartisanTech","description":"Smartisan open source code for full build.(repo manifest xml)","archived":false,"fork":false,"pushed_at":"2023-01-13T15:46:03.000Z","size":36,"stargazers_count":2663,"open_issues_count":11,"forks_count":379,"subscribers_count":182,"default_branch":"smartisan-m-onestep_bigboom","last_synced_at":"2025-03-23T10:44:28.080Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SmartisanTech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-14T11:58:43.000Z","updated_at":"2025-03-13T05:53:21.000Z","dependencies_parsed_at":"2023-02-09T16:15:59.092Z","dependency_job_id":null,"html_url":"https://github.com/SmartisanTech/android","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SmartisanTech%2Fandroid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SmartisanTech%2Fandroid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SmartisanTech%2Fandroid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SmartisanTech%2Fandroid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SmartisanTech","download_url":"https://codeload.github.com/SmartisanTech/android/tar.gz/refs/heads/smartisan-m-onestep_bigboom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246110261,"owners_count":20725022,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T20:00:35.275Z","updated_at":"2025-03-28T22:31:48.467Z","avatar_url":"https://github.com/SmartisanTech.png","language":null,"readme":"# 一步 (One Step) \u0026 Big Bang\n\n![](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)\n\n\u003e 锤子科技的一小步，智能手机进化的一大步\n\n----\n\n### 什么是一步（One Step）？\n通过拖拽完成将信息发送至应用或联系人的动作，节省了在不同应用之间切换的诸多步骤，第一次打通了手持设备中应用间的边界\n\n[进一步了解 One Step](http://www.smartisan.com/m1/#/os?section=onestep)\n\n\n### 什么是大爆炸（Big Bang）？\n用拇指大面积按压屏幕中的文字，Big Bang 会将你按住的那一段文字全部“炸”开并且按照语义智能拆分成易于选取的独立的字和词，由你随心所欲地选择，并可直接搜索、分享和复制。Big Bang 开创性地解决了在手机这样的小屏幕上难于处理文字的弊端\n\n[进一步了解 Big Bang](http://www.smartisan.com/m1/#/os#blastParticiple)\n\n----\n\n### 写在前面的话\n1. 我们开源 One Step 和 Big Bang 是希望其他厂商能将这些功能集成在系统中，共同改善安卓用户体验、提升操作效率。\n2. 我们把 One Step 所有接口封装在 android.view.onestep 包下，考虑到第三方应用集成时的复杂度，请在不改变现有接口的前提下进行扩展。同时也欢迎通过 commit 向我们提交反馈。\n3. 此次开源的 Big Bang 基于 Smartisan OS v3.2.0 版本，区别如下：\n * 分词改为三角兽线上的分词接口，使用过程中需要联网；\n * 有桌面图标作为设置项入口，在 Smartisan OS 上的设置选项整合在系统设置中；\n * 不支持 WebView，如需支持，需要修改浏览器内核；\n * OCR（图像文字识别）功能不可用，如需此功能，可联系上海合合信息科技发展有限公司，联系方式：emma_huang@intsig.net\n\n4. 由于人力有限，我们仅在 Nexus6（Code Base：Android 6.0.1_MOB31K）的真机上进行了相关测试，理论上其他的机型也可以进行编译运行，但不排除会有bug 出现。最后，我们为你提供了 Nexus6 的 [build](https://github.com/SmartisanTech/SmartisanOS_Build_Release)。\n\n----\n\n### One Step 涉及的工程列表：\n* frameworks_base (需要更改WindowManager) \u003chttps://github.com/SmartisanTech/android_frameworks_base\u003e\n* frameworks_native (需要更改input, 响应调整window后touch事件)\u003chttps://github.com/SmartisanTech/android_frameworks_native\u003e\n* packages_apps_OneStep(OneStep UI层) \u003chttps://github.com/SmartisanTech/packages_apps_OneStep\u003e\n* build（加入smartisanos框架编译以及OneStep应用） \u003chttps://github.com/SmartisanTech/android_build\u003e\n* external_sepolicy (为新引入的OneStepService设置权限)\u003chttps://github.com/SmartisanTech/android_external_sepolicy\u003e\n* frameworks_smatisanos_base (smartisanos 框架层) \u003chttps://github.com/SmartisanTech/android_frameworks_smartisanos-base\u003e\n* SmartisanSDK (为第三方应用接入提供接口，以及一个简单的demo)\u003chttps://github.com/SmartisanTech/SmartisanOS-SDK\u003e\n\n\n### Big Bang 涉及的工程列表：\n* frameworks_base  \u003chttps://github.com/SmartisanTech/android_frameworks_base\u003e\n* packages_apps_BigBang(BigBang UI层) \u003chttps://github.com/SmartisanTech/packages_apps_BigBang\u003e\n* build（将BigBang应用加入编译） \u003chttps://github.com/SmartisanTech/android_build\u003e\n* frameworks_smatisanos_base (smartisanos 框架层) \u003chttps://github.com/SmartisanTech/android_frameworks_smartisanos-base\u003e\n* .repo/manifest/(更新repo manifest 和 README)　\u003chttps://github.com/SmartisanTech/android\u003e\n\n----\n\n### Getting Started\n下载之前你需要熟悉：\n\n* [Build Environment](http://source.android.com/source/initializing.html)\n* [Git and Repo](http://source.android.com/source/using-repo.html)\n* [Preparing to Build](http://source.android.com/source/building.html)\n\n初始化仓库：\n\n```sh\n    $ repo init -u https://github.com/SmartisanTech/android.git -b smartisan-m-onestep_bigboom -m manifest.xml\n```\n\u003e `Tips`: 中国的开发者可以使用清华的镜像，[使用帮助](https://mirrors.tuna.tsinghua.edu.cn/help/AOSP/)\n\n开始同步代码：\n\n```sh\n    $ repo sync -cdj4\n```\n\n同步完成后进行编译：\n\n\u003e `Tips`: 如果你打算用Nexus6的真机体验的话，别忘了在编译前去下载对应的驱动。代码的基线是 Nexus 6 (Mobile) for Android 6.0.1 (MOB31K) 下载地址：\u003chttps://developers.google.com/android/drivers\u003e\n\n```sh\n     $ . build/envsetup.sh\n     $ lunch aosp_shamu-userdebug\n     $ make -j4;\n```\n\u003e `Tips`:我们提供了Nexus6的build [传送门](https://github.com/SmartisanTech/SmartisanOS_Build_Release)\n\n编译完成后Nexsu6真机的刷机， 请参考 \u003chttp://source.android.com/source/running.html#flashing-a-device\u003e\n或者使用模拟器，可能配置不对，会有黑屏的问题\n```sh\n     $ emulator\n```\n","funding_links":[],"categories":["Uncategorized","Others"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSmartisanTech%2Fandroid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSmartisanTech%2Fandroid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSmartisanTech%2Fandroid/lists"}