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
answer66
viewsRealm - Search for content with accentuation
From what I’ve read, the Realm is not yet up for accentuation. I wanted to know if there is any way to query the Realm data ignoring the accentuation. For example, I search for "veterinario"…
-
0
votes0
answers49
viewsAndroid Holo Theme on Android 8 featuring a blue frame on the layout
I’m using the theme Theme.Holo.Wallpaper.Notitlebar in my app using IBM Mobile First, but on Android 8 the webview is featuring a blue frame over the entire layout. This occurs only on the webview…
androidasked 7 years ago Lucas Mendes 11 -
0
votes0
answers17
viewsOpen Browser By pressing a button in Activity
How to open a website by pressing a button on Activity?
-
0
votes1
answer147
viewsFirebase + Android + Spring to create Microservices
The idea is this: I have an android application that will consume my services that I will create using Spring. However, these services should have some security, where only people authenticated in…
-
0
votes1
answer148
viewsHow can you make an automatic table , with organization and "pagination" in android?
I need to make a data table with about 5 to 6 columns, with data from multiple arrays. The goal is to be able to have as close as possible to a management table where the user can organize the table…
androidasked 8 years, 4 months ago Tiago Coelho 739 -
0
votes1
answer70
viewsProblem with java logic
Hi, I have a problem and I believe it’s logical, but I can’t find it. I have 4 lists and I have to group the markets of a region, then I have a list with all products linked to the market and I have…
-
0
votes1
answer565
viewsFunction to Open Calendarview by clicking on Relayoutlayout
I have a screen where I would like the user to click and open the system’s native calendar. Only I would like the CalendarView was opened even if you clicked on RelativeLayout that covers it. I…
androidasked 8 years, 4 months ago Artur Mafezzoli Júnior 441 -
0
votes0
answers348
viewsProblem with debug in android studio
Hello, I was debugging the application normally on the device, I stopped the debug I made a correction and when I started the debug I got the following message: Debug port (8700) is busy, make sure…
-
0
votes0
answers1569
viewsConsult a record on Sqlite
I’m having a problem to perform a query in a Sqlite database of an android application I’m studying. I can recover all the records that the database contains, but I can’t search a single table…
-
0
votes1
answer128
viewsGoogle Maps Direction API only works the first time
I have the following code that creates a route using the Google Maps Directions API: public class MapsActivity extends FragmentActivity implements GoogleApiClient.ConnectionCallbacks,…
-
0
votes1
answer110
viewsProject preview in android studio
Why has the visualization of my project items in android studio changed? Only this project is like this, the others are normal.…
-
0
votes0
answers79
viewsDoubt: FATAL EXCEPTION
I have 2 Activity the contact cadstro and the contacts, the registration the code is like this: package com.example.marcio.agendacontatos; import android.database.SQLException; import…
-
0
votes1
answer24
viewsProblem using Putextra with a vector
I cannot pass the vector inside the Putextra. Someone can help me? Activity 1 double[] valores = new double[vetorEdits.length]; for (int i = 0; i < vetorEdits.length ; i++) { valores[i] =…
-
0
votes0
answers57
viewsHow can I change the DNS server of a device via application?
I’m making an application to change the DNS server, both on Wifi and mobile network, to android but I still can’t figure out how to do it. I’ve searched several places, including the documentation,…
-
0
votes1
answer628
viewsSpinner does not appear text inside it
The spinner arrow appears but the text does not and even when I choose one of the spinner options nothing happens empty without the chosen option...the minimum version in my grandle is the maximum…
androidasked 8 years, 4 months ago Tiago Coelho 739 -
0
votes2
answers326
viewshow to save date with Date type in MYSQL and return to an Android app
Hello I have an Android application that takes the date of a Datepicker but I’m not able to convert it to the type accepted by MYSQL in the case Date how could do this?
-
0
votes2
answers88
viewsDistribute my app via email
I distributed my App, compiling in release and then the Archive option. Well, it generated the key and several files. Now how do I email to my client and also put on my website. What will he get to…
-
0
votes1
answer139
viewsAndroid Studio: Invisible problem?
Hi, I’m making an app to calculate the best purchase between 2 products, in this case is toilet paper. In the title I put invisible problem because android studio 3 does not detect any error in the…
-
0
votes1
answer53
viewsData returns after view presentation
The Firebase query seems to return the data after generating the view, so it appears empty, but the data is populated in the log. What could I be doing wrong? public class ConsultarActivity extends…
-
0
votes2
answers5485
viewshow to put monetary mask for Edittext in an Android app?
how to put monetary mask for Edittext in an Android application only with numerical values without the R$, ie print in Edittext 2.99? If you have an example.…
-
0
votes2
answers738
viewsUpdate of Fragments Tabs!
I have two Tabs in my App, composed of fragments. The first is a form that saves the data in the database. The second is a list that retrieves that data. I would like to know how to update my List…
-
0
votes1
answer184
viewsHow to resolve this error when using Room Persistence Library with Kotlin?
When I send run the app, I get a crash like this on the first call to the database: java.lang.RuntimeException: Unable to start activity ComponentInfo{.../....ActivityLogin}:…
-
0
votes1
answer298
viewsDeveloper account
I’m trying to open an account, and I have the following doubts: I can pay the developer fee with prepaid international credit card (the master card travel card)? I am an Autonoma developer, (soon…
-
0
votes0
answers318
viewsAndroid Studio. How to instantiate a method with a view in another class
I have a method in Mainactivity2: public void addfoto(View view) { // meu código bla bla bla bla } And I want to call this method on Mainactivity. I’m trying this way but it gets the code wrong:…
-
0
votes0
answers61
viewsFunction Timestamp Android
Good morning Dear Ones, I have a problem , I’m using the function : but in some versions of Android he is changing the time increasing one hour more,? Timestamp stampDetalhe = new…
androidasked 7 years ago Diego Dias Mól 41 -
0
votes1
answer700
viewsjava.lang.Arrayindexoutofboundsexception: length=0; index=0
I am developing an application that will consume the mail price and term calculation service, however I have a problem in the service response, it returns me the following message:…
-
0
votes1
answer35
viewsHow to make a Circleprogress in Xamarin Android?
I’m programming in Xamarin.Android and I need a progressbar (or something like) circular that really shows some progress, I tried to use the ProgressBar really, but it just shows progress…
-
0
votes1
answer174
viewsHow to add an item to a listview when a button-click event occurs?
Guys, I want to create a list of tournaments. Where each item will be added at the click of a create tournament button, following the pattern: tournament 1, tournament 2, tournament 3 ...
-
0
votes1
answer23
viewsHow to join a Tablayout in Activity with a Viewpager within a Framelayout
I am working on a project where I need to join a Tablayout that is on Activity with a Viewpager that is inside a Fragment in the Activity Framelayout. I’m trying everything, but my brief doubt is:…
-
0
votes1
answer24
viewsHow to associate an Imageview to a Class?
Although it is something generic, to try to clarify my doubt, I will give an example. For example, I have a HashMap<Integer, Piece> with size 64, in which Integer would position and Piece,…
-
0
votes1
answer339
viewsUse values passed from one Activity to another
Guys, I’m having a hard time with something. I created a list that shows contact names, but these contacts have more attributes, such as date and number. I made another screen for when the person…
-
0
votes1
answer706
viewsHow to convert an array of bytes to a bitmap image?
Hello, I am trying to return to an Imageview an image stored in the database that is saved as an array of bytes in a field of type BLOB, what would be the alternatives to this?
-
0
votes1
answer226
viewsDownload Webview files into custom folder
I want the files that are downloaded by my Webview app to be in a custom folder. Currently it is going to the folder "Downloads" and wanted it to be for a folder with the name of the app and that…
androidasked 8 years, 4 months ago user41630 -
0
votes1
answer265
viewsby checking whether the date of an Edittext is greater than the date of another Edittext
I have two Edittext in my application and select the date using a Datepicker need to make the user not enter a date less than the one given in the first Edittext.
-
0
votes1
answer178
viewsNotify current Activity which background function has finished running Android
I have a class that looks for a list of clients in the background with a AsyncTask. She can be called any Activity, and returns nothing, just looks for the list of customers that comes in json and…
-
0
votes1
answer329
viewsDelphi with Tmultiview does not get desired height
I’m having trouble defining the height (Height) for a Tmultiview that is set to "arise" from bottom to top (property DrawerOptions -> Placement = Bottom). My Android app gets the screen…
-
0
votes1
answer203
viewsHow to use Rxandroid?
I’m trying to use Rxandroid but I’m not getting it. Actually, I wanted to be able to use methods inside an Observable, to access the Firebasefirestore and recover the data inside the Realm. So the…
-
0
votes0
answers94
viewsQR CODE reading with Cordova
How do I read a QR CODE through Cordova? I’ve seen several indications of plugins but none worked. Obs: I’m developing using Visual Studio (I don’t know if there is any influence, so the…
android visual-studio apache-cordova mobile cordova-pluginasked 7 years ago Anderson Brunel Modolon 1,111 -
0
votes1
answer75
viewsActivity Maps restarts every time I minimize
Well, on android 4.2.1 is working, but on another device with android 4.2.2 it restarts, IE, does not save the state of Activity, this problem only appears with the activitys that use map, in other…
-
0
votes0
answers72
viewsHow to turn a Cursor into a String?
Hello, I need to figure out how to turn a Cursor with data coming from the Android Internal Database (Sqlite) into an Array of String or String. I’ve tried it a few ways, but none of it worked.…
-
0
votes1
answer38
viewsDoubt with component change in eclipse migration to android studio
I have an app that was migrated from the eclipse, it uses a component: http://actionbarsherlock.com/, but it generates error in opening the application, so I needed to comment on the code below so…
-
0
votes1
answer203
viewsProduction Application, how to recover data from firebase in recyclerview?
Good morning guys I’m developing an app and I’m on the employee listing and production("this listing in a single line in recyclerview referring to the would work")but I’m in trouble because I don’t…
-
0
votes1
answer432
viewsCan I connect a Cordova app directly to Mysql?
I want to make a system with local mysql server on a desktop, but without using PHP or ASP. Then android would make the direct connection. Is it possible? Thank you.
-
0
votes1
answer146
viewsHow to keep Mainactivity "feeding" map Activity?
I have this code and at the moment I need to pass a latitude and longitude to receive on the map and show the current position the user is in, the problem is that when passing to the Intent of the…
-
0
votes0
answers428
viewsHow to speed up webview?
Is there any way to speed up website loading via Android webview? I saw that in my app it takes up to 5 seconds to load a page, while the Chrome browser loads in 1 second.
-
0
votes0
answers599
viewsSelect PDF file from my gallery
Good Afternoon I am trying to select a pdf file from my gallery but it returns me the following message : "Impossible to locate application to perform this action") Android version 4.1.2 I’m using…
androidasked 6 years, 12 months ago Diego Dias Mól 41 -
0
votes1
answer495
viewsProblem in Converting Photo Base64 on Android
The problem is this, I take the picture and if it in Activity, so far so good, but after converting it and sending to the server and decoding, only appears part of the photo: Code to take the photo…
-
0
votes1
answer90
viewsData Franchise No Consumption App
Hello. I am searching to see how some applications work that allow its use without consuming data from the internet franchise. iFood, for example, has this feature, among others like Magazine Luiza,…
-
0
votes1
answer197
viewsHow to make columns responsive with Gridlayoutmanager?
In the precise case that when you are in Portrait display a number of columns that complete the width of the screen and when in Landscape the items in recyclerview are presented in a number of…
-
0
votes1
answer239
viewsHow to make different versions of an image for different screen densities?
I have an image that will be placed inside my app (just an example), how can I make a version hdpi, xhdpi, xxhdpi, etc of it? I know I should put in the respective folders, but when I only have one…