Wednesday, December 31, 2014

Spread : Widget Button design

Spread : Widget Button design

The default widget that has been created with our project is not what we're expecting. We will customize it so that it fits our needs. Layout file Open the file named spread_app_widget.xml in res->layout and select the text tab. Here we can see the graphical structure of the AppWidget

Tuesday, December 30, 2014

Spread : AppWidget

Spread : AppWidget

Description Here is a VERY simple representation of our AppWidget class inherited from AppWidgetProvider. A widget is (by default) owned by the home screen app meaning that the methods listed above will be called by the home screen. onEnabled: called when the first instance of the widget is
Spread : First steps with Android Studio

Spread : First steps with Android Studio

Now that I know what I have to do, let's create a new project with Android Studio ! Create New Project 1. File -> New Project 2. Give it the name you want (Spread here) and click Next 3. On next window, select API 15 (which covers more than
Spread : an AppWidget to broadcast short messages to registered contacts

Spread : an AppWidget to broadcast short messages to registered contacts

This is my first application for Android and instead of creating a simple activity that displays "Hello World" and some buttons, I'll try to make something that can be more useful (for me at least ^^). Spread ?  Yes, Spread. At some point, you have to give it a
Android project, first things first : project files structure

Android project, first things first : project files structure

When creating a new android project, a lot of files are generated and appears in our source tree view. Let's a look at what's inside. Note: The content of java folder will be ignored here. "XML is your ally" Hope you like it beacuse XML is used almost everywhere
Pages (14)123456

 
biz.