買這商品的人也買了...
-
$1,188The Python Standard Library by Example (Paperback)
-
$520$442 -
$560$437 -
$1,000$900 -
$250超標量處理器設計
-
$594$564 -
$650$553 -
$420$331 -
$300$255 -
$520$442 -
$301特徵工程入門與實踐 (Feature Engineering Made Easy)
-
$680$578 -
$480$379 -
$880$695 -
$380$342 -
$580$458 -
$680$530 -
$690$345 -
$378產品經理方法論 構建完整的產品知識體系
-
$419$398 -
$403中台產品經理:數字化轉型復雜產品架構案例實戰
-
$760$532 -
$948$901 -
$880$695 -
$580$458
相關主題
商品描述
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
- Introduction
- Getting Started with Android Scripting
- Navigating the Android SDK
- Developing Androids Scripts with Eclipse
- Exploring the Android API
- Background Scripting
- Python Utilities
- Python Dialog-Based GUIs
- Python for GUI with WebUI
- Packaging and Distributing Your Scripts
商品描述(中文翻譯)
《Pro Android Python with SL4A》是為那些希望在不必先學習 Java 的情況下為 Android 設備編寫應用程式的程式設計師和愛好者而設。**Paul Ferrill** 將引導您從安裝 Android 的 Scripting Layer (SL4A) 開始,接著編寫小型腳本,然後進入更複雜和有趣的專案,最後將您的程式上傳和打包到 Android 設備上。
Android 支援多種腳本語言,但 Python、Lua 和 Beanshell 特別受歡迎。大多數程式設計師都會多種程式語言,以便能夠使用最佳工具來完成他們想要達成的任務。《Pro Android Python with SL4A》通過介紹在 Android 硬體上可用的最重要的開源程式語言,探索 Android 腳本的世界。
《Pro Android Python with SL4A》首先探索 Android 軟體開發工具包,然後展示如何設置基於 Eclipse 的 Android 開發環境。接著,您將使用運行在 Dalvik 上的 Beanshell 進入 Android 程式設計的世界,學習如何編寫小型程式來管理 Android 設備。
接下來,發現 Lua 這種輕量級語言如何與 Android 協同工作,Lua 非常適合在小型設備上進行腳本編寫。Lua 可用於一些小但重要的任務,例如 SMS 加密和與 Flickr 同步照片。
最後,您將發現 SL4A 的 Python 腳本世界,以及與 Android SDK 結合的各種 Python 模組所包含的強大功能。您將學會編寫小型位置感知應用程式作為起步,但在本書結束時,您會發現自己能夠編寫在 Android 桌面上運行的完整 GUI 應用程式!
《Pro Android Python with SL4A》還包含一章關於分發和打包腳本的內容,這是一項在您希望將程式推廣給更廣泛的受眾時非常有用的技能。
您將學到的內容:
- 了解 SL4A
- 探索 Android 軟體開發工具包
- 編寫腳本以管理 Android 手機
- 編寫和執行完整的 Python 應用程式
- 學習如何使用 Facades 編寫簡單的應用程式
- 探索完整的 Android 開發過程,從開發到打包
本書適合對象:
這是一本針對初學者和中級 Android 開發者的書籍,也是一本適合任何使用 Python、Lua 或探索 Beanshell 的程式設計師的書籍。
目錄:
1. 介紹
2. 開始 Android 腳本編寫
3. 瀏覽 Android SDK
4. 使用 Eclipse 開發 Android 腳本
5. 探索 Android API
6. 背景腳本編寫
7. Python 工具
8. 基於對話框的 Python GUI
9. 使用 WebUI 的 Python GUI
10. 打包和分發您的腳本