Questions tagged as 'android'

0
answers

How to copy a bitmap in another bitmap

I have a bitmap of 246x400 and I want to create a bitmap of 500x500, once having the 500x500 bitmap, I want to insert the 246x400 bitmap in the middle of the 500x500 bitmap, like this: This is what I have tried: Bitmap bmp2 = bmp1.cop...
asked by 06.07.2018 / 21:33
0
answers

Error running APP on new device

I'm creating an APP in Android Studio 3.1.3 with the Android Platform Version API 28 revision 4. The fact is that until a few days ago I only had a Samsung Galaxy Tab Model SM-T210 with android 4.4.2 to test the APP. But now I have a Samsung...
asked by 03.07.2018 / 10:39
0
answers

I want to fill a listview in Xamarin Android from a mysql server

As the title says, I need to fill a Listview from a mysql database, I have read and I was recommended to use JSON for a security issue, if someone gives me a tutorial link or explains how to do it (what programs should I use , etc) step by step...
asked by 03.07.2018 / 05:07
3
answers

ListView Android Custom

I am implementing a listview which I already have it running, but I need to change the data that is displayed. In the table of the database that I show, I have 10 data with a foreign id, and 10 data with another foreign id, and so on, and what I...
asked by 04.07.2018 / 01:07
0
answers

refresh to a viewpager

Hello that such a good day to all I want to know in what way I can do a refresh to a viewpager. my problem arises from the fact that in my pager I have 2 calendars one with which I select a range of dates and in the other I only select a specifi...
asked by 06.07.2018 / 14:25
2
answers

problems with getText of editText Android Studio

I have a problem with two EditText in particular, these are in a fragment , the first time I arrive at the fragment, these are empty I assign them a number ( ej: et1 = 1, et2 = 2; ) I do all the operations in a normal way, I l...
asked by 06.07.2018 / 14:51
0
answers

Maps are not shown in my Android project

When running the emulator in Android Studio I can see the maps, but if I install it from the device, like any apk like "app-release.apk" that's where the maps are NOT displayed. Please, I need help. Thank you very much     
asked by 30.06.2018 / 00:14
0
answers

Error Can not pass null for argument 'pathString' in child ()

What can be the error of this code? final DatabaseReference mDatabase = FirebaseDatabase.getInstance().getReference(); mDatabase.child("Empresas " + País).child(Ciudad).child(TipodeEmpresa).addValueEventListener(new ValueEventL...
asked by 30.06.2018 / 21:19
4
answers

Send data between activities

I have a problem. I have 2 activities, the main one and a second screen. I want the 2nd screen to send data to the main screen but when I start the application it tells me that it stopped and it closes. When I do it the other way around (From th...
asked by 30.11.2016 / 18:14
0
answers

TextView null after the callBack of an object With Dagger2

I have a problem trying to change a TextView through a callback using an object provided by Dagger2. If I make the instance of the same object of the common form (new Object ..) everything works. But if it is done through the dagger instance the...
asked by 02.07.2018 / 18:15