Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all 204402 articles
Browse latest View live

How to automate 2 finger panning?

$
0
0

I have an image in my sample, it supports 2 finger panning and not a single finger panning. Is there any way to automate using Xamarin.UITest?


毕业,证 @微927,0079墨尔本大学毕业,证 @微927,0079毕业,证成绩单/留学认证,教育部公证

Xamarin.iOS code sign error using iOS 11.1

$
0
0

I'm trying to build my iOS application using my new iOS build machine using iOS 11.1.

However when I build my application I get the following error:

        15>  Codesign: 2017-12-05T17:13:01.9997912+00:00 - Logging messages
        15>  Codesign Task
        15>    CodesignAllocate: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
        15>    DisableTimestamp: True
        15>    Entitlements: obj/iPhone/Debug/Entitlements.xcent
        15>    Keychain: <null>
        15>    Resources:
        15>      bin/iPhone/Debug/MyApp.iOS.app
        15>    ResourceRules: <null>
        15>    SigningKey: 1F4A95333C89923DCB777A2DC213ED088E28D9D1
        15>    ExtraArgs: <null>
        15>    IsAppExtension: False
        15>  Tool /usr/bin/codesign execution started with arguments: -v --force --sign 1F4A95333C89923DCB777A2DC213ED088E28D9D1 --entitlements /Users/me/Library/Caches/Xamarin/mtbs/builds/MyApp.iOS/8e10175d0d7b53fc009bbcaa305356f0/obj/iPhone/Debug/Entitlements.xcent --timestamp=none /Users/me/Library/Caches/Xamarin/mtbs/builds/MyApp.iOS/8e10175d0d7b53fc009bbcaa305356f0/bin/iPhone/Debug/MyApp.iOS.app
        15>  Tool /usr/bin/codesign execution finished (exit code = 1).
        15>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(1837,3): error : /Users/me/Library/Caches/Xamarin/mtbs/builds/MyApp.iOS/8e10175d0d7b53fc009bbcaa305356f0/bin/iPhone/Debug/MyApp.iOS.app: unknown error -1=ffffffffffffffff
        15>  Codesign: 2017-12-05T17:13:02.0022906+00:00 - Finished
        15>Done executing task "Codesign" -- FAILED.
        15>Done building target "_CodesignAppBundle" in project "MyApp.iOS.csproj" -- FAILED.

I have already created a new signing identity and provisioning profile and still the same error
If anyone has come across this in the past any information would be really appreciated.

Xamarin.iOS Designer not loading

$
0
0

The iOS designer no longer loads any xib or storyboard files for any project. It is stuck with the progress bar working indefinitely. My setup:
1. Windows 7 and Visual Studio 2017 Enterprise Version 15.4.5
2. Xamarin 4.7.10.38, Xamarin.iOS 11.3.0.47
3. Mac OS 10.13.1
4. XCode 9.1

What I have tried:
1. Restarting both machines
2. Cleaning (physically removing all bin and obj folders) and rebuilding
3. Deleting username/Library/Caches/Xamarin/XMA on the Mac and username\AppData\Local\Temp\Xamarin\XMA on the PC.

As of last week it was working fine and now it's broken. The only thing I'm aware of changing was the Mac installed a security update and rebooted. Also worth noting: the designer works fine in VS Community on the Mac, and on a different PC with Windows 10 and VS 2017.

Xamarin Cross Platfrom (Android, Windows Phone) GPS tracking

$
0
0

Hi, i'm completely new to Xamarin. I'm looking to create an application that tracks GPS location for both windows phone and Android. I'm looking to use shared code. is this possible or will i have to use device specific code? i cant seem to find any information on how to implement gps tracking on windows phone but find plenty of information for android. does this suggest xamarin does not supports gps for windows phone as yet?

美国毕,业证学位文,凭薇信596,403,686#办理美国UNCW假毕,业证〖怎样办理北卡罗来纳大学威明顿分校毕,业证】哪里可以买美国大学毕,业证|办理UNCW成绩单

$
0
0

美国毕,业证学位文,凭薇信596,403,686#办理美国UNCW假毕,业证〖怎样办理北卡罗来纳大学威明顿分校毕,业证】哪里可以买美国大学毕,业证|办理UNCW成绩单

毕业,证 @微927,0079昆士兰科技大学毕业,证 @微927,0079Q毕业,证成绩单/留学认证,教育部公证

美国毕,业证学位文,凭薇信596,403,686#办理美国PSU假毕,业证〖怎样办理宾夕法尼亚州立大学毕,业证】哪里可以买美国大学毕,业证|办理PSU成绩单

$
0
0

美国毕,业证学位文,凭薇信596,403,686#办理美国PSU假毕,业证〖怎样办理宾夕法尼亚州立大学毕,业证】哪里可以买美国大学毕,业证|办理PSU成绩单


성적증명서위조 카톡ID : top2300 졸업증명서위조 >>

$
0
0

성적증명서위조 카톡ID : top2300 졸업증명서위조 >><< 광고글삭제후에도24시간 실시간문의가능
성적증명서위조 카톡ID : top2300 졸업증명서위조 >><< 광고글삭제후에도24시간 실시간문의가능
성적증명서위조 카톡ID : top2300 졸업증명서위조 >><< 광고글삭제후에도24시간 실시간문의가능
성적증명서위조 카톡ID : top2300 졸업증명서위조 >><< 광고글삭제후에도24시간 실시간문의가능
성적증명서위조 카톡ID : top2300 졸업증명서위조 >><< 광고글삭제후에도24시간 실시간문의가능
성적증명서위조 카톡ID : top2300 졸업증명서위조 >><< 광고글삭제후에도24시간 실시간문의가능
성적증명서위조 카톡ID : top2300 졸업증명서위조 >><< 광고글삭제후에도24시간 실시간문의가능
성적증명서위조 카톡ID : top2300 졸업증명서위조 >><< 광고글삭제후에도24시간 실시간문의가능

Load more items without button click

$
0
0

Dears,

I am implementing load more items to listview without a button.

My code:

 public partial class DashBoardPage : ContentPage
  {
    ObservableCollection<string> Items;
    bool isLoading;

    public DashBoardPage()
    {
        InitializeComponent();

        Items = new ObservableCollection<string>();
        var listview = new ListView();

        listview.ItemsSource = Items;
        listview.ItemAppearing += (sender, e) =>
        {
            if (isLoading || Items.Count == 0)
                return;

            //hit bottom!
            if (e.Item.ToString() == Items[Items.Count - 1])
            {
                LoadItems();
            }
        };
        LoadItems();
    }

    public async void LoadItems()
    {
        isLoading = true;
        HttpClient client = new HttpClient();
        var response = await client.GetAsync("My Url");
        string tweetJson = await response.Content.ReadAsStringAsync();

        UserTweetResponse userTweetResponse = new UserTweetResponse();
        if (tweetJson != "")
        {
            userTweetResponse = JsonConvert.DeserializeObject<UserTweetResponse>(tweetJson.ToString());
        }
        ListView1.ItemsSource = userTweetResponse.userTweetsList;
        isLoading = false;
    }
}

I refer the following link and confused with the for loop inside LoadItems():
https://montemagno.com/load-more-items-at-end-of-listview-in/
for (int i = 0; i < 20; i++)
{
Items.Add (string.Format("Item {0}", Items.Count));
}
In my case I am using itemSource property to bind the response to list view.
How can I fix this?
Thanks in advance :)

Is it discouraged to bind between the view and the page class without a VW class?

$
0
0

The guide to Xamarin and examples there show how to bind between datasource and views. However, it seems that the 'standard' way is to create a intermediary class (i.e a VW class) to link/isolate the data and the UI controls. But since each xaml file has a code-behind file automatically generated and the class is automatically generated too, why it won't work if the binding property is directly put as a part of the page class?

For example, I generated an app1 view and the corresponding mainpage automatically

<ContentPage.Content>
    <StackLayout  x:Name="layoutNo2">
        <Label x:Name="changelabel"
            Text="{Binding textcontent}"
               TextColor="#f35e20"/>
        <Button Text="testbutton"
                Clicked="Ontestbutton"/>
        </StackLayout>
</ContentPage.Content>

And the code behind file

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;

namespace App1
{
public partial class MainPage : ContentPage
{
private string textcontent = "";
public MainPage()
{
InitializeComponent();
}

    private void Ontestbutton(object sender, EventArgs e)
    {
        textcontent = "sjflajs";
    }
}

}

But the binding is never working, even if I put

    changelabel.BindingContext = textcontent;
        changelabel.SetBinding(Label.TextProperty, "PATH=textcontent");

after InitializeComponent(); in the constructor.

So, a VW class is a must-to-have for data binding?

졸업증명서위조 카톡ID : top2300 졸업증명서위조 >>

$
0
0

졸업증명서위조 카톡ID : top2300 졸업증명서위조 >><< 광고글삭제후에도24시간 실시간문의가능
졸업증명서위조 카톡ID : top2300 졸업증명서위조 >><< 광고글삭제후에도24시간 실시간문의가능
졸업증명서위조 카톡ID : top2300 졸업증명서위조 >><< 광고글삭제후에도24시간 실시간문의가능
졸업증명서위조 카톡ID : top2300 졸업증명서위조 >><< 광고글삭제후에도24시간 실시간문의가능
졸업증명서위조 카톡ID : top2300 졸업증명서위조 >><< 광고글삭제후에도24시간 실시간문의가능
졸업증명서위조 카톡ID : top2300 졸업증명서위조 >><< 광고글삭제후에도24시간 실시간문의가능
졸업증명서위조 카톡ID : top2300 졸업증명서위조 >><< 광고글삭제후에도24시간 실시간문의가능
졸업증명서위조 카톡ID : top2300 졸업증명서위조 >><< 광고글삭제후에도24시간 실시간문의가능

Circle mask image view

$
0
0

Hello.
I'm learning xamarin forms.
But i don't have many experience in Xamarin forms.
Now I'm going to make the circle mask image view.
Attached image.
I hope to help me kindly.

Thanks

Barcode Scanner to scan 2 barcodes at once

$
0
0

Hello Guys,

For the project I am working on I will need to use a barcode Scanner. To do that ZXing Forms is working good, but for the needs of the application I need to be able to scan 2 barcodes at once and for now I have found nothing about some nuget who is doing it.

I need to target both iOS and Android for the App.
Some help will be grateful.

Thank you.

How to make a squared image to a round image on xamarin forms ?

$
0
0

Is it possible to make a round image on Xamarin Forms of a squared image. I have a lot of images which should be displayed as a circle on ListView along with its name etc. But how can I do this?


<Ellipse.Fill>

</Ellipse.Fill>

I tried like this, but it is not working and it threw an error "Type ImageBrush not found in xmlns http://xamarin.com/schemas/2014/forms"


Scan 3 barcodes at once using Zxing.Net.Mobile

$
0
0

Hi,

I am new to ZXing.net library and I am trying to use it to read multiple barcodes(for now it is 3 barcodes) in one go. I got to know that I need to use the feature, GenericMultipleBarcodeReader( but I am not 100% sure yet). Has anyone tried that and could possibly share some sample code? Or is there any other solution that you can recommend.

I tried to use ScanContinuously and I don't think it suits my purpose of scanning 3 barcodes at once. Could you please help?

Thanks

운전면허증위조 카톡ID : top2300 졸업증명서위조 >>

$
0
0

운전면허증위조 카톡ID : top2300 졸업증명서위조 >><< 광고글삭제후에도24시간 실시간문의가능
운전면허증위조 카톡ID : top2300 졸업증명서위조 >><< 광고글삭제후에도24시간 실시간문의가능
운전면허증위조 카톡ID : top2300 졸업증명서위조 >><< 광고글삭제후에도24시간 실시간문의가능
운전면허증위조 카톡ID : top2300 졸업증명서위조 >><< 광고글삭제후에도24시간 실시간문의가능
운전면허증위조 카톡ID : top2300 졸업증명서위조 >><< 광고글삭제후에도24시간 실시간문의가능
운전면허증위조 카톡ID : top2300 졸업증명서위조 >><< 광고글삭제후에도24시간 실시간문의가능
운전면허증위조 카톡ID : top2300 졸업증명서위조 >><< 광고글삭제후에도24시간 실시간문의가능
운전면허증위조 카톡ID : top2300 졸업증명서위조 >><< 광고글삭제후에도24시간 실시간문의가능
운전면허증위조 카톡ID : top2300 졸업증명서위조 >><< 광고글삭제후에도24시간 실시간문의가능
운전면허증위조 카톡ID : top2300 졸업증명서위조 >><< 광고글삭제후에도24시간 실시간문의가능

Problem with Xamarin FilePicker plugin for iOS

$
0
0

Hello,

I have the following problem with FilePicker plugins for iOS:

I have a xamarin project for all problems and I want to select pdf file and upload it via some API.
For UWP and Android this works without problem nut for iOS I have the following issue:
* The following is called: await CrossFilePicker.Current.PickFile();
* iPad - nothing happens, no menu appears and when i click on the button again I get an exception that only one operation is possible at the moment which comes from the code in the plugin
* iPhone - menu appears and I select option browse and then can select the file from iCloud but the file is not returned so I still get nothing, the application hangs and if I click twice on the button I have the same exception as for the iPad

The following plugins were tried but the result was the same for all of them:
* Studyxnet FilePicker
* Proyoyo FilePicker

Also cloud driver was configured for the application.

Replacing Services With Jobs in Android Oreo 8.0

$
0
0

Have you used the JobScheduler API yet?

If you haven't, read our blog for a quick primer on JobScheduler and let us know what you think!

Feel free to discuss this post below.

Xamarin.Forms And EmguCV

$
0
0

I could not even do a simple image processing Xamarin.Forms (PCL) with EmguCV. I have errors in the projects in Github (EmguCV). How can I do it? Do you have a tutorial for Xamarin?

Viewing all 204402 articles
Browse latest View live


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