Alternative to showCase library for app user-tutorials?

background I’ve found a nice library for showing a tutorial to the user about specific items on the screen, called “ShowCase view library” . the problem the library quite buggy and sometimes puts its textural items outside the screen (for example when the device is rotated) . the question is there an alternative to this […]

I'm getting “Error: No resource found that matches the given name (at value with value @integer/google_play_services_version)”

I’m developing an app on Ionic Framework/cordova, and when I try “cordova run android” I get this: “Error: No resource found that matches the given name (at value with value @integer/google_play_services_version)” I don’t really know what is happening, I tried to set the value with a fixed value (I know is not the best solution), […]

How to implement cookie handling on Android using OkHttp?

Using OkHttp by Square, how can I: Retrieve a cookie returned from the server Store the cookie for upcoming requests Use the stored cookie in subsequent requests Update the cookie returned by the subsequent request Ideally the cookie would be stored, resent and updated automatically with every request.

Custom filtering in Android using ArrayAdapter

I’m trying to filter my ListView which is populated with this ArrayAdapter: package; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.Set; import; import; import android.content.Context; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.Filter; import android.widget.SectionIndexer; import android.widget.TextView; public class MangaListAdapter extends ArrayAdapter<Manga> implements SectionIndexer […]

Saving nested foreign objects with ORMLite on Android

When working on Android, does ORMLite only save shallow level objects? I have a data structure with nested Objects, both of which are newly created, and I would like to be able to save both of them with one call to dao.create() For exmaple, I have the following Parent Class. @DatabaseTable public class Parent { […]

How to know an application is installed from google play or side-load?

I need to detect my application is installed from google play or other market, how could I get this information?

Test running failed: Unable to find instrumentation info for: ComponentInfo{} — error trying to test in IntelliJ with Gradle

Everytime I try to run my tests the console says this: Running tests Test running startedTest running failed: Unable to find instrumentation info for: ComponentInfo{com.employeeappv2.employeeappv2.test/android.test.InstrumentationTestRunner} Empty test suite. I’ve been stuck on this for a while and the solutions I’ve seen online so far have not helped. My project structure is set up like this: […]

Making a HTTPS request using Android Volley

I am trying to make a https request using this code: RequestQueue queue = Volley.newRequestQueue(getApplicationContext()); request = new Request<String>(Request.Method.GET,””,errListener); but I am getting this error: Trust anchor for certification path not found. Two points to be noted: The HTTPS cert is valid. Easily opens without any warning on browser. The above code […]

How to add external jar libraries to an android project from the command line

I’m trying to build an Android project that has some dependencies. The jar files are in the lib/ directory. I can build the project by adding those jar file to my classpath, but of course it Force Closes in the emulator because those libraries aren’t present. I’m doing this from the command line with ant […]

Error in strings.xml: invalid symbol 'continue'

In my strings.xml file I have <string name=”continue”>Continue</string> I can’t build my project because of the error: “Invalid symbol: ‘continue’”. Why I can’t use such a name?

Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.