Eclipse Android Imagebutton Accesibility Missing ContentDescription Attribute On Image

ImageButton is a great addition in Android. However, it can generate a warning which can luckily easy to overcome. Description Resource Path Location Type: [Accessibility] Missing contentDescription attribute on image menu.xml /project/res/layout line 22 Android Lint Problem. To fix this add the following line in the xml at the ImageButton android:contentDescription=”@string/desc” Resolved this warning by setting

Read More

Eclipse Android Tag Should Specify A Target API Level

Android SDK Tools revision 17 warning about API Level running in API 15, this properly occur in previous versions as well. Error: “Description Resource Path Location Type: <uses-sdk> tag should specify a target API level (the highest verified version; when running on later versions, compatibility behaviors may be enabled) with android:targetSdkVersion=”?” AndroidManifest.xml /inLogic line 7 Android

Read More

CSS3 Gradient Generator

Using gradient color can be cool and be completed with css style. Making a gradient color in css can be completed as following: [sourcecode language=”css”] <script type="text/css"> .txt { background-image: linear-gradient(bottom, rgb(132,170,193) 15%, rgb(159,204,232) 58%, rgb(191,245,255) 79%); background-image: -o-linear-gradient(bottom, rgb(132,170,193) 15%, rgb(159,204,232) 58%, rgb(191,245,255) 79%); background-image: -moz-linear-gradient(bottom, rgb(132,170,193) 15%, rgb(159,204,232) 58%, rgb(191,245,255) 79%); background-image: -webkit-linear-gradient(bottom,

Read More

SourceCode Compressor

When optimizing it can be a good idea to compress (also called minification) your files by removing all unnecessary characters from source code. There are several website which can easily help with that: HTML Compressor JavaScript Compressor CSS Compressor

Dreamweaver is unable to open PhoneGap in the emulator

“Dreamweaver is unable to open “PhoneGap” in the emulator. Please consult the buildlog at C:\Users\$name\Desktop\myapp.app_Android\buildlog.log for additional details.” Building PhoneGap application with Dreamweaver is fairly easy. PhoneGap app are build with HTML, CSS and Javascript. It can be created with any IDE or text editor, yes even vi on Linux. Adobe has made this possible

Read More