Login     Sign Up
Creating an Earthquake Viewer in android coding
Creating an Earthquake Viewer In the following example, you’ll create a tool that uses a USGS earthquake feed to display a list of recent earthquakes. You will return to this Earthquake application .. Read more
7 months ago
44 Views
Introducing, Using and Managing Dialogs
Introducing the Dialog Class ---------------------------- The Dialog class implements a simple floating window that is constructed entirely within an Activity. To use the base Dialog class, you crea.. Read more
7 months ago
59 Views
Using, Create and Leveraging Internet Resources (Android)
Using Internet Resources: With Internet connectivity and WebKit browser, you might well ask if there’s any reason to create native Internet-based applications when you could make a web-based version .. Read more
7 months ago
46 Views
Introducing Some Android-Supplied Adapters
Introducing Adapters: Adapters are bridging classes that bind data to user-interface Views. The adapter is responsible for creat-ing the child views used to represent each item and providing access to.. Read more
7 months ago
52 Views
Registering Broadcast Receivers in Your Application Manifest in android development code
To include a Broadcast Receiver in the application manifest, add a receiver tag within the applica-tion node specifying the class name of the Broadcast Receiver to register. The receiver node needs to.. Read more
7 months ago
43 Views
Using Intents to Broadcast Events and Listening for Broadcasts with Broadcast Receivers
As a system-level message-passing mechanism, Intents are capable of sending structured messages across process boundaries. So far you’ve looked at using Intents to start new application components, b.. Read more
7 months ago
49 Views
Using Intent Filters for Plug-ins and Extensibility
Using Intent Filters for Plug-ins and Extensibility So far you’ve learned how to explicitly create implicit Intents, but that’s only half the story. Android lets future packages provide new functiona.. Read more
7 months ago
48 Views
How Android Resolves Intent Filters and Responding to Intent Filter Matches
The anonymous nature of runtime binding makes it important to understand how Android resolves an implicit Intent into a particular application component. As you saw previously, when using startActivi.. Read more
7 months ago
61 Views
Using Intent Filters to Service Implicit Intents
If an Intent is a request for an action to be performed on a set of data, how does Android know which application (and component) to use to service the request? Intent Filters are used to register Act.. Read more
7 months ago
42 Views
Intents Native Android Actions application
Native Android applications also use Intents to launch Activities and sub-Activities. The following noncomprehensive list shows some of the native actions available as static string con-stants in the.. Read more
7 months ago
45 Views
Android: Intents, Broadcast Receivers, Adapters, and the Internet
At first glance, the subjects of this chapter may appear to have little in common; in practice, they represent the glue that binds applications and their components. Mobile applications on most platf.. Read more
7 months ago
67 Views
Continuion of To-Do List Example in android development Studio code
In the following example, you’ll be adding some simple menu functions to the To-Do List application you started in Chapter 2 and continued to improve previously in this chapter. You will add the abil.. Read more
7 months ago
50 Views
Creating Submenus and using Context Menus and Handling Context Menu Selections
Submenus and Context Menus: Context menus are displayed using the same floating window as the submenus shown in Figure 4-5. While their appearance is the same, the two menu types are populated differ.. Read more
7 months ago
48 Views
Defining an Activity Menu, Menu Item Options, Dynamically Updating Menu Items and Handling Menu Selections
To define a menu for an Activity, override its onCreateOptionsMenu method. This method is triggered the first time an Activity’s menu is displayed. The onCreateOptionsMenu receives a Menu object as a.. Read more
7 months ago
52 Views
Creating and Using Menus and Introducing the Android Menu System
Menus offer a way to expose application functions without sacrificing valuable screen space. Each Activity can specify its own Activity menu that’s displayed when the device’s menu button is pressed. .. Read more
7 months ago
45 Views
Handling User Interaction Events and Creating a Compass View Example and Using Custom Controls and how to draw a marker
Handling User Interaction Events To make your new widget interactive, it will need to respond to user events like key presses, screen touches, and button clicks. Android exposes several virtual event.. Read more
7 months ago
63 Views
Creating Custom Widgets and Controls and a New Visual Interface with the new paint brushes
Creating completely new Views gives you the power to fundamentally shape the way your applica-tions look and feel. By creating your own controls, you can create User Interfaces that are uniquely suite.. Read more
7 months ago
61 Views
The way you can Structure Compound Controls in android Studio
Compound controls are atomic, reusable widgets that contain multiple child controls laid out and wired together. When you create a compound control, you define the layout, appearance, and interaction.. Read more
7 months ago
60 Views
How you can Customizing Your To-Do List in android development Studio
The To-Do List example from Chapter 2 uses TextViews (within a List View) to display each item. You can customize the appearance of the list by creating a new extension of the Text View, overriding th.. Read more
7 months ago
78 Views
Introduction on how to create android Layouts
**Introducing Layouts** Layout Managers (more generally, “layouts”) are extensions of the ViewGroup class designed to control the position of child controls on a screen. Layouts can be nested, lettin.. Read more
7 months ago
51 Views
Friends