Questions tagged as 'android-intent'

1
answer

Parental control on Android

My project is a parental control that filters explicit content (pornography) and implementation of secure search in search engines. I already have the methods for such actions but I have found that at the time of navigation in any mobile browser...
asked by 26.03.2018 / 16:09
0
answers

I have a problem with the Intent.createChooser PLEASE HELP

I have a question because I do not get the address of files that are images, videos, music but of text documents like word or .txt public class minube_main extends Fragment { final int ACTIVITY_CHOOSE_FILE = 1; FloatingActionButton FBMN; Gri...
asked by 19.02.2018 / 07:52
1
answer

Android Webview share with whatsapp, twitter, facebook and google +

I need one or several links, that allow me to share a text with a link of my application within my Android Webview application, I've tried with Intent View, set package, start activity, [share with] whatsapp, twitter, facebook, google +. When...
asked by 13.11.2017 / 11:51
2
answers

Open file always opens with PDF

Hi guys and girls (of course) I have this method to open a file public static void openFile(String filePath, Activity activity) { try { Intent intent = new Intent(); intent.setAction(Intent.ACTION_VIEW); intent.s...
asked by 27.06.2017 / 23:39
1
answer

Navigation Drawer Activity with a Fragment that has a Button that brings data from a server

I created a project of type Navigation Drawer Activity as you will see in the image below: Where the Import - Gallery, etc sections treat each one as a fragment As you will see in the image above when clicking on Import in th...
asked by 13.02.2017 / 12:40
1
answer

Sharing audio file in whatsapp only transfers the first second

My problem is as follows. I generate an audio file (.wav) from my application and share it through an intent .. but by doing it via whatsapp only 1 sec of audio is sent. When the email is sent correctly, the complete file is sent. Any idea...
asked by 29.01.2017 / 03:20
1
answer

Intent is null in the onRecieve () of a BroadcastReciver

I have a problem that I can not understand why it happens, I've been looking for more sites before asking but I have not found anything, here's the problem: I create an Intent to send a broadcast in the following way: Intent intent = new In...
asked by 31.10.2016 / 14:01
1
answer

Doubt with the BroadCastreceiver, do not record the actions

I have created a clase , which extends from BroadcastReceiver . I use this class to display a notification bar with two buttons to register each click. The notification bar is perfectly displayed, but when I click on the buttons,...
asked by 15.11.2016 / 15:30
1
answer

Doubt to pass an icon from ViewHolder to an activity

I have a reciclerView with a list and each element is a card_view with time information, including an icon, all that loads me well, in the onCreate of the adapter I put a listener so that when pressed an element of the view, go to...
asked by 26.11.2016 / 18:50
1
answer

You doubt when calling back the activity with a certain fragment from the notification bar

Good morning, I have an application that uses a layout in barra de notificaciones . Within the layout, I have a botón with an icon which if I put it is abre la aplicación with the main activity. The problem arises, because...
asked by 22.11.2016 / 14:32