Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

How to show an intent data in my app with a print()?
Started by cristo.garciam2209 Jun 13 2018 08:00 AM

2 replies to this topic
help show intent data print()
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

cristo.garciam2209

[GLOBAL: userInfoPane.html]
cristo.garciam2209
  • Observer

  • 10 posts
  • Corona SDK

Hello I would like to show a string received through an intent from another application to mine, is there any way to show that string using a print ()? I attached my intent-filter that is in the build

android =
	{
		
		usesPermissions =
		{
			"android.permission.INTERNET",
		},
		intentFilters =
	      {
	         {
	            label = "Your Title Goes Here",
	            actions = { "android.intent.action.SEND" },
	            categories =
	            {
	               "android.intent.category.DEFAULT"
	            },
	            data = { scheme = "try",
	            		 mimeType= "text/plain" },
	         },
	      },
	},

Hello I would like to show a string received through an intent from another application to mine, is there any way to show that string using a print ()? I attached my intent-filter that is in the build



[TOPIC: post.html]
#2

yvandotet

[GLOBAL: userInfoPane.html]
yvandotet
  • Contributor

  • 174 posts
  • Corona SDK

perhaps this : https://docs.coronalabs.com/api/library/system/getInfo.html

 

sincerely



[TOPIC: post.html]
#3

cristo.garciam2209

[GLOBAL: userInfoPane.html]
cristo.garciam2209
  • Observer

  • 10 posts
  • Corona SDK

I read that, but It doesn't appear... if could you tell me how to do it especifically what I am asking, I will aprecciate a lot!




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: help, show intent data, print()