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
answer224
viewsVolley.Parseerror - java.lang.String cannot be converted
Hello, I’m sending POST to an archive PHP using the library Volley. Everything goes well until the application tries to show the answer to the user. In the file PHP use the command echo 'user…
-
0
votes1
answer110
viewsGetting application id and client key from parse server
I’m trying to use parse server to register and login for an Android application, but I don’t know where to get the application and client key required for the code below: public class…
-
0
votes1
answer100
viewsError while running Gradle
I’m not able to run a project in Android Studio. The project compiles normally, but when I try to run it the Following error occurs in the Gradle console:…
-
0
votes1
answer338
viewsHow do I change the image of each item in my list ?
I want to change the image of each item on my list.. how do I do ? I appreciate the understanding that I don’t have much experience. Thank you. My code Below. import android.app.Activity; import…
-
0
votes1
answer85
viewsDoubt about cryptography
I’m looking at how encryption works though, I’m having a doubt almost all examples encryption codes have a Plaintext String, follow the link from one of the post I looked at:…
-
0
votes1
answer304
viewsWhich method to use Sharedpreferences best?
I have an application with a webview in which a token returns when the user logs in. I need to save the user information to perform the auto-login the next time he logs in, I intend to do so using…
-
0
votes0
answers34
viewsLocal Notification error by clicking again instates the same app
Next, I created a radio app and when the app opens has the splash and starts playing. It has a program scheduling feature. If I have the app open and get notification, it keeps playing the radio,…
-
0
votes0
answers73
viewsWildfly changes the GMT
Good afternoon. I’m having a problem with a back-end Api running on a Wildfly server ,I have a mobile app that posts this api in a java.util.Date variable, when I post to the server it adds 2 hrs…
-
0
votes1
answer134
viewsGoogle Play Valid Privacy policy
Good Morning, I received an email from Google stating that my app should have a Valid Privacy policy, however I’m not sure how to create it. Has anyone gone through this need to help me and explain…
androidasked 7 years, 9 months ago Nuno Santos 81 -
0
votes1
answer417
views -
0
votes0
answers211
viewsHow can I make Cardview dynamic-sized?
I got a little problem... I have several Cardsview and their size is static I would like to know how to make this size adaptable to what is on cardView. Because in a Cardview I have a list that…
-
0
votes0
answers93
viewsCode does not recognize image from xhdpi folder
I saved some images directly in the drawable folder. These, Android Studio recognizes normally. But the images saved in the folders mdli, hdpi, xhdpi, xxhdpi and xxxhdpi the code does not recognize…
-
0
votes1
answer36
viewsDebug PHP’s script
I’m developing an Android app and in this app I make some accesses to the BD (Mysql - Hostinger) through calls, from within the Android code , the PHP files via browser. But sometimes I have…
-
0
votes0
answers69
viewsCustom actionbar does not take up the entire screen width
Well, I was trying to customize my Actionbar, it worked, but it turns out that it doesn’t fill the entire width of the screen, it’s as if it was superimposed on the old one, to better understand…
-
0
votes1
answer340
viewsHow do you leave a Tablelayout on a fixed screen size?
I have a screen where it has a title, a table and two buttons at the bottom of the table. I put the table inside a scrollView. However, when the table is filling with lines, it will take the place…
androidasked 8 years, 10 months ago daniel12345smith 2,120 -
0
votes0
answers338
viewsQuery Like on Android Sqlite
I’m trying to do a query like on sqlite. Cursor cursor = database.rawQuery("SELECT nome FROM Armas WHERE nome LIKE ?", new String[]{name}); That String I pass like this: data =…
-
0
votes1
answer111
viewsAndroid Dev. Null Pointer when accessing a button of a Fragment by main Activity using set contentview
I made the layout of an application where I use the android menu. Menu is on main Activity: @Override public boolean onOptionsItemSelected(MenuItem item) { // Handle action bar item clicks here. The…
-
0
votes0
answers41
viewsHow to know when the Sqlite query ended?
In my app I have a synchronization method, this method downloads several entries from my webservice and inserts them into the local Sqlite database through a for loop. I need to know when the Sqlite…
-
0
votes1
answer59
viewsOpen an Activity twice but with different values
Androidmanifest: <activity android:name=".pictureManagement.boundary.DocsIDUI" android:configChanges="orientation|screenSize|keyboardHidden" android:screenOrientation="portrait"…
androidasked 8 years, 10 months ago Aleff Matos 327 -
0
votes1
answer361
viewsChange title in Actionbar
I’m making an app that has a Sliding Tab, that screen q vc slides to the side it has several screens. It is working and even when I change Tab, in the Listener that detects the change I call…
-
0
votes1
answer105
viewsError while extracting fragmented Edittext data using a Helper class
I am trying to get the data of an Edittext that is in a fragment with the help of a Helper class, to later save in the database, but the following error is shown in the Androidstudio Bugger:…
-
0
votes0
answers32
viewsGraphviewdata is not recognized
Next. I’m trying to import Graphviewdata in the project, but Android doesn’t recognize it. This occurs even though I have imported the entire Graphview library and it is working…
-
0
votes0
answers627
viewsAndroid app overlay lock screen
Hello, I have an application where the user receives a screen from time to time that requests confirmation whether or not to accept a service. Some of these users use the phone with the lock screen…
androidasked 7 years, 8 months ago Luciano Coelho 23 -
0
votes1
answer415
viewsCouldn’t read Row 0, col 0 from Cursorwindow. Make sure the Cursor is initialized correctly before accessing data from it
I’m doing the following query on android using Ormlite: List<Mensagem> msgs = SqliteOrm.getMensagemDao(this).queryForAll(); but I’m getting the error below: Couldn't read row 0, col 0 from…
-
0
votes0
answers61
viewsSqlite database creation on smartphone
I’m having doubts regarding the creation of the bank in Sqlite on the smartphone via USB. When I run my program on emulator, the bank works perfectly and smoothly. But I realize that when I do the…
-
0
votes1
answer1418
viewsApplication developed in Delphi XE8 closes on execution
The application was developed for the version 4.4.2 of Android, and when I open this app on Android 6.0, it opens but closes right away. What can it be?…
-
0
votes0
answers35
viewsFloatingactionbuttonmenu
I used a Clans material that is on this link https://github.com/Clans/FloatingActionButton2 by the way very good. But I’m having a hard time applying animation to this floating. I would like to play…
-
0
votes2
answers429
viewsReturn which Alert Dialog button was clicked
I have a void method that creates a custom dialog that shows a listview Multichoice, I would like to make this method return a Boolean when positivebutton or negativebutton is clicked to do another…
-
0
votes1
answer1433
viewsHow to move firemonkey android files?
I need to move a file from the system folder to another folder. I have one BD inside the system folder, I want to generate a backup, for that I want to copy the BD.db3 to another folder and then…
-
0
votes1
answer118
viewsAdd +1 each time a Child is called Fire Base
Hello, here I am again with the saga of fire base :p, So how can I add +1 to child Users when someone enters an activity , in the case of a user profile, I want to do the same has in the profile…
-
0
votes1
answer997
viewsTo create a summation method where the result appears in the Edit text field
I am creating an application and would like the result of the cost price operation plus profit percentage to appear in the sales price result and the latter cannot be edited at the time of saving…
-
0
votes3
answers3378
viewsHow to generate firemonkey android PDF report?
I need to generate a PDF report on firemonkey android, I would like component suggestions or ways to do it.
-
0
votes1
answer1844
viewsHow to make text scroll on android screen
I’m wanting to put on a screen a large text. However I have a small problem when it comes to reading more, the text is simply cut and there is no way to scroll to continue reading. Someone tells me…
-
0
votes0
answers80
viewsBattery Power per App
I need to create something that measures the usage since the last full charge per app, I have no idea how to do... I searched and found nothing. All help is welcome, Thanks in advance.…
-
0
votes0
answers1290
viewsCreate/Edit file (txt) on Android
Hello... sorry if I posted in the wrong place or wrong way, because I’m new in the forum (although I always read it). Lollipop helped me a lot with the explanation: /a/48228/68502 But I have three…
-
0
votes0
answers218
viewsAuthentication Login Android
The app I developed for a client is composed by a native login screen and I need to authenticate the login by sending to the URL of the customer store that is in ASP the access data (user and…
-
0
votes1
answer98
viewsjava.lang.Noclassdeffounderror: Failed Resolution of: Ljavax/xml/stream/Xmloutputfactory; Azure
I’m taking a photo and then I want to send it to the Azure Storage however in the following line of code: CloudStorageAccount account = CloudStorageAccount.parse(storageConnectionString); I get the…
-
0
votes0
answers65
viewsProject is not registering user, but does not present connection error to Database
I’m doing a project on Android Studio, where a part is registering a user, I managed to make it work but after two tests of registration is presented the message of registration completed but does…
androidasked 8 years, 10 months ago José Carlos 1 -
0
votes1
answer580
viewsRecyclerview onClickListener for Activity dialog
I have a Recycler view, and would like to pass the parameters I receive from it to a dialog in Activity edit the values and save again in the bank I have a recorded abstract method public interface…
androidasked 7 years, 8 months ago Daniel Gentil 1,484 -
0
votes0
answers62
viewsHow to instantiate the Firebase object to my URL, Help with the Error below
package br.com.netcriativa.umadeb.activity; import android.app.ProgressDialog; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import…
-
0
votes1
answer85
viewsHow to share a text on facebook without having the app installed on Android?
I need to share a text and an image on facebook. On the net there are many tutorials that need to have the facebook app installed. Does anyone have any tutorial on how to do this without having…
-
0
votes0
answers65
viewsEdittext - more than one Listener?
I am continuing a project that makes orders on Android, and I came across the monetary format on EditText Researching I managed to find a class that is working smoothly, more because I’m talking…
-
0
votes0
answers38
viewsScrollview with a static view in the middle
I have this layout in which I need to implement a Scrollview but I can’t adjust in a correct way, I need Scrollview to contemplate the blue and yellow part, so the user can see the rest of the items…
-
0
votes1
answer939
viewsHow does Date Picker and Time Picker work in android Studio?
I am developing a consultation marking app and it seems to me that these two methods are very good. However, I wonder if when implementing the two methods in android studio, admin will be able to…
-
0
votes1
answer267
viewsAndroid Apps / Ios HTML
I need to develop a mobile application, I would like to do in the style of the globe app, which is a responsive site that is displayed, which program should I use to develop in html and be compiled…
-
0
votes1
answer701
viewsDex2oat failed - errors received in android install/update app. Dex permission denied
While the application is updating/running I checked several errors related to the same problem 03-13 19:58:28.772 5605-5611/? E/art: Failed sending reply to Bugger: Broken pipe 03-13 19:58:28.822…
androidasked 7 years, 8 months ago Rodrigo Givisiez 53 -
0
votes2
answers96
viewsTela Inicial Dinamica
I’d like to create something more or less like this: Se(O banco de dados tiver tabela criada) { Manter a Activity Principal; } Senão { Abra Activity de criação da tabela; } In short, android will…
-
0
votes0
answers33
viewsCall error
I’m using the Fragment and making adaptations, as in getIntent() ... Inserting getActivity() as was explained by a user, in other times that was informed was useful and worked, but this time an…
-
0
votes1
answer75
viewsHow to get access to methods onView, withId or Matches on Android?
I’m following this tutorial ! In it, displays this example: package com.example.android.testing.espresso.BasicSample; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import…
-
0
votes1
answer255
viewsWould 15 be the maximum limit of images per Drawable Resource File in Android Studio?
I’d like to make a Animation Drawable with 18 images in Android Studio, but when trying to run it the application stopped out of nowhere and gave this in Android Monitor: 03-16 16:58:26.531…