Category "android"

How to start an android emulator in ubuntu 16.04?

I have android sdk installed, I've looked up directions which say to run ~/android-sdk-linux/tools/android and then click on a tools menu, but there is no tools

Setting the alpha value for a ConstraintLayout group

I want to ask is it possible to change the alpha for a constraint group? <android.support.constraint.Group android:layout_width="wrap_content" andro

Getting com.android.volley.ServerError using the Volley library. What are some possible causes?

When I make a request in Volley, I'm receiving com.android.volley.ServerError and response code 400. I'm doing something like this (generic example code): final

android-How to protect a file from copying or seeing by users

I'm working on an application that it took me about 2 whole month to collect data. how can I protect my database and files? because of a big size of database,

Camera2 Api..java.lang.IllegalArgumentException: Surface had no valid native Surface

I was trying so long for Camera2 api integration to my app.Its working fine for capturing image at first.But when i snap second time the preview was not coming.

Gradle sync failed: CreateProcess error=216

I am running windows 7 32bit. I have upgraded from Android Studio from 1.5 to 2.2 and started following problem. I tried creating project but it didn't fix the

\gradle-wrapper.properties not found in Android Studio

\gradle-wrapper.properties not found in Android Studio I have cloned a git project and I am getting the below issue. How to resolve it?

Android create custom voice recognizer

I want to create a custom voice recognizer and design it the way i want. This is my current one: http://i.imgur.com/FhHEOZR.png?1 I want to create a custom on

How to convert SQLite database in android studio and then share it as csv file

Im making an app in which the users inserts values into a table (SQLite DB) and I want to make a share button which will share the the table as an excel file (.

How to make Listview's Scroll slower?

Scroll of my listview is very fast. I want to customize this and want to make it slower. I tried set android:fastscrollenabled="false" but it does not solve thi

Error: Source path does not exist: resources\android\icon\drawable-hdpi-icon.png

I'm trying to get an APK file from a Ionic project with the "cordova build --release android" command on a Mac and it doesn't work as I get this error "Err

Android Instagram login integration

I'm trying to perform social login via Instagram without Graph API and read all the necessary stuff related to it from the Instagram documentation and StackOver

How do I hide the status bar in my Android 11 app?

Every method I came across to hide status bar of my Android app is deprecated in Android 11. Does anyone know about any current acceptable method? Also I use Ko

How does adb find the USB port #?

When I run "adb devices -l", it is able to display the USB port info as "usb:xxxxxxx". Does anyone know how adb pulls this info? I'm trying to figure out how I

Method was expected to be of type virtual

I've tried to initialize AWSMobileClient.defaultMobileClient() from my AWS Mobile Hub sample project into my test project using this code: if (AWSMobileClient.

ListView tools:listitem not working in android studio 2.2 stable channel

Steps to Reproduce: Open Layout editor Add a ListItem Specify tools:listitem property with a valid row_layout What should happen: It should use the layout fro

How do I refresh identity token before it gets expired using flutter google_sign_in plugin for android

I am integrating Google Sign In Auth with my App using google_sign_in flutter plugin. It is working all fine except the idToken expires after an hour. Just befo

Cordova console.log not working

Hello I downloaded and installed node.js as I have done million times also I installed cordova as mentioned in their docs. Furthermore I installed console.plugi

How to tell the difference between Java and Kotlin code?

As a beginner to Android app development, I am finding code examples that do not identify whether they are written in Java or Kotlin. Even StackOverflow questio

Android Studio Build gradle OutOfMemoryError

I'm new in Android. I import Github project in Android studio, but i see this problem `Error:java.lang.OutOfMemoryError: Java heap space Error:java.lang.Out