Most voted "android" questions
Android is an operating system for mobile devices developed by Google and the Open Handset Alliance. Use this tag to reference questions related to programming for Android and be relevant only to this operating system. Use the [android-subject] tag instead of [subject] alone.
Learn more…8,935 questions
Sort by count of
-
0
votes1
answer592
viewsCustomize the Google Maps infowindow
You can customize the marker infowindow in the Google Maps API by placing buttons and more than one line of information?
-
0
votes1
answer1334
viewsWhat is the content_main.xml file for?
I’m starting to study Android, using the tool Android Studio and I have a problem: as much as I search books or video lessons never find one that is updated. I am with version 1.5.1, and in the…
-
0
votes1
answer158
viewsHow to remove automatic items from an Activity
In Android Studio, when it comes to creating an Activity, the IDE already places some items inside it, such as that circle with an envelope inside (image). How do I remove it after created the…
-
0
votes0
answers51
viewsHow to send a die with the "setResult" of a non-activity to an Activity?
I have a class with a dialog that is not an Activity and the result of this dialog I need to update in Activity. To do this I am passing the Activity via constructor to the dialog, but it did not…
androidasked 8 years, 8 months ago daniel12345smith 2,120 -
0
votes2
answers526
viewsHow to do dialog with listview inside?
I would like to know how to create a Dialog containing a ListView following the example of the image below.…
-
0
votes0
answers120
viewsHow to compile ffmpeg and rtmpdump for vitamio (vitamio with rtmpdump)
Android lib ffmpeg.so with support for rtmpdump librtmp.so/rtmpdump.so for the vitamio. I saw some examples but they didn’t help me much, I need to compile the rtmpdump(librtmp) with the ffmpeg for…
-
0
votes0
answers52
viewsApplication does not report error to google play
When it appears that message "App stopped" usually appears a send report button, where this error will be sent to the google play developer console, but with my app is not happening this, someone…
androidasked 8 years, 7 months ago Mateus Carvalho 1,494 -
0
votes0
answers66
viewsAdapt code to Fragment
Good morning I had posted the doubt but now I tried to simplify to be simpler the help I hope you can help me. I’m using googleplaces and when I write in an editText I get suggestions of places in…
-
0
votes1
answer187
viewsCalendarview Action Forward and Back button
I’m working with the Calendarview library https://github.com/prolificinteractive/material-calendarview And the guys there are kind of out of communication, so I’m gonna ask here. I would like to do…
-
0
votes0
answers69
viewsRendering problem in Android Studio 1.5
Hey there, guys. How to solve the problem Rendering problem in Android Studio 1.5? I am several days trying and nothing to achieve, since I learned that there are several factors that make occur…
-
0
votes1
answer35
viewsAdd widget on start screen
I’m using the library https://github.com/prolificinteractive/material-calendarview And I’m almost at the end of the project, but now I have the need to insert the calendar widget option, but the…
-
0
votes1
answer75
viewsParcelable Android
I need to make the Parcelable of this class, but it’s giving the error: class not found when unmarshalling Could you help me? My class: public class Internship implements Parcelable { private…
androidasked 9 years, 5 months ago Vinícius Venancio dos Santos 329 -
0
votes0
answers2051
viewsForeground/Background Android App
Good morning, you guys! I’m new in android, I need to check if the application is in the foreground or background, if it is in the background it needs to go back to foreground and if the user…
androidasked 8 years, 7 months ago Diego Dias Mól 41 -
0
votes2
answers5472
viewsHow to create an android app using c++ only in Android Studio?
Just for learning purposes, is it possible to create an app using only c++(without JNI)? And if possible, what are the steps, have some example 'Helloword' somewhere? From what I know some things in…
-
0
votes1
answer40
viewsHow to change the title of Webview
I am making an app in which I use a Webview. The doubt is how I can change the text that appears "Webviewapp" when I open the app.
androidasked 8 years, 7 months ago David Concha 539 -
0
votes0
answers182
viewsHow to use the Incallservice class in Android Studio
My question is this, I want to make my own app to make a phone call, but I don’t want to use the default android view, I want to build my own view, but I’m having trouble accessing the Incallservice…
androidasked 8 years, 7 months ago Guilherme Dorazzi 1 -
0
votes1
answer53
viewsProblem emulating Android app
My eclipse had some problems and I reinstalled the eclipse and sdk, but then when I emulate the app appears the following message on the console: [2015-06-24 12:26:12 - Superoffer] android launch!…
-
0
votes1
answer56
viewsandroid - Chargeback app payment in alpha
I published a app in alpha for payment testing, and made payment for an integrated item. How do I refund and cancel that purchase?
-
0
votes1
answer494
viewsWhat is the purpose of each component of an Android project?
I’m starting now in Android development, and I’m having doubts about the directories of Android Studio, I need to understand what serves each of them for the project. I confess that I have never…
androidasked 8 years, 7 months ago Ramom Moura 123 -
0
votes1
answer120
viewsI can’t change the layout on android
hello guys I’m making an old game app for android,when the app starts I want this one to call the test layout,and when I click the test layout button I want to go to the layout that has the old…
androidasked 8 years, 7 months ago Vinicius Clemente 365 -
0
votes1
answer596
viewsGoogle drive api integration doesn’t work. how do I fix it?
i want to integrate the google drive api into my app. it runs but does not connect, as if it did not receive the information that was sent. How do I fix this? The code is the google itself that…
-
0
votes2
answers1048
viewsConflicting Signature Error
Hello, I’m in big trouble I have an APK for android that ran everything right, but I had a problem with the machine in which the project was and I had to change the machine, I installed everything…
androidasked 8 years, 7 months ago Manoel Canhos 1 -
0
votes1
answer5521
viewsEvent of the back button
I have an application that has a login screen, it is the initial call of the app. When logging in, it is called Activitymain and from it the app follows its flow. I would like to control the event…
-
0
votes2
answers345
viewsAndroid sqlite order by com case
I need to sort a query like the example below, where, the searched text is 'un', it first brings the items that start with 'un'. This is exactly what I need, to order the output of the query, so…
-
0
votes0
answers37
viewsLogout do facebook SDK 4.+
I have two activities. Loginactivity -> this login with facebook, working normally. And after the login is called the Mainactivity -> In this I need to log out from facebook. How is it…
-
0
votes1
answer309
viewsHow to save Cookies permanently and retrieve them later? [Android]
I have an app Android that makes a request to a Web server and later saves three Cookies in one CookieStore. In the meantime, I’d like to store these Cookies so that when the application is…
-
0
votes0
answers64
viewsProblem with AVD resolution
I set up according to the course I’m doing sent, but it sucks the resolution of my AVD.…
-
0
votes1
answer598
viewsCapture events on volume button
I’m trying to record and capture events on the volume buttons of Android, so I can start and stop a service. Researching I found several solutions using Broadcastreceiver, but it seems that none is…
-
0
votes1
answer374
viewsproblems while running android usb in android studio
Does anyone know why this error is happening I can’t run the application on my smartphone with debugging mode enabled and even with the emulator? someone knows, I am new to android and wanted to…
-
0
votes0
answers211
viewsInvalid APK on package name posting
I’m trying to generate an apk so I can publish my app in the store, but when I sent a message saying that the package name was invalid, because the name ". android" is restricted. Then I changed the…
-
0
votes1
answer345
viewsAdd number of a txt file
Here’s the thing, I’m using this method to read my txt file. public String lerArquivo2() throws FileNotFoundException, IOException { FileInputStream input = context.openFileInput("teste46a.txt");…
androidasked 8 years, 7 months ago Carlos Leandro Ferreira de Alm 339 -
0
votes1
answer436
viewsFormat date to Brazilian format using webservices
How to format a data timestamp for timestamp br. ex. 2015-02-03 15:37:00 para 03/02/2015 15:37:00 Obs: the date is a text
-
0
votes2
answers525
viewsWhere do I find ready-to-edit phonegap application projects?
Where can I find fully-ready IOS and/or Android application projects? That can customize, edit them and if possible already with communication with web server, without having to do one from scratch.…
-
0
votes0
answers58
viewsOpen android studio app in phonegap? t
I developed an application in Android Studio and would like to export it to phonegap in order to be able to use it for cross-platform. How can I enjoy my project in android studio in phonegap ja…
-
0
votes0
answers77
viewsError while opening android studio
When I open my android studio it loads the Gradle and then shows the message: `Error:Execution failed for task ':app:processDebugGoogleServices'. > File google-services.json is missing from…
-
0
votes1
answer491
viewsHow to place an imageView and a textView inside a gridView?
I can’t place image and text inside a gridView, someone can help me ???
-
0
votes1
answer1616
viewsHow to use the power button on your phone?
I wonder if it is possible to use the power button (on and off) of the phone in an application. Example: Performing some function if pressed the button three times in a row. If possible I would like…
-
0
votes1
answer33
viewsFollow/unFollow button on a lsitView populated by a request to a REST Webservice
So guys, my question is this:: I have a ListView which is popular for a request to my web service REST. Each item of this ListView has a button. By clicking this button, the user logged into the app…
-
0
votes1
answer59
viewsFrameworks to test on Android app and Webservice
Good afternoon staff, I would like to know which frameworks you could use to perform the following test: Android App: Unitary Test Stress Test Web service Unitary Test Análise Estática…
-
0
votes1
answer139
viewsWrite data from a Barcode?
I’m trying to develop an app for reading CT-archiving and for that I need to record the data read in the barcode, I’m using the Zxing library ,but who receives is a textview . @Override protected…
androidasked 9 years, 4 months ago edson safra 55 -
0
votes0
answers178
viewsIonic framework 2 (Build problem)
Hello, I’m trying to build an app on Ionic, but any app I try to build, it generates an app just with maps, I wonder why?
-
0
votes1
answer906
viewsHow to create backups of a project in Android Studio?
I did not find an option to save as and tried to copy the entire folder but as the project generates files with very big name ends up giving error in windows at the time I copy by Ctrl C Ctrl V of…
-
0
votes1
answer52
viewsHow to create a menu in android fully animated
The tumblr app has a menu that when you press each item/button it turns white and press another turn the original color. Does anyone know the name of this process to indicate to the user that that…
-
0
votes3
answers366
viewsstartActivityForResult inside an Adapter?
Good night, you guys. My scenario is the following: In Activity A, I fill a list through a Recycleview with an Arraylist returned from my Webservice. The Layout of this list has an image, a title…
-
0
votes0
answers637
viewsHow to read txt files and put your data into a vector
I’m trying to make a code that reads latitudes and longitudes that are in a txt file. I mean, put what’s in the file in a vector and make a loop for to call everyone inside the Polyline. try { File…
-
0
votes0
answers145
viewsAdapter Problems in Searchview
Guys, here’s the deal. In my app, when opening it you have an Activityprincipal, in this Activity I have a Viewpageradapter that shows three Tabs(Let’s call them tab-1, tab-2 and tab-3, each with…
-
0
votes0
answers26
viewsHow to momentarily download the sounds of other applications
I’m using the Mediaplayer Class to play an alert sound in my app. My problem is that if the user is listening to music through another application, the sound emitted by my Mediaplayer Class may not…
androidasked 8 years, 6 months ago Vitor Mendanha 595 -
0
votes1
answer245
viewsRecover items from Listview
I’m trying to create a sales app, where in the order I select the product to be sold and click on an add button, and the selected product is played into a listview, when the seller has finished…
-
0
votes1
answer56
viewsMultiple Recycle views on the same activty
does anyone know how to create multiple lists (Recycleview) on the same activty according to the database data? That is, I have a table called Categories and another table of Items, I wanted to…
androidasked 8 years, 6 months ago Fernando Flores 1 -
0
votes1
answer46
viewsError with findViewById in email sending class per application
I’m developing an apk where there are forms that will be sent by email. Hence my class for window change was like this: By adding the methods needed for me to send emails directly from my…
androidasked 8 years, 6 months ago Carlos Diego 683