Questions tagged as 'android'

2
answers

How can I share an Image by Mail, Bluetooth, etc?

I have a ImageView that has a drawable that was edited while using the app, wanted to take this final version of the edition and send it via E-mail, Bluetooth, etc. The way I'm doing it, when I send it by email for example, I get infor...
asked by 17.12.2015 / 14:58
2
answers

Use the hardware back button for another function

I have an app with several Activitys, whenever I change from Activity I execute the following commands: Intent intent = new Intent(gerenciar2.this, excluir.class); intent.putExtra("tabbanco", tabbanco); intent.p...
asked by 07.11.2014 / 18:02
3
answers

how to change the color of the button via code in android?

How to change the color of the button via code, because when touching the button I want it to change the color, the color is inside the drawable.     
asked by 18.02.2015 / 18:49
2
answers

How to avoid automatic closing in DialogFragment? [duplicate]

I developed a login screen, as shown in the figure below, following the " Creating a Custom Layout " section of official documentation . TheonlyproblemIamfacingisthatdialogclosesregardlessoftheoptionIclickon.HowdoIpreventautocompletionfro...
asked by 07.09.2015 / 22:39
1
answer

How to change tabs when scrolling on screen?

I have an Activity that has 2 tabs and I wanted to know how to change tab not only by clicking on one of them but also when sliding (left and right) on the screen. My activity: public class MainActivity extends Activity { private Fragme...
asked by 21.10.2014 / 22:33
2
answers

verification function always returning true

I have a layout with several edittext (16) and wanted to do a check if it was changed. when I call this layout I load all my edittexts with data from the database, having the user the option to save /, change pages, exit, among others I wanted t...
asked by 24.10.2014 / 21:16
1
answer

What are the Android design patterns? [closed]

Hello, I would like to know if there are design patterns for Android (Java), coding, etc and their similarities, differences, which is the most used, since I am wanting to know more about the subject and have not seen a question that encompasses...
asked by 17.06.2015 / 20:26
3
answers

How to install Android Studio in Linux distributions?

I am new as a linux user, and I installed jdk 7 using this procedure below; http://www.edivaldobrito.com.br/como-instalar-o-oracle-java/ Then I used this procedure to install android as shown below; http://www.edivaldobrito.com.br/...
asked by 01.08.2014 / 01:01
1
answer

Manage button back between fragments

I'm working on an application for college in which I'm using fragments for all my screens for reuse issues. The problem is that I can not control the behavior of the back button between fragments. Within a fragment, I call another fragment, b...
asked by 22.05.2014 / 19:28
1
answer

How to dim the size of a Blob image?

I have a blob image in the bank, it is in high resolution, I needed to lower its resolution. Does anyone know how to do this? Thank you in advance.     
asked by 02.03.2016 / 15:12