Android

Simple Weekview calendar implemented using GridView

Posted on

Simple Weekview calendar implemented using GridView. I tried to search for a simple Weekview calendar, which display 7 week days. But not able to find a simple one. So i implemented simple weekview calendar which just displays 7 week days with left right buttons to load prev/next week days. Screenshot Simple Weekview calendar implemented using GridView. Download […]

Android

Flash or Pulse Animation for a Button Android

Posted on

At times we may require to get user’s attention to click on a Button, to view some important information in app. For this purpose Flash or Pulse animation helps us very well. Below are code snippets to implement these animations. Implementing Flash animation We can use AnimationDrawable class, to add frames of two different colours, which […]

Android

Unable to resolve superclass of Activity

Posted on

Unable to resolve superclass When you added Android Support library to your project in Eclipse ADT, to implement classes like FragmentActivity, ViewPager etc At times you may see this error which results in app crash due to Unable to resolve superclass, Unable to resolve superclass of Lin/AppPath/MainActivity; (9) 05-16 14:10:11.705: W/dalvikvm(6534): Link of class ‘Lin/AppPath/MainActivity;’ […]

Android

Display AlertDialog with Multiple Options

Posted on

AlertDialog with Multiple Options Hi Guys, At times you may require to show multiple options in a dialog on Acitivty. So user can select any one option. here is the simple code to display with AlertDialog with Multiple Options CharSequence options[] = new CharSequence[] {“Call”, “SMS”, “Email”}; AlertDialog.Builder builder = new AlertDialog.Builder(this); builder.setCancelable(false); builder.setTitle(“Select your option:”); […]

Android

Logcat data Clearing too Fast- ADT Eclipse

Posted on

While running app on latest android devices, from ADT Eclipse, you may find difficulty in viewing LogCat data. As lots of other background services of different apps are running, logcat clearing out in a glimpse. At this kind of situation, To view LogCat data you have to change a ADT Eclipse setting as shown below.. Goto […]

Android

Could not resolve com.android.support:support-v4:22.0.0, Android Studio

Posted on

While implementing Push Notifications, I get this error Could not resolve all dependencies for configuration I’ve installed Google Play Services and Google Repository using SDK manager and added the following dependencies in gradle file dependencies { compile ‘com.google.android.gms:play-services-gcm:7.0.0’ …. } When I run the app, I see following error, Could not resolve all dependencies for configuration ‘:library:_debugCompile’. […]

Android

Authentication is required. You need to sign in to your Google Account. -Google Play In-App Purchase(IAP)

Posted on

Issue: Google Play In-App Purchase(IAP) While working with Google Play In-App Purchase feature, follows After uploading Trivial Drive app in Alpha Testing, and configuring Store listings and In App products and charges, published app in Google Play Developer Console. While testing the Trivial Driver app, on a device with test account… Im able to Buy Gas […]