Questions tagged as 'android'

1
answer

Android WebService Error while using Android 4.2

Hello, I'm developing a project where I need to get and send values to a server. I did everything and it worked perfectly in version 7.0 of the android, but when going to 4.2, it starts giving error. I'm using an Asynctask to make the request...
asked by 19.11.2017 / 00:01
1
answer

How do I add an item to a listView when a click event occurs?

Well, I want to create a list of Tournaments. Where each item will be added to the click of a button create tournament, following the pattern: tournament 1, tournament 2, tournament 3 ...     
asked by 17.11.2017 / 17:02
1
answer

Problem with accented text JSON - Android + Retrofit

I'm consuming data from a webservice that returns a list with JSON objects, like this: [{"idPDV":3062,"nomeFantasia":"SEBASTIÃO JOSÉ DOS SANTOS","endereco":"RUA MANCHE CATAN DAVID, 130","bairro":"VIDA NOVA","CEP":"79017164","latitude":"-20.38...
asked by 27.09.2017 / 19:46
1
answer

Error in Sending Byte Array with Retrofit2

I have the following problem, I implemented a solution to send images with Retrofit2, and my web service is on a server with SSL. The certificate was recently deployed, so it was already working. Seeing some implementations, I did the following...
asked by 27.09.2017 / 12:59
1
answer

Can the user change colors of the compiled application?

I'm thinking of creating an app where the user can change their Layout colors as they want with pre-defined colors, but I can not think of a way to do that, if at all possible. Does anyone know something similar?     
asked by 27.09.2017 / 00:42
1
answer

Music app does not run on Android

Hello, I was creating a music app whose I pressed the button, I played the song, I copied all the code and I went to run the program, it did not debug on my phone and I opened an error and then it opens a screen of its own music executable pc an...
asked by 07.11.2017 / 04:58
2
answers

passing of parameters between activities

I would like to be able to use the following code: public void Green(View view) { String cor3 = "verde"; Bundle parametros = new Bundle(); parametros.putString("verde",cor3); Intent it = new Intent(this, Main3A...
asked by 25.09.2017 / 19:26
1
answer

Call JavaScript function by Java (Webview android)

I have a simple question to understand but I have not yet found a solution. I have a Webview in my MainActivity where a responsive WebSite is created that I created, in this WebSite I have a shopping cart that clicking on it open...
asked by 25.09.2017 / 16:20
2
answers

Firebase - Child inside another child

I would like to know how to put a child inside another child in the firebase, for example, create a child that calls "Company" and inside that child put other childs with each seat inside, do not know if I was clear, help me by favor. PS: I'm us...
asked by 24.09.2017 / 19:25
1
answer

Universal Music Player with Web Services

Has anyone made an application with a music player coming from a webservice? I've been looking for one and I've found the open source android-UniversalMusicPlayer for Google, but there's a snippet of code that I can not adapt to my own webser...
asked by 09.10.2017 / 15:15