Questions tagged as 'android'

0
answers

Double vision problem in 360 player in phones that are not screen 16: 9, using com.google.vrtoolkit.cardboard in Android Studio

I comment, I have a player created on Android. It is for videos in 360. The problem arises when I try to play videos on phones such as the Samsung Galaxy s8 and s8 + (Do not probe in others of this type). When placing them in a viewer it looks d...
asked by 07.03.2018 / 16:08
0
answers

Error: Execution failed for task ': app: packageRelease'.

I have an app on Google Play which I wanted to duplicate, modify a couple of things and upload as a new app, the intention was to have a free version (1) and a pay (2), so I changed the Application ID and I made a new JKS certificate and uploade...
asked by 15.03.2018 / 06:28
0
answers

Error calculating cumulative distance traveled in android

I do the calculation in a thread Thread thread = new Thread() { @Override public void run() { try { while(true) { sleep(1000); Coordenada coordenada =getLocation();...
asked by 15.03.2018 / 00:17
2
answers

How to correctly create new File using the correct path?

Trying to create a "FILE" in Android Studio with a path always responds " false " when using the method myfile.exists (). How can I get the path or Uri to create it correctly? since I add it in different ways but apparently it always turns...
asked by 03.03.2018 / 04:54
1
answer

startActivityForResult from an adapter and receive the data in the fragment

I have the following: MainActivity Fragment1 with recylerview SimpleAdapter Des of the RecyclerView.Adapter when doing click send a Intent with startActivityForResult ((Activity) mContext).startActivityForResult...
asked by 06.03.2018 / 12:34
0
answers

Change the interface of actionSearch, Android

I recently implemented the actionSearch in my application, so when you click on the icon, the search bar is displayed. The fact is that I would like to put it in the style of applications such as Twitter or Youtube Gaming (I leave a screenshot b...
asked by 01.03.2018 / 08:43
1
answer

Run MainActivity method in another class

My goal is to execute the activateFunction () method using a Thread. Pressing a button is called the TactivarBroucast () method and after 5s it calls the run () method of the Timer class and this is responsible for executing the Thread and the T...
asked by 03.03.2018 / 17:28
0
answers

How can I get the Token ID of an app?

How can I see the Token ID that was assigned to me by FireBase? I want to be able to send push notifications to unique devices.     
asked by 27.02.2018 / 20:29
0
answers

WebGL in apps for android with ionic3

I'm making an application for android with Ionic 3. I have one game that uses babylon.js and another one that uses three.js . Testing the app on devices with Android 5.11 or inside, the part of three.js does not walk while...
asked by 28.02.2018 / 04:27
0
answers

Error using TimerTask to disable a BroadcastReceiver

What I'm trying to do is turn off a BroadcastReceiver when X time passes. This I already achieve, and it works. I tried it using a switch and it worked, when it was in on . It was activated and when it was in off no. Initiall...
asked by 27.02.2018 / 01:14