Comments (3)
You can't really affect details like that, since the ANE uses generic sharing method provided by the system and it is up to the selected app how it processes the shared data. You'd probably need to use the WeChat mobile SDK to achieve what you want.
from ane-share.
Thanks for answering my question. I'm sorry that I probably didn't make my question clear. I see other sharing ane also allows sharing a text title, like AirNativeShare.instance.showShare(["http://xxx.com", "Hello xxxx", bitmapData]); but I don't know how to do this by using our ane. thanks in advance.
from ane-share.
Your example code would translate to this in our ANE:
var sharedItems:Vector.<SharedData> = new <SharedData>[];
sharedItems.push(new SharedData("http://xxx.com"));
sharedItems.push(new SharedData("Hello xxxx"));
sharedItems.push(new SharedData(bitmapData));
Share.instance.share(sharedItems);
from ane-share.
Related Issues (15)
- Could you please build the ane for 1.02 ver? HOT 1
- Can't share bitmapData on Android HOT 4
- change sharing application problem HOT 3
- Is your ane is able to share multiple files? HOT 3
- Can't receive event. HOT 2
- packageName android.support.compat used by more than one ANE
- Receive files from other applications? HOT 2
- intent setType HOT 2
- Push Notifiation warning when submitting to Apple HOT 2
- 64 bit android HOT 1
- On some messaging apps the bitmap is shared as a File HOT 3
- The verison 1.08 bin does not work on armv7, but it works fine on armv8 HOT 2
- AndroidX HOT 1
- Permission error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ane-share.