Welcome to my virtual space

where I share my journey with you

Old blog

 

Most of the posts here were written originally many years ago but they were transferred to this new home in 2024. The dates are transfer dates.

Hong

Windows Activation error 0xC004F211

Windows Activation error 0xC004F211 can happen after upgrading the hardware of a computer (e.g., CPU, motherboard): One should click the button Troubleshoot to resolve this. The following will show up: Don't worry. Click "I changed hardware on this device recently" at the bottom. You will…

Continue reading...
Hong

Computer Configuration and Performance

The performance reported by Windows Experience Index: CPUScore : 7.7 D3DScore : 5.2 DiskScore : 7 GraphicsScore : 5.5 MemoryScore : 7.7 TimeTaken : MostRecentAssessment WinSATAssessmentState : 1 WinSPRLevel : 5.2 A computer configuration reported by Belarc: Additional information to the report generated by Blarc:…

Continue reading...
Hong

Use UVCCamera Library for Android

Clone UVCCamera library. Make modifications if necessary. Run Gradle assembleRelease tasks to build libuvccamera-release.aar and usbCameraCommon-release.aar Clone libcommon. Make modifications if necessary. Run Grade assembleRelease task to build common-release.aar In Android app project, create directory libs under directory app. Add libuvccamera-release.aar, usbCameraCommon-release.aar and common-release.aar to…

Continue reading...
Hong

Tidbits of Entity Framework 

EF has been evolving. Mixing data models created with different versions of EF may lead to strange compiling errors. Database first approach is usually far suprior to code first approach in terms of performance. When using the wizard to create a model, if connection string is…

Continue reading...
Hong

Android app development tidbits  

If you love DataBinding, don't bother ViewBinding PopupWindow is rarely useful because what it can do usually can be done by making a layout visible/invisible, with customized Dialog (i.e. extending Dialog). Inflating a layout can be a problem for PopupWindow from a fragment. Spinner often has…

Continue reading...
Hong

View Android System Apps

Android system apps are those such as Settings. Android SDK comes with a tool called aapt (Android Asset Packaging Tool). Each Android SDK comes with aapt located in its directory such as: C:\Program Files (x86)\Android\android-sdk\build-tools\23.0.1 To view a package, one needs to pull the package…

Continue reading...
Hong

AGPtek TP714AQ Android tablet 

Reliable, reasonably thin and light. Fast whening running an application, but slow when switching between apps. It is a fine device for occasional use such as testing apps, using just one or two apps (e.g. browsing Google+ or Facebook), but not good as the primary…

Continue reading...
Hong

SD cards and USB card reader 

Some old USB card readers limits the speeds of SD card reading and writing. USB 3.0 card reader should be the minimum requirement. SanDisk Extreme Plus SD cards have excellent performance, great for 4K video. CrystalDiskMark is used for the following tests. SanDisk Extreme Plus (V30)…

Continue reading...
Hong

Nissan Leaf Tidbits

Nissan LEAF S 2019 Nissan Leaf purchased before 2019-07-07 enjoys free charging from EVgo which customer service is excellent thought their fast-charging stations are relatively sparse right now (2019). One can drive a Leaf from Boston to Montreal (500 km) with 0 charging cost by…

Continue reading...
Hong

Generating Java code from WSDL 

Generating Jave code from WSDL sounds like a task that is so common that there must be a good tool for it. Yes, there are a few tools. Good tools, probably not. kSOAP2 J2ME Stub Generator seems to be an abandoned project. Though it can be…

Continue reading...
Hong

Microsoft Outlook Add-ins

Traditional Outlook add-ins work for both POP/IMAP and Microsoft Exchange accounts. Most email accounts are POP/IMA accounts. New Outlook add-ins that can be downloaded from Microsoft app store do not work with POP/IMAP accounts. New Outlook versions will no longer support traditional add-ins that can…

Continue reading...
Hong

Outlook 2016 and outlook.com

Revamping Outlook.com emails (e.g. xxx@msn.com, xxx@hotmail.com like emails) requires reconnection. Follow the instructions to reconnect. You could delete the old outlook profile and create a new one. Deleting the profile does not delete outlook pst files corresponding to existing email accounts. You will be prompted…

Continue reading...