I ask this question to know how to copy the contents of a file that is in the Assets folder but my error method because I should at least return a true value, but it does not return anything nor does it come to load
My code:
//Este es el m...
I have three layout for each activity: layout, layout-large and layout-xlarge to be able to adapt my application to all the screens, the problem is that I use a custom listview with my ListViewAdapter class and its xml, but the xml measures of m...
I have asked this question in order to help with this topic:
I am trying to create a copying process, but not complete, that is, only update the contents of one file with the changes made in another.
I explain:
I have created two txt...
I have a Spinner in a Fragment , that when I click on an item of Spinner leads me to another Fragment . But when I run the app, it goes directly to the first item in Fragment . It does not show me the Fragment...
I have my code to calculate the age taking into account the months and day of the date of birth, but I want to make a split to send only the number of the age to a TextView, I give example:
In the TextView that I want to come out is thi...
I have a problem when trying to share a file with other applications using FileProvider, the problem comes when I use FileContent.getUriForFile() because it gives me the following error:
java.lang.NullPointerException: Attempt to invok...
I'm doing an app that consumes the information of a php and I have a problem with the accents and special characters. The code works perfectly but when I get the information returned from the php in json the characters and accents are returned...
I have a fragment which should save an hour, after doing all the code it simply generates an error when executing it
Alerter.java ( fragment that will capture the alarms)
package company.viral.organizadorjec.FragmentMenu.Per...
I want to add an adMob ad banner to my app and it tells me that the adSize attribute was missin but it's all apparently correct:
My XML code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.androi...
I am using a RecyclerView to show a list in which each item contains text and images (I will search for the image from a url with the ImageLoader in the method private void setImageNews(final ImageView view, String url) ). Wh...