Questions tagged as 'android'

1
answer

Convert Java + WindowBuilder project to Android or Web

Good afternoon, Would you be able to convert my Java + Windowbuilder project to Android or Web devices? I saw that it is possible to convert Java to Maven but another question is ... What would happen to JFrames? Thank you!     
asked by 10.12.2015 / 16:40
1
answer

Handle Exception in an AsyncTask

I use an AsyncTask in the app that works blz, but if the WebService is off the air, it returns that the application stopped, I already tried to handle the exception in several ways but it does not work, as below the Asynctask code working:...
asked by 11.12.2015 / 15:31
1
answer

Horizontal RecylerView as WhatsApp

I would like your help on how to do this layout of the "Media" part of a given WhatsApp Contact. It would be this CardView integer called "Media". It would be almost exactly the same way, I have no doubt about the adapters, only...
asked by 13.11.2015 / 18:43
1
answer

Problems to enable remote access SQL Server + Android

Good afternoon I made a webservice in asp.net, and I need to access it through an android application. In any normal function, it works normally, but if it is some function that has access to the database, it causes the following error:    A...
asked by 27.01.2016 / 20:07
1
answer

"Unfortunately, * my application * has stopped" in passing data to Activity

I am making an app that formats bibliographic references according to ABNT, but there is an error to pass the data entered by the user to the next activity , which displays the formatted data. Follow the codes and print with the error m...
asked by 01.02.2016 / 18:11
1
answer

How to create a Double toolbar?

I researched google, but I never found a way to make a double toolbar (material design) like the one in the image: Everywhere I've been show just how to make the toolbar simple. If it is easier, just direct me to what I should look for.    ...
asked by 27.01.2016 / 21:23
1
answer

Updating MainActivity Items

I'm studying an application that has the same functionality as a contacts calendar. The application is divided into two tabs, one tab to add the user and another tab to list the users that have been added. After adding a user, his information (p...
asked by 29.10.2015 / 14:21
2
answers

spinner change image cause error: Out of Memory on byte allocation

I have a normal spinner working perfect and I have the following code: import android.app.Activity; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.media.Image; import android.support.v7.app.AppCompatActiv...
asked by 30.10.2015 / 19:41
1
answer

SQLite native functions X SugarRecord

What are the advantages and disadvantages of using SugarRecord when compared to native functions SQLite , Example on creating a table with SQLite Native Functions DatabaseHelper.java public class DatabaseHelper extends SQLite...
asked by 26.11.2015 / 17:06
1
answer

Remove 'header' TabHost Android

Hello everyone. I'm developing an android application using TabHost. The problem is that I did not want the top of the tab because it takes up a lot of space. I've looked a lot on the internet and found nothing that would help me. Does anyone kn...
asked by 30.11.2015 / 14:56