Joined October 2012
·

Juan Jose Alonso

Mobile/Web handcrafter at Rocktaps
·
London (UK)
·
·
·

But... you can do the same in a input-group if you use the class input-sm in the input and btn-sm.. you can also play with form-group-sm

Im Angular newbie, but i have some questions...

This code appear work fine if the client is working without a backend, but the backend is who say if we have permission or not... This system is like a cached permission. and the question is...

Not a good practice do a login get the token of the server, keep it in the client and use it on each request? if the server return forbidden, redirect to login.

Posted to Speed up Eclipse boot over 1 year ago

@mdonnellydev This will tell the VM not to validated all the .class files it is loading. (Bytecode)

Check out my protip https://coderwall.com/p/8etfyw (Dial plugin)

Posted to Amazing CSS3/HTML5 plugins over 1 year ago

@nickeyz Yes, but really the inspiration/style i think that is of Holo android theme.

And what happen with the workflow that the android website show of design for normal MDPI and later increase x1.5 for hdpi (for example) ?

I discover an issue if you try to do it with more than 2 pages, the viewpager dont show properly the third because only two pages is cached. The simple trick is increment this cache with pager.setOffscreenPageLimit(N);

Where "N" is the total amount of cached pages before and after the current page. The default is 1.

Really i think that the solution is other but for my only-three pages is a cheap solution.

Posted to Check WIFI connection over 1 year ago

I have here this other snippet for check if exist one active and connected only.

private boolean isNetworkEnabled() {
    ConnectivityManager conMgr = (ConnectivityManager) mActivity.getSystemService(
            Context.CONNECTIVITY_SERVICE);
    NetworkInfo i = conMgr.getActiveNetworkInfo();
    if (i == null || !i.isConnected() || !i.isAvailable()) {
        return false;
    }
    return true;        
}
Posted to Cool Android Libraries over 1 year ago

I use ActionBarSherlock and i must say: WIN!

(Joke) Hey! you forget deobfuscate the code first!

Posted to Build Android with Javascript over 1 year ago

Really... If you use Sencha Touch library, you dont need take care about the DOM or animations, SenchaTouch offer DOM manipulation, animation framework, MVC architecture builtin... Really you dont need to use XUI if you are using sencha.

You can check the "Sencha kitchensink" on your mobile browser http://dev.sencha.com/deploy/touch/examples/production/kitchensink/ or try "Sencha Radio" showcase app.

Posted to Build Android with Javascript over 1 year ago

@naveensky Phonegap offer a "base" performance speed that later can be decreased using differents 3rd libs, dont use Jquery for dom, use XUI instead, for UI dont use JqueryMobile, instead use Sencha Touch...

Achievements
309 Karma
25,796 Total ProTip Views