Questions tagged as 'android'

1
answer

How can I go through this JSON and retrieve the Movies list?

I'm having trouble traversing this JSON and extracting data from the Array "movies". Follow JSON: ( link ) The error is this:    java.lang.NullPointerException on for (Movies m: catalogoMovies.movies) Here's a snippet of code: Ret...
asked by 17.08.2017 / 06:22
2
answers

How to use only the Android Studio Interface Editor?

I program for Android with Xamarin on Visual Studio , but I do not short anything its design editor, how can I use only the Android Studio editor when I need it? I changed the design extension from .axml to ....
asked by 03.11.2017 / 22:42
1
answer

Set textview default color on Android

I have a custom TextView, it currently directs the color of the text to white, however, I wanted this to be the default color, that is, to be chosen white if no color is set with textColor in xml, how to do this ? xml: (I tried to set textCol...
asked by 20.08.2017 / 04:10
2
answers

You uploaded an APK with an invalid signature

I put my apk on the console and gave this error.    Upload failed You uploaded an APK with an invalid signature. Aparsigner error: ERROR: JAR_SIG_NO_SIGNATURES: No JAR signatures I use ide android studio, I signed the apk but it contains...
asked by 20.08.2017 / 19:56
1
answer

How to do Json readings with multiple lists (DELPHI)?

I'm using the XSUPEROBJET examples to read Json below, but the examples use simple Json structures, and they work, but when I try to read the structures with multiple lists they do not work. I do not know what I'm doing wrong. My problem i...
asked by 12.09.2017 / 20:47
1
answer

Model receive context in Android MVP

I have a sqlite database, to use precise context, however, sending the context to the presenter and then pro model would be a violation of MVP, since it is part of the view, it is part of Android. How would I use context without violating MVP?...
asked by 27.09.2017 / 22:28
1
answer

Android - TextView Hyperlink to another Activity

Is there any way to format a TextView so that one of your words is a HyperLink for another app's Activity? In case it is a kind of Dictionary, where in the explanation of the word can have another word that is also registered, and clicking on...
asked by 29.09.2017 / 21:50
1
answer

APK protection against disassembly and others

I would like to know how to protect the code from a APK Android , because if we extract, we have the templates, if you use certain programs, we have practically all classes . What forms do you know to protect against this? I wo...
asked by 02.10.2017 / 20:14
2
answers

How to restart an Activity?

I want to restart my activity without the help of buttons, I want it to restart automatically in a while. How do I do this?     
asked by 15.08.2017 / 07:27
1
answer

Sum in TextView

I have a Json that returns the positive and negative values, and set the text in my TextView . This is the calculation I try to do, but it returns an error of invalid double : public double num1,num2,resultado; saldo = (TextView)...
asked by 27.07.2017 / 16:06