Questions tagged as 'android'

1
answer

How to leave my app open waiting for the server to send information

I am creating a client app that as soon as it changes status of some component on the server the server will send the client so that the user can visualize. I need the app to be open receiving information and whenever user opens it should put yo...
asked by 26.06.2014 / 13:08
1
answer

How to transform Json into an object with dynamic fields using Gson on Android?

I have the following json:    {"Description": "app", "Field2": "app2", "Field3": "app3"}, "InString": "1", "Token": "ZoebarW9NiMk9O"} The "Data" field can contain 1: N fields. For example, I tried to build the following class structure...
asked by 27.06.2014 / 15:41
1
answer

SQLite Search Error

Can anyone help me? I've done it in several ways but the app gives error and date. I am using database (SQLite) when it has to fetch it gives error : 01-05 03:40:18.544: E/AndroidRuntime(12226): FATAL EXCEPTION: main 01-05 03:40:18.544: E/And...
asked by 05.01.2015 / 06:44
1
answer

RuntimeException: Parseable encountered IOException reading a Serializable object

I can not understand let alone run my app .. Can someone give me a light? @Override public void onClick(View arg0) { try{ Intent i = new Intent(Activity_Questionario.this, Activity_Conf_Inicio_Qu...
asked by 17.10.2014 / 16:20
1
answer

Error customizing a menu using actionLayout

I was using to customize my menu items the actionLayout attribute but, the following error occurred: Layoutmenu_item.xml:<?xmlversion="1.0" encoding="utf-8"?> <TextView xmlns:android="http://schemas.android.com/apk/res/android"...
asked by 20.10.2014 / 13:34
1
answer

Error displaying web images in java android

I'm trying to display web images in a ListView , but they appear out of order, in the wrong lines, and change positions with every Activity update. Activity : public class ListarProdutosActivity extends Activity { DataBaseHandl...
asked by 20.10.2014 / 16:41
2
answers

GoogleMapsv2 to stop working in the production version

My app works with Google Maps perfectly in the debug version, but when I publish to the Play Store it stops working. What is the process for generating the GoogleMapsV2 hash for the release version? How to test .apk, before uploading, to make...
asked by 06.03.2014 / 17:13
1
answer

Error: "The BookmarkColumns symbol could not be found"

I have a project of 3 years ago and I need to make it come back to life, but it is full of complications with updates, I came across an impace that Browser Bookmark Changes was removed. Does anyone know how I can resolve this? In this meth...
asked by 28.03.2018 / 21:31
2
answers

Is it worth measuring performance between Java x Kotlin application?

By moving to the Google Developers documentation, I found something really cool like: Measuring app performance with Android Profiler But knowing that Java and Kotlin are interpreted by the JVM, I believe that the difference in performance...
asked by 23.05.2018 / 01:23
1
answer

Error in findViewById statement on Android

I'm new to Android and I'm having a hard time programming. This part of the code always has the error in R of findViewById . When putting the mouse on the error appears the information Cannot Revolve simble "R" , and just give...
asked by 22.05.2018 / 19:09