Questions tagged as 'android'

1
answer

Downloading WebView files to a custom folder

I want the files that are downloaded by my app that uses WebView to be in a custom folder. You are currently going to the "Downloads" folder and wanted it to be a folder with the name of the app and that folder is created automatically. wb.set...
asked by 10.07.2016 / 01:43
2
answers

how to set space between buttons on Android?

I'm using 3 buttons on a Linear Layout . I would like to distribute the spaces between the buttons. Follow the image as exexmplo: Screenxml:<LinearLayoutandroid:orientation="horizontal" android:layout_width="match_parent"...
asked by 20.03.2016 / 21:01
1
answer

How to create a style for ImageView on Android?

How do I create a style format for ImageView by moving to length and height in this style so it gets "formatted" on the screen?     
asked by 11.03.2016 / 17:07
1
answer

Put Button at the bottom of the screen - Android

I have an ExpandableListView and a button that should only appear when someone gives the Scroll on it until the end. I already tried to put it as footer but if the list ends in the middle of the screen the button is in the middle, I need it to b...
asked by 05.07.2016 / 16:03
1
answer

Result of JAVA Android function

I have a very simple question for anyone who already understands Java but it's breaking my head. Being direct, I have my MainActivity and a layout with two EditText's and a button, and a SystemHttp Class. I wanted when I clicked on the button,...
asked by 16.03.2016 / 20:04
1
answer

List Adapter Duplicating Positions in ListView

I have a class named "AdapterListParts" which extends the BaseAdapter class and in it I inflate a layout that contains a CheckBox and an ImageView. AdapterList Players class public class AdapterListJogadores extends BaseAdapter { priv...
asked by 11.02.2016 / 22:27
1
answer

Highlight multiple dates with Android Calendar View

My app logs events with date and time in sqlite , has a menu that will show all those records in a calendar, marking the dates (without schedules) in the calendar, as an event app ... When the user clicks on the date marked will open a new...
asked by 15.02.2016 / 01:32
1
answer

createNewFile java.io.IOException: open failed: EACCES

I'm trying to create an excel file in a public directory with my app, but I'm getting the following error: java.io.IOException: open failed: EACCES (Permission denied) at java.io.File.createNewFile(File.java:939) at br.com.fexus.fretecif.MainA...
asked by 18.02.2016 / 20:37
1
answer

Search View in a ListView

I'm trying to implement a Search View in a List View of my project. I saw some tutorials but I could not implement any because there was always an error here and there because of the peculiarities of each list and code. So I come to the best ask...
asked by 04.02.2016 / 02:52
1
answer

Why when I start Activity does the app close?

I have in my onClick method the button to open the Activity within the PagerCronActivityActivity, as follows. Bundle args = new Bundle(); Intent i = new Intent(CadastroProntuarioActivity.this, ProntuarioActivity.class); args.putString("nomeCo...
asked by 01.02.2016 / 16:42