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
answer65
viewsTransparent statusbar
How to implement transparency in statusBar? *minSdkVersion 16 compatibility API…
androidasked 8 years ago Edson Santos 416 -
0
votes1
answer89
viewsError when opening Listview of database
In my app you have activity 1 which contains editText to write the nome, contagem de golos, and nome da equipa and a button to save on banco de dados in the activity 2 contains a ListView…
-
0
votes1
answer321
viewsrating Bar does not get certain numbers (integer) of stars
Hello, I’m using a rating bar in android studio and I used the following in the layout: <RatingBar android:id="@+id/ratingBar" style="?android:attr/ratingBarStyleSmall"…
androidasked 8 years ago Elaine Breda Schwaner 141 -
0
votes1
answer46
viewsProtect HTTP Requests with Android
I have an Android application, which requests Servlet or JSP files that return JSON. For example, in my application the user logs in and can add requests, when adding requests, the same is added via…
-
0
votes0
answers66
viewsError printing given in an edittext
I am stuck to a problem, I have to receive values in three radiogroups to make the calculation of more 3 edittext along with the result of a method, the method works perfectly but the final…
-
0
votes1
answer57
viewsCompare android time slot
I have a register where the establishment puts its opening hours in variables String, Ex: horario_abertura and horario_fechamento format: 00:00 24hrs. I need the application to compare the current…
-
0
votes1
answer131
viewsFinish all daughter threads of an Activity
In my Activity I instill some controls that search server data asynchronously. The control instance is as follows: new controle().executar(new InterfaceRetorno(){...}); But what happens is this, if…
-
0
votes3
answers703
viewsChange native font size
I’m developing an app and would like to know if it is possible to increase the standard Android font? From medium to large. What if it is, is it complex? I tried with Textappearence.Large as style…
androidasked 8 years ago Darlan Alves 1 -
0
votes1
answer153
viewsError inflating class Fragment using maps
When I run my app, after selecting the event that directs to a activity using maps, it ends with Fatal Exception. luizugliano.com.br.lugaresfavoritos.Mapsactivity}: android.view.Inflateexception:…
android google-maps android-fragment google-maps-android-api-2asked 9 years ago Luiz Henrique Ugliano 651 -
0
votes0
answers50
viewsListview error
Good afternoon, I have an error that came up after having edited a function to save data by Dialogfragment, in logCat presents the error that and my Listview is null, only that I can not take the…
-
0
votes2
answers61
viewsEdittext with ellipsis
In Edittext, when text cannot be displayed completely and lose focus, has some tag that can be set so that it displays the text with ellipsis?
-
0
votes1
answer230
viewsFacebook Login with REST API
I integrated an Android app with Facebook and can already login there. Now, I have to integrate that Facebook login with the authentication part of my API. For example, now, what I can do is log in…
-
0
votes1
answer222
viewsDoes Valueeventlistener count as a simultaneous connection in Firebase?
If my application in Firebase has 5 users and they all have a valueListenerEvent on, waiting for some change in the database, do I have 5 connections simultaneously? For example, in a chat using…
-
0
votes2
answers645
viewsFix the XML error
My apps made in Android Studio 2.2.2 give XML error. Classes are as if undeclared. I’ve even asked such a question here, but it had no error specified. the error that appears in Logcat is this:…
-
0
votes1
answer142
viewsINTEL XDK + IONIC error while installing apk
Good afternoon, I’m developing a study app... I followed the tutorial videos of FULL STACKER DEVELOPER and modified as wanted. The app works on localhost and on intel xdk Simulator (using an online…
-
0
votes0
answers146
viewsAutomatically adjust image on various device types
Eae blz ?! So I’m trying to work with images in native android classes, where the image is displayed through a class !! I already have a question where the link is just below !! Resize image to…
-
0
votes0
answers76
viewsHow to Resolve App Shutdown Problem?
I’m creating an app in Android Studio and whenever I test it to see the progress it does not run, takes a break. app (app name) stopped. In Logcat appears this: W/Dynamitemodule: Local module…
-
0
votes1
answer2209
viewsSet a dialer as default
I already have a simple app that just connects from the moment you click on a button that performs the call, i want to make this app as default on Dialer so that every time I click the default…
androidasked 8 years ago Renan Dutra Ferreira 1 -
0
votes1
answer812
viewsno such column _id (code 1) while compiling - SQL
I’m having trouble with my code, could help me. Follow the error below and soon after, the codes. But to simplify, I have a home screen and let me go to another to register and then I can go to…
-
0
votes1
answer60
viewsWhy is Jobscheduler running without the cell phone is charging?
I made an application using the class Jobscheduler that has now come in the Lolipop api. I won’t go into detail about the structure of the application because it is running and working properly. My…
-
0
votes0
answers37
viewsAccess VPN using virtual machine
I’m trying to access a VPN through an android AVD but without success. If I try to access it through my real device with you without problems but using the AVD of android studio or genymotion is not…
-
0
votes1
answer345
viewsClick the button on Toolbar
I have two buttons Save and Record on my Toolbar. I’m not getting the click. If I put the button click in the normal view I can catch the click private class btGravar implements View.OnClickListener…
androidasked 7 years, 12 months ago Artur Mafezzoli Júnior 441 -
0
votes1
answer146
viewsHow to pass drawable file as parameter?
I have a problem that should be simple, I want to move to another Ctivity, a drawable as parameter. here is my Onclick function: img1.setOnClickListener(new View.OnClickListener(){ @Override public…
-
0
votes0
answers192
viewsHow to represent an xml interface in a class diagram? (Android project)
I have an Android project, which I use several "xml" layout files as an interface. How should I represent them in the class diagram. I thank you already.
-
0
votes1
answer367
viewsHow can I create a Seekbar
I want to create a bar that shows the music playing. I created a Seekbar so that when the audio starts playing it shows its duration time and how much time passed after starting it ... SeekBar…
-
0
votes2
answers109
viewsHow to associate a variable to an ID?
I have an integer array and need to associate this value to a given button, to change its backgound. If the array has the number "40", I need the "button40" to change color. and so on, until the…
-
0
votes0
answers683
viewsPOI apache, Function if you have the value in a blank cell
I need a little help with the use of apache POI, in my application I need to perform a query inside a spreadsheet, this query checks if there is a value in the spreadsheet, this query is ok, below I…
-
0
votes2
answers206
viewsWhat is this for? requestWindowFeature(Window.FEATURE_NO_TITLE);
I was studying a webservice for android consume and I came across this:: @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);…
-
0
votes2
answers349
viewsCheckbox - how to check if at least 1 cbx has been selected
Hello, I have a set of 8 checkBoxs. Does anyone know how I check if at least 1 of them was selected? Thank you
-
0
votes1
answer582
viewsHow to create "responsive layouts" on Android?
I am doubtful how to create a responsive "Layout" to serve on all devices smarts and tablets, so that the text size, buttons adapt properly to each screen, what is the best way and practice for…
-
0
votes1
answer548
viewsHow to change Activity by clicking on an option in the Alertdialog menu?
I have the following problem, I have a method that is called, when one clicks on a button, AND HOLD, (onLongClickListener) will appear an Alert with several options. 1st Option is Cancel the Table,…
-
0
votes1
answer197
viewserror: class,interface, or Enum expected?
So guys were here trying to do an exercise of old game in android studio and I can not find where is the error, I would like some help. package com.example.francisco.jogodavelha; import…
-
0
votes0
answers789
viewsError installing Android SDK Tools
I’m getting an error while installing Android SDK Tools: Failed to Rename directory C: android-sdk-windows tools to C: android-sdk-windows temp Toolpackage.old01 What do I need to do? I’ve disabled…
androidasked 7 years, 11 months ago user53564 -
0
votes0
answers259
viewsProblem with animation loading more items in recyclerview
I am applying an animation in displaying items in my recyclerview, however when I load more items, the last item in my recyclerview is animated again in a strange way. Here are the snippets of my…
android animation android-adapter android-recyclerviewasked 7 years, 11 months ago ThiagoFerreiraS 1 -
0
votes1
answer749
viewsHow to read the wpa_supplicant.conf file?
Good morning guys, I’m producing an android app that is able to generate a backup on txt of the saved network settings on an android device, until then I know it is necessary to read the file…
-
0
votes1
answer103
viewsLinearlayout with 2 textViews to simulate a button
My goal is to have one Button with 2 TextViews inside. So I researched the easiest way is to have a LinearLayout and inside place the TextViews and place the property android:clickable="true". The…
-
0
votes1
answer127
viewsList within Spinner Layout
Hello, I wonder if you have how to put the list that is inside Spinner directly in the layout. Normally I do so: horario = new ArrayList<>(); horario.add(""); horario.add("Aberto Hoje");…
-
0
votes1
answer111
viewsedittext comparison: Prevent duplicate date and time
//-------CLASSE QUE FAZ INSERT,ALTER,DELETE ATRAVES DE DADOSDADOS PELA CLASSE AGENDARF(CLASSE COM OS EDTTEXTS E SPINNERS) package…
androidasked 7 years, 11 months ago Gabriel Teobaldo 11 -
0
votes1
answer122
viewsPositioning Imagebutton in XML
I have an imagebutton in a relative layout. When I put the command: "android:layout_marginLeft=" It does the intended (move away from the left edge in x measure), but when I put:…
-
0
votes1
answer213
viewsHow to resize Relativelayout while keyboard is active
Good night! I’m a beginner on android, so I’m sorry if it’s a stupid question. I did not find solution to my problem in this forum, so I decided to create this post. I have a very simple…
-
0
votes0
answers87
viewsHow to perform button action within Listview Android C#
I created an android data query application, where they have the layout and Adapter ready to crud data, but the crud operation worked when data is entered and consulted. I was unable to make a…
-
0
votes1
answer336
viewsDevice incompatible with Play Store app
Some devices, especially a tablet is unable to download an app from the play store. Can anyone tell you what might be blocking? <?xml version="1.0" encoding="utf-8"?> <manifest…
-
0
votes0
answers79
viewsHow to request the evaluation in the android app?
I wanted to put the option of the person evaluate the app after 2 times for example that enter it, and already take to play store, someone knows?
-
0
votes1
answer655
viewsHow to make my webview open links from other apps
I have a webview application and I want it to open links from other apps, I’ve put the Intent filter now I need to find the code that makes it open links from other apps. Thank you to those who…
androidasked 7 years, 11 months ago Anthony Wesley Santos 74 -
0
votes0
answers107
views -
0
votes2
answers86
viewsNeed for Sqlite
I want to clarify the following question: I have a project Android who uses a webservice, but I did all the data access on Android and my webservice will be done in Java. After I finished all the…
-
0
votes1
answer248
viewsUnsupported major.minor version 52.0visual studio 2015 community
The image of the error is attached…
-
0
votes1
answer286
viewsConnection test
I have an application that will send some packages to the server. I would like to before sending, check if the server is available. And for that, I did the following: public static boolean…
-
0
votes1
answer165
viewsAndroid - How to transport picture information from one class to another?
Hello, I need to transport the contents of an Imageview from one class to another, I tried by Intent, but I couldn’t get through it. I have a Drawable that was edited in Imageview of the first class…
-
0
votes0
answers51
viewsEdittext problem within Listview
Hello, I’m having trouble in edittext inside the listview, it does not let me type and is giving these errors. Follows errors below: W/IInputConnectionWrapper: beginBatchEdit on inactive…