Coder Social home page Coder Social logo

android's Introduction

#一步 (One Step)

锤子科技的一小步,智能手机进化的一大步


什么是一步(One Step)?

通过拖拽完成将信息发送至应用或联系人的动作,节省了在不同应用之间切换的诸多步骤,第一次打通了手持设备中应用间的边界

进一步了解 One Step


写在前面的话

  1. 我们开源 One Step 是希望其他厂商能将这一功能集成在系统中,共同改善安卓用户体验、提升操作效率。
  2. 我们把 One Step 所有接口封装在 android.view.onestep 包下,考虑到第三方应用集成时的复杂度,请在不改变现有接口的前提下进行扩展。同时也欢迎通过 commit 向我们提交反馈。
  3. 由于人力有限,我们仅在 Nexus6(Code Base:Android 6.0.1_MOB31K)的真机上进行了相关测试,理论上其他的机型也可以进行编译运行,但不排除会有bug 出现。最后,我们为你提供了 Nexus6 的 build

One Step涉及的工程列表:


Getting Started

下载之前你需要熟悉:

初始化仓库:

    $ repo init -u https://github.com/SmartisanTech/android.git -b smartisan-m-onestep_bigboom -m manifest.xml

Tips: **的开发者可以使用清华的镜像,使用帮助

开始同步代码:

    $ repo sync -cdj4

同步完成后进行编译:

Tips: 如果你打算用Nexus6的真机体验的话,别忘了在编译前去下载对应的驱动。代码的基线是 Nexus 6 (Mobile) for Android 6.0.1 (MOB31K) 下载地址:https://developers.google.com/android/drivers

     $ . build/envsetup.sh
     $ lunch aosp_shamu-userdebug
     $ make -j4;

Tips:我们提供了Nexus6的build 传送门

编译完成后Nexsu6真机的刷机, 请参考 http://source.android.com/source/running.html#flashing-a-device 或者使用模拟器,可能配置不对,会有黑屏的问题

     $ emulator

android's People

Contributors

zhangjizxc avatar huanghe666666 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.