Questions tagged as 'android'

1
answer

Is there a way to connect a cordova app directly to Mysql?

I want to make a system with local mysql server on a desktop, however without using PHP or ASP . Then the android would make the direct connection. It's possible? Thank you.     
asked by 26.11.2017 / 18:11
1
answer

Use findViewById in all scopes or use a variable?

Which of the following strategies is best suited for good application performance? Use findViewById whenever we use any element of View or do it only once by assigning to a variable? example in Xamarin.Android : public c...
asked by 28.11.2017 / 13:08
1
answer

Button that calls another screen and another button on the new screen that returns to the old screen

How can I make a button that calls another screen, and on the other screen have a button that when I click, return to the home screen?     
asked by 19.12.2017 / 02:13
1
answer

Magic Square on android

I wanted to make a magic square, where I put 9 numbers, and the sum of them has to be 15 (on the diagonals, horizontal and vertical) I'm doing in android studio. I only have this until then: import android.support.v7.app.AppCompatActivity; imp...
asked by 19.12.2017 / 23:33
1
answer

Download svg image to present in Android ImageView how?

I have a api link that returns me a json on Android. That json is binded to a class using Jackson. But I need to use the url that is contained in json which is a svg image. I want to use this image to display the image in my custom listview bu...
asked by 19.12.2017 / 19:07
1
answer

Problems trying to change a text view of nav_header_main.xml

I am working for the first time with the Navigation Drawer Activity, and would like to change (by java) the text that appears in the menu nav_header_main.xml Inredit'sthetextthatIwanttochange.Belowisthexmlautomaticallygeneratedbyandroidstudi...
asked by 17.11.2017 / 01:08
1
answer

How to make a CircleProgress on Xamarin Android?

I'm programming in Xamarin.Android and I need a progressbar (or something like) circular that actually shows some progress, I tried to use ProgressBar myself, but it only shows progress horizontally, in circular mode it stay...
asked by 16.11.2017 / 16:17
1
answer

java.lang.ArrayIndexOutOfBoundsException: length = 0; index = 0

I am developing an application that will consume the price and time calculation service of the mails, however I have a problem in the service response, it returns me the following message: java.lang.ArrayIndexOutOfBoundsException: length = 0; in...
asked by 16.11.2017 / 15:04
2
answers

How to convert from hexadecimal to base64?

I'm getting a hexadecimal image from the database and I have to convert it to base 64, but I do not know how to do this. I'm currently setting it as string and returning it in json: Model private String image; public String getImage() {...
asked by 09.11.2017 / 04:45
2
answers

Capturing UTC with an Android application [closed]

Good afternoon everyone! I need to capture, through an android application, the UTC used on the client device to perform internal validations. Thank you in advance!     
asked by 08.12.2017 / 20:52