Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all 91519 articles
Browse latest View live

新泽西理工学院文凭〈NJIT毕业证成绩单〉Q微信9105133留信认证/买美国新泽西理工学院(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)New Jersey Institute o

$
0
0

新泽西理工学院文凭〈NJIT毕业证成绩单〉Q微信9105133留信认证/买美国新泽西理工学院(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)New Jersey Institute of Technology


北弗吉尼亚大学文凭〈UNV毕业证成绩单〉Q微信9105133留信认证/买美国北弗吉尼亚大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)University of Northern

$
0
0

北弗吉尼亚大学文凭〈UNV毕业证成绩单〉Q微信9105133留信认证/买美国北弗吉尼亚大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)University of Northern Virginia

Change google map info window text when it is appearing

$
0
0

my current situation that i want when user click on marker i send a request to get clicked position address and show it in the info window it working for IOS but android has problems

奥本大学文凭〈AU毕业证成绩单〉Q微信9105133留信认证/买美国奥本大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)Auburn University

$
0
0

奥本大学文凭〈AU毕业证成绩单〉Q微信9105133留信认证/买美国奥本大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)Auburn University

北卡罗来纳州立大学文凭〈NCSU毕业证成绩单〉Q微信9105133留信认证/买美国北卡罗来纳州立大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)North Carolina Sta

$
0
0

北卡罗来纳州立大学文凭〈NCSU毕业证成绩单〉Q微信9105133留信认证/买美国北卡罗来纳州立大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)North Carolina State University

凯斯西储大学文凭〈CWRU毕业证成绩单〉Q微信9105133留信认证/买美国凯斯西储大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)Case Western Reserve Uni

$
0
0

凯斯西储大学文凭〈CWRU毕业证成绩单〉Q微信9105133留信认证/买美国凯斯西储大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)Case Western Reserve University

俄克拉荷马州立大学文凭〈OSU毕业证成绩单〉Q微信9105133留信认证/买美国俄克拉荷马州立大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)Oklahoma State Univ

$
0
0

俄克拉荷马州立大学文凭〈OSU毕业证成绩单〉Q微信9105133留信认证/买美国俄克拉荷马州立大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)Oklahoma State University

圣迭戈州立大学文凭〈SDSU毕业证成绩单〉Q微信9105133留信认证/买美国圣迭戈州立大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)San Diego State Univer

$
0
0

圣迭戈州立大学文凭〈SDSU毕业证成绩单〉Q微信9105133留信认证/买美国圣迭戈州立大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)San Diego State University


北卡罗来纳大学教堂山分校文凭〈UNC毕业证成绩单〉Q微信9105133留信认证/买美国北卡罗来纳大学教堂山分校(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)University of

$
0
0

北卡罗来纳大学教堂山分校文凭〈UNC毕业证成绩单〉Q微信9105133留信认证/买美国北卡罗来纳大学教堂山分校(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)University of North Carolina at ChapelHill

埃默里大学文凭〈Emory毕业证成绩单〉Q微信9105133留信认证/买美国埃默里大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)Emory University

$
0
0

埃默里大学文凭〈Emory毕业证成绩单〉Q微信9105133留信认证/买美国埃默里大学(精仿)毕业证成绩单,(真实)学历认证,使馆认证(回国人员证明)Emory University

OpenTok Xamarin.Forms nuget Video Chat

What is the best way to do video conferencing in Xamarin Forms?

$
0
0

I'm looking at how to do video conferencing in IOS and Android,

Is there any SDK to do this? Or should it be done natively on each plataform?

Which is the best route?

I searched in the forum, but found only very old answers. And nothing concrete about the operation.

If someone has done something like this, please share it with us.

Thank you all

TokBox OpenTok SDK for Xamarin Forms.

$
0
0

Hi,
I have made proof of concept app for a video chat application in Xamarin Native using the below nuget packages (it works like a charm the source code is done by provider available here https://github.com/DreamTeamMobile/Xamarin.Opentok.Samples/tree/code-improvements)

https://www.nuget.org/packages/Xamarin.OpenTok.Android/
https://www.nuget.org/packages/Xamarin.OpenTok.iOS/

These nuget packages are basically a port of the native iOS/Android SDK's by TokBox for Xamarin, Created by DreamTeamMobile. I want to make use of them to for creating a Xamarin Forms application, I need some guidance how I can make the same functionality available to a Forms Project, considering that the package provider doesn't provides Xamarin Forms implementation. Would custom renderers help here.

Video Chat App Using the Xamarin forms

$
0
0

Hello Folks
Is there any to create the Video chat application using the xamarin forms.

Thanks
Laxman

Get information from Bluetooth with BLE plugin

$
0
0

I am using BLE plugin and try to make app to conect with Arduino using bluetooth. If I use some BLE terminal from store I get information from module. My app can find and connect to module, but I dont know how to read information from bluetooth.


Weird error while using MSBuild to get APK

$
0
0

Hi,

I am trying to make an APK from cmd line via this command:

"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\MSBuild.exe" /t:SignAndroidPackage /p:Configuration=Release C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.sln

It starts building but ultimately finishes with this message:

C:\prj\Demo\Xamarin2\WiFiManager>"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\MSBuild.exe" /t:SignAndroidPackage /p:Configuration=Release C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.sln

Microsoft (R) Build Engine version 15.8.169+g1ccb72aefa for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 11/23/2018 3:56:18 PM.
Project "C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.sln" on node 1 (SignAndroidPackage target(s)).
ValidateSolutionConfiguration:
Building solution configuration "Release|Any CPU".
Project "C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.sln" (1) is building "C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.Android\WiFiManager.Android.csproj" (2) on node 1 (SignAndroidPackage target(s)).
RedirectMonoAndroidSdkPaths:
SOFTWARE\Xamarin\VisualStudio\15.0_15059c6d\Android
_CreatePropertiesCache:
Creating directory "obj\Release\MonoAndroid81\".
_SetLatestTargetFrameworkVersion:
Found Java SDK version 1.8.0.
Found Java SDK version 1.8.0.
_ValidateAndroidPackageProperties:
PackageName: WiFiManager.WiFiManager
PrepareForBuild:
Creating directory "bin\Release\".
Project "C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.Android\WiFiManager.Android.csproj" (2) is building "C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.Common\WiFiManager.Common.csproj" (3:2) on node 1 (default targets).
PrepareForBuild:
Creating directory "bin\Release\netstandard2.0\".
Creating directory "obj\Release\netstandard2.0\".
C:\Program Files\dotnet\sdk\2.1.403\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(198,5): error NETSDK1004: Assets file 'C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.Common\obj\project.assets.json' not found. Run a NuGet package restore to generate this file. [C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.Common\WiFiManager.Common.csproj]
Done Building Project "C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.Common\WiFiManager.Common.csproj" (default targets) -- FAILED.
Project "C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.Android\WiFiManager.Android.csproj" (2) is building "C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager\WiFiManager.csproj" (4:2) on node 1 (default targets).
PrepareForBuild:
Creating directory "bin\Release\netstandard2.0\".
Creating directory "obj\Release\netstandard2.0\".
C:\Program Files\dotnet\sdk\2.1.403\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(198,5): error NETSDK1004: Assets file 'C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager\obj\project.assets.json' not found. Run a NuGet package restore to generate this file. [C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager\WiFiManager.csproj]
Done Building Project "C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager\WiFiManager.csproj" (default targets) -- FAILED.
Done Building Project "C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.Android\WiFiManager.Android.csproj" (SignAndroidPackage target(s)) -- FAILED.
Project "C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.sln" (1) is building "C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager\WiFiManager.csproj" (4:3) on node 1 (SignAndroidPackage target(s)).
C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager\WiFiManager.csproj : error MSB4057: The target "SignAndroidPackage" does not exist in the project.
Done Building Project "C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager\WiFiManager.csproj" (SignAndroidPackage target(s)) -- FAILED.
Project "C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.sln" (1) is building "C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.Common\WiFiManager.Common.csproj" (3:3) on node 1 (SignAndroidPackage target(s)).
C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.Common\WiFiManager.Common.csproj : error MSB4057: The target "SignAndroidPackage" does not exist in the project.
Done Building Project "C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.Common\WiFiManager.Common.csproj" (SignAndroidPackage target(s)) -- FAILED.
Done Building Project "C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.sln" (SignAndroidPackage target(s)) -- FAILED.

Build FAILED.

"C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.sln" (SignAndroidPackage target) (1) ->
"C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.Android\WiFiManager.Android.csproj" (SignAndroidPackage target) (2) ->
"C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.Common\WiFiManager.Common.csproj" (default target) (3:2) ->
(ResolvePackageAssets target) ->
C:\Program Files\dotnet\sdk\2.1.403\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(198,5): error NETSDK1004: Assets file 'C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.Common\obj\project.assets.json' not found. Run a NuGet package restore to generate this file. [C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.Common\WiFiManager.Common.csproj]

"C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.sln" (SignAndroidPackage target) (1) ->
"C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.Android\WiFiManager.Android.csproj" (SignAndroidPackage target) (2) ->
"C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager\WiFiManager.csproj" (default target) (4:2) ->
C:\Program Files\dotnet\sdk\2.1.403\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(198,5): error NETSDK1004: Assets file 'C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager\obj\project.assets.json' not found. Run a NuGet package restore to generate this file. [C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager\WiFiManager.csproj]

"C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.sln" (SignAndroidPackage target) (1) ->
"C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager\WiFiManager.csproj" (SignAndroidPackage target) (4:3) ->
C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager\WiFiManager.csproj : error MSB4057: The target "SignAndroidPackage" does not exist in the project.

"C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.sln" (SignAndroidPackage target) (1) ->
"C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.Common\WiFiManager.Common.csproj" (SignAndroidPackage target) (3:3) ->
C:\prj\Demo\Xamarin2\WiFiManager\WiFiManager.Common\WiFiManager.Common.csproj : error MSB4057: The target "SignAndroidPackage" does not exist in the project.

0 Warning(s)
4 Error(s)

Time Elapsed 00:00:02.94

This target, however, exists in "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets"

What am I doing wrong? How can I build a signed APK from cmd line?

Linking C# to additional Objective C header file.

$
0
0

Hi guys, I have created a UI on Mac OS recently (Not phone Apps), and I am trying to link it to an additional Objective C code.
The source of this approach is really limited as all I found was about phone apps development. Hence I am trying to verify whether my concept is do-able or not. My Approach is as below :

My solution consist of Objective C and C#, which is linked internally when I created a new solution. These are done in the background by developers of these templates, where C# is the main sequence of the whole User Interface operations. Now I have created an Objective C file (externally), with all the functions to be called in its header file. I would love to link my UI (C# and Objective-C) to this Objective C file, the similar way developers used to link C# to Objective C.

This is the only link related to the subject that I am looking for, unfortunately it is mainly about phone Apps development.
https://docs.microsoft.com/en-us/xamarin/ios/platform/binding-objective-c/index

Below are small parts of my code /:

UI code:

MainViewController.designer.cs (Visual Studio for Mac)

using Foundation;
using System.CodeDom.Compiler;

namespace Main
{
    [Register ("MainViewController")]
    partial class MainViewController
    {
        [Outlet]
        AppKit.NSButton btnConnect { get; set; }

        [Action ("btnSubWindow:")]
        partial void BtnPopOut (AppKit.NSButton sender);
    }

    void ReleaseDesignerOutlets ()
        {
            if (btnConnect != null) {
                btnConnect.Dispose ();
                btnConnect = null;
            }
        }
}

MainViewController.m (Xcode)

#import "TestLauncherViewController.h"

@implementation TestLauncherViewController

@synthesize btnConnect = _btnConnect;
- (IBAction)btnSubWindow:(NSButton *)sender {
}

@end

MainViewController.h (Xcode)

#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>


@interface TestLauncherViewController : NSViewController {
    NSButton *_btnConnect;
@property (nonatomic, retain) IBOutlet NSButton *btnConnect;
- (IBAction)btnSubWindow:(NSButton *)sender;

@end

From here, we know that Objective-C has been linked to C#, and ready to be altered from C#.

Below are part of my externally created Objective C file:

Addition.h

@interface Addition : NSObject{
    int     progress;
    Status  state;
}
-(instancetype)initWithIP:(char*)ipaddress andUIdelegate:(id)del;
-(void)startToRun;
-(int)Multiplication;
@end

I am trying to use C# to access this Objective C header file to search for the entry point of any functions that I wish to call.
Please tell me if my concept is doable or not.

If do-doable :
Please provide me some guidance to achieve this approach.
Thank you in advance.

How to verify Phone number?

$
0
0

I want to verify phone number at the time of sign up. I want to send verification code at given mobile number at the time of sign up and then verify this code for further process.
How to achieve this functionality in Xamarin.Forms App.
Could any one please put in right direction to achieve it or any sample code.

Thanks in advance..

Unable to change ListView.ItemTemplate in code behind in iOS of a Xamarin.Forms app

$
0
0

First I thought it was due to ToolbarItem with Order="Secondary" was not functional in iOS. Unfortunately I didn't put breakpoint and debugged it when I posted the above thing.

But after putting the breakpoint and debugging I found that the setting ItemTemplate in an event was not effective. The pros may tell me if it is a bug.

First, the postings by @NMackay and @ClintStLaurent in this thread confirmed that the way that I was accessing the StaticResource in the code is correct.

Then I found this post on StackOverflow which hinted me what may be wrong. It was mentioned that one has to refresh the ListView several times before the chanted ItemTemplate is effective. And I found that I will have to pull-to-refresh as many times as the number of rows visible. Still the new Itemtemplate is not applied to the top most item.

My code is as below:

    <ContentPage.Content>
        <StackLayout>
            <ListView x:Name="ItemsListView"
                      ItemsSource="{Binding ToDoPlusItems}"
                      VerticalOptions="FillAndExpand"
                      HasUnevenRows="true"
                      RefreshCommand="{Binding LoadItemsCommand}"
                      IsPullToRefreshEnabled="true"
                      IsRefreshing="{Binding IsBusy, Mode=OneWay}"
                      CachingStrategy="RecycleElement"
                      ItemTemplate="{StaticResource ItemTemplateNonFramed}">
                <ListView.GestureRecognizers>
                    <TapGestureRecognizer Tapped="GstrDoubleTapListItem_Tapped"
                                          NumberOfTapsRequired="2" />
                </ListView.GestureRecognizers>
            </ListView>
        </StackLayout>
    </ContentPage.Content>


        <ToolbarItem Text="Show Abridged"
                     Clicked="ShowAbridged_Clicked"
                     Order="Secondary" />
        <ToolbarItem Text="Show More"
                     Activated="ShowMore_Clicked"
                     Order="Secondary" />


        private void ShowAbridged_Clicked(object sender, EventArgs e)
        {
            ItemsListView.ItemTemplate = (DataTemplate)this.Resources["ItemTemplateNonFramed"];
        }

        private void ShowMore_Clicked(object sender, EventArgs e)
        {
            var template = this.Resources["ItemTemplateFramedShort"] as DataTemplate;
            ItemsListView.ItemTemplate = template;
        }

How to open specific page after clicking on notification when the app is closed using app center

$
0
0

Hi,

Kindly let me know How to open specific page after clicking on notification when the app is closed using app center push notification?

Viewing all 91519 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>