Questions tagged as 'intent'

0
answers

java.lang.RuntimeException: Unable to start activity

My logcat is acquiring a pointer error to start the activity Ouvir I'm seeing but I did not find the error. Exiting these messages when I run the application: 11-27 22:09:40.631: E/AndroidRuntime(1513): java.lang.RuntimeException: Unabl...
asked by 27.11.2014 / 23:22
1
answer

Passing object by parameter causes error - Android Studio

I'm trying to pass an object by parameter, but an error occurs in the line "it.putExtra (" tag ", obj);":   Can not resolve method (java.lang.String, my package.minhaClasse) Follow the code Obj obj = new Obj(); Intent it; it = new Inten...
asked by 20.07.2015 / 15:29
1
answer

How to resolve the java.lang.RuntimeException error: android.os.TransactionTooLargeException

I'm having this error when I try to share a bitmap via try in Android 7.0, I already researched a lot and could not solve it, so I saw Google itself has the recommendation to avoid the error link but I could not understand the proposed solutio...
asked by 22.03.2017 / 19:40
1
answer

Try to call FACEBOOK

The following is this trigger an attempt and the same call the Facebook app. I was able to send email Intent sendIntent = new Intent(Intent.ACTION_VIEW); sendIntent.setType("plain/text"); sendIntent.setData(Uri.parse("[email protected]")); sendIn...
asked by 11.12.2015 / 09:58
1
answer

How to call a new Activity through a conditional structure that tests the connection?

I'm making a WebView app. It's quite simple: I test the connection truth case loads the site; false case loads another activity (other than main). While there is a connection, the app works fine loading the site. But when there is no connecti...
asked by 11.01.2018 / 23:12
1
answer

Object list for another activity

I'm trying to save a list of objects with sharedpreference and gson. And the idea is that I can load this list into a ListView, I did the tests and when it goes to listVIew it loads only the packages, photos: Choose Products - FINAL SCREEN...
asked by 22.09.2017 / 18:23
1
answer

How to display a list of results in an activity? [closed]

I have a fairly limited knowledge on programming and I'm starting Android now. I started developing an Android project for physiotherapy. In this project, physiotherapists will be able to register and log in to edit, display, and record patie...
asked by 21.06.2017 / 17:58
1
answer

How to pass a certain content contained in a first direct activity to a third activity?

I'd like to know how to pass the content of a plainText that is in the MainActivity direct to Main3Activity, without having to also import to Main2Activity and then to Main3Activity. The user passes Main2Activity before going to Main3Acitvit...
asked by 21.01.2017 / 22:18
1
answer

Value drop in getIntent ()

My problem is this ... I have a notification routine that the user clicks on the notification screen, open a new Activity. In this new Activity I show some information that I look for in the database depending on the code that I pass by paramete...
asked by 16.08.2016 / 17:48
1
answer

Go back to another activity and pass parameters

I'm having a problem adding items to a ListView , I have a activity main that calls another to add the met package com.example.jonathan.agendaonline; import android.content.Intent; import android.support.v7.app.AppCompatActivity; impor...
asked by 24.11.2016 / 01:19