Questions tagged as 'android'

1
answer

Send text to My Band 2 from Android BLE

Does anyone know how to send text to the MiBand 2 from android? So far I am able to send numbers but not strings and I do not know how to do. @Override public void onServicesDiscovered(final BluetoothGatt gatt, int status)...
asked by 02.06.2017 / 09:17
5
answers

Redirect to app play store from html

I would like to know how I can open my app directly in the google play store. It happens that we have an application that has a WebView pointing to the site of our company, on the site of our company we are placing the code below (that is a t...
asked by 05.05.2016 / 20:49
0
answers

Problem with Searchview android

Good to the problem, first I have a Searchview in my actionbar . I have a listview with a arraydapter custom which I fill with data that I send from the webservices and I through the class Asynctask full listivi...
asked by 09.06.2016 / 20:25
5
answers

Open a new screen, with an onMenuItemClick and send data

Good, I have a RecyclerView with its CardView , and when I click on the photo I get the drop-down menu that I created with 2 options. With one of them I want to be able to open another activity to show more information. Any id...
asked by 20.04.2017 / 10:42
2
answers

Error building Gradle Android Studio 1.5.1 (Error: Execution failed for task ': app: dexDebug'.)

I have the following error when trying to build my application, Error:Execution failed for task ':app:dexDebug'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program File...
asked by 08.01.2016 / 00:18
1
answer

App restarts from scratch and does not leave me in the last Open Activity

I am programming an application in Android Studio , but I have encountered a problem: I enter my Application and launch the main activity. I press a button that launches me into a second activity. I press the Home button and then return...
asked by 10.05.2016 / 19:28
2
answers

How to put and show an html file in my android studio project?

I would like you to help me with this topic, because I have a folder with html content, in the folder is the index.html, the css folder, the images folder and everything related to the page; I want to show this page in an activity through a WebV...
asked by 29.06.2017 / 16:39
3
answers

Deleted data in SQLite android

I had a problem with my bdd in android apparently everything is due to how I have structured the part of onUpgrade @Override public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { db.execSQL("DROP TABLE I...
asked by 14.02.2017 / 08:35
3
answers

'getMonth ()' is deprecated

I am getting the current month as follows: int mesActual = new Date().getMonth() +1; //enero=0 diciembre=11 But this method is obsolete. How do I replace it?     
asked by 15.12.2016 / 18:57
3
answers

Bring information from one activity to another

My project consists of a student agenda which can have different users per device, I want to take the ID of who enters (in the login ) and pass it to my second activity ( navigation drawer ) and with this to replace the title generat...
asked by 18.01.2017 / 05:40