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
-
-1
votes1
answer747
views"If the "such" item is selected from spinner1, then "tal2" item from spinner2 is selected" how to do an if in that?
public void Spinner1() { Spinner spinner1 = (Spinner) findViewById(R.id.spinner1); ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(this, R.array.curso_array,…
-
-1
votes1
answer317
viewsWebview - Classnotfoundexception
I’m creating the following canvas on android <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"…
-
-1
votes1
answer177
viewsAndroid Webview Destroy
Opa personal I am with a certain problem when I run a Destroy in a webview. wb.getSettings().setAllowFileAccess(true); wb.getSettings().setJavaScriptEnabled(true);…
-
-1
votes1
answer219
viewsError Compile 'com.android.support:support-v7:19.+ '
I made the update today android this giving the following errors Error:com.android.support:support-v4:19.+ <a href="searchInBuildFiles">Search in build.gradle files</a> Then I double…
-
-1
votes1
answer95
viewsAndroid API used for program that cuts music
Which Android API to use for editing and cutting music? follows a link from an android app that does this: https://play.google.com/store/apps/details?id=com.herman.ringtone&hl=pt_BR Look forward…
-
-1
votes1
answer210
viewserror while trying editText.setSelection
I am trying to apply a mask to my Edittext, but when I try to enter a value beyond what is allowed I get the error: 05-20 17:17:23.943: E/AndroidRuntime(1399): FATAL EXCEPTION: main 05-20…
-
-1
votes1
answer194
viewsError Parsing data org.json.Jsonexception
I’m new to Android and also don’t know much about JSON so I was doing a tutorial login But I’m wrong and I don’t know what to do. I think it is a php error or database because my register class and…
-
-1
votes1
answer3317
viewsCreate folder in your device’s internal memory and display message after saving
I’m in two trouble. The Toast in my method returns me the following error: The method makeText(Context, Charsequence, int) in the type Toast is not applicable for the Arguments (Gerarrelatorio,…
-
-1
votes1
answer680
viewsSwap application label outside Manifest.xml
I am working on a project that will be a template for various applications. So far everything is being configured via JSON. Then the question arose: Is it possible to change this node below outside…
-
-1
votes2
answers119
viewsQuestions about NDK
I am studying Android programming in Java, and what worries me is that I will only be able to get a portion of the job market, because there are IOS and Windows Phone phones and that does not use…
-
-1
votes1
answer94
viewsSocial Networks in my app
Good I want to add two buttons where the user would share a phrase on facebook or twitter with my link app(via app...), do not know where to start.
-
-1
votes2
answers203
viewsApp novice. Where to start?
Hello. I have been developing with Ruby on Rails and PHP for some time. I would like to create an application now... I wanted to start from the point I already know, that is, use one of these two…
-
-1
votes1
answer245
viewsTabhost open a new acitivity after clicking on a list
Guys, I’m beginner in android my doubt and the following. I met the Tabhost component and found it very interesting to implement it in the application. The app has a list of restaurants and one…
-
-1
votes1
answer767
viewsUpdate Android Database
I’m creating a database on Android that has a column called status where is saving (0 or 1) 0 for when you are without internet and 1 for when you have internet, I want to do the update from the…
-
-1
votes2
answers722
viewsReturn to Fragment without creating it again
I have a fragment that shows a Map, and in the app has a registration screen, the first fragment to be created is the Map, if the user wants to register will start another Fragment, after he…
-
-1
votes1
answer124
viewsSending object to Android client, what to use?
I am developing an Android app that is a table of a football championship with the results of the games presented in a list. As the games happen I register in a database and send the result to…
-
-1
votes2
answers6738
viewsHow to get the name of the properties of a Javascript or JSON object?
{ "Ficha":[ { "nome":"nome", "sobrenome":"sobrenome", "idade":"idade", "endereco":"endereco", "empresa":"empresa", "telefones":[ { "residencial":"residencial" }, { "celular":"celular" } ] } ] } I…
-
-1
votes1
answer99
viewsAndroid + Webservice on Cloud Platform
Fala galera... Well, I really need to create a project. A WEB and Android system. But it has to be Cloud and free of charge. I researched and started a project using Openshift. I installed a plugin…
-
-1
votes1
answer298
viewsRun Splashscreen on android only the first time the user opens the application?
after installation, I would like to know how to run splashscreen only the first time the user opens app
androidasked 9 years ago André Luis Valença 3 -
-1
votes1
answer156
viewsHow to prevent Double from turning a large number into exponential?
I have a system of calculations in my app, I use Textwatcher and when I calculate a large number saved, when I return the value, it comes in exponential (123e+23). I tried to use bigDecimal but it…
androidasked 8 years, 11 months ago daniel12345smith 2,120 -
-1
votes1
answer415
viewsRestart Your Phone
Any code hint to restart your phone after an action? Example: After performing the backup, I need the phone to restart to finish the settings.
-
-1
votes1
answer60
viewsHow do I access the text size (Texview) and compress the text box (Textview) via code?
I’m looking to create a AutoScale TextView, I needed to access the text size and length via code. I’ve been searching the internet I found enough code referring to the theme of the question, as they…
-
-1
votes1
answer511
viewsEclipse ADT does not work
[2015-05-23 11:29:54 - Jokenpo] /home/gabriel/Área de Trabalho/Jokenpo/res/values/styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name…
-
-1
votes1
answer134
viewsWhat should I study?
I wanted to make an application for android where I can send a photo and everyone who has this app have access to this photo and be able to evaluate it with a wanted note, my doubt is what I must…
androidasked 8 years, 9 months ago Vinicius Clemente 365 -
-1
votes1
answer561
viewsHow to send a file to google drive from my Android app
How can I send a file to Google drive through my Android app, I’m making an app in Android Studio and need an API to send files to google drive
-
-1
votes1
answer829
viewsHow to create app about event scheduling?
Hello, everybody! I’m starting my activities as an Android developer, and as a first project I thought of creating an application that could inform the user the schedule of activities provided by…
-
-1
votes1
answer82
viewsUse standard Android Activity template to switch between editing and viewing
I have a activity which serves to display the User Profile, so it lists information about this user. I want to know how does that standard already adopted by Android in Actionbar stay an icon to…
androidasked 8 years, 6 months ago Mateus Carvalho 1,494 -
-1
votes1
answer678
viewsPermission error in Android Studio
I’m adding a function in the application I’m developing in android studio, which makes direct links from the app, but this error is asking for some kind of permission, and I’ve already added…
-
-1
votes2
answers3642
viewsHow to call explicitly and implicitly an Activity on Android?
I would like to know how and when to call explicitly and implicitly an Activity(activity)? If I want to call an Activity(activity), an internal screen of my app and do a standard processing, how to…
-
-1
votes1
answer135
viewsClass import that turns gray
When you import a class that is not being used, it turns gray and immediately erases it. How do I make it not be automatically deleted. I’m using Android Studio.
-
-1
votes1
answer645
viewsPrevent user from copying android application
I downloaded a program called apk share in the playstore, this application copies the apk of any program that is installed on the android device. The question is how not to allow this application to…
-
-1
votes1
answer58
viewshow to create an Android app that you have to press on the app icon and it calls a single number
I’m starting in mobile development and would like to create an app, in which you can register a number and whenever you click on the icon of the program he would make a call to that same number…
-
-1
votes1
answer171
views -
-1
votes1
answer172
viewsValidate blank fields
I have a form with 3 fields to be filled and stored in bank. One of the fields is filled by the system the rest by the user. boolean isInserted = myDb.insertData(editNome.getText().toString(),…
-
-1
votes1
answer163
viewsHow to make the correct proguard configuration?
How to make the correct configuration of proguard, bringing better security, smaller size and deleting classes when you want or when creating problems? Basically enable default settings in changing…
-
-1
votes1
answer433
viewsAndroid communication and SQL database
I am developing a web application that aims to manage the stock, sales projections, etc. of a company. However, the sellers travel to carry out sales and have requested that they also make an…
-
-1
votes1
answer1310
viewsTabs on Android - How to create
how can I develop flaps in the style of Whatsapp. As the image below? Utilizo Android 5+…
-
-1
votes1
answer57
viewsQuery returns nothing
I’m making an application on android using sqlite but I’m not able to return anything with these Where statments. I have the following table: id day month valu1 valu2 and the following cursor:…
-
-1
votes1
answer108
viewsproblem with audio phonegap/Cordova
I am using the plugin Cordova-plugin-media to run audio in my app and this working perfectly, but when starting the audio in my app, the audio that is rolling in another application stops running. I…
-
-1
votes1
answer70
viewsProject in Android studio does not run for lack of libs
I’m having this error when trying to run an Android project I did a while ago, I cloned the git repository and tried to run, updated Android Studio a little while ago I don’t know what to do. Error:…
-
-1
votes2
answers316
viewsRatingbar sending value to Textview android
Good afternoon, How I pass the value of a Ratingbar to a direct Textview without using clicks?
androidasked 8 years, 2 months ago carlos giovani casilo 473 -
-1
votes2
answers88
viewsCredit card in android app
Personal is the best person to save the number, due date and card cvv, in the app itself (sqlite) or in the web database?
-
-1
votes1
answer62
viewsSave several variables in an Edittext
Hello, my problem is how to save different strings that are written in an Editview. I can save a variable every time a button is pressed. But I don’t know how to save another string in another…
-
-1
votes3
answers886
viewsFragment error "Unable to start Activity"
My error application when opening on a tablet and I can’t identify the error it informs that I have to enable: Unable to start Activity…
java android android-layout android-fragment android-activityasked 8 years, 1 month ago Everton de Freitas 41 -
-1
votes1
answer39
viewsI cannot create layout inside the json request
Hello! In my project, I receive some fields via JSON, I have an empty layout, and I must create the elements (textview, imageview, edittext...) according to the data received from JSON. JSON is…
-
-1
votes2
answers557
viewsFirst steps: Ionic
What I Need to Learn to Build Apps with Ionic? What language it uses? I wanted articles that show me the first steps.
-
-1
votes1
answer2309
viewsHow to use an API on an Android Studio project?
Does anyone have any ideas about this, or can they explain it to me by giving an example? I looked on the net but everything was kind of clueless, so I came here to find out more. someone is able to…
-
-1
votes1
answer1017
viewshow to resolve accent errors when sending an Android message to a php API
Guys, I’m having trouble sending strings with accentuation and strings with 2 lines or more. When sending without accentuation or and with only one line it normally accepts, however, when sending…
-
-1
votes1
answer311
viewsAutocompletetextview
I’m having trouble showing the dropdown of the items, it is appearing below the keyboard, as in the image attached. Would you have a way to make the dropdown show up the textview? Edited, code added…
-
-1
votes1
answer475
viewsAndroid - What data technologies, SQL? , noSQL? , local database + server database?
What good practices are used for the provision, storage, data flow, in an application Android? For example, the app Easytaxi, iFood, among others: What is the need/advantage of a local database…