Giter Club home page Giter Club logo

oxforddictionary's Introduction

OxfordDictionary

英译字典

使用DexClassLoader实现代码动态加载,和隐藏关键代码

单词的查找方式是解析牛津字典的网页

app

完成了单词的英译查找功能, 缺点是如果牛津字典的网页格式发生变化,应用将不能完成单词查找。

所以将应用分成两部分:一部分为单词翻译核心功能,一部分为单词翻译显示功能和加载Dex功能;

dictkit

该Model为单词翻译核心功能,为单词翻译应用的展示界面提供数据。此次demo代码只是完成牛津字典翻译的网页进行解析。

endict

该Model实现应用的页面展示,和使用DexClassLoader对Dex文件的动态加载功能,(此次demo未实现对翻译核心功能dex的更新功能)。

dictkit和endict功能合并操作提示

将dictkit打包后使用dex2jar工具,去掉资源文件\资源id文件\MainActivity\DictImpl\DictCallback文件后,生成dictkit-release-dex2jar-jar2dex.dex

将dictkit-release-dex2jar-jar2dex.dex放入Model:endict 打包生成的APK运行情况如下 应用打开界面 翻译结果界面

oxforddictionary's People

Contributors

albertou avatar oobest avatar

Watchers

 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.