Questions tagged as 'android'

1
answer

Download with tag a in webview [closed]

Hello I have a working webview, I'm trying to create the following html tag: for(int i = 0; i < nm.size(); i++) { html.append("<a https://example.com.br/ret/AttachedFile.do?command=showFile&generatedId=").append(id.get(i)).a...
asked by 06.11.2015 / 13:37
0
answers

Prompt on android lollipop with misaligned button

I have a problem with a prompt, in Android Kitkat (19) or previous version looks like this: Butinlollipopornewerversionsitismisaligned: Hereisthelistenercodethatmakesthiscode:finalAlertDialogdialog=builder.create();dialog.setOnShowListener(n...
asked by 06.11.2015 / 19:27
0
answers

How to play a video from the gallery in another activity? Android

I'm having problems when I try to run a video, which I choose in my gallery, in my app (simple). Follow what I've done so far. If anyone can help me .. MainActivity: public void onCreate(Bundle savedInstanceState) { super.onCreate(sa...
asked by 19.10.2015 / 21:05
0
answers

How to leave rounded ImageButton borders?

My XML:                                                                                 <item> <shape> <gradient android:angle = "270"/> <corners android:radius = "25dp"/>...
asked by 20.10.2015 / 05:07
0
answers

Create user by Basic4Android [closed]

How to create a login screen by Basic4Android to register users in a MySQL database? I looked for an explanation and found none, can anyone help me?     
asked by 20.10.2015 / 22:08
0
answers

Space between the lines of Paragraph iTextPdf

I'm using a very large text and adding directly to the iTextPDF Paragraph, however the space between the lines is very large, I wanted to control the spacing between the lines, but I can not make any changes, I tried Font, Chuck and Paragraph, b...
asked by 20.10.2015 / 17:07
0
answers

Problem passing ArrayList to another Activity [closed]

Good evening, I'm having trouble passing a ListView from one Activity to another. The Activity code that passes to the other is as follows, called FiltrarImoveis.class: for (int i = 0; i < jsonArray.length(); i++) {...
asked by 16.10.2015 / 03:30
0
answers

Error running AVD - The filesystem is already 140800 (4k) blocks long - Nothing to do

When I try to execute my AVD, it hangs in the part shown in the image below and returns the error resize2fs 1.42.13 (17-May-2015) The filesystem is already 140800 (4k) blocks long. Nothing to do! I'm using the Mac and have already comp...
asked by 10.01.2016 / 23:23
1
answer

How do I know when a call of the retrofit is finished in order to start an activity?

I have two calls (Call) of Retrofit 2, one that downloads a object of type Config, and one that downloads a list of objects of type Registrations. I need to know when these two calls are finished, so I can call a new activity , however,...
asked by 13.01.2016 / 01:14
1
answer

JsonObjectRequest does not enter onResponse ()

I'm doing a home automation project with Android and Arduino and I have this snippet of code in my class whose purpose is to query the values of the WebService in Json. But every time I call this method it does not go into OnResponse () , i...
asked by 26.11.2015 / 16:14