Questions tagged as 'android'

1
answer

What do I need to learn specific classes and methods for a task? [closed]

What do I need to learn about classes and methods in general for Java and Android programming? For example, if I need to display a PDF, how will I learn to do this? We know that there are several classes, no one here could write all the cl...
asked by 02.05.2017 / 16:48
2
answers

Handle a class of type Object

I have the following very complex situation (at least for me). I have a Person class (Data is fictitious for better understanding, but the idea is the same) like this: public class Pessoa { private int codigo; private String nome;...
asked by 19.01.2017 / 19:16
2
answers

How to create CheckBox via schedule [closed]

How to create multiple Checkbox's via programming?     
asked by 23.01.2017 / 02:13
2
answers

How to create Android applications on weak PC? [closed]

I have a notebook with a 1.3Ghz processor and 4GB of RAM. It is good, but whenever I try to create an application for Android I come across lag , slowness, crashes, etc ... I have on my notebook Android Studio and Eclipse Android Neon....
asked by 23.09.2016 / 00:59
1
answer

How do I change the color of the status bar icons in Material Design

I need to change the colors of the icons the same as app in Google Calendar, as shown in the image below: I saw that in Material Design you have the options colorPrimaryDark but you do not have to change the color of the icons...
asked by 07.03.2017 / 16:29
3
answers

Animate the text of a textView so that it can be displayed progressively?

I would like the textView text present in my activity not to be displayed all at once, but gradually, something like a Power Point transition. An example of what I want to do exactly would be dialogue texts from the GBA pokemon games SEE FRO...
asked by 20.03.2017 / 22:36
2
answers

How to get the Android device ID with TelephonyManager # getDeviceId ()?

I'm using this code to get the ID of the Android device. TelephonyManager telephonyManager = (TelephonyManager) getActivity().getBaseContext().getSystemService(Context.TELEPHONY_SERVICE); id = telephonyManager.getDeviceId(); But now I n...
asked by 13.04.2017 / 22:04
1
answer

Lighter and more stable alternative to Android Studio [closed]

I need to do an Android project, but I do not want to use Android Studio because it is very slow and full of bugs on my computer. Which alternative IDE or framework could I use? A basic requirement of the project is to be in Java.     
asked by 16.11.2016 / 23:42
2
answers

Change a variable from True to False and vice versa

I created a button that when clicked creates the onClick method and makes it a "true" variable What I want is that if this button is clicked again and the variable ja is true it becomes "false" I'm using Android Studio, some light?     
asked by 29.09.2016 / 02:04
2
answers

How to use vectors / arrays in Java?

Hello, I am very lay in Java and I need to use one variable storing several others. How can I do this? I have the following: LatLng ponto1 = new LatLng(-19.924312,-43.931762); LatLng ponto2 = new LatLng(-18.851388,-41.946910); I'm used to C...
asked by 08.10.2016 / 04:24