I am using gridview and layout inflater to display icon with text. It should look like this: My text file contains following data: Profile 0|Profile 1|Profile
So I want to use my new Nexus 5 for debugging my apps.I tried to install the Android USB driver via the device manager But my nexus is listed as portable devic
I have a RelativeLayout which contains two buttons. Which are overlapped on each other. <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:a
I downloaded the latest version of Android Studio, but I can not use it. The following message appears: Failed to create JVM: error code -4 JVM Path: C:\Progra
I'm trying to use Kotlin in my Android project. I need to create custom view class. Each custom view has two important constructors: public class MyView extend
I have a bucket with photos on AWS. When I try to access the photo url {photoUrl = https://aws-name-dev.s3.amazonaws.com/photo.jpg} in browser I got 'access d
I followed the icon design guidelines from android and so I have icon in different size: drawable-hdpi (96x96) drawable-hdpi (72x72) drawable-ldpi (36x36) draw
I have used custom stories to do the facebook share and the share happens correctly and displays in posted user's facebook wall. See below: The issue when wh
I am trying to create a local notification in android using react-native. My application is completely local, so I don't want to use GCM or FCM. I saw this ques
In Objective C I've been using the following code to hash a string: -(NSString *) sha1:(NSString*)stringToHash { const char *cStr = [stringToHash UTF8S
I am trying to login to spotify. Although when the app is installed it always throws an AUTHENTICATION_SERVICE_UNAVAILABLE error. If the app is uninstalled the
I am looking for the best way in which you would setup navigation in an Android game; a best practice for Android Game Activity Navigation. I have the following
I have implemented the spinner by populating the array list through database.I can get and show the array list in my spinner array adapter but if I select the i
Sometimes I faced with rare bug in my application. But I can't reproduce it as it's very rare. So, I decided to write simple espresso test: @RunWith(AndroidJUn
I want to implement traceroute/ping/dns lookup in the my application. For ping i use a ProcessBuilder: ProcessBuilder processBuilder = new ProcessBuilder("
I have a Handler from my sub-Activity that was called by the main Activity. This Handler is used by sub-classes to postDelay some Runnables, and I can't manage
I am using react-native-image-picker library to capture image code as follow: launchImageLibrary({ includeExtra: false, mediaType: "photo", selectionLi
Im working on a Xamarin.Forms project and I need to work with mono.android things. The problem is that in a project before, I do have the reference, but in the
I installed a project in Eclipse and when I run Android emulator I get this error: [2013-11-10 17:19:16 - Emulator] Failed to create Context 0x3005 [2013-11-10
I have a layout with a background image. The image width should be the same as the screen width (match_parent). But it's ugly, the OS don't stretch the picture