Questions tagged as 'android'

1
answer

Swipe to the right after left gives error ANDROID

I'm creating an Android application in Eclipse with 3 screen with horizontal Swipe, on the last tab I have a Map Fragment. But it happens that when doing swipe to the right the first time everything is normal, when making a swipe to the left...
asked by 30.07.2014 / 00:41
1
answer

Is there any tool to help with layout optimization?

Sometimes it is common to doubt which layout to use, which graphics resources consume more memory, and how to improve the layout in which the views appear. Is there any tool to help with layout optimization?     
asked by 26.09.2014 / 15:30
1
answer

When I press the play button nothing happens

I do not know why it's not working ... RadioPlayer.java package com.example.santanateste; import java.io.IOException; import android.app.Activity; import android.media.MediaPlayer; import android.os.Bundle; import android.util.Log; import...
asked by 23.09.2014 / 23:30
1
answer

Synchronization problem

This code worked in a Java IDE, but now Android is not working. This program needs to get an XML dataset from a website and then move to a spinner. import android.app.Activity; import android.os.AsyncTask; import android.support.v7.app.Acti...
asked by 01.07.2014 / 03:26
1
answer

Making web service calls separately

I need to finish an application that I'm doing in Android, in the login step I'm doing, and for that, I have two webservices to do it, one is the Identifier and the second is LoginSamba. I would like to make it explicit that: You will onl...
asked by 12.09.2014 / 19:39
1
answer

Problems sending data from a ListView to another Activity

QuestionAdapter public class QuestionAdapter extends BaseAdapter implements OnClickListener { private List<Pergunta> lista; private Context context; public PerguntaAdapter(Context context, List<Pergunta> lista){ this.context...
asked by 16.09.2014 / 22:32
1
answer

How do I read an assets file as a string

How do I read as a string an Android text file that is inside the Assets folder?     
asked by 17.09.2014 / 16:49
1
answer

Use object between JavaScript functions - PhoneGap

I'm creating an object with onDeviceReady to create the connection to the application's SQLite database. It is being created as follows: var app = { initialize: function() { this.bindEvents(); this.db = null; },...
asked by 31.08.2014 / 06:59
2
answers

Using Dialog in a Fragment

I implemented the DIalog method plus this is giving error and I am not able to solve, I would like a help follow my class public class Iniciar_Host extends Fragment implements AdapterView.OnItemClickListener{ @Override public View onCreateView...
asked by 16.07.2014 / 20:11
1
answer

Update fragment UI after returning from BackStack

Maybe the problem is simple, but anyway, I'm messing around to get it done. I know I would have to do this through interfaces, but I do not want it that way. My app has only a Activity that houses many Fragments . Activity i...
asked by 11.06.2014 / 16:13