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
votes0
answers312
viewsTfdsqlitebackup android Delphi xe7
I’m trying to do backup of my Android application, application made in Delphi. I am using the component TFDSQliteBackup with the following code, it executes and creates the file, but the file is…
-
1
votes2
answers192
viewsAndroid custom listview working but having problems
Hello, I am making a Binding and I have only one of the properties of my Model that are appearing in my listview. Follow the code: Adapter: public class ProjectAdapter extends…
-
1
votes1
answer147
viewsUnfortunately Application has stopped
Good afternoon. I’m starting with Android development and I’m trying to navigate between several screens but there is the error Unfortunately TCC has stopped at the time of running in the emulator.…
androidasked 10 years, 3 months ago João Gabriel Mota 13 -
1
votes3
answers2382
viewsEclipse does not generate class R
Lately I am not able to develop anything, because the ADT Eclipse is problematic, I have downloaded several, in different computers and the error persists. When creating any project below 4.0, the…
-
1
votes2
answers68
viewsAfter clicking on any Listactivity item, always the first record is loaded
Good people, I’m having a problem loading a record from a ListActivity. When I click on some item of ListActivity, my application must open the registration screen for me to edit some data. So far,…
-
1
votes1
answer1344
viewsHow to change Textview of a View in another View?
I’m facing the problem, below: I have 2 xml layout: list_single.xml and tela_authorization.xml I have 1 class: Authorization.class In the Authorization class I have:…
-
1
votes1
answer213
viewsWhat is the name of this screen on android?
I would like to know the name of this screen on Android to add so in my project . I thank you already .
-
1
votes1
answer590
viewsError message: "Unfortunately has stopped eclipse"
I am trying to create an android project, however this error is occurring when I run the application, "Unfortunately has stopped eclipse", this the xml of the application: <RelativeLayout…
-
1
votes1
answer984
viewsPOST Request with token
Start an HTTP request via POST method for the authentication URL, with the following parameters: login password sponse = http://api.dominio.com:8025/name/login? token="MY_TOKEN" The response of the…
-
1
votes1
answer349
viewsOpen a certain folder created by me on android
My application creates a folder on android and on a screen want to have a button that when clicked open that folder, and only the one I specified, but so far not found anything on the subject.…
-
1
votes1
answer298
viewsUtilizar objeto entre as funções Javascript - Phonegap
I’m creating in onDeviceReady an object to create the connection to the application’s Sqlite database. It is being created as follows: var app = { initialize: function() { this.bindEvents(); this.db…
-
1
votes2
answers2093
viewsHow to detect screen resolution to apply the layout on android?
How to detect a certain screen size and apply the specific layout ? Example: I created a layout folder called "layout_480x800", in it will be the layouts for this resolution,I also have a layout…
-
1
votes1
answer235
viewsAndroidmanifest error on android:Theme
I’m starting in android development, I do the steps to create an app and test but always at the end of any project is an error message on android:Heme, I will post below the screen hope someone can…
-
1
votes1
answer182
viewsAdd admob to a Drawer navigation layout
I want to put the advertisement in the footer of Activity, but it is at the top by superimposing a list: <FrameLayout android:id="@+id/container" android:layout_width="match_parent"…
androidasked 10 years, 2 months ago Thiago Porto 292 -
1
votes1
answer33
viewsHas to erase Imagebutton
I’m creating several ImageButton ImageButton imageButton = (ImageButton) LayoutInflater.from(this).inflate(R.layout.imagebutton, null); imageButton.setImageBitmap(bMap);…
androidasked 9 years, 11 months ago Ilgner de Oliveira 1,098 -
1
votes1
answer42
viewsProblems reading EXPANSION FILE
I need to read files from an EXPANSION FILE. In the first Log in which I print expansionFile is working perfectly, ie I was able to read the zip file, but while trying to access the files from…
-
1
votes1
answer661
viewsBest way to recover the sqlite date
In sql that runs at the time of inserting a new record the field data_cad is current_datetime. What is the best way to show in Activity the date in the dd/MM/yyyy hh:mm:ss format? Thanks in advance.…
androidasked 9 years, 11 months ago Thiago Porto 292 -
1
votes1
answer145
viewsExpandablelistview Com Formulario
I would like to know how I can use an Expandablelistview with a form instead of just text. By expanding Expandablelistview instead of coming varies lines with only texts I can put several different…
-
1
votes1
answer192
viewsSession error on httpclient android
I am trying to make an application to log into the college website, and through Crawler I work the information returned by httpclient. Note: I am doing for learning, I started recently in java. I do…
-
1
votes1
answer1792
viewsRun another application (maps) in my menu
Good morning, I am new in the android world, I would like to know how to run the application google maps just by pressing my button? I want to implement my coordinates and reach the other registered…
androidasked 9 years, 11 months ago Mauro Santos 672 -
1
votes1
answer1827
viewsSet Imageview content via a URI
Guys, I’m trying to set the image in Imageview of my second Activity through a URI that comes from the first Activity but so far without success. What could be wrong? File diretorio =…
-
1
votes1
answer199
viewsDynamically change the margin of a Checkbox
This attribute can be changed dynamically in java code? android:layout_marginTop I have a CheckBox dynamically generated, and I need him to have a margin. Java code: CheckBox cb = new…
-
1
votes1
answer223
viewsFailed Android Sqlserver connection
Error while trying to connect Android/Java with Sqlserver Follow the error: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error:…
-
1
votes1
answer227
viewsBest score with playerprefs Unity-android
Hello. I made a normal best score system in Unity (when score>playerprefs, will set the text of textmesh). On the computer worked, only when I pass to Android the bestscore is 0 Someone would…
-
1
votes1
answer422
viewsMockito-Android Test return method
I’m trying to test a return of a method from my class on an Android project. I’m doing it this way: MyClass var = Mockito.mock(MyClass.class); With this, I already have my instance. Now I need to…
-
1
votes1
answer2389
viewsError Attempt to invoke virtual method 'android.view.View android.view.Window.findViewById(int)' on a null Object Reference
I’m with this error and I can’t fix it, it works every time I run the app. Logcat: 01-15 16:09:03.380 2473-2473/com.prjctt.allan.financeiro E/AndroidRuntime﹕ FATAL EXCEPTION: main Process:…
-
1
votes2
answers465
viewsWhat criteria do I use when choosing which Apis to download?
Or do you have to download all the ones that appear on the sdk? I’m a fan.
-
1
votes1
answer392
viewsHow to detect if wi-fi and/or bluetooth are connected
Good afternoon! I wonder if anyone knows any open source for an application to check if the wi-fi or Bluetooth are connected.
-
1
votes1
answer224
viewsList tables with specific column
I am creating an Android application using Sqlite and need to get a list of tables with a specific column as for example: SELECT table_name FROM sqlite_master WHERE table_column_map = 'imagem' It’s…
-
1
votes3
answers1157
viewsHow to download a pdf on android
In my app will have a listview with pdf titles, when clicking wanted to download to the device, a way to open offline, how could do this?
-
1
votes1
answer666
viewsHow to use ksoap2 library
I have the following situation, I have a PHP server: class Teste { function obtemStatus(){ return 'ok'; } } $server = new SoapServer(null, array('uri'=>'http://test-uri/'));…
-
1
votes1
answer98
viewsWhat is Actionbarsherlock for Android?
A former colleague used this framework/lib I do not know in a company project for Android and restricted the version to android 4.0+, but we need to run on Android version 2.3+... so I see no option…
-
1
votes1
answer88
viewsCreate id for a new Listview?
I have the following problem, I already have a listview and I want to create another, but is giving the following error: <ListView android:id="@android:id/listView" <----- ***Error: No…
-
1
votes1
answer478
viewsError when finishing Activity through another class
Can anyone explain why the error occurs LISTADO NO FINAL DA PERGUNTA, terminating the application, when I try to finalize the application through another class: Classe1.class: ... ...…
-
1
votes2
answers5781
viewsHow to configure an image in Imageview so that it takes the entire screen of the phone
The following I declare normal to ImageView : <ImageView android:id="@+id/imageView1" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/imagem"/>…
-
1
votes3
answers1338
viewsHow do Eclipse display the SDK and AVD Manager icon?
I have JDK, Android SDK and Eclipse Plugin installed, but when I go to the tab window Eclipse do not show me Android options to configure Avds and SDK. How to make Eclipse show SDK and AVD Manager…
-
1
votes1
answer1441
viewsHow to blink button on Android.
Hi, I’d like to make a button(Button) flash on Android.
-
1
votes2
answers2456
viewsHow to call a sound when clicking the android button
Hello, would you like to know how to call a more efficient sound? 'Cause I’m using this method : Button button1; MediaPlyer mp; button1 = (Button)findViewById(R.id.button1);…
-
1
votes2
answers16877
viewsHow to pass data from one Activity to another
I am creating an app for pizzerias in my city and would like to know if it is possible to send data of a Listactivity that contains pizza names for another Listactivity named favorites, so that…
-
1
votes1
answer67
viewsHow to create a system to list the most popular images from my application
I am wanting to set up a system to display the most popular images of my application. Today I list these images simply but efficiently: the folders become categories and list the images from within…
-
1
votes2
answers7960
viewsHow to close an Activity(remove from Foreground)?
I have the following code in my Mainactivity class that has a Alertdialog and processing in the onClick method(): import android.app.Activity; import android.app.AlertDialog; import…
-
1
votes1
answer1326
viewsUsing Postgres on Android with Asynctask
I want to connect my android app direct with the bank that is on a server. I made the connection in an Asynctask, follows the code. public class ConnectionTask extends AsyncTask<Object, Object,…
-
1
votes1
answer92
viewsUse the data obtained in the parse of my Web Service to turn into a chart on Android
I have a web service that returns me some values, for example now is this way the answer of my parse: The parse I did to get the filtered values was this: String valFormaOutros =…
-
1
votes1
answer140
viewsWhich command to clear memory on Android
I am using Imageview which are called by buttons to load the image fills the memory by stating this error java.lang.Outofmemoryerror would have a command that would clear the memory.
-
1
votes3
answers1859
viewsHow to get the serial number (not the IMEI) of iOS and Android devices?
How to get the serial number of a mobile device? I need the solution in Adobe, firemonkey that works on both Android and iOS.
-
1
votes1
answer495
viewsHow to add two floats interacting with the UI?
I wanted to add two floats, but I put the first decimal number on EditText and when I’m going to add one more decimal number, I put it in EditText milestone in the CheckBox and he continues the same…
-
1
votes2
answers274
viewsReport on Smart Device
would like to make the generation and printing of a PDF in a Smart Device Off app, someone has already made this feature and could give an example?
-
1
votes1
answer110
viewsWhy does Bitmap get bigger when loading it from the res/drawable-mdpi folder?
I developed an application where I download a JPEG image (size 184x274) from a URL. When downloading from the URL I get a bitmap of 184x274 pixels, that is to say it has the same dimension as the…
-
1
votes1
answer289
viewsHow to open Searchview in Actionbar programmatically?
Come on people, the question is as follows: I want to open Searchview from a click on an item in Drawer (that side menu). So far I have seen several tutorials about, but only find how to open…
-
1
votes2
answers146
viewsHow to decrease the response time of an unsuccessful connection when using Ksoap2?
When the server or service (IIS) is off, The web-service response time that there is some connection failure is very long. At this time the application (Android) requests closure due to inactivity.…