Questions tagged as 'android'

1
answer

setVisibility for an ImageView of a Grid

I have a grid with an image in each item. On top of each image has another smaller image (visa icon, to say that the item was selected) only invisible. I'm trying to make when the person a long click the smaller image of the item he clicked is v...
asked by 03.08.2014 / 08:55
1
answer

How to add googleMap programmatically in a RelativeLayout?

I already have all the external settings performed, but my question is how to add googleMap programmatically on a RelativeLayout? Here's my RelativeLayout public class Page extends RelativeLayout { private Context context; public Page(Con...
asked by 31.07.2014 / 21:09
1
answer

Use interface implementation in a Fragment

I'm trying to implement an interface that I created within fragment , but I'm not having success. My fragment is being defined with the following code: package fragments; import pickers.DateTimePickerFragment; import pickers.Date...
asked by 23.06.2014 / 16:09
1
answer

Component created does not match screen width

I created a component that would be a button bar at the bottom of the screen. She should respect both the portrait and landscape the width of the screen at least. If the width of the component passes the screen I am using a HorizontalScrollView....
asked by 22.06.2014 / 01:44
1
answer

Simple settings menu with CheckBoxPreference Android

I have a simple settings menu where I have a CheckBoxPreference . I want to set silence mode when the checkBox is checked and normal mode when it is not checked. The sound code I already have, but I'm having trouble getting the value of ch...
asked by 23.02.2014 / 20:27
1
answer

Authentication error when integrating Facebook SDK 3.6 to Android

I'm having a hard time integrating Facebook SDK 3.6 into Android. When trying to login in the app, the following error appears:    Invalid Android Key parameter How to solve?     
asked by 25.02.2014 / 01:16
1
answer

Widget layout is not working [closed]

I wonder why this layout does not appear in my widget: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_...
asked by 20.02.2014 / 00:57
2
answers

Is there a way to filter the contacts by "organization" in the contacts calendar of Android, when triggered through another activity?

In an Android application, I want to open the contacts directory from another Activity via Intent , but I would like to see only the contacts that have a specific value in the "Organization" field. Is there a way to specify this in...
asked by 25.03.2014 / 18:04
1
answer

What would be an alternative to the "obsolete" showDialog function?

Explanation: I have a mobile application that uses the showDialog() method at any given time, to show a DatePickerDialog and get the date, but I see that on the following line: showDialog(DATE_DIALOG_ID); I have the followi...
asked by 25.03.2014 / 18:07
1
answer

Viewing Flash Video on Android 2.3?

Well I've tried anyway to run flash video on android 2.3 from the 4.0 forward going easy from a webview. Looking in google and on some forums I saw people riding through VideoView. It did not work for me. VideoView videoView = (VideoView) f...
asked by 24.03.2014 / 20:08