Questions tagged as 'android'

0
answers

Android projects in Eclipse Photon do not start

I have installed Eclipse Photon and the Android ADT Plug-in with the Android Studio SDK, install the Android Tools and 2 APIs (La 2.2 - Froyo and 6.0 Marshmellow) to work. Everything during the installation was fine, but now that I try to cre...
asked by 22.10.2018 / 22:52
3
answers

How to end activity using the context?

I'm developing a game, but I'm stuck on how to finish an activity, since the finish() method does not work. From this class I want to be able to finalize an activity, from which I call this class, which passed through the context (cont...
asked by 23.10.2018 / 00:24
1
answer

Type mismatch: inferred type is HomeFragment but Fragment was expected

I'm doing a NavigationView with its Fragments to change view and to do it I just create a method "setupFragment (fragment: Fragment)" with a parameter of type Fragment so that it can put all the fragments it creates, but after implementing it I...
asked by 29.10.2018 / 07:41
0
answers

how to perform the automatic search when getting the text from a searchview?

Some idea of how to make the search happen automatically when you get the texts with a searchview, without having to press the search button on the keyboard. @Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().infla...
asked by 23.10.2018 / 19:15
2
answers

How can I get the current android activity?

I'm doing some tests of android apps in eclipse, and I have a method to click the back arrow to which I pass a Activity : public void flechaAtras(Activity activity) { Display mdisp = activity.getWindowManager().getDefaultDisplay();...
asked by 22.10.2018 / 14:20
0
answers

Android Studio // Get recycler text to perform a customized search in database

I have a problem with my android project, I can not get the text of a field in a recyclerview to perform a more personalized search. My project I'm doing with a single Activity and the rest are only fragments where in these fragments I make quer...
asked by 05.11.2018 / 00:14
0
answers

E / Volley: [110535] BasicNetwork.performRequest: Unexpected response code 400

I'm doing an android application with registration and login, and one of the parties is password recovery. For this process I have done that when the mail is sent a sms with a code to the related number, having this service thanks to FIREBASE, t...
asked by 05.11.2018 / 01:10
1
answer

Show Time SQLite Android

I have this code, as you can see the name of a worker is registered, but I do not know how to show that time in textView , because if I do this, tvHora.setText(date); does not show me anything and the app closes . private String g...
asked by 22.10.2018 / 02:17
0
answers

Publish APK or Bundle on Google Play

I have several questions: What is the difference between publishing a .apk or a .aab bundle? I've done the whole journey: Internal test Alpha closed Open Beta Production Currently my app is in production and is so small that i...
asked by 22.10.2018 / 10:35
0
answers

Problems parsing XML

I am trying to parse an xml to store values of a web in an array within an android app in this way: //Parseo XML try { //Conexion app-web URL url = new URL("https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml"...
asked by 22.10.2018 / 15:05