Skip to content

#6 User Interface

Croke edited this page May 4, 2018 · 1 revision

Introduction

We have created a simple interface in GTK using PyGTK and Glade. The interface is executed automatically when the phone is power up. When the interface appears we have the Shut-down, Instructions, About and Call options. If you touch in the call option the interface will ask you for the PIN number.

Each button will start a different view of the application. In PyGTK each view of the application is a python class, from each class we can access the components, listen for events and modifying the elements and the content. You can see the interface code in the repository or read the official documentation for more information.

Functionality

The developed interface has a basic functionality. It can call, input the PIN, power off the device and change between the different views.

The functionalities already implemented are:

  • Power off.
  • Change between views.
  • Introduce PIN number.
  • Call.
  • End a call.

These functions doesn't mean that we are limited to the traditional functions of a mobile phone. Using AT commands we can develop applications using the GPRS, GSM, send SMS or access the internet.


Next: Building