Android Mobile App Template For Website

On March 19, 2015, in Android, Make Money Online, by James Liu

If you have a website, it’s better to move it on the mobile as well. In a new mobile media report which is asserted by InMobi, consumers today spend nearly 60% of their time on the internet by mobile devices, comparing with their desktop or laptop. It is quite necessary to create a mobile version website or even a mobile app which serves the same functions as your website on mobile device.

There are lots of friends asking me for help to build a mobile website. The most difficult problem for them is they don’t have any mobile development experiences, though they are experts in building and running websites with WordPress templates. Since I already built an Android App for my website which is also powered by WordPress, I can share some experience with you.
Continue reading »


Android Naruto HD Wallpaper Source Code

On October 14, 2014, in Android, by James Liu

A lot of friends have asked me to help them build an Android Wallpaper. To people who have HD pictures and want to build their own Android Wallpaper apps, an Android app template will be very helpful. So I give you this Android Naruto HD wallpaper app. I figured I should sell the source code cheap so that more people will be able to access it and make easy money on it.

Compare to write the Android app source code line by line, using an Android App template is really basic and really cheap. As long as you have HD photos or Wallpapers, you can easily replace images in this app template. Within 5 minutes, you will get your own Android app ready to make money in your Google Play account or with your AdMob ads banner.

With this Wallpaper Android app template, you can customize the look and feel to make like 20 stand-alone Wallpaper apps if you want. Or you can put all HD wallpapers in one app.

If you want to test this app yourself, you can download and install it by following link, or scan the QR code to download and install on your android phone directly.

Continue reading »

Tagged with:  

Memo English Fruit Master – My First Android App On Google Play

On August 26, 2014, in Android, by James Liu
Memo English Fruit Master

In last month, I have created a new Android app, Memo English: Fruit Master. The purpose of this app is helping me to remember some fruits name in English. I collect 75 most common fruits in this app. Some of them are quite challenge actually. In this app, you can learn the fruit name in English, listen the voice over and do some spelling practice to remember the English word. Currently, I am using Google Translate to localize this app in Spanish, Russian, Korean, Chinese, and Vietnamese.
Continue reading »


iOS CollectionView Brief Tutorial

On April 26, 2016, in Swift, by James Liu

UICollectionView is widely used in iOS apps. The most common example is the iOS photo app, which has a stylish way to display all photos in grid view or stack view. The collection view provide a simple way to let us build complicated layout by customising its cell view. Different from table view, collection view will show its cell views in grid layout. Each cell view can have different width and height. Therefore, it gives us more room to make special layout by UICollectionView.

Recently, I am going to create a file manager which will look very similar with iBooks, but will show cover and title altogether with different size. In the future, we can simply use this component in many apps, such as mp3 album app, file download manager app, or comic books app.

Start a Simple App with Collection View

Similar with UITableView and UITableViewCell, the collection view is also made up of UICollectionView and UICollectionViewCell. Additional, we can also customize the layout by setting collectionViewLayout. To build up a grid style view with UICollectionView, we can implement following delegates:

  • UICollectionViewDelegate: the delegate set up the collection view.
  • UICollectionViewDataSource: the delegate provide the data source for collection view.
  • UICollectionViewDelegateFlowLayout (optional): UICollectionView provide us a flow layout. When we use the default layout, we can use this delegate to configure the layout such as size of items and the spacing between items. We can also set collectionViewLayout as our customized layout.

Continue reading »


Save and Load Downloaded File Locally

On March 29, 2016, in Swift, by James Liu

My Download Manager app is a real project which will manage download tasks. It allow users to start download a file, pause or resume the download task, and stop a download task. In tutorial 1, I already show you all the basic functions, such as starting a download, pause, resume and stop it. However, these basic functions are really not enough. For example, if I pause the download task and quit the app, the app will lose all downloaded data.

The only solution for that is saving the downloaded data into iOS device locally when we pause the download data. So we will not lose the data even we quit the app. If we want to resume the download task, we can load the data from where we store it locally and continue to download the rest of it.
Continue reading »


Download File in iOS Start Pause and Resume

On March 28, 2016, in Swift, by James Liu

Downloading files is a common task in most of the iOS app. If you are building an ebook reader, or a comic book reader app, downloading ebooks will be a necessary feature. Last time, I am using a news reader app which will download the pdf newspaper from their website. This feature is also built in music player apps to download mp3 file, video player apps to download video file, even in the wallpaper apps to download wallpapers.
Continue reading »


5 Steps to Clean Hacked WordPress Website

On March 6, 2016, in Other Online Technology, by James Liu

In January, one of my website was hacked. The symptom was when I access the website, it only show a white screen in the browser. I didn’t pay much attention on that, just restore the whole website from a early backup. However, it was just the beginning of the nightmare. After one month, all my websites were hacked on the same share hosting. Now it becomes a serious problem. And two of my websites are already marked as “Malware code injection”. Then my cleaning hacked WordPress website journey is beginning.
Continue reading »


XIB vs Storyboard, Which Shall I Choose in iOS Project

On March 3, 2016, in iPhone iPad Object-C, by James Liu

xib is the common way to build UI in Xcode. After Xcode 5.5, Apple introduced a new concept, storyboard. The purpose is to provide a better way to make UI simple and easy to manage. If you like, you can still use xib as your default UI editor.

When you are using xib, each UIViewController will bind with a xib. But in Storyboard, all your app screens are put together. You can use graphic interface to connect them with segues. Each way has its own pros and cons.
Continue reading »

WordPress Themes