Questions tagged as 'android'

1
answer

Operation of removeViewAt and addView

I'm trying to replace a button / object, I have it inside a LinearLayout. Then I use those methods to eliminate the one that is and add in the position that the other was the new one, but do what I want or change in the endings (it's a 3x3 of bu...
asked by 18.11.2017 / 18:54
1
answer

List two Arrays in the same ListView

Good, this is going to be something extensive but here goes, my problem is the following. I have two arrays that send an Activity to another via Intent . In the next activity I receive them as Strings, they can also be empty "[]", then I c...
asked by 18.11.2017 / 16:15
0
answers

Layout in TextView

I have a TextView and I would like to do the code by way of drawing, as seen in the image below. If two paths were not possible, at least one.     
asked by 17.11.2017 / 08:54
1
answer

Change the theme of the activity from a fragment

I need you to change the theme of my MainActivity when entering a Fragment HomeFragment.java getActivity().setTheme(R.style.SoonticketThemeMain); So far that has not worked for me This is my Activity package com.soonticket.activity;...
asked by 28.11.2017 / 07:45
0
answers

Android - Show Current Date in my Android Studio Activity and send it to SQLite

Greetings friends how are you, I would like to see if you can help me with this detail for my class I have my activity ready and I am creating my java class to show the date and time and also enter a data of an event Code below...
asked by 28.11.2017 / 07:14
1
answer

Problem with signed apk android

A problem has arisen, when I generate a signed Apk to release and install it directly on the device it does not connect me to the rest services of my server, but I generate the apk signed in debug if it connects me without problems, and if I ins...
asked by 13.11.2017 / 09:38
1
answer

How to save Profile image of Google or Facebook button in firebase storage

my question is: through FirebaseAuth I get the user's data and that data is passed to Firebase Database including the URL of the profile image == > mAuth.getCurrentUser (). getPhotoUrl (); a Firebase database is passed through mAuth.getCur...
asked by 10.11.2017 / 06:09
0
answers

RestoreInstanceState Android Fragments

I'm making an app where the camera can be used. The thing is that I found a tutorial, but use Activity and I'm using fragments. The point is that everything works perfectly, but I realized that the onRestoreInstanceState method does not have the...
asked by 13.11.2017 / 19:07
1
answer

error in CameraPosition in ionic 3

I'm doing tests with googlemaps using ionic 3.14 I have managed to visualize the map, Now I'm trying to perform geo-mapping to show my current location using the CameraPosition method This is the code that I was able to find moveCamer...
asked by 14.11.2017 / 02:31
2
answers

Close Dialog android

I have the following code that correctly shows a Custom listView, however I want that when pressing an Item I close the dialog. On the internet I have found that it is with builder.dismiss(); but I get an error that this method does no...
asked by 11.11.2017 / 21:32