Questions tagged as 'android-intent'

1
answer

Buttons + Intents with multiple destinations

From an activity with data from one sensor and two buttons, one to show graphs and another to show its parameters. Question : How to do it so that it takes to the corresponding activity when a click is done on one of the buttons. It seems...
asked by 28.08.2016 / 18:10
1
answer

Implement "onClickListener" in RecyclerView working with Cursor

A few days ago I asked a question asking for help and guidance on how to create a RecyclerView with a CursorAdapter to be able to create a list where% data RecyclerView were extracted from the internal DB (in SQLite) from the ap...
asked by 10.06.2016 / 16:13
0
answers

Take a photo and save it full size no bitmap [closed]

Good, I would like you to help me, how can I take a photo and save it (not the bitmap) the photo in full size, for example as whatsapp does, that creates a folder in the mobile, I have seen several pages where they show how to save on the sd car...
asked by 28.07.2017 / 03:01
2
answers

Create intent with the id of a list

Good morning, I hope you can help me. I'm doing an internship on Android, and I'm stuck in a chapter about Activity and intents: I have a List with several elements (places). I open a dialogue box where I enter the id and I open VistaLugar, w...
asked by 18.04.2017 / 13:59
0
answers

Share a captured image from an array of images on android

I would like to share the image seen at that moment in the ViewPager , which will be taken from an array of images named sliderImagesId . Here are the files of the app. <?xml version="1.0" encoding="utf-8"?> <android.support...
asked by 19.09.2016 / 20:40
0
answers

Android error when moving to another Intent [closed]

I have an error in my application that occurs when going from one Intent to another. I get the message that the application has had to close. This always happens to me when I put the background of the layout of the first Intent and the images of...
asked by 15.05.2016 / 20:06
2
answers

Is it possible in Android to save in a variable a reference to an Activity to be used later in an Intent?

I have the following code, which listens for the clicks that occurred in the elements of a RecyclerView to call another Activity according to the item pressed. public void onItemClick(MainItem item) { Intent i; switch (it...
asked by 06.12.2018 / 20:51
0
answers

Is it possible to create a new Google calendar from an Android App?

I want to create a Google calendar programmatically that is synchronized with the Google account. I've been searching and using ContentProvider allows you to create local calendars with type ACCOUNT_TYPE_LOCAL that do not allow...
asked by 09.09.2016 / 12:30
3
answers

Error: android.content.Context.getPackageName () 'on a null object reference

I'm trying to run an Intent but it gives me an error when launching the intent it shows me the following error:    Attempt to invoke virtual method 'java.lang.String   android.content.Context.getPackageName () 'on a null object reference...
asked by 30.11.2018 / 19:54
1
answer

Problem when performing an Intent

Hi, I'm practicing a bit of programming on android and I've run into something strange (or so I think). Every time I try to launch a new activty the application dies. I am trying to make a kind of login for an app but it is quite simple I only r...
asked by 30.08.2018 / 06:13