Questions tagged as 'android'

2
answers

LinearLayout About Other LinearLayout

I have a layout in Android Studio that I would like to have on another layout, but I can not do it in any way. I would like it to stay on top as it is a menu that appears when someone presses the swap image button. Layout: <android.supp...
asked by 15.09.2016 / 19:24
1
answer

Call database in another activity

Good afternoon, I created an application that counts the number of goals and the team name, and in the application has a button called result (in the menu) that opens another activity result, which has an area to put the name of the time and has...
asked by 11.09.2016 / 02:15
2
answers

Slow Search Ignoring Accents

I have a list of objects and I'm doing a title search. I use Normalizer to make the comparison ignoring accents: public static boolean containsIgnoreCaseAndAccents(String haystack, String needle) { final String hsToCompare = removeAcc...
asked by 17.09.2016 / 15:37
2
answers

Error while selecting emulator in Android Studio

Good afternoon. I'm starting to study Android and use Android Studio. I clicked to run the application and the window appeared asking for a new emulator. I've done this before on another computer and it worked normally after the settings, as...
asked by 23.06.2016 / 18:12
4
answers

Mobile does not enable USB debugging

I bought a Galaxy On7 app for testing, but by enabling "Developer Options" and activating it, touching the "USB Debugging" option will not happen! Not active! In Prompt, when giving the command "adb devices", the device does not appear, even...
asked by 07.07.2016 / 06:10
1
answer

How do I delete an SD Card file?

I have an application that saves the information from a request table inside SQLite to a CSV file and then that file is transferred to an FTP. I need this file, stored on my SD card, to be deleted as soon as it is exported to FTP, how do I do...
asked by 11.07.2016 / 14:25
2
answers

When I delete the last character from EditText's app, what do I do?

I type a number sequence normally and talz, now if for example I type "1234" in any of the 3 EditTexts existing in my Activity ... ...anddeletethelastcharacter,thatis,whenIdeletethelastremainingnumber(inthiscasethe"1" ), the app for:...
asked by 31.01.2017 / 01:01
1
answer

How to assign button rounding and random colors at the same time?

I'm not sure what to do. For example I have a button on this button I play random colors on it, I have a List List Colors = new ArrayList (); and in that list I save the colors in Hexadecimal, until then without problems I use Collections.sh...
asked by 01.02.2017 / 12:58
2
answers

Write to file.txt

I'm developing an application that needs to write data to the database and save the same data to a arquivo.txt in the device memory. The part of the bank is ok, now in the part of the file I have not yet found any exemplary documentation....
asked by 31.01.2017 / 16:59
1
answer

AutoCompleteTextView with accented words

I'm having a hard time using AutoCompleteTextView with accented words. For example: I'm looking for bank branch names, by typing only ita the bank Itaú is finding, as shown below: However,ifItypethelastuofthewordItaúwithouttheac...
asked by 20.04.2017 / 22:41