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

Issue with zxing after 1.4.4 update

$
0
0

Before the update my app was working fine, but after updating to xamarin 1.4.4 I'm getting this error

/Users/J********/Desktop/MyApp/iOS/MTOUCH: Error MT2002: Failed to resolve assembly: 'zxing.ios, Version=0.14.0.0, Culture=neutral, PublicKeyToken=null' (MT2002) (MyApp.iOS)

Currently using the acr.userdialog, acr.barcodes and zxing.net.mobile (all the latest versions)

I've tried restarting xamarin studio and removing and re-adding the libraries but still can't get it to work.


Page indicator for carousel - dots, for instance?

$
0
0

On the windows platform it is easy to see that there are more pages because of the huge title. However there is no default page indicator for Android (I have no IOS device).

How can I go about creating such a thing? Perhaps something that is only visible on Android devices? Do I need to create a custom component with a renderer?

Android share button in app

$
0
0

I am developing android app, using webview library webpages display in app but unable to add share button in app.
How to do this plz help

2 way binding between slider and entry

$
0
0

Hey guys, so I'm attempting to do something I would assume is fairly simple. Basically I have a Slider and an Entry next to each other. When you slide the slider, I want the Entry field to update with a dollar value. For instance instead of displaying "900" I want it to display "$900". If the slider is a negative value, say -400, I want it to display "($400)". Our users know the notation of the parenthesis denoting a negative number. This all works with my custom value converter. Now the problem comes in when trying to type in the text box and updating the slider. So if I type in "$900", I would like the slider to re-position itself to the correct position. This part KIND of works, I've posted a screenshot giving you an idea of how it looks.

The only hiccup here is when I type in "$10,000" for some reason, the text auto corrects it self to "$900". The slider is in the correct spot, but I'm not sure why I can't enter in the EXACT value I want to enter in. See Screen shot.

Xaml Code:

        <Label Text="Long Term Gains / (Losses)" Grid.Row="8" Grid.Column="0" />
        <Slider x:Name="sliderLongTermGainsOrLosses" Minimum="-15000" Maximum="15000" Value="{Binding LongTermGainsOrLosses, Mode=TwoWay}" Grid.Row="9" Grid.Column="0"/>
        <Entry Text="{Binding LongTermGainsOrLosses, Mode=TwoWay, Converter={StaticResource decimalToCurrencyStringConverter}}" Keyboard="Numeric" Grid.Row="9" Grid.Column="1" />

Can't recive parse push notifications when app is closed

$
0
0

Hi! Please help me...)

I need to recive parse push notifications when my app is closed. When app is runed it's works fine, but when I close it, it breaks down.

My Application Class:

[Application(Name="ffc.droid.ParseApplication")]
    public class ParseApplication : Application
    {
        public ParseApplication (IntPtr javaReference, JniHandleOwnership transfer) : base(javaReference, transfer)
        {
        }

    public override void OnCreate ()
    {
        base.OnCreate ();

        // Initialize the Parse client with your Application ID and .NET Key found on
        // your Parse dashboard

            ParseClient.Initialize("xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                "xxxxxxxxxxxxxxxxxxxxx");

            ParsePush.ParsePushNotificationReceived += (object sender, ParsePushNotificationEventArgs e) => {
                // Show notification
            };

            ParsePush.SubscribeAsync (new string[] { "new_video", "new_news", "new_event" });
            ParseInstallation.CurrentInstallation.SaveAsync ();
        }
    }

My AndroidManiFest file:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.4" package="ffc.droid" android:versionCode="4">
    <uses-sdk android:minSdkVersion="17" android:targetSdkVersion="17" />
    <uses-permission android:name="android.permission.SET_WALLPAPER" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    <uses-permission android:name="android.permission.VIBRATE" />
    <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <permission android:protectionLevel="signature" android:name="ffc.droid.permission.C2D_MESSAGE" />
    <meta-data android:name="com.parse.push.notification_icon"
            android:resource="@drawable/ic_menu_ffk"/>
    <uses-permission android:name="ffc.droid.permission.C2D_MESSAGE" />

    <application android:label="KFF.KZ" android:icon="@drawable/ic_menu_ffk" android:name="ffc.droid.ParseApplication">
        <service android:name="parse.ParsePushService" />
        <receiver android:name="parse.ParsePushBroadcastReceiver" android:permission="com.google.android.c2dm.permission.SEND">
            <intent-filter>
                <action android:name="com.google.android.c2dm.intent.RECEIVE" />
                <action android:name="com.google.android.c2dm.intent.REGISTRATION" />
                <category android:name="ffc.droid" />
            </intent-filter>
        </receiver>
    </application>
</manifest>

What's wrong?

Complete Action Using message for Scanner

$
0
0

Hello I have buid a application on a TC 55 Motorola
The application uses the Scanner
After any update, when I Scan for the first time I get a Dialog

"Complete Action Using" Always | Just One

And I have to select between
- The Label of the main activity defined in the Manifest

    <application android:icon="@drawable/vict" android:label="victscanbak">
        <activity android:name=".MainActivity" android:label="victscanbak" android:launchMode="singleTask">
            <intent-filter>
                <action android:name="vict.RECVR" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
    </application>

Or the Label defined in the Activity

 [Activity(Name = "victscanbak.MainActivity",
           Label = "victscanbak Main",
           LaunchMode = Android.Content.PM.LaunchMode.SingleTask,
           MainLauncher = true,
           Icon = "@drawable/vict",
           WindowSoftInputMode = SoftInput.AdjustPan)]

But the first option will crash the application
Why I get this and what is the difference ?

Thanks for any help

Problem with HttpClient after updating Xamarin.iOS

$
0
0

Hi,

I'm currently investigating some strange behavior I see when using the System.Net.Http.HttpClient.

We have a REST API with NTLM Authentication enabled running on our server and our apps (iOS, Android, WP) get and POST data to this API. This solutions has been working fine for many months but last week we updated Xamarin Studio and Xamarion.iOS to the latest version and since then the POST (only the POSTs, GETs are working perfectly) stopped to work and the server returns 401 UNAUTHORIZED. This error is only happening on iOS, the Android and Windows Phone versions are still work perfectly with the same code... All of them use the same Service to communicate with the API.

It's super weird and it's driving us crazy. We tried to force old versions of the Microsoft.Net.Http, to use a package called ModernHttpClient... and nothing worked. We don't remember the old version of Xamarion.iOS but it was quite old... around 8.6, and now we are using the latest.

In the following lines you'll find the functions we use to perform the communications. First the GET function, that works perfectly and then the POST function that only doesn't work on iOS and was working perfectly on the previous version.

public async Task Get<T>(NetworkCredential credential, string url, Action<T> onSuccess, Action<PostErrorMessage> onError)
    {
        var httpClientHandler = new HttpClientHandler { Credentials = credential.GetCredential(new Uri(url), "NTLM") };

        using (var client = new HttpClient(httpClientHandler))
        {
            client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
            client.DefaultRequestHeaders.Add("X-FORMS_BASED_AUTH_ACCEPTED", "f");

            try
            {
                var httpResponseMessage = await client.GetAsync(url);

                if (httpResponseMessage.StatusCode != HttpStatusCode.OK)
                {
                    onError(new PostErrorMessage(this, httpResponseMessage.ReasonPhrase, httpResponseMessage.StatusCode));
                }
                else
                {
                    var responseString = await httpResponseMessage.Content.ReadAsStringAsync();
                    var serializer = new JsonSerializer();
                    try
                    {
                        var json = serializer.Deserialize<T>(new JsonTextReader(new StringReader(responseString)));
                        onSuccess(json);
                    }
                    catch (Exception ex)
                    {
                        onError(new PostErrorMessage(this, ex.ToString(), httpResponseMessage.StatusCode));
                    }
                }
            }
            catch (Exception ex)
            {
                onError(new PostErrorMessage(this, ex != null ? ex.ToString() : string.Empty, HttpStatusCode.NotFound));
            }
        }
        System.Diagnostics.Debug.WriteLine(string.Format("DEBUG--------------------  seconds from {0}:[END Get]", DateTime.Now));
    }

public async Task Post<T>(NetworkCredential credential, string url, object data, Action<T> onSuccess, Action<PostErrorMessage> onError)
    {
        var httpClientHandler = new HttpClientHandler { Credentials = credential.GetCredential(new Uri(url), "NTLM") };

        using (var client = new HttpClient(httpClientHandler))
        {
            client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
            client.DefaultRequestHeaders.Add("X-FORMS_BASED_AUTH_ACCEPTED", "f");

            var httpResponseMessage = await client.PostAsync(
                    new Uri(url),
                    new StringContent(
                        JsonConvert.SerializeObject(data, new JsonSerializerSettings()),
                        System.Text.Encoding.UTF8,
                        "application/json"));

            if (httpResponseMessage.StatusCode != HttpStatusCode.Created &&
                httpResponseMessage.StatusCode != HttpStatusCode.OK)
            {
                onError(new PostErrorMessage(this, httpResponseMessage.ReasonPhrase, httpResponseMessage.StatusCode));
            }
            else
            {
                var responseString = await httpResponseMessage.Content.ReadAsStringAsync();
                var serializer = new JsonSerializer();
                var json = serializer.Deserialize<T>(new JsonTextReader(new StringReader(responseString)));
                onSuccess(json);
            }
        }
    }

Any help or any clue will be more than welcome :)

Many thanks in advance!

Jordi

What is my android package name?

$
0
0

I am developing a Forms app and would like to implement maps into my application.

I have already tested my functionality with Windows Phone and iOS, but I am not sure what my package name is for android.

Going into ProjectName.Driod->Properties->AndroidManifest.xml, all I see is this with no package name.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
    <uses-sdk android:minSdkVersion="19" />
    <application></application>
</manifest>

If i do not assign an sha1 fingerprint and package name to the google console credentials, the android application will work, but I cannot seem to get the package name right and only get a grey screen when I provide a package name.

Where can I find my package name?


No Activity Indicator on Nexus 5 (Lollipop) (API 21)

$
0
0

I'm using the "IsBusy" code in my OnAppearing method and in the upper right corner of the Android version (API 19), I can see the Activity Indicator working properly but when I change my Xamarin Android Player to (API 21), nothing happens and the AI doesn't show up. Any ideas on this would be appreciated.

Xamarin.Forms java.lang.reflect.InvocationTargetException woes

$
0
0

Hi

So the situation for my application is that when loading my app for the first time, It does a check to see if data has been cached, and if so, can it be used to authenticate correctly with a server. If so, then proceed to the main app content. If Not, then present the Login screen.

The main problem here is that if the app does not have any cached data. When the user logs in and is presented with the main content, If they then click a button to proceed, the app crashes out with a java.lang.reflect.InvocationTargetException. I've been staring at this bug for hours and it's getting ridiculous. Can you help? Am I missing something stupid, because I can't help but wonder if the answer is staring me right in the face.

Here is a more complete error:

Java.Lang.RuntimeException: java.lang.reflect.InvocationTargetException
  at --- End of managed exception stack trace ---
  at java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
  at at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
  at Caused by: java.lang.reflect.InvocationTargetException
  at at java.lang.reflect.Method.invoke(Native Method)
  at at java.lang.reflect.Method.invoke(Method.java:372)
  at at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
  at ... 1 more
  at Caused by: md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable: System.NullReferenceException: Object reference not set to an instance of an object
  at at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <IL 0x00011, 0x00078>
  at at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>m__0 (object) <IL 0x00006, 0x0006b>
  at Android.App.SyncContext/<Post>c__AnonStorey0.<>m__0 () [0x00000] in /Users/builder/data/lanes/1780/3518c4ce/source/monodroid/src/Mono.Android/src/Android.App/SyncContext.cs:18
  at Java.Lang.Thread/RunnableImplementor.Run () [0x0000b] in /Users/builder/data/lanes/1780/3518c4ce/source/monodroid/src/Mono.Android/src/Java.Lang/Thread.cs:36
  at Java.Lang.IRunnableInvoker.n_Run (intptr,intptr) [0x00009] in /Users/builder/data/lanes/1780/3518c4ce/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Java.Lang.IRunnable.cs:71
  at at (wrapper dynamic-method) object.ce0ecbd7-bb8d-4311-af4e-8ba205c5f40f (intptr,intptr) <IL 0x00011, 0x0004b>
  at at mono.java.lang.RunnableImplementor.n_run(Native Method)
  at at mono.java.lang.RunnableImplementor.run(RunnableImplementor.java:29)
  at at android.os.Handler.handleCallback(Handler.java:739)
  at at android.os.Handler.dispatchMessage(Handler.java:95)
  at at android.os.Looper.loop(Looper.java:135)
  at at android.app.ActivityThread.main(ActivityThread.java:5254)
  at ... 4 more

There is no Editor Available for XAML

$
0
0

Hello, I am developing a cross-platform application using Xamarin with Visual Studio 2015.

The first question is, it is recommended to develop a professional application using Xamarin with Visual Studio 2015? It is totally stable?

Second question, when I create a XAML in a Portable Class and click on View Designer ...show message
There is no Editor Available for XAML.

SS:
http://i.imgur.com/aryL5kN.png

I try
- use command in Vs2015 Tools : “devenv /resetskippkgs" (nothing)
- Restart Visual Studio (Nothing)

Can anyone help me?

Is the 32feet.NET Library Compatible with Xamarin.iOS?

$
0
0

I have an existing API that references the 32feet.NET library (http://32feet.codeplex.com/releases/view/88941). I wanted to use the API in a cross-platform application targeting Android and iOS. In the documentation section I see that it is compatible with Xamarin Mono for Android, however, I was unable to find any information about compatibility with Xamarin.iOS.

Sample programs about 'listviews' not functioning?

$
0
0

Hello everyone!
I've tried multiple of the sample programs downloadable on the right of this page: http://developer.xamarin.com/guides/android/user_interface/working_with_listviews_and_adapters/

I might be doing something wrong here, but I can't seem to get the programs working on my xamarin android player (nexus 4, Jelly bean)
I've already changed the Target framework and Target android version, and the program builds fine without errors (after changing the build action of the manifest to 'none', apparently that was a problem with a newer version of Xamarin). Just, as soon as it starts up on the android player, it immediatly quits with the error "... unfortunately has stopped running ..."

Anyone know what problem this is? I'm probably doing something silly here and forgetting some setting that needs to be changed in the newer android versions?

How to delete post?

ImageSource.FromResource

$
0
0

Hi all, I have been attempting to work with images and as such have created a PCL class library to keep all my resource images in. It is called Mobile.GTO.Resources. I have referenced the assembly in my Mobile.GTO.iOS, Mobile.GTO.Android and Mobile.GTO.WinPhone apps and all complied nicely.

The assembly has the following content. Folder called "Images", with sub folder called "Landing", this contains four .png files all which are set as EmbeddedResource.

It does not display the image though (no exception)

        var jobsImage = new Image()
        {
            Aspect = Xamarin.Forms.Aspect.AspectFit,
            Source = ImageSource.FromResource("Mobile.GTO.Resources.Images.Landing.jobs.png")
        };
        jobsImage.GestureRecognizers.Add(new TapGestureRecognizer((view, args) =>
            {
                this.DisplayAlert("Tap", "Jobs", "OK", null);
            }));

Anyone seen this before or can offer any explanation?


Register my application to open a custom file type on click?

$
0
0

Hi all,

This is for a unified project.

I'm having trouble making my application open a file when the file is double clicked in OSX. The file type is a zip type file with a custom extension.

I created a document type and also an Imported UTI record. I have attached the settings below

In my app delegate I am overriding bool OpenFile(NSApplication sender, string filename)

Does anyone have any examples on how to set this up? The .kno2 filetype icon does appear correctly after installing the application, but I get a corrupted file message when I double click the file. The file does open correctly if I open it through the application.

I have looked everywhere and have not seen any tutorials actually showing how to do this, just snippets of vague instructions on setting up the plist.

Any help would be greatly appreciated, thank you

Beta Release: XamarinVS 3.11.836, Cycle 5 – Service Release 3

$
0
0

Windows

  • Xamarin.VisualStudio_3.11.836.msi (ed5c750)

Mac Build Host

  • monotouch-8.10.4.38.pkg (96af377)

Reason for release: Additional bug fixes for the "Cycle 5" Stable Release on April 29 and the previous Cycle 5 Service Releases. (See the release blog for a short description of "Cycles" and "Service Releases.")

Release notes: http://developer.xamarin.com/releases/vs/xamarin.vs_3/xamarin.vs_3.11/

Date published: See https://releases.xamarin.com/.

NOTE: Beta versions have not yet completed the full suite of tests by the Xamarin QA team. That said, customer reports of any regressions (or bugs that are incorrectly marked fixed) are still much appreciated, even if the problem would have eventually been caught during the full QA testing process.

Previous versions, downgrading

You can downgrade back to the current Stable version by switching updater channels.

Older versions (from before April 29)

If needed, you can downgrade back to older versions (from before April 29) by manually reinstalling each old package. See the "Previous versions, downgrading" section on the April 29 Stable release thread for the older downgrade links.

Guidelines for this thread

  1. This first post will be updated regularly.

  2. Hopefully this thread will help answer "what might break if I update to this release?"

  3. If you find a new problem that is specific to this version, please file a bug report.

  4. Please discuss older bugs that are unchanged in this release compared to the previous Stable version in Bugzilla instead.

  5. Of course for questions and discussions about topics other than bugs, feel free start new forum threads.

Fixes for known issues from recent releases

  • Bug 31527 - [Android] "The following assembly referenced from ... could not be loaded: Assembly: System.Runtime ... Version: 4.0.0.0" when using the "Shared Runtime" with the linker enabled. Workaround: set "Project Options -> Android Build -> Linker [tab] -> Linker behavior" to "Don't link" in Xamarin Studio or "Project Properties -> Android Options -> Linker [tab] -> Linking") to "None" in Visual Studio. Enabling linking when the "Shared Runtime" is enabled is an intentionally untested scenario (partly because the on-device "shared runtime" assemblies will necessarily never be linked).

  • Bug 31597 - [Android] For some projects the generated .mdb files are incorrect, causing breakpoints to be skipped or incorrect line numbers to appear in the call stacks. Possible workaround: add Condition="'$(AndroidLinkMode)' != 'None' AND '$(AndroidUseSharedRuntime)' != 'true'" to the StripEmbeddedLibraries task in C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets on Windows or /Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/xbuild/Xamarin/Android/Xamarin.Android.Common.targets on Mac.

Remaining known issues from the April 29 Stable Channel release, with more common or severe issues near the top

  • Bug 30513 - [Android] The logged stack traces from exceptions thrown within async methods do not include the actual location where the exception was thrown. Partial workaround: switch back to the old Xamarin.Android 4.x exception propagation style by setting the XA_BROKEN_EXCEPTION_TRANSITIONS environment variable to true (see also Bug 30513, Comment 11).

  • Bug 29326 - [Android] String resources defined in NuGet packages overwrite string resources defined in app project, causing the displayed app name to be incorrect for example. Workaround: avoid using the same string key that is used in the NuGet packages.

  • Non-public Bug 30481, Bug 29557 - [Mono] [Android] [iOS] SqlConnection.GetSchema() fails with "SourceTable is required to be a non-empty string". (A fix for this issue is planned for the upcoming "Service Release 4.")

  • Bug 30548 - [Android] Under certain conditions new threads take several seconds to start. This problem seems to be triggered by Xamarin.Insights 1.10. Partial workarounds: upgrade Xamarin.Insights to version 1.10.3, downgrade to version 1.9, or remove it entirely.

  • Bug 29745 - [iOS] Error due to duplicate symbols during native compilation for device: "duplicate symbol _monoeg_g_array_new" (and many similar messages). Workarounds: disable profiling under "Project Properties -> iOS Build", or if your app uses the -all_load linker flag (via either gcc_flags or LinkerFlags) try removing it.

  • Bug 29731 - [Android] Android.Bluetooth.BluetoothAdapter.Enable is incorrectly marked as [Obsolete("deprecated")] for API level 20 and higher.

  • Bug 31379, Bug 31560 - [iOS] Enabling the linker when the app references PCL projects that include "duplicate" System.Threading.Tasks references (for example when using the "Microsoft.Net.Http" NuGet in a .NET 4.0 PCL) causes "Could not load file or assembly 'System.Threading.Tasks'" on the simulator. This bug has in fact existed since the original April 29 release of Cycle 5, but until Service Release 2 it had been obscured by the closely related Bug 29211. The bug only affects simulator builds and has fairly easy workarounds, so it is minor in severity. Workarounds: disable the linker in the iPhoneSimulator configurations or add -linkskip=System.Threading.Tasks under "project options -> iOS Build -> Additional mtouch arguments".

Remaining known issues from Cycle 5 – Service Release 2

  • Bug 31423 - [XamarinVS] [Android] [iOS] Locked .dll files: "Could not copy "... PortableClassLibrary1.dll" to "bin\Debug\PortableClassLibrary1.dll". Exceeded retry count of 10. Failed." This is a different problem than Bug 26841 because it affects .dll files rather than .dll.mdb files. It appears to be less common than Bug 26841. The results to date suggest that it is a bug in Visual Studio itself rather than in the Xamarin extensions. For example, it appears to be possible to hit the problem using a Windows Phone project, with no Xamarin involvement at all. The recent changes to the Xamarin "Clean project" process to properly remove stale files might have caused this to become easier to hit with Xamarin projects. In any case, it is still under investigation.

Remaining known issues from before the April 29 Stable Channel release

(For issues that might behave differently for some customers after updating to this new release, or that might be difficult to find via Bugzilla.)

  • Bug 28027 - [XamarinVS] [iOS] The debugger sometimes fails to connect properly after the app launches. This means breakpoints will not be hit during that launch of the app and the "Output -> Debug" window will be blank. Repeating the steps of (a) stopping the debugger and (b) relaunching the app will eventually lead to a successful connection. This problem has existed since at least XamarinVS 3.9.483, but some recent reports suggest that it has become more common for certain users recently. The problem might be caused by a race condition. Based on that guess, the recent releases might have changed some timings and increased the probability of hitting the issue on a wider range of system configurations. The bug is under active investigation.

  • Bug 29897 - [XamarinVS] [iOS] Breakpoints sometimes don't work when debugging on iOS device. Based on the observed behavior of this problem, it appears to have the same underlying cause as Bug 28027.

New known issues

Visual Studio 2015 intellisense regression when editing XAML files

$
0
0

In Visual Studio 2013, editing XAML files has suggestions from intellisense, as shown in the image below. While not perfect, they usually worked.

But I don't seem to have the same functionality in VS 2015 (despite Xamarin being installed here and the project building perfectly fine). Not only is there no Xamarin-specific intellisense (just generic XML intellisense), but VS issues messages (which it flags as errors) like:

The type 'ContentPage' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.

Which also didn't happen in VS 2013.

Is VS 2015 officially supported? The installer seemed to imply it was and this is the only regression I've seen so far. This is on the RC version (14.0.22823.1) and with Xamarin for Visual Studio 3.11.666. This seems to be the most recent version.

How to UI Test context actions on iOS?

$
0
0

I have a Xamarin.Forms ListView with context actions. I'm trying to test them but with no luck. I tried on the simulator AND on the device. I've tried app.DragCoordinates(270, 100, 20, 100) and app.SwipeLieft(). Is there anyway that we can test this?

I just upgraded to UITest 1.0.0.

Using Android Studio for AXML editing

$
0
0

Since Xamarin/VS designer is inferirior to Android Studio when it comes to designing AXML it might be a good thing, perhaps, to being able to use it for AXML editing in Xamarin project.
Anybody tried that? I can imagine right clicking on AXML and having an option "Edit in Android Studio" just like MS does for XAML. I fear though that Android Studio won't be very happy just like that - however there should be various ways to achieve it.
So, what do you think?

Viewing all 204402 articles
Browse latest View live




Latest Images