Posts
Showing posts with the label Android
Android Styles and Themes
- Get link
- X
- Other Apps
Android Styles and Themes If you already know about Cascading Style Sheet (CSS) in web design then to understand Android Style also works very similar way. There are number of attributes associated with each Android widget which you can set to change your application look and feel. A style can specify properties such as height, padding, font color, font size, background color, and much more. You can specify these attributes in Layout file as follows: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > <TextView android:id="@+id/text_id" android:layout_width="wrap_content" android:layout_height="wrap_content" android:capitalize="characters" android:textColor=...
Android Intent
- Get link
- X
- Other Apps
Android Intent Intent is the negotiator between two activities or between two applications. It gives the ability to pass messages and data between the two entities. When writing applications for mobile, Intent is very handy, since it gives access to a lot of the OS services like opening the camera, a browser, displaying notifications and so on. Intents are instances of the android.content.Intent class. One of the most common uses for Intents is to start new activities . Intents can also be used to broadcast messages across the system. Any application can register Broadcast Receiver to listen for, and react to, these broadcast Intents. Android uses broadcast Intents to announce system events, like changes in internet connection status or battery charge levels. The native android applications such as the phone dialer & SMS Manager, simply register components that listen for specific broadcast Intents- such as "incoming phone call" or "SMS message r...
Android Animation
- Get link
- X
- Other Apps
Android Animation We can animate all the views like Layouts, TextViews, ImageViews, Buttons etc. Animation makes the GUI more interactive and enhance User Experience. Android offers two kinds of animation: ➤ Frame-by-Frame Animations are Traditional cell-based animations in which a different Drawable is displayed in each frame. Frame-by-frame animations are displayed within a View, using its Canvas as a projection screen. ➤ Tweened Animations Tweened animations are applied to Views, letting you define a series of changes in position, size, rotation, and opacity that animate the View contents. Note: Both animation types are restricted to the original bounds of the View they’re applied to. Rotations, translations, and scaling transformations that extend beyond the original boundaries of the View will result in the contents being clipped. Tweened Animations Tweened animations offer a simple way to provide depth, movement, or feed...
Android Interview Questions - Fresher
- Get link
- X
- Other Apps
Android Interview Questions -Fresher What is Android? Android is a software stack for mobile devices that includes an operating system, middleware and key applications. What are the features of Android? 1. SQLite enables to store the data in a structured manner. 2. Supports GSM telephone and Bluetooth, WiFi, 3G and EDGE technologies 3. The development is a combination of a device emulator, debugging tools, memory profiling and plug-in for Eclipse IDE. 4. Components can be reused and replaced by the application framework. 5. Optimized DVM for mobile devices Describe the APK format. The APK file is compressed the AndroidManifest.xml file, application code (.dex files), resource files, and other files. A project is compiled into a single .apk file. What is an action? A description of something tha...