Posts

Showing posts with the label android

Localize Android app

You have created this great android app. Then you discover that the world is actually flat and your app will be downloaded by dudes all over the planet, and they want your app in their own language. How can you localize your app? Be sure that all of the text in the app is using strings.xml, please note that the actual java files as well as the layout xml files should refer to the strings.xml file. Create a directory for each language you want your app to be localized to, so if you want your app to be localized to 11 languages you will need to create 11 additional directories; These directories should be located in the "res" directory and should be named values-XX where XX is a 2 letter country code, which you can find here:  http://www.loc.gov/standards/iso639-2/php/code_list.php Copy your strings.xml file into each one of those directories Translate each one of those strings.xml files to their relevant languages (I managed to have those files translated i...

How to read Android apk contents

Lets say you want to read the contents of an android apk file. Why? Maybe it's yours and you want to be sure of the version, maybe you want to see if the code in that apk contains the latest feature you inserted. Or maybe it isn't your code but you want to check something with someone else's code (without breaking any license etc). In a nutshell - What are the steps one should take in order to explore an apk file? 1. Only read the manifest contents of an apk : Use the following command (make sure you have aapt.exe and the apk file on your path): aapt dump badging XXYY.apk [Later Edit] 1.5 You want to change some resources of the apk using a nice GUI Try APK Edit  - It will enable you to do the following: Change icons of your android application. Change the applications name. Edit the localized text (Strings.xml) used in applications. 2. You want to read all of the apk's contents : Method A. Use the following tool: apktool  (apktool ...

Setting up an Android development environment in a nutshell

If you want to begin developing for the android platform - which components will you need to install? In a nutshell: Install latest JDK http://www.oracle.com/technetwork/java/javase/downloads/index.html Install the latest eclipse IDE "Eclipse IDE for Java Developers" http://www.eclipse.org/downloads/ Install the latest Android SDK http://developer.android.com/sdk/index.html Run the SDK manager after installation and install all of the packages you might need (retain default packages and add additional ones if need be). Install latest ADT (eclipse android plugin) Run eclipse, choose help --> Install new software https://dl-ssl.google.com/android/eclipse/ Configure eclipse and point it to the JDK and to the android SDK. Have a nice android day   :-) Avi.

SCummVM for Android

THIS ARTICLE ISN'T LONG! -- First section = 3 terms related to this topic briefly explained -- Second section = Main article - how to install SCummVM on your android (even new androids) -- Last section = UNIMPORTANT, feel free to skip it, it's only a list of games compatible with your android after installing SCummVM ----------------------------------------------------------------- SCummVM - Lucasarts' gaming engine used for their good old games / quests like Maniac Mansion, Indiana Jones, Monkey Island etc. AGI - Sierra's first gaming engine used for their good old quests like King's Quest, Larry quests, Police quests, Space quests. SCI - Sierra's second gaming engine used for their newer games (since about 1990), the quests programmed with this engine didn't need the text parser but used the mouse for every action needed during the game. If you have an Android machine (cell phone, tablet) and want to play any game which u...