Pro Android Python with SL4A

0
(0)

Pro Android Python with SL4A
 

  • Author:Paul Ferrill
  • Length: 296 pages
  • Edition: 1
  • Publisher: Apress
  • Publication Date: 2011-06-27
  • ISBN-10: 1430235691
  • ISBN-13: 9781430235699
  • Sales Rank: #3352098 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Pro Android Python with SL4A is for programmers and hobbyists who want to write apps for Android devices without having to learn Java first. Paul Ferrill leads you from installing the Scripting Layer for Android (SL4A) to writing small scripts, to more complicated and interesting projects, and finally to uploading and packaging your programs to an Android device.

    Android runs scripts in many scripting languages, but Python, Lua, and Beanshell are particularly popular. Most programmers know more than one programming language, so that they have the best tool for whatever task they want to accomplish. Pro Android Python with SL4A explores the world of Android scripting by introducing you to the most important open-source programming languages that are available on Android-based hardware.

    Pro Android Python with SL4A starts by exploring the Android software development kit and then shows you how to set up an Eclipse-based Android development environment. You then approach the world of Android programming by using Beanshell, which runs on the Dalvik, and learning how to write small programs to administer an Android device.

    Next, discover how Lua, a lightweight language perfectly suited for scripting on smaller devices, can work with Android. Lua can be used for small but important tasks, like SMS encryption and synchronizing photos with flickr.

    Last, but certainly not least, you will discover the world of Python scripting for SL4A, and the power contained within the full range of Python modules that can combine with the Android SDK. You’ll learn to write small location-aware apps to get you started, but by the end of this book, you’ll find yourself writing fully GUI-fied applications running on the Android desktop!

    Pro Android Python with SL4A is rounded out with a chapter on distributing and packaging scripts, a skill that you’ll find very useful as you reach out to a wider audience with your programs.

    What you’ll learn

    • Understand the SL4A
    • Explore the Android software development kit
    • Write scripts to administer an Android phone
    • Write and execute full Python and applications
    • Learn how to write simple apps using Facades
    • Explore the full Android development process, from development to packaging

    Who this book is for

    This is a book for beginning and intermediate Android developers, and a book for anyone coding in Python, Lua or exploring Beanshell.

    Table of Contents

    1. Introduction
    2. Getting Started with Android Scripting
    3. Navigating the Android SDK
    4. Developing Androids Scripts with Eclipse
    5. Exploring the Android API
    6. Background Scripting
    7. Python Utilities
    8. Python Dialog-Based GUIs
    9. Python for GUI with WebUI
    10. Packaging and Distributing Your Scripts

    中文:

    书名:Pro Android Python with SL4A

    带有SL4A的Pro Android Python is for programmers and hobbyists who want to write apps for Android devices without having to learn Java first. Paul Ferrill 引导您从安装Android脚本层(SL4A)到编写小脚本,再到更复杂、更有趣的项目,最后是将程序上传和打包到Android设备。

    Android运行多种脚本语言的脚本,但Python、Lua和BeanShell特别受欢迎。大多数程序员懂得不止一种编程语言,因此他们有最好的工具来完成他们想要完成的任务。 带有SL4A的Pro Android Python 通过向您介绍基于Android的硬件上可用的最重要的开源编程语言,探索Android脚本的世界。

    带有SL4A的Pro Android Python 从探索Android的软件开发工具包开始,然后向您展示如何设置基于Eclipse的Android开发环境。然后,您将通过使用在Dalvik上运行的BeanShell并学习如何编写管理Android设备的小程序来接近Android编程的世界。

    接下来,了解Lua这种非常适合在小型设备上编写脚本的轻量级语言如何与Android兼容。Lua可以用于小但重要的任务,比如短信加密和与flickr同步照片。

    最后,但同样重要的是,您将了解针对SL4A的Python脚本编写世界,以及可以与Android SDK相结合的全系列Python模块所包含的强大功能。你将学习如何编写位置感知的小应用程序来帮助你入门,但在本书结束时,你会发现自己编写的是在Android桌面上运行的完全图形化的应用程序!

    带有SL4A的Pro Android Python 最后一章介绍了脚本的分发和打包,当你用你的程序接触到更广泛的受众时,你会发现这项技能非常有用。

    What you’ll learn

    • Understand the SL4A
    • 探索Android软件开发工具包
    • 编写管理Android手机的脚本
    • 编写并执行完整的Python和应用程序
    • 了解如何使用Facade编写简单的应用程序
    • 探索完整的Android开发流程,从开发到打包

    Who this book is for

    这是一本面向Android初级和中级开发人员的书,也是一本适合使用Python、Lua或探索BeanShell编写代码的人的书。

    Table of Contents

    1. Introduction
    2. Android脚本入门
    3. Navigating the Android SDK
    4. Developing Androids Scripts with Eclipse
    5. Exploring the Android API
    6. Background Scripting
    7. Python Utilities
    8. Python Dialog-Based GUIs
    9. Python for GUI with WebUI
    10. 打包和分发您的脚本
  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册