Questions tagged as 'android-studio'

2
answers

How to create a horizontal scroll view that moves automatically and cyclically

I'm trying to do a% horizontal% co_of which is going to take several images, what I'm trying to do is that the scrollview moves automatically and that when it reaches the end it automatically starts again from the first image something so...
asked by 20.06.2017 / 05:57
1
answer

Can you update records in sqlite on all devices that have the app installed?

I'm doing a project in Android Studio using a sqlite database and I want to know if after installing the app on several devices, can you update the data in that database so that all the users that have installed the app can perceive those change...
asked by 06.06.2017 / 18:42
1
answer

Send Text to My Band 2

I would like to send a text from an application in Android to MiBand 2 , I have managed to send numbers in the form of beats, but I do not know how to send text. contants.java public class Consts {//this is common for all BTLE devices. see...
asked by 12.06.2017 / 14:49
0
answers

Standalone Spinners on expandable android studio list

Good morning, I'm starting to work with expandable lists but I run into the following problem: 1. I have the following expandable list When clicking on one of the questions, this question is displayed with a spinner to select the correc...
asked by 02.06.2017 / 22:37
0
answers

NavigationDrawer + Google Maps problem

Hi, I have a problem pressing an option in my navigationView (R.id.create_marker) I want to create a marker in my MapFragment but I can not do it, any suggestions? public class MainActivity extends AppCompatActivity { private DrawerLayout...
asked by 22.06.2017 / 10:43
1
answer

What is the best way to get the location?

I am doing a "Tracking" app or follow-up, to get the location I use LocationListener within a service, I run the app on the device but sometimes I can notice that the location is somewhat erratic and even sometimes does not receive updates (the...
asked by 06.06.2017 / 04:56
1
answer

TextToSpeech delays in starting

When starting a Activity I execute the following code in the function onCreate : tts = new TextToSpeech(this, new TextToSpeech.OnInitListener() { @Override public void onInit(int status) { if (status == TextToS...
asked by 02.06.2017 / 19:04
3
answers

Pass variable when clicking on a listView item to another activity [duplicated]

Good morning. I have this query because I am too new programming in Android Studio and I do not know where to go. I have a listView that I load with data from a database that I have on my PC and I obtain the data by a php file. That's ok, the...
asked by 22.05.2017 / 05:20
1
answer

Collect an Image next to some data that I upload to Firebase and display it in a RecyclerView

I have a program that collects the data of a Warning (Name, description and location) then I would have to pick up the photo that was uploaded to Firebase Storage. How could I relate the image I upload to when I show the Warning data? I leave th...
asked by 23.05.2017 / 10:02
1
answer

Call class inside another in PendingIntent

I have this class that plays a song through MediaPlayer . This is working well. Now I want to implement playback controls in the notification area, but I'm having trouble calling the class I have in NotificationReturnSlot where I grab the cor...
asked by 28.05.2017 / 03:34