Hong (601)

Hong

App Stores

Best: Google Play. It often exceeds the expectations of developers. Google still constantly improves it. Quick publication. Easy to submit updates. Archive of all old packages. Worst: Amazon AppStore It may reject submissions due to their incompetent testers' errors. The support is almost equivalent to…

Continue reading...
Hong

App Monetization

For most serious apps, monetization is essential for sustainable development. Light ads generate negligible minuscule revenue. Aggressive ads is very detrimental to user experience. In-app purchase (IAP) usually is the primary monetization means. Make the IAP process extremely easy. Many users buy to gain benefits…

Continue reading...
Hong

App localization

Android string management is the simplest and most elegant: A simple well-structured XML file that can be edited with all kinds of tools. One can use open source Cross-platform-String-Resource-Utility to use a Android version's string files for other platforms. There is a good English-Chinese computer vocabulary translation table. 

Continue reading...
Hong

The worst blacklisting service: Spamhaus

Spamhaus sometimes blacklists a range of IP addresses making innocent IP addresses victims of spammers and the incompetence of Spamhaus. For example, if they find that 123.123.123.1, 123.123.123.2, 123.123.123.3, 123.123.123.4 send spams, they will blacklist all 123.123.123.* IP addresses (i.e. 123.123.123.0/24). In other words, the collateral damage far bigger than the…

Continue reading...
Hong

Android emulator glitch for UDP receiving

Newer Android emulators (Android 7.0 API 24 or above) have had a glitch disabling UDP packet receiving since 2016. The current solution as of 2019-11-26: Open command prompt: cd C:\Program Files (x86)\Android\android-sdk\emulator emulator.exe -avd my_emulator_name -feature -Wifi The emulator name can be found in directory: C:\Users\myid\.android\avd

Continue reading...
Hong

Microsoft Virtual Assistant

Steps to create a Microsoft Virtual Assistant: Follow the instructions in its exact order. Ues "uswest", "useast" or a few other names allowed by Microsoft for the name field when provisioning your Azure resources. If you do not like the initial greeting, take out _onboardingDialog in MainDialog.cs.

Continue reading...
Hong

Jailed and Jailor both seek protection from the USA

Chen Guangcheng, a blind self-taught lawyer who was jailed for 4 years for his fight for human rights, sought protection at the US Embassy in Beijing. Wang Lijun, a former police chief of the city of Chongqing who was responsible for jailing people like Chen Guangcheng, sought protection…

Continue reading...
Hong

Use Google Cloud Translation with C#

Follow the guide to set up an account. Download the private key as JSON and save it under folder Assets (e.g. API Project-xxxxxxx.json). IMPORTANT: set its Build Action as Embedded resource. Install NuGet package Google.Cloud.Translation.V2. Create TranslationClient TranslationClient _tc; GoogleCredential gc = GoogleCredential.FromStream(Utility.GetStreamFromResourceFile("API Project-xxxxxxx.json", GetType())); _tc = TranslationClient.Create(gc);…

Continue reading...
Hong

RTSP over UDP

RTSP is usually used in an ambiguous or inaccurate sense. RTSP per se has a precise definition with a strict protocol. However, RTSP is often used to mean the streaming using three separate but related protocols: RTSP, RTP, and RTCP. A common RTSP stream uses…

Continue reading...
Hong

Microsoft Store - a drag on Windows apps

Microsoft had the lead in mobile OS for many years with its Windows CE, Pocket PC, Windows Mobile before Apple or Google started to have their iOS and Android. It is the apps of iOS and Android propelled iOS and Android to the lead, and…

Continue reading...
Hong

Language choice for developing Windows Store apps

There are three choices: Rachel Appel discussed the pros and cons of them. They seem to be almost equally capable, one should choose what he feels most comfortable with. C# and XAML have the best of both worlds - object-oriented structure and high-level language friendliness.

Continue reading...
Hong

Pemigewasset Loop Hike

 Pemigewasset Loop Hike 2008-08-17 This is a report of Pemegewasset Loop Hike in New Hampshire, USA. Date: 2008-08-17 Total distance: 32.1 miles (51.6 km) Total Time: 16 hours 31 minutes Start elevation: 1200 ft (366 m) End elevation: 1200 ft (366 m) Total Ascent: 10794 ft (3290…

Continue reading...
Hong

Cricket Wireless

Cricket Wireless has excellent plans and customer services. They provide good phones at significant discounts or for free if you switch to them from another carrier without requiring signing up for a multi-year plan. They have been acquired by AT&T, so their coverage is excellent.

Continue reading...