Skip to main content

Posts

Showing posts from February, 2011

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...