Questions tagged as 'android'

2
answers

Can not rename resource files (layout) (Android Studio 3.0 Beta 3 is installed)

Beta 3 does not allow you to rename resource files, such as layout files. It shows the rename dialog box, but when you try to apply changes, it reads the following error message:    Refactoring can not be performed File ... / myapplication /...
asked by 26.08.2017 / 14:26
1
answer

How do I adjust my application to the screen size of multiple devices? [duplicate]

Good afternoon, I'm developing an application in Android Studio and it fits well in my Motorola Moto X 2nd Generation. But in my Samsung Galaxy Note 3, Motorola Moto E and Motorola Moto G, it gets all messy, it's a mess! I would like to know h...
asked by 23.05.2015 / 20:21
2
answers

Android - How to export the database into a csv file?

I have an application that collects and stores information in a database, and the user can query that data within the application itself. However, I would like to insert a button to export the database to a .csv file. Has anyone done o...
asked by 13.04.2015 / 21:02
1
answer

Error consuming webservice soap on android

I have a web service whose wsdl is this : which rows the following if executed in the browser: <!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Metro/2.2.0-1 (tags/2.2.0u1-7139; 2012-06-02T10:55:19+0000) JAXWS...
asked by 22.05.2015 / 17:15
1
answer

Upload image from server to ImageView

I'm getting the bank information via WebService , and I get the path of the image that is on the server. This image I have to load in ListView , for this I make a AssyncTask within my Adapter , but it does not search the...
asked by 18.10.2014 / 01:50
2
answers

Can I have performance problems joining multiple classes to a single file?

Watching many tutorials and video lessons, I always see that a java file is created for each action / class. As indicated in the image below with the arrow number 1 yellow. But as my application is getting huge, I'm starting to put the classe...
asked by 21.02.2018 / 07:04
1
answer

Error with retrofit

com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path $ public interface RestApi { @GET("/posts") Call<Model[]> getWheatherReport(); } public class Mai...
asked by 29.07.2016 / 18:15
1
answer

Gray button on an older version of Android

I'm making an app, where the buttons are green, and go green when I testo on Android 6.0, but when I test the Android KiKat the button turns gray.     
asked by 07.07.2016 / 04:37
3
answers

How can I use the new Java 8 Date API?

I would like to know how to compile in my Gradle Build to be available the new java 8 date API in my android studio     
asked by 15.03.2017 / 14:30
2
answers

What are the stages of the life cycle of an activity and fragment?

What are the steps in the lifecycle of an activity and fragment? What are the differences between these steps? And how can I identify in which step an activity or fragment of an application is currently in the process?     
asked by 02.10.2014 / 01:12