Category "android"

Location of android SDK has not been setup in preferences

I am getting this error: I have installed ADT and SDK using install new software in Eclipse. I am using Eclipse Java EE IDE for Web Developers. Version: Keple

disable the scroll effect of the action list

I've got a GuidedStepSupportFragment fragment like this. public class SampleStepFragment extends GuidedStepSupportFragment { @NonNull @Override pu

Android "elevation" not showing a shadow

I have a ListView, and with each list item I want it to show a shadow beneath it. I am using Android Lollipop's new elevation feature to set a Z on the View tha

getSupportFragmentManager getFragment without tag or id

I'm developing an Android 3.1 Tablet application. I'm using ViewPager and fragments on one activity. My problem is that I don't know how to set an ID or Tag to

Out of memory error: Java heap memory on Android Studio

How do I fix java.lang.OutOfMemoryError: Java heap space when compiling my Android project? I get this after I upgraded to version 1 of Android Studio. But, I d

Make ImageView fit width of CardView

I have a CardView with rounded corners, I want to have an ImageView at the top like shown in the example taken from the material design guidelines below. <

Android Custom GridLayout with Text+Image

In my application, I am trying to get the details of a set of users from a web-service. Then, I want to display the Image of each user along with their names in

Searchview with endless scrolling in android

My Adapter public class AdapterItem extends RecyclerView.Adapter<RecyclerView.ViewHolder> { private final int VIEW_ITEM = 1; private final int VIEW_PRO

I have an error when compiling android Q kernel

I have this error:CROSS_COMPILE_ARM32 not defined or empty, the compat vDSO will not be built when i trying to compile android kernel. My phone is aarch64, and

How to create two columns with space beetwen in react native - flatList

Hi i'm new in React Native. I am trying to create two columns layout with space beetween using react native component called flatList. Here is my view Code:

Hidden bottom item in LazyColumn - Jetpack Compose

I am trying to create a list of items with a hidden button at the bottom. By default the button is not visible on the screen. If a user scrolls to the bottom of

Android 5.0 IllegalArgumentException: Service Intent must be explicit: on com.google.android.location.internal.GoogleLocationManagerService.START

I'm trying to retrieve the location of the device calling the method connect of the class LocationClient in my activity, however when the call is made the syste

Image.network throw error even after defining errorBuilder in Flutter

I am facing some issues with loading images from URLs in Flutter. Here is my code: @override Widget build(BuildContext context) { return ClipRRect(

How can I get the previous Value of the TextView F12

How can I get the previous Value of the TextView F12? I want to put a Value in F12 and in a second Part, I want to add the previous Value with a new Value. fina

Android - Store inputstream in file

I am retrieveing an XML feed from a url and then parsing it. What I need to do is also store that internally to the phone so that when there is no internet conn

Android - Store inputstream in file

I am retrieveing an XML feed from a url and then parsing it. What I need to do is also store that internally to the phone so that when there is no internet conn

Android - Store inputstream in file

I am retrieveing an XML feed from a url and then parsing it. What I need to do is also store that internally to the phone so that when there is no internet conn

kotlin dotenv doesn't take directory configuration

Trying to use kotlin-dotnet, but this is not working, using kotlin object class, to manage singleton Got error Could not find /asset/env on the classpath where

How to solve (Could not initialize class org.codehaus.groovy.reflection.ReflectionCache) issue in react native

$ npx react-native run-android info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag. Jetifier found 864 file(s)

Firebase Admin - Uncaught exception in Firebase Database runloop (4.1.5)

I'm running an app on Firebase Admin. So this code worked the first time I ran it, but after a few weeks I tried it again and I've been getting this error after