Questions tagged as 'android'

1
answer

Hello World on Android consuming lots of RAM

I'm making an application and I noticed that it's consuming a lot of RAM, about 70MB. I have a button that inflates an extra layout with random data and that keeps changing dynamically that because of that it increases the memory used in Android...
asked by 11.02.2014 / 16:21
1
answer

How to create a widget?

I have in mind the provider on @xml/widget_info o receiver on Manifest the layout of the widget and the class Provider is that I have doubt. What does it need to have?     
asked by 20.02.2014 / 01:13
2
answers

Reading text file stored in the raw folder through a user class

I have a test code that works fine. The function of the test is to read a text file that is in a res \ raw folder. It reads the text file smoothly and prints its contents line by line through Toast. The functional code is as follows: packag...
asked by 13.02.2014 / 14:17
1
answer

Connect external MySQL in app to perform authentication [closed]

Hello, I need help making an app to access an environment control system. I need to perform the user authentication from an existing database, and, when performing this authentication (not needing to use a web service as it will be for local use...
asked by 23.05.2018 / 18:50
1
answer

Change the color of a background image on Android

I have a background image in a textview, I need the color of this image to be dynamically changed, I tried changing it using setColorFilter, however, it changes the color of the entire image, I can not change the border color where the arrow is...
asked by 18.04.2018 / 17:33
1
answer

Why does the app close when I click edit1?

Personal the problem is as follows, I click on the button to create a new form, edit1 receives the focus, digital keyboard appears when I click on the letter a for example the app closes, why will it ?? Can anyone help ..? procedure Tformadhor...
asked by 11.04.2018 / 04:45
2
answers

What is the most efficient way to get information on any website and use it in an Android APP?

For example: An app that visits link and get the current dollar value and show it in the app. What are the ways to do this?     
asked by 08.05.2018 / 01:36
1
answer

Download USB Drivers for Motorola [closed]

I want to test my Android apps directly on my MotoG, but I can not connect to Eclipse because the USB driver is missing. And the download link on Android Developers ( link ) directs you to another page. And I also did not find it on the Mo...
asked by 26.05.2014 / 20:46
1
answer

AsyncTask with one or more methods

I would like to know what are the advantages and disadvantages of using an extended class of AsyncTask , which contains only one or several methods. Example: I create a AsyncTask for every background rendering that I will...
asked by 28.02.2018 / 20:53
1
answer

Change the color of a navigation page

I have this: public void Login_Clicked(object sender, EventArgs e) { LoginService svc = new LoginService(); LoginRS res = svc.Login(txtUsuario.Text, txtSenha.Text); if (res != null && res.Su...
asked by 08.02.2018 / 13:55