Skip to main content

Posts

Repairing Foscam camera

Since one incident, I've bought cameras to observe the area around my house. One of them (the first one I bought) is produced by Foscam, model FI9900P V1. Unfortunately, my camera broke on the last day of warranty. I packed it quickly and sent it to get the warranty repair. The repair lasted over a month, but the camera didn't work anyway, was as broken as before sending it.  I decided to face the repair myself. With no experience in repairing similar things, it is really hard to find the point where to start. In my case, I've been plugging the camera and watching the wireshark network traffic to see if the camera is trying to retrieve an address from dhcp (there was not a single packet), if it will configure itself on APIPA addresses in the absence of dhcp, or if I can finally connect to it on the default ip. Nothing. The next step was to update the firmware. I contacted foscam company, described my problem and asked for help. I got a file with the firmware and ins...

Xamarin Forms Binary Size

Apps on iOS are nice, Xcode is fine development environment and working in it is fun. I have and app on iOS which I would like to port also to Android. I thought about rewriting it in Xamarin.Forms. It turned out Xamarin apps (now as a part of Visual Studio) are also nice to write. I choose Xamarin.Forms to minimize code needed per platform. App is available on github: https://github.com/jaropawlak/MyExpenses.Xamarin and has almost all functionality my original app had. There is, however, one issue. BIG issue. It's the binary size. While my original iOS app takes less than 2MB on device, Xamarin version is around 100MB. That is not acceptable for so simple app. I don't mind apps being big for a reason. I would also accept that if it wouldn't make the app slow. But it makes it slow. Have a look: Cool ha? Native is so fast! So, what are the sizes exactly? Native app is 1.1 MB   Xamarin.Forms app is 101.2 MB The question is: can I shr...