Questions tagged as 'android'

1
answer

Associate two image

I wanted to create a app that when clicking on an image changed its image and waited to click on another image. If the two images were equal (with the same value) activate a button that gave the possibility to move to another Layout. I...
asked by 06.12.2016 / 15:59
1
answer

Photo taken by my app does not appear in Gallery

When I generate the photo through my app, it correctly creates the folder and saves the photos taken there, but when I go to the Cell Gallery it is as if the photos did not exist, the default Android gallery does not recognize the files. p> Ca...
asked by 10.07.2014 / 13:39
3
answers

How to run the emulator from the windows command line?

How can I run the Android Emulator without having to open Android Studio? the command:    android avd does not work. When I use the command:    emulator -avd nexus5 I get this error message:     
asked by 09.05.2017 / 14:17
1
answer

Show emoticons with keyboard-independent button

I'm developing an application in which I created a button that I would like to do the same function as showing the emoticons on the keyboard. This image: btnMostrarEmoticons.setOnClickListener(new View.OnClickListener() { @Ove...
asked by 21.10.2016 / 05:01
1
answer

Webservice php without using soap? [closed]

I'm not familiar with Webservice and wanted to know how to make one, without the need to use Soap (to grab data from the bank and consume it in Android Studio).     
asked by 21.10.2016 / 11:13
2
answers

WebService + SOAP for android

Good morning, I created a web service with soap and tested it on the SoapUI tool. This tool works cool. In android to using Ksoap and when I command to list the data in Logcat this is bursting an exception:    SoapFault - faultcode: 'soap...
asked by 02.09.2016 / 18:09
1
answer

Fragment being used by two different activties

I have a fragment that is inflating a recycler view, so far so good. The problem is that this fragment needs to inflate in two different navigation drawer, and at the time of casting, I can only cast one. Is there any way to cast it, to ident...
asked by 31.08.2016 / 03:01
1
answer

getLastLocation sometimes returns null [duplicate]

I use the following code to get the user's location: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ... m_api = new GoogleApiClient.Builder(context) .a...
asked by 08.11.2016 / 01:02
0
answers

String conversion error in JSONArray - Android Volley Method

My application receives a JSONString via web service from a C # API, as listed below: [{ "LimiteCredito": 123.00, "PessoasFuncionarioId": 16, "Id": 12, "Nome": "Cliente PF A", "DataEdicao": "\/Date(1485019536610-0200)\/", "UsuarioAlteracaoId":...
asked by 21.02.2017 / 15:04
1
answer

Firebase: How to load random data into a RecyclerView?

I am using a Query to load only 6 Firebase database items in the RecyclerView but so far I can only sort using the orderByChild, limitToFirst or last. Everything is working fine but ... I want to randomly load items into RecyclerView when act...
asked by 04.02.2017 / 17:39