Questions tagged as 'android'

1
answer

application with screen Full Screen

I'm not able to get my app to stay in full screen and just leave the navigation button. getWindow().getDecorView().setSystemUiVisibility( View.SYSTEM_UI_FLAG_LAYOUT_STABLE | View.SYSTEM_UI_FLAG_LAYOUT_H...
asked by 18.07.2017 / 20:02
1
answer

How to display images in the ListView from Firebase?

Well I'm getting lots of information from the firebase, and displaying them, but I would like to receive images as well, without overcoming the storege, I already saved some urls in the database and when I pulled the url it would mount the image...
asked by 25.06.2017 / 20:09
1
answer

column 'MyColumn' does not exist - Using SQLite Android

Hello, I'm trying to retrieve the data stored in my database, but when I run a function to return the value of one of the columns created in the SQLite database in the phone memory, it displays the following error: column 'quantidade' does not...
asked by 09.04.2018 / 03:50
2
answers

How to generate PDF report firemonkey android?

I need to generate a PDF report on android firemonkey, I'd like suggestions for components or ways to do it.     
asked by 07.03.2017 / 15:04
1
answer

Application closing while consuming json

What should I do to fix this crash? My code: public class Tela1 extends AppCompatActivity { TextView textView2; String[] objetos = new String[0]; String url1 = "https://economia.awesomeapi.com.br/json/USD-BRL/1"; JSONObject...
asked by 01.01.2017 / 13:50
2
answers

Position text in TextViews and EditTexts with an image as background?

I've created a simple app that has only one TextView and one EditText : Asyoucanseechangedthebackgroundofboth,sofarnoproblem: TheproblemappearswhenIinserttext,asitispoorlypositionedinthelayoutofbothTextViewandEditText: Evenindifferentways...
asked by 10.02.2017 / 00:53
1
answer

SELECT in SQLite - Android

I'm new to Android development, I'm using SQLite as a database. I need to do a SELECT, and return the values of three columns in my table . Then I need to set the attributes of my object with the return values of this SELECT . I have an obj...
asked by 13.11.2017 / 22:13
2
answers

Error returning vector in a method

I can not return vector predictions, Android Studio is not accepting. (incompatible Types) public double MediaMovelSimples(double[] valores) { int i; int j; double[] previsoes = new double[valores.length - 3]; int parametro...
asked by 14.11.2017 / 13:34
2
answers

Error "is not an enclosing class"

I'm doing a Handler exercise just to test how it works, but I'm trying some problem I can not figure out. This is my main class code: public class MainActivity extends Activity { protected static final int MENSAGEM_TESTE = 1; private Handl...
asked by 01.12.2016 / 14:19
2
answers

Toast is not displayed [duplicate]

I have a problem, Toast does not appear when I make a request in to my web service, the whole method stays inside my thread, I made a test putting a message out of the thread it appears, but well where I need it, it does not display with the m...
asked by 08.12.2016 / 18:29