. f March 2014 ~ Android Developers Blog

Sunday, 30 March 2014

Android action bar item test case using Robotium

Hello friends,                   This is my small tutorial on Android test driven development using Robotium Today, I am going to share the code which helps you in writing the testcase for action bar menu item selection. Here is the complete...

Tuesday, 25 March 2014

Android Google TV Setup | Android Google TV Development -Part 1

Hello Friends,                  Hello android Guys as we as we Google launches three new future last moth Android | Google awesome features : 1. Android L Developer Preview 2. Android Wear SDK 3. Android TV Preview SDK 4. Google glass  ...

Thursday, 20 March 2014

Creating and Storing Log File on device in Android

Hello Friends,         Today, I am sharing another android tutorial which helps you in Creating and Storing Log File in your android phone. 1. MainActivity.java package com.example.logfileimplementation; import java.io.File; import android.os.Bundle; import android.os.Environment; import android.app.Activity; import android.util.Log; import android.view.Menu; import android.widget.TextView; public class MainActivity extends Activity...

Tuesday, 18 March 2014

"Collect preferences failed" eclipse ADT error | You may have an "No repository found error"

Hello Droid Guys,                            After updating the sdk manager to latest sdk i.e version 22.6.             I am start getting following error:  [2014-03-18 13:12:03 - Framework Resource Parser] Collect preferences failed,...

Thursday, 13 March 2014

Android Robotium Test -run robotium tests in a specific order

Hello Friends,                          This is very common scenario when you are running any testsuits. It by default runs in alphabetical order. I too faces the same problem while writing the test case using Robotium. In my case I want to execute the...

Friday, 7 March 2014

java.lang.RuntimeException: Stub! in Robolectric

Hello Droid Friends,                               Have you facing following error while running a test case using Roboelectric and Junit-4. java.lang.RuntimeException: Stub! at android.content.Context.<init>(Context.java:4) at android.content.ContextWrapper.<init>(ContextWrapper.java:5) at android.view.ContextThemeWrapper.<init>(ContextThemeWrapper.java:5) at android.app.Activity.<init>(Activity.java:6) at com.actionbarsherlock.app.SherlockActivity.<init>(SherlockActivity.java:21) at com.opttown.OptTown.DrawerBaseActivity.<init>(DrawerBaseActivity.java:34) at com.opttown.Places.MyPlaces.<init>(MyPlaces.java:63)...

 

Copyright @ 2013 Android Developers Blog.