Google reveals the first low-cost Android One phones

Android One is a reference platform — it’s a set of rules that device makers can follow to make low-cost phones. It makes it easier for manufacturers to develop and produce devices, because Google is doing all of the hard work figuring out materials costs. For Google, it ensures that even low-end devices can run its software and run it well, providing everyone with a uniformly decent experience. Where KitKat was Google’s effort to address the software issues on low-end devices, Android One is now doing the same for hardware. The company calls it a “a comprehensive solution to address the mobile computing needs of those in emerging markets.”

As predicted, Google has just revealed the first Android One phones at an event in India today. Micromax, Karbonn and Spice Mobiles are the companies working with Google at launch, all three launching new handsets this morning. What can we expect from an Android One device? Karbonn, for example, is launching the “Sparkle V Red,” (pictured below) which comes with dual SIM slots, a 4.5-inch display (480 x 854), a 5-megapixel primary camera, 1GB of RAM and, importantly, the latest version of Android (KitKat).

Google isn’t just controlling the hardware with Android One, either — it’s also making sure the devices run the latest versions of Android and aren’t encumbered by unnecessary software additions, which could endanger whatever performance advantage KitKat had given them. Android One phones will run stock Android, get automatic updates, and access Google’s Play Store for apps and media content.
Source: Engadget.com

Advertisements

Useful jQuery Plugins – Shopping Cart – jQuery – Plugins, Extensions

There are a mess excercise about making move and customize shopping truck, in this post I need to impart my variant still to Jquery, yet the diverse is this sample just indicates the code on the customer side, which mean all of information are hardcoded on the html, and numbering cost and all out things will be handle by javascript.

The Html

Default Item List

Like I said there is no server side scripting, so this code only a hardcoded thing record, this case utilize 10 things, however the code beneath shows just two to make it straightforward.

<div id=”item_container”>
<div class=”item” id=”i1″>
<img src=”img/1.jpg”/>
<label class=”title”>T-Shirt 1</label>
<label class=”price”>$ 20</label>
</div>
<div class=”item” id=”i2″>
<img src=”img/2.jpg”/>
<label class=”title”>T-Shirt 2</label>
<label class=”price”>$ 24</label>
</div>
<div class=”clear”></div>
</div>

Shopping Cart

In shopping truck component, there are component for dropped thing zone, this range will be draggable so all the things could be demonstrated and there additionally a go for clearing truck, downright things and downright cost.

The Jquery

Intializing The Cart

This instating code for setting up the draggable thing on thing record, draggable shopping truck and the

movement after a thing dropped on the truck such as upgrading sum thing, sum cost and setting up evacuate connect in every thing.

var total_items = 0;
var total_price = 0;
$(document).ready(function() {
$(“.item”).draggable({
revert: true
});
$(“#cart_items”).draggable({
axis: “x”
});
$(“#cart_items”).droppable({
accept: “.item”,
activeClass: “drop-active”,
hoverClass: “drop-hover”,
drop: function(event, ui) {
var item = ui.draggable.html();
var itemid = ui.draggable.attr(“id”);
var html = ‘<div class=”item icart”>’;
html = html + ‘<div class=”divrm”>’;
html = html + ‘<a onclick=”remove(this)” class=”remove ‘+itemid+'”>&times;</a>’;
html = html + ‘<div/>’+item+'</div>’;
$(“#cart_items”).append(html);
// update total items
total_items++;
$(“#citem”).html(total_items);
// update total price
var price = parseInt(ui.draggable.find(“.price”).html().replace(“$ “, “”));
total_price = total_price + price;
$(“#cprice”).html(“$ ” + total_price);
// expand cart items
if (total_items > 4) {
$(“#cart_items”).animate({width: “+=120”}, ‘slow’);
}
}
});
});

Download Files