Questions tagged as 'android'

0
answers

Error compiling Android app with gradle from command line

I have created a basic Android app from Android Studio, with just two buttons, simple, without modifying any configuration or compilation file. I'm trying to learn how to use Gradle from the command line, create compilation settings, etc ......
asked by 17.09.2018 / 22:43
2
answers

How to invoke a fragment from another activity?

I have MainActivity 2 fragments, when I go to SecondActivity from there I want to go back to the fragment2 of MainActivity by passing some data to it. But I get an overflow error trying to get the fragment from MainActivity: getSupportFragm...
asked by 13.09.2018 / 21:01
0
answers

Android Entity Room Parcelable

This is a question a little more performance and curiosity. Is it possible to use Room Entity as Parcelable? For example, have a class that implements the User interface for table user : @Entity(tableName = "user") public class Use...
asked by 13.09.2018 / 21:08
0
answers

"Application stopped" in Android Studio, when opening images with a spinner

I am developing an application in Android studio where in a spinner saved images are saved in the phone gallery, try using the uri and convert them to Bitmap, but when I give the button that would save the uri in an array the application will st...
asked by 04.10.2018 / 08:21
0
answers

Get json towards PHP object - Android studio

I have a php where I make a selection to a table of regions, I get the name and return it through PDO as an object. Then in android studio I capture the answer, returns an empty object. I attach images of php and the respective android cod...
asked by 04.10.2018 / 05:38
1
answer

Change element in an Application

I am working with the altbeacon library using beacons background I use it to get events with firebase, when this background notifies the events that are scheduled on the same day, when it is open shows the events in a recycler view, I need tha...
asked by 13.09.2018 / 23:43
1
answer

Buttons that do not work

I have this radio project but I can not make the radio operation buttons work (play, pause, stop and reload). Interestingly the other buttons of my Main Activity work perfectly and the program works I leave here my code: public class MainAc...
asked by 11.09.2018 / 23:27
0
answers

Class module-info missing a super type

I'm trying to make a test case with Appium on Android with some dependencies, but one of them is causing this error:    Illegal class file: Class module-info is missing a super type. The dependency that causes the problem is selenium-serv...
asked by 25.09.2018 / 07:25
0
answers

WebView on android, hide address bar and work

I need to open a web in a WebView without the address bar but I have two problems.    The web opens perfectly, but clicking on a link leaves a blank screen, that is, I can not navigate.    If I rotate the device, it reloads the main page...
asked by 25.09.2018 / 08:47
1
answer

How can I save the URI of an image once created on android?

The following method returns a File, but I can not get it to be set in an imageView public File SaveImage(Bitmap ImageToSave) { String file_path = Environment.getExternalStorageDirectory() .getAbsolutePath() + NameOfFolder; String Cu...
asked by 13.09.2018 / 14:06