Posts

Android Studio - How to change app icon (ic_launcher)

Changing your applications icon (ic_launcher) is a common occurrence when developing your android application. Here's quick steps on how to do this quickly in Android Studio.


In the Android view right click on the "app" folder.Select New -> Image AssetIn the window shown, choose Asset Type as image and select the icon you want.Press next and then Finish.
It's as easy as that! Hopefully saves you a little time rather than manually updating all the ic_launcher files manually for the various resolutions.

Android: Programmatically get list of installed apps on an Android device

Getting details of all the installed apps on an Android device is incredibly simple – here’s a utility method which I hope will prove useful.
private List<ApplicationInfo> getListOfApps() {
        // http://developer.android.com/reference/android/content/pm/PackageManager.html
        // Class for retrieving various kinds of information related to the application
        // packages that are currently installed on the device.
        PackageManager packageManager = getPackageManager();

        // Get a list of the installed applications
        List<ApplicationInfo> listOfApps = packageManager.getInstalledApplications(PackageManager.GET_META_DATA);

        return listOfApps;   
    }

iTunes Connect - taking the pain out of app store submission with launchkit screenshot builder

Image
You've put a lot of hard work into building your app for iPhone or iPad and then you get the frustration of having to create your store listing. Creating a good store listing can make a huge difference to how your app performs so it's vital you add as much information as you can and screenshots are probably the number one thing users will want to see. Then it hits you, you need to create screenshots for 4.7, 5.5, 4 and 3.5 inch screens! ARGH!

However, it's not as bad as you think thanks to launchkit screenshot builder. This great on-line tool allows you to upload a set of screenshots (in one size), and choose text to accompany them and will then generate and email you the images you need to upload directly to iTunes Connect.

It's as easy as that - a huge time saver!

App Support

For any support queries please contact rdmacken@gmail.com with as much detail as possible to help resolve the issue.

IOS Development: Keyboard shortcut to switch project windows in XCode

Being new to IOS development you may get frustrated with this one as well - how do I quickly change project windows in XCode?

The shortcut is the Command and tilde key:

CMD + ~ 
This is saving me a ton of time - I was previously having to go to Window -> [selected project].

Any other handy keyboard shortcuts for beginners?

App Development: Overcoming Writers Block

Image
Writers block - the curse of no longer being able to produce creative content. It's affected writers for years, but is also a very common problem for app developers. When it comes to app development, what can we do about it?

The causes for app writers block are mostly similar to traditional writers block, for example:

Running out of inspirationIllness (physical or mental)Financial pressuresSense of failure (see the depressing side of app development) Since these are already known problems traditional strategies for overcoming them can also be applied.
Cut off the Internet! Is procrastination your problem - too many notifications or fun things to look at elsewhere? It's amazing how productive you can be if you turn off the internet for 30 minutes - a kick start is all you need. Exercise. You may not be doing any app development because you feel lethargic - exercise can help this and make you feel more alert. Brainstorm ideas. Get a bit of paper, and write down mind maps or random…

How to: Install Gradle on Windows

Image
Step 1: Download the latest version of Gradle from the official site.

Step 2: Extract the contents into a folder e.g. "C:\gradle-2.3".

Step 3: Open up the environment variables window. To do this:


Right click on your computer and click "Manage"Click "Advanced System Settings"Click "Environment Variables" Step 4: Add new System Variable (or user variable if you only want it on your user account).


Step 5: Click New and enter Environment Variable as "GRADLE_HOME" and value as the bin directory of your Gradle installation path from step 2 e.g. "C:\gradle-2.3\bin". Press OK. 
Step 6: Find the "Path" variable and press Edit. Scroll to the end of the text and add the text "%GRADLE_HOME%". Remember to separate from previous entry with a semi-colon ";". 
Step 6: Press OK to exit the environment variable window and advanced system settings. 
Step 7: Open up a command prompt window. (press windows button and…