Backend cloud services

Mobility, is the key, today everything moves around mobility and smartphones, the people say, “web is old fashion”, the true is, most of the mobile apps can’t live without a service behind, yes, a web service, and at the end, with an administrative page, in order to update, add and create more information to feed the mobile app

There are a lot of cloud services, some of them for free, or a basic plan for free and others with a mensual fee, one of the most popular is  amazon web services , Heroku is another good choice, microsoft launch Windows Azure,  Parse is another interesting service who provides different API’s for different platforms (iOS/Android) , If you prefer java, Jelastic is a Java powered cloud computing.

Appcelerator recently acquire Cocoa Fish and, in the latest edition of the  GSMA Mobile World Congress at Barcelona, Spain, Appcelerator won an award for “Best Cloud-Based Techology” 

Finally I’m very interested on Kinvey, why? I don’t know, they still on closed Beta, but, the services that they offer looks very impressive, I asked for my Beta access, I hope soon I can try and play a little bit with Kinvey.

Surely I forgot to mention a lot of other services, if you want, send me your impressions about different online services

play video from server titanium appcelerator

This is the first approach to play video from a http server on a mobile app using titanium appcelerator focusing on ios devices

var win = Titanium.UI.currentWindow;

var activeMovie = Titanium.Media.createVideoPlayer

({

contentURL: myVideo, backgroundColor:’#111’, movieControlMode:Titanium.Media.VIDEO_CONTROL_DEFAULT, scalingMode:Titanium.Media.VIDEO_SCALING_MODE_FILL

});

if (parseFloat(Titanium.Platform.version) >= 3.2)

{

win.add(activeMovie);

}

activeMovie.play();

Titanium appcelerator navigation group example

This is a little example about to build a navigation group (navigation controller for iOS)

var first = Ti.UI.createWindow({

  backgroundColor:“#fff”,

  title:“Nav Group”

});

var button1 = Ti.UI.createButton({title:‘push me Im the button number ONE!!!!!’, width:200, height:100});

var button2 = Ti.UI.createButton({title:‘push me Im the button number TWO!!!!!’, width:200, height:100});

var navGroup = Ti.UI.iPhone.createNavigationGroup({

  window:first

});

var second = Ti.UI.createWindow({

  background:“#fff”,

  title:“The Child Window”

});

var third = Ti.UI.createWindow({

background:“red”,

title:“grandson win XD”

})

//let’s link the buttons on the windows!!

first.add(button1);

second.add(button2);

button1.addEventListener(“click”, function(e){

navGroup.open(second);

});

button2.addEventListener(“click”, function(e){

navGroup.open(third);

});

second.addEventListener(“open”, function(e){

Ti.API.info(‘lets open the win2’);

});

//and there’s a swipe catch on the second win ;)

second.addEventListener(“swipe”, function(e){

Ti.API.info(“Swipe detected dude!!!!!”);

})

//Main window of the app

var main = Ti.UI.createWindow();

main.add(navGroup);

main.open();