Category "android"

Sending voice in broadcast from android to many androids

I need to develop Android application which sends voice from Android phone to many Android phones and hear it in the real time. All phones are on the same net,

get id of node in firebase by item in recyclerView

i want to access on this point by clicking on element inside cardView i only can reach to the point before it by using this line reference = FirebaseDatabase.

android reset in app purchase

at the moment i testing the in app purchase of my app. for this i create a google account as test account. i bought with my test account the in app option. now

How to bring imageView in front of cardview ? When both are of Relative Layout childs

I have a layout XML: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools

Android Navigation Component: dynamically adding fragment to graph

I got a question about using Navigation Architecture Component. I have defined a navigation graph to my app and it works perfectly but I need to use framework S

Android Studio: An exception has occurred in the compiler (1.8.0_152-release)

While running app, unable to complete compilation. Keep throwing error. I am using dagger2 library for annotation. Error:15:04:36.466 [ERROR] [system.err

How to show most used item in first place in RecyclerView in Android?

I have made the application of different tools which have more than 60 tools I want that the user most used item showed in first place in RecyclerView. Please h

FlickrJ-Android Alway authentication failed

I am developing a small android application to upload photo to Flickr. I use Flickj-android library to call Flickr API. But I can't authorize my app. I always g

Problem with Switch buttons on RecyclerView

I'm kinda new to Android developing and I hope you can help me. I have one RecyclerView, with each cardview showing one image, two text views and one switch but

How to delete placement ads ids of Facebook Audience Network?

I create placement ads id of Facebook. Now I want to delete these ids but there is no option on the console. There is an "Archive Placement" option but I don't

Using layer-list to display some drawable images

Android studio 2.0 Preview 3b Hello, I have created the following layout that I want to use for a background for my app. I am using the layer-list and I w

RecyclerView items lose focus

In my fire tv app I'm using a recyclerview with horizontal layout. Scrolling with dpad works and also items are gaining focus. But when I hold the button it

Change color edittext selection handles programmatically

I'm trying to change the color of an edittext programmatically. It works but as you can see from the image attached, the icons for the text selection are still

Why is future.get() always timing out for Volley RequestFuture?

I am trying to make a synchronous Volley networking request. I am using request futures to wait on a response, but the future.get() call always times out (no ma

React Native, TouchableOpacity wrapping floating button get nothing

I'm creating a simple action button (floating button) This is working : <View style={{ width: this.props.size, height: this.props.size, borderR

OutputStreamWriter.append not appending text to a text file Android Programming

File file; FileOutputStream fileOutputStream; final Intent mainIntent = new Intent(Intent.ACTION_MAIN, null); mainIntent.addCategory(Intent.CAT

Android mapbox v10 - dynamically change the source url

We have a usual source url of something like https://my-source/{x}/{y}/{z}. When the user selects filtering options, we'd like to add these params to the url as

how to make full screen activity with status bar on top of it while scrollbar is not scrolling full in Activity when it focus on editText?

Issue is that when I enter text in EditText then ScrollView does not work and does not scroll in my activity fun statusBarColor(activity: Activity) {

Vault Data offline persistence android api does not generate helper classes

I am trying to use Android Vault API to get data from Contentful. https://github.com/contentful/vault However, when I call requestSync(), get an error that help

how to make full screen activity with status bar on top of it while scrollbar is not scrolling full in Activity when it focus on editText?

Issue is that when I enter text in EditText then ScrollView does not work and does not scroll in my activity fun statusBarColor(activity: Activity) {