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
votes2
answers998
viewsAccess specific gallery folder
I wonder if it is possible to access a specific folder in the gallery, because I take photos with my app and saved in his folder there in the gallery, but I wanted that when the user went to select…
androidasked 8 years, 2 months ago Juliano Morche 116 -
0
votes1
answer352
viewsFirebase does not communicate with app
I recently started working with firebase. I am following a tutorial on the internet, and in my application the status does not update. I know that with Firebase he updates on time. I’m working on…
androidasked 8 years, 2 months ago Artur Mafezzoli Júnior 441 -
0
votes0
answers229
viewsRange Seekbar Android
Good afternoon, I need to make Seekbar like that image How can I do that? The native and simpler Seekbar without this dual option.…
androidasked 8 years, 2 months ago carlos giovani casilo 473 -
0
votes0
answers27
viewsSave location to image information
I need to take a photo and save it to the gallery and then send it to the database. However, I wanted to know how to save the coordinates along with the image information. Remembering that I can…
-
0
votes0
answers74
viewsSqlite android.database.sqlite.Sqliteexception
I’m making the following mistake: android.database.sqlite.Sqliteexception: near "@test": syntax error (code 1): , while compiling: SELECT [email protected], test FROM usuario WHERE email =…
-
0
votes3
answers1127
viewsHow to add Toolbar in Activity without inheriting Appcompatactivity - Android Studio 1.4
Good night. I updated my Android Studio for version 1.4 and by default, any activity used as an inheritance to AppCompatActivity (public class MainActivity extends AppCompatActivity). I developed an…
android android-studio android-layout inheritanceasked 9 years, 1 month ago Luiz Henrique Ugliano 651 -
0
votes1
answer104
viewsMake a mark on the Google Maps map itself
I wonder if there is any way to leave a mark on a certain part of the map of Google Maps (android). I’m not saying in marker form, I’m wanting for example to leave an area close to my house with a…
-
0
votes2
answers1108
viewsGoogle maps android already open looking for current position
I would like help to get google maps of my android application already look for the current position of the user once the map is opened, in the same way as traditional gps, like Waze, be have q…
-
0
votes1
answer1009
viewsPick a specific part of a string using ANDROID split method
I made a code to display processes on android but when printing in a text view, it prints the PID, process name, memory cpu usage etc. The display is this way 958 2 0% S 22 577164K 42624K bg u0_a63…
-
0
votes2
answers2892
viewsAndroid - Alarm for mobile according to system time
Hello. I’ve done a lot of research and I’ve learned to do some nice things with Alarmmanager and stuff like that. I wanted to make an alarm for my mobile for testing, the problem is that all the…
-
0
votes0
answers97
viewsHow to use itext 5 accent
I’m not able to use accentuation in itext 5. I took a look at the examples of the site, but did not find en. Would anyone know how to use it? It is being used on Android. The fields of the model…
-
0
votes2
answers1836
viewsLogged in android user
In my app, I need to change the menu between three types depending on the type of logged in user. As I do not yet have a bank to verify this information, I would like to know if there is any way to…
androidasked 8 years, 2 months ago carlos giovani casilo 473 -
0
votes0
answers153
viewsHttp Client and Async Task - ANDROID
Speak, people, I wonder if anyone can help me, I’m new in mobile I’m starting with Android. I’m making a request with HTTP CLIENT to return all the value of the page, be it web or mine local host.…
-
0
votes1
answer1102
viewsAndroid - How to enable and disable wifi
I have an app in java with two buttons. How to do when press the first wifi is activated, and when press the second it be disabled? Thank you.
-
0
votes1
answer169
viewsAppbar overlapping the content of the rest of Activity
I’m doing some exercises but when it comes to executing, the bar is always on top of the content of Activity. Print of how you are for now Below goes my file content_formulario.xml : <?xml…
-
0
votes1
answer54
viewsHow to delete Gridview image?
I’m developing an app that contains a gallery, where the user takes photos and the image is shown on GridView, but I don’t know how to delete the selected image I was able to do something like: the…
-
0
votes2
answers784
viewsListview with a button at the bottom of the android studio list
Good afternoon, I have a Listview that is bringing some data, this working smoothly. But at the end of the list, I need to put a button. This button should not repeat itself, as it is happening. I…
-
0
votes2
answers680
viewsCommand adb open youtube URL via Browser
To start a URL via adb, I have the following command adb shell: adb shell am start -a android.intent.action.VIEW -d 'https://youtu.be/CSULRDoF8-g' That works. But in the case of a Youtube video URL,…
-
0
votes0
answers60
viewsAttempt to invoke virtual method on a null Object Reference Fragment Asynctask
I’ve been at this for days and I still don’t understand why this mistake, I have a Asynctask who takes a Urls of a database I want to take the url and define the imageView gives an error on this…
-
0
votes1
answer654
viewsScrollview only in the desired textView
Good night to you all. I’m with a simple layout containing a textView to control the title and other textView to control the content. What happens is that I have tried several times to include a…
-
0
votes0
answers23
viewsError calling another Activity
I’m creating an app for launching student frequency. The app features web service communication. By clicking enter button: The app will check if you have internet connection to update the teacher…
-
0
votes3
answers172
viewsBlur effect on image
I need to do a Blur effect on a background image. How can I do this?
androidasked 8 years, 2 months ago carlos giovani casilo 473 -
0
votes0
answers555
viewsGenerate image with text
I would like to generate images with dynamic texts! public void generate() { Bitmap src = BitmapFactory.decodeResource(getResources(), R.mipmap.ic_launcher); Bitmap dest = Bitmap.createBitmap(500,…
-
0
votes1
answer849
viewsCapture txt file row by row and play in a txtbox
good afternoon need to take the value of a text file and write each line in a txtedit, the file is generated by the code below: byte[] dados; File arquivo = new…
-
0
votes1
answer186
viewsError android.database.sqlite.Sqliteexception
This method of my Activity: private void loginEmailSenha() { editTextEmailLogin.setError(null); editTextSenhaLogin.setError(null); controllerUsuario = new ControllerUsuario(this); String email =…
-
0
votes0
answers51
viewsFATAL EXCEPTION: Asynctask #1: An error occured while executing doInBackground()
Could someone please help me and tell me what’s wrong? public class SecondActivity extends AppCompatActivity { //CONECTANDO O APP À INTERNET HashMap<Integer,View> views = new…
-
0
votes1
answer634
viewsOpen external application within the application
I am developing an application that makes command via Arduino. So far everything goes well, but in the project the user will have access to external camera via IP, but I have no idea how I do it.…
-
0
votes0
answers181
viewsGet latitude and longitude on Android
I’m creating an app on Android (with Android Studio) of Shopping. The idea is to register a purchase in the app that the user has performed. What I wanted is at the time we do that catch the…
-
0
votes1
answer395
viewsIs there any way to keep the user logged in to a webapp
I wonder if it is possible to keep a user logged in with webapp using webview. If yes which one will be the right way.
-
0
votes2
answers389
viewsSimulate APP (Android) data search in PHP/Python
I would like tips and paths on how to simulate the search for data from an APP (Android) in PHP or Python. I found interesting this example https://github.com/victor-torres/sinesp-client, where the…
-
0
votes1
answer858
viewsHow to know which error of my android program?
My app is giving an error that I just have no idea how to fix, then I copied the error that gives (on mobile looks like this: "The app'app name' stopped") can help me identify the problem? 10-14…
-
0
votes1
answer1041
viewsOnclick problem, I cannot pass Array information to a text view
I’m having trouble inflating a list with information from the bank, I want to take the user information and set it in a list, but only with a type of data as a name, however it presents the…
-
0
votes1
answer129
viewsApplication to make emergency calls
I am trying to make q my application make an emergency call by clicking the button, however while running it presents the following error: ERROR: FATAL EXCEPTION: main Process:…
-
0
votes2
answers220
viewsChoose which Fragment will be shown in Activity
I have a Activity that the email is requested and if the email exists I show a Activity with a Fragment for entering the password. If this email n exists, I want to display a Fragment, in this same…
-
0
votes1
answer78
viewsCall a method when opening the application
I have the following class public class ReadXlsx extends Activity { public TextView txtcoluna1; public TextView txtcoluna2; public TextView txtcoluna3; public TextView txtcoluna4; @Override…
-
0
votes1
answer268
viewsClose two activities
I have two activities that are called in the following sequence: The first one is inserted a text and once clicked on a button, it leads to a second Activity. This second Activity, when clicking on…
-
0
votes0
answers43
viewsDúvidas Tablayout
I have 3 views that inflame Contents from Recycler view. I put all of them extending from one BaseActivity.java to have some common functions like Navigationview(Sidebar) and also the Toolbar. Now,…
-
0
votes1
answer102
viewsError when referencing global variable
I have an application in which you have a webview, so I created a preloader to load into a thread , now I need to put the webview in another thread , how can I do (code error ) ? import…
-
0
votes1
answer693
viewsXamarin has some limitation for creating APP for Android
I’m starting to study mobile programming, specifically Android at the moment, and I’m having a question. I started studying the Android Studio which uses the JAVA language, but it is also possible…
-
0
votes1
answer54
viewsAdd items to an Expandable List
I’m trying to use an Expandable List. In this Expandable List I intend to put as header "the categories of my products" and in the children items put "my products". However I’m getting the error…
-
0
votes1
answer364
viewsProgress bar Does not work
People I have two threads, one that accesses the webview with the url and the other responsible for progressibar, but the Progress bar is not running. What can it be and how to fix it ? import…
-
0
votes1
answer62
viewsKeyboard opens when I call my Loginactivity, how to solve it?
Keyboard opens when I call my Loginactivity, how to solve this? This is my Loginactivity. package fabiohcnobre.jhotelcolonialdosnobres; import java.util.ArrayList; import java.util.List; import…
-
0
votes0
answers281
viewsError when building a project in Android Studio
I have a project that was working normally, but yesterday I had to install Windows on my computer. And today I open the project and when I try to compile, I get this message: Error:(1, 1) error:…
-
0
votes0
answers60
viewsBy clicking on the phone number be redirected to Call
I would like to click on a phone number to be redirected to the links on android as per the attached images, or click 1058 and it redirects to perform the link on the number, as is done?…
-
0
votes0
answers682
viewsAndroid Studio app with Sqlite Java database
I’m developing an app that takes photos and saves it along with a text written by the user himself in the SQL database. For now I can make him take the photo and open the text box for the user to…
-
0
votes2
answers602
viewsListview with two lines
in android studio in the component I found the following Twolinelistitem, by the name I figured I could put two lines of text without needing to create a custom xml, someone knows if it is possible…
androidasked 8 years, 2 months ago Vitor Hugo 328 -
0
votes1
answer110
viewsGrab master key android studio to set up in parse
I am configuring the Parse server in my project. As I have never handled this before, I did a test before in a test application and ran 100%. I tried to configure again for my android project and…
androidasked 8 years, 2 months ago Artur Mafezzoli Júnior 441 -
0
votes2
answers76
viewsApp stopping when using Location API
This code would be used to when the user pressed a button, its latitude and longitude would be found and later sent to a server. But the app crashes when it starts, remembering that I took this code…
java android google-maps-android-api-2 google-api-client google-location-apiasked 8 years, 2 months ago Elvis Roberto 13 -
0
votes0
answers294
viewsExternal and internal database
I’m a beginner in programming Android and I am with a doubt... it is possible for the same application to have an internal and external database at the same time? For example some information is…
-
0
votes1
answer120
viewsHow to use Sqlite in Qt 5.7 with Android
I would like to know how the communication with the database is done Sqlite on android using the Qsqldatabase? I performed some tests and for desktop I can perform the communication with BD, but…