Questions tagged as 'android'

2
answers

Flat Button in Android Material Design

By default when a button is created in Android Studio, its appearance inherits the Material Design design, in the Material Design style guide, it talks about buttons Flat, Raised Raised I think is the default Flat Button Ra...
asked by 23.02.2016 / 10:59
0
answers

Error trying to read a field android.accounts.Account.name [closed]

Mark nullpointerexception when trying to read a string on a null object, the field is android.accounts.Account.name , which I do not implement, but maybe the Google API to connect through Google+ may be doing by getting the User name   ...
asked by 10.11.2016 / 23:29
3
answers

Equivalent to "Position relative" in XML android studio, overlay layouts

How can I superimpose two layout in order to create the effect of the image with the number 2 using XML in Android? I think I have read at some point a property that works similar to what is in CSS position relative, which allowed moving the...
asked by 19.09.2018 / 18:36
2
answers

Unknown host exception Android

My app consumes a web service every time it detects an entry to a Geofence, but sometimes the mobile data is off or is wrong because of the signal and when sending sends a UnknownHostException , but I would like it when I have it again dat...
asked by 13.09.2017 / 03:17
1
answer

Error when displaying Admob Banner in Android Studio

I am trying to place a Banner to my game, but when I execute it, the Banner is shown and not games, when I modify the code, the game is shown and not the Banner, this is my "MainAvtivity.java" code : NOTE: Search the internet for some solutio...
asked by 08.11.2017 / 23:53
1
answer

ERR_UNKNOWN_URL_SCHEME Chrome webview client android html file href="tel:"

I need the necessary code to write to my MainActivity.java, to avoid the error ERR_UNKNOWN_URL_SCHEME , I am creating an android application with Chrome webview client that loads an .html file that contains buttons href="tel:" mailto: etc...
asked by 02.11.2017 / 16:50
1
answer

AVD crashes at launch

I use Android studio. I would like to launch an AVD but when I try it, it locks automatically. Nothing appears in the Android Monitor that has "No connected device" and "no debuggable process" in red. I try to modify the AVD by modifying the...
asked by 18.09.2017 / 17:52
1
answer

Error onRewardedVideoAdFailedToLoad Admob Interstitial rewarded Android Studio

I'm implementing Admob Interstitial, rewarded in Android Studio, but I have this error when I want to upload the ad:    onRewardedVideoAdFailedToLoad. I'll let you join the code captures and the admob settings. package com.android.proye...
asked by 05.11.2016 / 10:46
1
answer

Pass an object type ArrayList to another Activity or Activity in Android [duplicated]

Good evening, I am trying to pass an arraylist of type object from one activity to another but it has not worked. I have tried this way without success. Activity 1: ArrayList<DatosReferencia> Lista = new ArrayList<>(); //Lo e...
asked by 16.01.2018 / 05:51
2
answers

how can it be done so that when you click on a menu icon it changes to another icon?

THIS IS THE XML <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" tools:context="org.sfaci.agenda.MainActivity"> <item android:id="@+id/action_modificar" a...
asked by 10.11.2017 / 01:56