September 23, 2010

Android: Create your own sharing app

One of the first applications I did for Android was a very simple application which simply takes a picture using Camera and then send it to a remote server.
Very simple, but it introduced to me into the android world and the notion of activities and communication between different applications.
A little addition to this application I wanted to make was the possibility to share any of the pictures already taken.
To do that I wanted to add the application to the list of the choices which appear when an user click on the "share" button when view an image using the default Gallery application.

Nothing easier than that! It was just a matter of a couple of tags to be added to the AndroidManifest.xml and the trick was done!

Continue reading "Android: Create your own sharing app" »

September 17, 2010

Haxe got (awesome) macros!

Hi guys, It has been a while since I posted the last time.
However I felt like it was the right moment to go back on the blog, to talk you about the new awesome Haxe macro system.

As you can read on Nicolas's blog, they're only present in the latest SVN update, but they will be included in the next build as soon as they will be perfect.
I must say I'm extremely happy about that addition: one of the most important reasons I'm so happy is the fact that instead of implementing an old-and-bording Macro system ala C/C++, Nicolas decided to go for a much more powerful macro system, which allows typesafe macros and real runtime code generation.

You are not limited to simple stuff like replace a macro call with a block of source code, but you can generate any kind of valid AST expressions that will be evaluated by the macro preprocessor at compile time.
Moreover you have access to almost the whole neko library (io, net, etc) which means you can write extremely powerful code generators and DSL! That's an awesome feature - really.

Give it a look!

August 19, 2010

Back from holidays

Just back from my holidays in Cadiz, Spain, and it's already time to fly to New York for the next Aviary meeting.

July 29, 2010

FlexLayout for AsWing

As you may have noticed I'm working with AsWing right now 
Today I proposed a modification of the layout system. That's because I couldn't find any layout which satisfied my needs: a container which grows its components in order to fill the entire container size BUT which also keep in mind the component minimum and maximum sizes.
So it will try to grow all the components to the same size, but if a component has defined a specific minimum or maximum size, take that size under consideration.

Here's a screenshot of the FlexLayout class in action ( click over the image to see the live demo ):


And here's the code to use the FlexLayout:

f.getContentPane().setLayout(new FlexLayout(FlexLayout.VERTICAL, 2));

Here below I'm attaching the current aswing package with all the modifications I did recently, in case someone find it useful.

July 20, 2010

Master of Alchemy is on the App Store!

After six months of hard development we're so happy to announce that Master of Alchemy has been finally published in the iTunes App Store last Friday!
I'm sorry to spam again with this topic, but trust me, it has been a bet for all of us!
And actually it's included into the "New and Noteworthy" section!

You can see Master of Alchemy page at the AppStore


Games Uncovered review...without a doubt one of the best iPad games yet.
Simply a fantastic puzzle game that is challenging, deep and graphically stunning. An absolute treasure.
Destructoid review:Score: 8.5 -- (8s are impressive efforts with a few noticeable problems holding them back. Won't astound everyone, but is worth your time and cash.

July 14, 2010

Indica - Island of light

Really nice song from this finnish girl band Indica.
This is their first english album "A Way Away", and behind this album there's Tuomas Holopainen of Nightwish.


Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type 5.01