Questions tagged as 'android'

0
answers

How to show image with JSONObject PHP MySQL in Android Studio?

public String getStringImage(int position){ String imagen = ""; byte[] encodeByte = Base64.decode(Imagen, Base64.DEFAULT); Bitmap bitmap= BitmapFactory.decodeByteArray(encodeByte, 0, encodeByte.length); try{ JSONObject js...
asked by 07.08.2018 / 06:41
1
answer

Because android studio does not detect my device

I already put it in debugging mode, it is supposed that after the window should appear to allow fingerprint, but nothing comes out, does anyone know what is due? and try everything, reinstall the drivers, MTP, PTP and nothing. The equipment de...
asked by 07.08.2018 / 22:05
1
answer

Error passing the code from an activity to a fragment (recyclerview)

I want to pass the code I have from an activity to some tabs and I get an error NullPointerException: Attempt to invoke virtual method 'void android.support.v7.widget.RecyclerView.setLayoutManager(android.support.v7.widget.RecyclerView$LayoutM...
asked by 03.08.2018 / 20:35
2
answers

Problems referencing an Object

I am calling a class that I have already used, I have instantiated it and in my Login fragment if it runs normally but in my Client_Visit fragment I get an error: E/AndroidRuntime: FATAL EXCEPTION: main Process: sie.progrsist...
asked by 04.08.2018 / 00:41
1
answer

Truth Tables (Kotlin)

It's like this for the first time here, I'm learning to use the programming language Kotlin, I have to develop a Boolean formula with true or false, I already do it in Java and it stayed like this private static final boolean VALUES[] = ne...
asked by 01.09.2018 / 21:28
1
answer

How to remove the frame of a photo taken with android studio

The problem I have is that when you take a photo from my application and I proceed to save it, it is stored with a frame on the sides. I wanted to know how I can delete this framework. I leave my code private void openCameraIntent() {...
asked by 29.08.2018 / 22:02
0
answers

The preview option is not shown in Android Studio

The problem I have with android studio (the first time I use it), is that I do not have the option to preview, that is, I do not get the cell phone that should appear in the right part, and probe changing some values to this:   , putting Base be...
asked by 30.08.2018 / 07:00
1
answer

Scrolling with a recyclerViev inside

I am making an application with a system of comments and qualifications This is the layout xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_wid...
asked by 18.08.2018 / 23:45
0
answers

Error app: processDebugResources

Good morning, friends, I have the following error when trying to integrate the Appodeal SDK.    Execution failed for task ': app: processDebugResources'.   Failed to process resources, see aapt output above for details. This is the Gradle...
asked by 31.07.2018 / 20:55
1
answer

How to receive notifications that were sent to a topic before the subscription to this same

I am making an application in which notifications should be received only when being in a place at the moment to simulate it, I use a button that when pressed it is subscribed to topic a when you press it again to de-subscribe. The pro...
asked by 06.09.2018 / 00:30