Recent

Author Topic: Receive share intent with LAMW?  (Read 1238 times)

zgabrovski

  • New Member
  • *
  • Posts: 33
Receive share intent with LAMW?
« on: February 12, 2021, 07:06:04 pm »
Is there a way to register my application to receive pictures in standard share function, like viber, telegram, etc.

Like described here
https://developer.android.com/training/sharing/receive

jmpessoa

  • Hero Member
  • *****
  • Posts: 2330
Re: Receive share intent with LAMW?
« Reply #1 on: February 12, 2021, 11:46:58 pm »

Just as example,  you can add something like ...  to your project "AndoroidManifest.xml"

Code: Pascal  [Select][+][-]
  1.     <intent-filter>
  2.         <action android:name="android.intent.action.SEND" />
  3.         <category android:name="android.intent.category.DEFAULT" />
  4.         <data android:mimeType="text/plain" />
  5.     </intent-filter>
  6.  

to handle text content....
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

 

TinyPortal © 2005-2018