About Gideros Mobile

This is the n-th crossplatform mobile development framework I'm trying out (where n is a 2 digit number, probably less than 20), and I thought that nothing can surprise me, but I was wrong. Not all of the platforms I try I'm willing to...

Read More…

Handling raw accelerometer data in Titanium apps

Handling accelerometer in real mobile phone might be quite tricky. While in emulator that data is almost always perfect (haven't tried in windows 7 phone emulators, from what I've seen it's pretty decent emulator), the value in real...

Read More…

Customized progressbar in Titanium

For now there is a pretty limited options for users to customize progressbar for both IOS and Android platforms. But slider, on the other hand, has pretty advanced customization. As usage of slider and progress bar is pretty similar, we can take...

Read More…

Choosing picture from gallery or camera

Yesterday I got my mind blown. I was creating a battle system prototype using Titanium, for one of the games we are working on. And just for fun, I thought I'll add an option to choose picture of your enemy from gallery or shoot the new one...

Read More…

Storing data in Titanium application

Appcelerator Titanium has one really great feature that I haven't seen in other SDK. It's called app properties, which allows you to store simple values or objects for application, for example, high score, level where user currently is,...

Read More…

10 things you should know before starting with IOS development

Here are some things, that are kind of easy and unuseful piece of information for professional IOS developers, and it may even seem like a baby talk to them. But these are kind of things that took some time to figure out when I first started with...

Read More…

Snow for your Titanium app

Titanium Ace Snow object creates a falling snowflake effect for your application window. It is possible to set quantity and speed of flakes, and also provide image of custom snowflake. This object also provides methods to start or stop snowing...

Read More…

About Appcelerator Titanium mobile

When I first tried Appcelerator Titanium, it wasn't pretty stable, wasn't well documented, there were a lot of memory leaks, and you usually needed to dive into each platforms native language, to fix something, or achieve what you want...

Read More…

Responsive web

There is a new tendency in website development called Responsive web. Its ideology is about adjusting your website to different screen resolutions, including mobile phones, thus making your website mobile friendly. Adjusment is done using...

Read More…

Save and load data module for Corona SDK

Here is a dataSaver module for Corona SDK, that allows you to save and load files or separate app properties. app.data is file to store app properties and dataSaver.lua is a class itself. Just include module and store it in a...

Read More…

Change image on Corona Physics object collision

When you create newImage object, well basically you create image object, and you can't easily change it. So if you want, for example, change this image on collision, you should use sprites instead. Here is a quick example on how to do...

Read More…

Corona SDK - Next level, reset level logic

While developing games, you'll need to switch between levels and probably reset the current one, to let users another try. Here is how you can easily implement this logic to your game. In menu.lua file (or other main file you might have)...

Read More…

Create pause button for Corona Physics game

Corona SDK physics engine has built in start, pause and stop function. For game pausing will need two of them. So we simply create two buttons: pause and resume. function scene:createScene( event ) group = self.view --define button...

Read More…

Corona SDK - Hide body on collision

By default, you can't perform operations like removing or hiding Box2D object bodies involved in collision inside collision event handler. That's why you can either flag object and hide or remove it on next enter frame event, or simply...

Read More…

Reading json from file in Corona SDK

To read json string from file and parse it into table, you need to include json library, that comes with Corona SDK require "json" After that you can use this simple function to read string and parse it: function load( filename ) --...

Read More…

About Corona SDK

Corona SDK is so far most stable crossplatform SDK with most rapid development process I've seen so far, even without knowledge of lua language (all applications in Corona SDK are written in lua). This was so far the quickest way for me to...

Read More…

Titanium - Switching between windows

Here is a simple example of switching between two windows using Titanium. We load first window with application. Button in first window opens second window over first one. Button in second window closes it and it automatically goes back to the...

Read More…

Using JSON Framework for IOS

I've read somewhere that IOS 5 have a native JSON parser, but if you aren't creating something specifically for IOS 5, you better use something, that will work on any platform. On of the most popular libraries I ran across is JSON...

Read More…

Read from file

In your Xcode project you should have a Resource folder. That's default location, when you're for example adding sprites, etc. You simply provide a filename. But when you want to read information from file, you need to provide full path,...

Read More…

Displaying HTML in a webview in Titanium

Although Titanium API provides native application experiences, there are still some reasons you may want to use webview. So here is a snippet, how you can show a website in webview inside a native app: //create a window where to show a...

Read More…

1 2 3 4 5