Skip to main content

Posts

LG Real 3D

In this post i will introduce the Real 3D sdk presnted by LG in the Android platform. What's Real 3D ? Real3D is technically known as stereoscopic vision which refers to the human ability to view the same image with both eyes in similar, but slightly different ways. Because the normal human eyes are about 2.5" apart, there is minuscule difference between images that is gathered from each eye . The brain then combines them to form a single picture and this vision allows the brain judge depth and distance.  Real3D uses those characteristics of human perception to create a 3D image. Type of 3D display LG use the auto-stereoscopic display which refers to 3D d isplay technique that creates stereoscopic images without needing special glasses, as the left and right eyes view different images.  When different images are projected into different locations in the viewing space, a person in the correct position can feel the stereoscopic effect via binocular parallax, seeing...

Android UI Prototyping

It seems to be very helpful to do earlier  prototyping  of  your Applications. Show your ideas at the beginning of your project life cycle and getting the right feedback from the customer could help you to build and design a great software. In this post, we will see an android UI prototyping tool :   UI Prototyping Stencils You can find answers to many issues and  perform your software quality . What the customer expects? What is required and what is optional?  How to show  customer a GUI without implementing?  How to organize menus? What are the desired colors? We can answer earlier these questions by using a Prototyping tool . The Sentil   for the    Pencil GUI prototyping tool  is available as an    add-on for Firefox  and help you to do Prototyping of Abdroid UI. To install: Install the Pencil add-on. Open Pencil by clicking  Tools > Pencil Sketching...  in Firefox. Right-click...

Augmented Reality Part 1

It's so exciting to add  Augmented reality to your Android Application.There are some Open frameworks that allow you  adding AR to your Android project but in this post we will  discover in details how we can make our AR application using Camera, Sensor and GPS. Augmented Reality is a term for a live direct or indirect view of a physical real world environment whose elements are augmented by computer-generated sensor input, such as sound or graphics. There are many popular Applications of AR such as Layar , wikitube , Googles ... With this post, we want make it easy as possible  for new developers to begin and understand the AR technology. In this first part of tutorial, you will create a custom surface view on which you'll load the camera preview. After creating an Android project including Google Api for the use of the Location librairies, add  the permission of Camera  to your Manifest file. <uses-permission android:name=...

My Android "Azkar" Application: Pretty Design & Nice Animations

I'm pleased to share with you a useful  and pretty application for the muslems people : Azkar Application. The aim of  this application is to show the daily invocation for muslem people. There are 6 invocations supported in this version 1.0. If you  want to add a  specific invocation in the new version your proposals are welcome. I have tried to add some animation effects in order to make the user interface more attractive and innovative. A first animation that rotates the view on the Y axis between two specified angles. This animation also adds a translation on the Z axis to improve the effects. The second animation between the Invovacation's screens is a simple Alpha animation supported in the Android UI animations. Some screens captures from the different supported invocations with beautiful background and different colors: Morning invocations, Evening invocations, Prayer Invocations... I...

Map Overlay Demo

After creating your first Google Maps Application ,you may wish to add markers to the map to indicate places of interests.That's what you will see  in this article. Adding markers First you need to define a new class that extends  the  ItemizedOverlay  class, which can manage a whole set of Overlays(the individual items placed in the map). import com.google.android.maps.ItemizedOverlay; import com.google.android.maps.OverlayItem; public class CustomItemizedOverlay extends ItemizedOverlay{ private ArrayList<OverlayItem> mOverlays = new ArrayList<OverlayItem>(); Context mContext; public CustomItemizedOverlay(Drawable defaultMarker) { super(defaultMarker); } public CustomItemizedOverlay(Drawable defaultMarker,Context context) { super (defaultMarker); mContext = context; } public void addOverlay(OverlayItem overlay) { mOverlays.add(overlay); populate(); } @Override protected OverlayItem createItem(int i) { r...

Create your first Google Maps application

In this article i will show you  the different steps to follow to create your first Google Maps application. We will also demonstarte some usefull options that  give your application more flexibility and performance. Creating the Project Using Eclipse, create a new Android Project and name it   MapsDemo as  shown in Figure 1 Figure 1 Obtaining a Maps API Key Before you integrate Google Maps in your Application, you need  to apply for a Free  Google Maps API Key. To apply for key follow the steps  below. You can refrence to Google's documentation for more  details. First, find  this file ( debug.keystore )    and copy it (for simplicity) in c:\\Android(Create a folder named Andrioid under c:\\) Extract the MD5 fingerpoint using the keytool.exe included with your JDK installation.You can find the  keytool.exe under  " C:\Program Files\Java\<JDK_version_number>\bin " folder. keytool.exe -list -alias andro...

Change custom title view at runtime. Android

Sometimes you are invited to update the string label of your title bar activity at runtime. To do this,  we start by adding a new xml file of the  custom view  to be  use as  a new layout for the title bar view. We use in this example a textView view  to update the title's string. <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/screen"     android:layout_width="match_parent" android:layout_height="match_parent"     android:orientation="vertical">        <TextView android:id="@+id/custom_text"         android:layout_width="wrap_content"         android:layout_height="wrap_content"         android:layout_alignParentLeft="true"          /> </RelativeLayout> In the main.xml  file, we use ...