. NET Language app development platform--smobiler Learning log: Adding Weixin components to your app

Source: Internet
Author: User

Front: Smobiler is a development platform that uses. NET language to develop apps in the VS environment, perhaps more convenient than XamarinControl description

Weixin components.

Effect Demo

1. Share your friends

2. Share a circle of friends

Figure 1 Figure 2
Method
Method Method Description

Registerapp

App registration (you only need to register once).

Loginwithweixin

Login.

Pay

Pay.

Sharetosession

Share to friends.

Sharetotimeline

Share to the circle of friends.

Control uses 1. App Registration
    C #:        //Each device only needs        to register once//in the method parameter AppID for the platform registration application AppID        weixin1.registerapp ("******                ");  
2. Share your friends
    C #:        weixinsharenewsentity  (
3. Share a circle of friends
    C #:        weixinshareimageentity  (
4. Delegate Events
                   C #:        //Signature picture save        private void Handleweixinrpcresult (object sender, Smobiler.Core.RPC.  Rpcresultargs e) {Toast (System.  String.Format (      
Attention:

1. Only package version is supported

2. Development platform registered app iOS bundle ID and the Android version of the package name need to be consistent with the Smobiler Cloud Platform app package name,

3. Open Platform Registration app when you create a mobile app, the app signature for platform information in Android is the MD5 value of the signed file, with the letter lowercase and no colon. For example: Q1W2E3R4T5Y6U7I8O9P0Q1W2E3R4T5Y6;MD5 acquisition in cloud Platform applications-app Android packaging,

. NET Language app development platform--smobiler Learning log: Adding Weixin components to your app

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.