Friday, November 2, 2012

Cairo Metro App

A.A.W.A,

I've decided to redevelop Cairo Metro, this time  for android and with more features.


Brief Description: find the nearest metro station easily based on your Current location and in-metro guide.


The app offers 3 solutions:-

  1. you can find the nearest metro station and see the shortest path to get there.
  2. if you are already in metro and asking the most common question "how to get to station X from here?!", the app will tell you which line you should use and how many stations left.
  3. small photo-gallery for Cairo Metro

Screenshots:









I know, user interface is not very good :|, I will try to make it better or find a good designer :D

I've submitted this app to Vodafone AppStar, but I don't know if I have a chance to win or  not because this is my only app, they said "the more you submit, the more are your chances of winning!" :|, they just need more apps!!

How I made this app:

We need :-
- the current GPS location.
- list of metro stations and GPS location for each one.
- find the Topx  nearest stations using a straight formula.
- find the nearest one using Google Maps API( Distance Matrix API )
- get the path and draw it on map, using Google Directions API
- the guide activity is very simple, two dialogs with listView and textView for output.
- photo-gallery is a simple gallery activity.

I wish I can release a tutorial on how I made this app soon, and source code!



4 comments:

  1. seems great :) please try to make the Metro map interactive in the upcoming version that wil be awesome :D

    ReplyDelete
  2. Great Work ... I like it , keep it on :)

    ReplyDelete
  3. its really good that you have developed an app and published it on Google Play, but my feedback as Android developer, this could be much better, work on improving it, let us know if you need any help.
    - Focus on Android 4.x , you can still support 2.3, but 4+ is better and easier. Follow the Android Design Guideline http://developer.android.com/design/index.html
    - Even if you dont have designing skills, use the default Holo theme.
    - Use Google Maps Android API https://developers.google.com/maps/documentation/android/
    By the way, I couldn't run the app on my device (Android 4.0.4)

    ReplyDelete
    Replies
    1. Thanks :)

      The app was working very good for 4.x devices (with Maps API, Distance Matrix API, and Directions API), but I had to change the code to support Maps API V2 and after these changes, it keeps crashing all the time :D


      I'll try to make a version for 4.x devices, but I should keep supporting 2.3 because 22% of devices installed the app are 2.3.

      one of the big problems I faced is the the app is working very smoothly on the emulator, but after publishing to Google play, I get a lot of crashes :|, the last one is http://stackoverflow.com/questions/16138936/unable-to-instantiate-activity-componentinfo-only-on-googleplay/16141306
      I'll fix it iSA, and hope to work this time.

      Delete