Questions tagged as 'android'

1
answer

Images loaded in ListView are randomly exchanged

I've implemented a ListView where an external image is populated in each position, but when I scroll on the screen the images change randomly. This video shows exactly what happens: link Note: There should be no duplicate images in the L...
asked by 22.07.2015 / 17:44
2
answers

What tools should I use to create an android application

I'm starting in the mobile development that will be done in Java or Kotlin and my question is what tools can I use in both the design part and in the database what are the main technologies?     
asked by 11.05.2018 / 23:51
1
answer

Replace empty line

I have a variable with the following content: 10 20 30 40 50 60 70 80 90 100 There are spaces (may have 2 or more followed) and line breaks (also several in the sequence), and I want to substitute to stay this way: 10 20 30 40 50 60 70...
asked by 26.04.2018 / 20:48
2
answers

Application closes at the touch of the button

When one or more EditText s are empty the touch of the button should show the Toast message, but the application closes. Why? public class HomeActivity extends Activity { int rcpNum, fckNum, abtmNum, mucBritaNum, meCimentoNu...
asked by 14.12.2014 / 23:51
1
answer

Sqlite relationship between tables

About relationship between tables: I tried to run the following code and SQLite returns me the following error:    table "Games" has more than one primary key -- ----------------------------------------------------- -- Table 'times' --...
asked by 18.11.2014 / 04:48
1
answer

Doubt with correct dpi (dp) density

I'm a beginner in Android app development, and I have a simple question. The dpi numbers in the image below are also the maximum that an img can have in width & height (dp) in their respective densities ... Right? If this is it, then I...
asked by 07.11.2018 / 01:33
1
answer

Android - What is the difference between Bitmap and Drawable?

I'm developing an application that does a CRUD to fill information on the screen. One such information is photos. I would like to know more about the difference between these two objects to find out which one would be the right one to apply....
asked by 28.03.2018 / 22:50
3
answers

How to get the object with focus on Android

I have the following Listener below which checks if an editText has been changed, the Listener will be identical for several editText so I would like to get the current editText through the "v" property, to avoid code repetition and create only o...
asked by 12.09.2016 / 16:33
2
answers

Silent applications

Some applications, or most of them, have a silent or silent "silent install" option, which is to install an application without the user or support team needing interact with that application in your installation. I started working on a third...
asked by 13.09.2016 / 14:48
1
answer

Android - Detect specific word in an EditText

How do I when a button is pressed, activate a function only if a specific word has been typed in any position in an EditText? Thank you. main.xml: <EditText android:layout_height="wrap_content" android:layout_width="wrap_content" android...
asked by 16.05.2018 / 18:35