Posts

SPAN in Android TableLayout

Image
SPAN in Android TableLayout  Today I realised that there should be a SPAN capability in the TableLayout (as similar to HTML table). Before providing a complete example, some attribute discussed here which is used in TableLayout android:layout_span        =      colspan in html table android:padding            =      margin in html table android:paddingLeft        =      left margin in html table   android:paddingRight       =      right margin in html table   android:paddingTop         =      top margin in html table  android:paddingBottom      =      bottom margin in html ...

Features of Spring 3.0 Framework

Image
Features of Spring 3.0 Framework: Java 5 Support: The core API of Spring 3.0 framework is using JDK 5, so JDK 5 or above is required to run Spring 3.0 based applications. The Spring 3.0 framework provides annotation -based configuration support. JDK 5 features such as generics, annotations and varargs can used in Spring 3.0 Framework based applications. The Spring 3.0 framework is based on JDK 1.5 and it fully supports JDK 6. The Spring 3.0 is fully compatible with the JEE1.4 and EE5.   Expression language - Spring Expression Language (SpEL): In this release of Spring framework Expression language support is present. The Spring Expression Language  can be used while defining the XML and Annotation based bean definition.   Support for Comprehensive REST Webservices: Spring 3.0 framework supports REST web services.   Java EE 6 Support: Spring 3.0 supports many features of JEE 6 such as JAP 2.0 and JSF 2.0.   Annotation based formatt...

Explain the Architecture of android

Image
What is Android? Android is a software stack for mobile devices that includes an operating system, middleware and key applications. Explain the Architecture of android ? Top -> Applications (Contacts, Browser, Phone, etc) Below Applications -> Application Framework(Activity Manager, Window Manager, Content Providers, View System, Package manager, Telephony manager, Resource, Notification, Location managers) Below Application Framework -> System Libraries(Like Sqlite, webkit, SSL, OpenGL, Media Framework etc) & Android Runtime( Core Libraries and DVM) Atlast Last -> Linux Kernel (which composed of drivers like display, camera etc.) 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 that an Intent sender desires. What is an activity? A single screen in an applicat...

Android hit question and answer

Image
What are the steps that are involved in converting the android in newer version? To release a new version requires lots of changes and a process has to be developed to build the changes. The steps that is required: • In the beginning of the creation the software gets the built or the earlier version of the system image. This includes various certifications and deployment rules and regulations. • The built goes through operator testing and this is one of the important phase as it allows lot of bugs to be found and corrected. • The release then goes the regulators, moderators and operators to produce the devices to release the source code. The code that is written is checked for errors and there is a sign of the agreement that take place between the contributors and some verification are performed. • The product...

What is Android

Image
What is Android? Android is a stack of software for mobile devices which includes an Operating System, middleware and some key applications. The application executes within its own process and its own instance of Dalvik Virtual Machine. Many Virtual Machines run efficiently by a DVM device. DVM executes Java languages byte code which later transforms into .dex format files. What is an Activity? A single screen in an application, with supporting Java code. What is an Intent? A class (Intent) which describes what a caller desires to do. The caller will send this intent to Android's intent resolver, which finds the most suitable activity for the intent. E.g. opening a PDF document is an intent, and the Adobe Reader apps will be the perfect activity for that intent (class). What is a Sticky Intent? sendStickyBroadcast() performs a sendBroadcast(Intent) known as sticky, i.e. the Intent you are sending stays around after the broadcast is complete, so that others can quickl...

In Android R cannot be resolved. The error is in the setContentView (R.layout.main); BUILD.XML:40: SOURCE RESOURCE DOES NOT EXIST: H:\Hello\Helloworld\project.properties

Image
Android R cannot be resolved or Many problem

How to get started with Android and NetBeans

Image
How to get started with Android and NetBeans ---Android Configuration---