Android Application Development – ListView Tutorial

There are different ways to implement a list of multiple line items on Android Apps. They can be used for data selection as well as drilldown navigation. ListView is a group that can display our scrollable items. Usually when the user click on a item, some action can be performed.
Our ListDemo will extend ListActivity and use an Android build-in list view, simple_list_item_1 layout. We will not care much in this part for performance or manage huge data, this will be covered on future post, so make sure you subscribe to our feeds. Our example will be an array with some data and make use of ArrayAdapeter(...).

Continue reading

Speed Up Android Virtual Device AVD

An Android Virtual Device (AVD) is an emulator configuration that lets you model an actual device by defining hardware and software options to be emulated by the Android Emulator. In case that we don’t want to test every time our App on a smartphone, we have to create a new AVD. Sometimes this virtual device is really slow, and if you are running on a Intel machine, here is a trick how to make it faster.

Continue reading

Free Responsive Menu

free-responsive-menu-webtoos

Responsive Nav is tiny JavaScript plugin which weighs only ~1KB minified and Gzip’ed, and helps you to create a toggled navigation for small screens. It uses touch events and CSS3 transitions for the best possible performance. It also contains a “clever” workaround that makes it possible to transition from height: 0 to height: auto, which isn’t normally possible with CSS3 transitions.

How to use Responsive Nav

Put these into the head tag

<link rel="stylesheet" href="responsive-nav.css">
<script src="responsive-nav.js"></script>

Add Markup

<nav class="nav-collapse">
  <ul>
    <li><a href="#">Home</a></li>
    <li><a href="#">About</a></li>
    <li><a href="#">Projects</a></li>
    <li><a href="#">Contact</a></li>
  </ul>
</nav>

Put this right before the body closing tag

<script>
  var nav = responsiveNav(".nav-collapse");
</script>

Demo  Download Responsive Nav.zip