How to Embed an interactive Python interpreter console

There’s a few things you can do with an interpreter in your app. One of the most interesting is giving your users the ability to script your app at runtime, like GIMP and Scribus do, but it can also be used to build enhanced Python shells, like IPython. First things first: Start by importing the […]

Read More

Python for Android: Android’s Native Dialogs (SL4A)

Android has a range of built-in dialogs that allow apps to interact with users. They can be used to display things like spinners and progress bars, and can be used to prompt the user for some kind of input, like a date or string. All of the methods for creating dialogs live in SL4A’s UI […]

Read More

Python for Android: Using Webviews (SL4A)

Webviews make it easy to use web technologies to build graphical user interfaces for native applications. Many people already know some webcraft, and it’s easy to pick up and well worth knowing, so there’s a broad appeal in being able to use these technologies for native apps. This also allows developers to tap into the […]

Read More

Python for Android: The Scripting Layer (SL4A)

The Scripting Layer for Android, SL4A, is an open source application that allows programs written in a range of interpreted languages to run on Android. It also provides a high level API that allows these programs to interact with the Android device, making it easy to do stuff like accessing sensor data, sending an SMS, […]

Read More
WordPress › Error

There has been a critical error on this website.

Learn more about troubleshooting WordPress.