Questions tagged as 'android-studio'

1
answer

Send pdf by email from android

I have an app that allows me to send a PDF by email, either hotmail or gmail. When I made the app I did it all in activities and it still works correctly but now I decided to create a version in Fragments and the method to send the pdfs stopped...
asked by 10.05.2018 / 18:54
1
answer

I have 2 activity_main but when I give it run it raises me first as I change it for the second

Hello friends I am new to android, I would like you to help me how to tell android that I will have the second activity not the first one. <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android...
asked by 14.04.2018 / 01:44
2
answers

error: can not find symbol variable FileProvider Android Studio 3

I am trying to adapt my Android application for systems 7.0.0+ it seems that one of the changes is using FileProvider, I am watching tutorials, it seems easy but it turns out that Android Studio 3 does not find this class and I am loading from g...
asked by 06.04.2018 / 17:51
1
answer

I can not see files created from App android 6.0 in windows file browser

I have the following code: File folder = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOCUMENTS) + "/Inventario"); if (!folder.exists()) { if (folder.mkdirs()) { Toast.makeText(this, "Car...
asked by 11.04.2018 / 18:59
1
answer

webView does not work

I have a problem, my application does not load the URL link The problem is that if I leave the application and load the same URL from the phone's browser, this url does work. This is why I think it is not a network error, but some error...
asked by 07.05.2018 / 17:06
2
answers

I receive this error when compiling a project: error: can not find symbol method setLatestEventInfo

This is error 1: error: cannot find symbol method setLatestEventInfo(MySimpleNotification,CharSequence, CharSequence,PendingIntent) Part of the code of that error public class MySimpleNotification extends Activity{ Dat...
asked by 27.04.2018 / 04:49
2
answers

Is it possible to have two projects with the same package name?

My idea is to be able to use the same Google.services.json file for two different projects, since I have a limit of 3 projects in firebase and I have already used the maximum. I want to be able to use the same json file for two apps that use the...
asked by 03.12.2018 / 02:33
0
answers

enter a list in webservice with asyntask

I would like to enter a list of sales of the day in the web service, but I always enter only the first line of the list. Does anybody have an idea? this goes on global variables and the oncreate of the activity List<"OrdenDetalleEntity"...
asked by 06.09.2016 / 19:39
0
answers

How could I fill out a list [closed]

How I could fill out a ListView. Using button to call another activity and enter the data that I want to show in the activity that has the list.     
asked by 07.09.2016 / 20:35
3
answers

How to print a string in a textview letter by letter in java?

I want to print a string that I go through with a for loop but I do not know how to pause and go back through the loop keeping what is already written, I want to give the effect as if the message was being written at the moment, I have tried wit...
asked by 20.06.2018 / 17:56