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 […]

Java

Split String using | (pipe) symbol method

Posted on

Split string using | If you try to split string using |(pipe) symbol as below myString.split(“|”); it doesn’t work as expected. As it means “split on every character.” So you should try with double backward slash and Pipe symbol as below myString.split(“\\|”); Hope it helps somebody… 🙂 ref link & credits: http://hoskinator.blogspot.in/2006/11/trouble-using-pipe-with-stringsplit.html You may also interested […]

Android Studio

How to debug project, Android Studio

Posted on

Android Studio: Debug Project This post is for beginners, to give basic understanding to debug project in Android Studio. To debug Project, you have to place breakpoints at the code line, of a method or class, So the debugger will stop at that break point while debugging.To place a break point just click on  work […]

Android Studio

Gradle error, Could not find method jcenter() for arguments [] on repository container

Posted on

Could not find method jcenter() When i tried to see project dependencies using gradle command in Android Studio Terminal, I get following error,Could not find method jcenter() for arguments [] on repository container. project_path>gradle -q dependencies app FAILURE: Build failed with an exception. Where: Build file ‘projectpathbuild.gradle’ line: 4 What went wrong: A problem occurred […]

Inspiring Quotes

Quotes taken from status messages

Posted on

These are few Inspiring Quotes i collected from status messages of my friends and different peoples. I really inspired and like the perception of my friends to use these quotations as status messages… Krantik Whatever it takes…. make it happen 🙂 Clarity gives Quality, Programming is about getting clarity on what you need to do. […]