Questions tagged as 'android'

1
answer

Problem with transition animation between fragments

I'm working on an app that is made up of several fragments and I've decided to put animations between them. Searching, I found that I should use the setCustomAnimations command to get the desired result, but I only get two possible...
asked by 11.05.2014 / 06:47
1
answer

Exact division (whole)

I need to make a division but it always gives zero rest, exact division. I think I'm sinning in the condition. Random Number; int Rnumber1; int Rnumber2; RandomValor1 = (TextView) findViewById(R.id.TxtValor1); RandomValor2 = (TextView) findVie...
asked by 04.10.2016 / 15:40
2
answers

V4 and V7 on Android

Why in some examples on the internet, we find something like this: <android.support.v4.view.ViewPager/> <android.support.v7.view.ViewPager/> What would this V4 and V7 be? And in this example, android.support.design.widget...
asked by 18.10.2016 / 14:38
2
answers

What is the difference between getRating () and getProgress ()?

According to the documentation, getProgress returns the progress bar of the rating bar, while getRating returns the number of stars in the rating bar. So in general terms getProgress returns a double value while getRating returns an integer...
asked by 17.12.2018 / 15:34
1
answer

How to cut part of a bitmap?

I want to create a Bitmap that its content is a part of another Bitmap For example: I have a Bitmap of (400x900) width = 400 height = 900 I want to trim it in dimensions (400x400) in order to leave the height equal to...
asked by 04.10.2017 / 21:06
1
answer

Android studio does not display devices to emulate

Android Studio does not display the emulator that is on the pc nor by the usb device in the mobile phone how to fix this. follows an image to help, as you can see no devices appear.     
asked by 16.05.2018 / 15:47
1
answer

Save a TextView value and add another

I'm creating a keyboard to add value to a TextView. I was able to add a value only to TextView. But what I wanted to do was to keep the current value and add another one to the side so that the user would make a number to add to TextView. In...
asked by 18.05.2018 / 15:49
2
answers

Error converting String to Double

Scenery: public void metodoX(Double valor) { DecimalFormat df = new DecimalFormat("0.00"); String valorRound = df.format(valor); Double valorRound2 = Double.parseDouble(valorRound); ... } Error: Caused by: java.lang.Numbe...
asked by 18.12.2017 / 16:56
1
answer

Access dropbox folder on Android

Is there any way to access the dropbox folder? I have the following problem, I am developing a webapp that will work locally on tablets of an event, so for this I am using the AndroPHP app and I would like my apache directory to be a dropbox...
asked by 08.04.2015 / 21:00
1
answer

Timed and cell-phone notifications

Hello. I'm making an android app that notifies me when I have to turn in a school assignment, and if it's the day of the assignment or a day before, I want to be notified at certain times. The home screen is where the service starts, where I...
asked by 12.04.2015 / 08:49