Questions tagged as 'android'

1
answer

How to obtain a GMAIL account already registered in the device?

What I want is that, instead of entering the email and password ( "[email protected]", "xxxxpassword" ), directly in the code, use the email already registered by the user on the phone , I hope your help thanks. @Override protected String...
asked by 20.12.2017 / 17:18
1
answer

How to modify the Sqlite Path

I can not change the path of SQLITE . I set up a database in android studio and the class that extends from SQLiteOpenHelper I have: public Constructor (Context ctx){ super(ctx, NombreBase, null, 1) }...
asked by 19.12.2017 / 04:06
1
answer

How to get the value of an AsyncTask? Wait until you get the result

First of all, I am somewhat inexperienced (very inexperienced) with AsyncTask and I have two problems. first I pass a user and pass to the Task to compare the ones with those of my DB in the Login section and the second is the same but...
asked by 14.12.2017 / 01:36
3
answers

How to stop scheduleTaskExecutor process?

Good afternoon! I'm working with Executors, I have a button that when pressing it makes a toast every 5 seconds, my question is if there is a way to kill that process by pressing the button again. I read that with future.cancel() but I...
asked by 05.12.2017 / 18:11
3
answers

Erroneous connection of Android with SQLServer

I am starting to program a small project in Android Studio. I want to make a query to the base, in case the connection fails it gives me a message in a Toast: Network error IDException: failed to connect to /ANDRESPC\SQLEXPRESS (port 1433): co...
asked by 20.09.2017 / 05:12
2
answers

Problem when showing a json from my localhost

I am developing a app in which I want to connect said app to a api . But I'm having problems receiving the json to be able to show it within my app . I share the code. MainActivity public class MainActivity...
asked by 29.01.2018 / 15:23
2
answers

"Private mode" storage of Photos

Well I want to take a Photo and save it without the photo being shown from the gallery. this is the code I use: File MiFotoTemporal = new File(RUTAFOTO+ NOMBREFOTO); MiFotoTemporal.createNewFile(); Uri uri = Uri.fromFile(MiFotoTemporal); Inten...
asked by 11.10.2017 / 19:04
2
answers

Problem with Gridview shows com.mac.fablab.fablab.Objetocurso@53683d4c

I have a problem with the ArrayAdapter inside a Fragment, apparently if I display the number of objects inside my ArrayList but it shows me the following: This is my Fragement_2.Java file public class Fragment_2 extends Fragment { Lis...
asked by 27.08.2017 / 21:15
1
answer

Error: Execution failed for task ': app: transformDexArchiveWithExternalLibsDexMergerForDebug'

Today I want to generate my APK and trying to do it I find this error: Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.    java.lang.RuntimeException: java.lang.RuntimeException:    com.android.bu...
asked by 07.11.2017 / 17:44
1
answer

Open app when detecting a geo Uri on Android, get values

How can you make the app open? by clicking on a link from the web browser, chrome, firefox ... a link of type geo:... Geo URI scheme geo:37.786971,-122.399677 What I have: Capture when the user clicks on a geo:......
asked by 14.11.2017 / 17:28