Questions tagged as 'android'

1
answer

How to take parameter from within the popup?

I have a screen where I hide the pages, and when I clicked on the page it opens a pop up where I can enter the value of the pages instead of going through. The page is nothing more than the ID of my values in the database, and I only write wha...
asked by 23.10.2014 / 15:55
1
answer

How to list the phones of all contacts?

I'm wondering: How to list all the contacts (phone number and name of the phone) of the cell phone?     
asked by 18.10.2014 / 19:20
1
answer

When executing an Activity, I want the execution to wait for the closing to continue, or sequentially execute the code

How do I execute an activity and after closing it continue to execute the code where it stopped, for example: listmarcacoes.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override public void onItemClick(A...
asked by 21.10.2014 / 23:38
2
answers

How to return global variable within a RequestTask class

Well I use the RequestTask class to do some things like: protectedInBackground String (String ... uri) protected void onPostExecute (String result) I just want to return the variables to do other things outside of the RequestTask class,...
asked by 19.10.2014 / 22:47
2
answers

Add progressbar in my webview

Hello, I want to add a progress bar in my webview . I saw a tutorial and it did not work properly, because the progress bar is loading forever. I will post the code as it was, I wanted the progress bar to appear only when loading the...
asked by 21.10.2014 / 20:40
1
answer

LogCat - Does not appear [closed]

I'm doing Example5 of cap 3 of the Google Android 3rd book (Ricardo R.Lecheta), where applying a filter to display in the logcat. but it's not coming back to me. package br.livro.android.cap3; import android.app.Activity; import android.os.Bu...
asked by 03.08.2014 / 19:14
1
answer

Problems reading file from EXPANSION FILE

I need to read files from an EXPANSION FILE. In the first Log in which I print expansionFile is working perfectly, ie I was able to read the zip file, but when trying to access the files from inside the zip as it guides the documentation lin...
asked by 05.09.2014 / 15:12
1
answer

Session error in android httpclient

I'm trying to make an application to log into the college website, and through crawler I work the information returned by httpclient. Note: I'm doing it for learning, I started recently in Java. I make several posts because the college site h...
asked by 04.09.2014 / 21:46
1
answer

Use NotificationManager in a class that is not Activity

I'm having a problem and I'm not getting any better. The problem is this: I have a Fragment in my app, and I want to trigger a notification from it. The line I'm having problems with is this: NotificationManager mNotificationManager = (Notifi...
asked by 22.07.2014 / 20:38
1
answer

Failure [INSTALL_FAILED_OLDER_SDK]

I want to print a "Hello World" on the screen, created a new project with any name in Android Studio, clicked "Run" and it returned me this error ... I checked the AndroidManifest and everything looks OK (add sdkMin and sdkTarget and it also...
asked by 20.07.2014 / 03:39