Blog

Fish Wrangler AutoBot Isn’t Broken

I receive multiple e-mails in the past few days telling me that the Fish Wrangler AutoBot is broken. No they aren’t. They are running fine. The only thing that are broken is the warning sound when treasure is encounter. The rest are running fine. Check out the screen shot that I just capture below.

fish_wrangler_autobot_1.08.PNG

Continue reading Fish Wrangler AutoBot Isn’t Broken

iOS WkWebview Return A Blank Screen / White Screen

Try to code your first example of WkWebview / UIWebView in your iOS app always return a blank screen or white screen? You are not alone. Apparently since iOS 9, all HTTP / non-secure web connection is block by default. It is something call App Transport Security (ATS).

You can add the following configuration into Info.plist to allow WkWebview / UIWebView to load HTTP / non-secure web page:

<key>NSAppTransportSecurity</key>
<dict>
    <key> NSAllowsArbitraryLoadsInWebContent</key>
    <true/>
</dict>

Or you can completely disable App Transport Security by

<key>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
</dict>

Source: https://developer.xamarin.com/guides/ios/application_fundamentals/ats/

Remove Parallels Shared Applications from Windows Start Menu

Parallel installation tool is a nightmare, it add a bunch of Mac Application short-cut which I don’t see any useful into the Windows VM machine. If you ever run uninstall Parallel, they won’t go away.

You will need to go to the following location to remove them manually:

  • C:\Users\${USERNAME}\AppData\Roaming\Parallels\Shared Applications
  • C:\Users\${USERNAME}\AppData\Roaming\Microsoft\Windows\Start Menu

If your Windows have multiple user account, you might need to go to all user folder to remove them one by one.

Parallel, I’m done with you.

Source: https://forum.parallels.com/threads/remove-the-list-of-mac-applications-in-windows.246345/

Payload Contains Two or More Files with The Same Destination Path Error in UWP

Encounter the following error after I update all my nuget package in my UWP project including Azure Mobile Crashes package.

error APPX1101: Payload contains two or more files with the same destination path ‘WatsonRegistrationUtility.dll’.

At first I though the new package is broken, so I downgrade the package yet the problem persisted even after I do a clean up and rebuild. Some search on Stackoverflow doesn’t help. For example update my UWP library version or clean up bin or obj folder.

Continue reading Payload Contains Two or More Files with The Same Destination Path Error in UWP

System.ComponentModel.TypeDescriptionProvider Error

What Happen

Encounter this error what trying to compile a Windows Phone 8.1 project: “Xaml Internal Error error WMC9999: Cannot find type System.ComponentModel.TypeDescriptionProvider in module System.dll”

What Caused

Playing around with my project by try to install Entity Framework from nuget, then remove them later. The compilation start to fail starting from there.

What Solution

Go to References, look for System.ComponentModel or System.ComponentModel.* references. In my case, it is the System.ComponentModel.DataAnnotations. Remove them and try recompile your project again. It should work now.

Xamarin Test Recorder Installation: VSIXInstaller.NoApplicableSKUsException

I came across Xamarin Test Recorder a few days ago, and feel that it really can solve the pain I have with Appium which need a lot of work to write a single test. Give it a try to install but it fail with the following message below and no body in the marketplace review seem to know why and leave a one star review. Because no body care to read the description!

Continue reading Xamarin Test Recorder Installation: VSIXInstaller.NoApplicableSKUsException

Fish Wrangler AutoBot 1.08 – Back?

I got multiple requests from users to update the script since it was broken like 2 months ago, but I never got any time to do it. Userscript website where I used to upload is also no longer exist. This blog’s update is stopped for 4 years. Many things happen in the past few years.

OK, I got some time and I did a simple fix on the script (Nothing is improved, but at least it is not broken). The script should work like it used to by now. I have uploaded the script to GitHub instead. Reason? Just in case I don’t have any time and anyone want to fix it can do the fix and share with everyone easily.

fishwranglerautobot108

Continue reading Fish Wrangler AutoBot 1.08 – Back?

SQLite Problem in Universal Windows Platform

Since they are no SQLite library that direct support Universal Windows Platform (Windows 10 app) currently yet, we are force to use the SQLite for Windows 8.1 instead. For those who use SQLite in Windows 8 / 8.1 app and wanted to upgrade their project to Universal Windows Platform, you may encounter th following message if you try to follow the tutorial of adding SQLite to Windows 8.1 project.

An exception of type ‘System.DllNotFoundException’ occurred but was not handled in user code

Additional information: Unable to load DLL ‘sqlite3’: The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Continue reading SQLite Problem in Universal Windows Platform

Comparing Ad Providers in Windows Phone (My Experience)

More and more ad providers are starting to provider ad service for Windows Phone platform. As a Windows Phone developer, I find it very difficult to find any blog post or review comparing the ad providers in Windows Phone. (You can find a lot for Android and iOS.) I’m writing this blog post according to my own experience as a Windows Phone developer dealing with the ad providers. Hopefully this can help you select which ad providers to include in your apps without going through too much trouble.

 

Before you continue read this post, you need to understand the following things:

  • The fill-rate, CTR (click through rate), eCPM (pay per thousand impression) and eCPC (pay per click) are vary according to app, category, country and platform.
  • I only used the SDK for Windows Phone 7 version the ad providers given instead of Windows Phone 8 version since I wanted to support as many device as possible.
  • The list below are sorted according to my own preference according to their performance previously.
  • Those are my own experiences, it maybe vary from others.
  • Please don’t compare the eCPM or eCPC with other platform like Android or iOS… just don’t.

Continue reading Comparing Ad Providers in Windows Phone (My Experience)