Sunday, September 29, 2013

GTAcampuS Android Application Source Code (Java + XML)

GTAcampuS is an Android application developed for Aakash tablet, for the daily use of students. The minimum API level needed for this application is 8. Even though this application works in small screen devices the user interface will be little bit difficult to operate. This is a campus related application which mainly focuses on helping students to avoid missing the classes. It is basically an attendance managment system mounted with group messaging and some other extra features.

On installing, this application is to be initialized with the number of hours and class timings. Courses is to be added later along with the timings of each course in a week. The application will make alerts before the class hours, on making alert application will provide options like ‘SNOOZE’, ‘ON THE WAY’ & ‘BUNK’. If the student dismiss the alert with the 'ON THE WAY' option then the application will turn off the alert volumes of the device and will change the device to silent mode automatically which will be restored back to normal state after the class time. If ‘BUNK’ is selected then bunk-o-meter database of the application will be updated and the no: of classes bunked will be incremented for that respective course. If the no: of bunked classes crosses a limit then the application will give notifications. The application will provide a timetable view showing the class hours user have in the week. User can check the statistics and details of the classes they bunked at any time. This application also contains a calculator, a converter, feature for setting extra-alerts, saving notes and also option for back-up and restoring the database. You can also send group messages using this application. Messages can be seen by all those who are configured to the particular server which will be much useful for class representatives or teachers for passing an information to all students in a class.

This application is developed focusing the tablet devices (Aakash 2). So devices with screen size more than 7" is preferred for this application. The front end (UI) is coded in XML and back end in JAVA.

WATCH OUT THE DEMO VIDEO

SOURCE CODE OF THIS ANDROID APPLICATION IS AVAILABLE IN GITHUB AND GOOGLE CODE

USER MANUAL OF THE APPLICATION

30 comments:

  1. this is a great application looking forward to learn how to develop applications like that to enhance the learning process.

    ReplyDelete
  2. Hi, Your timetable code is awesome,, i am new to android,, i want to add a day in working days of week (in your code there is no Saturday) where should i add the entry of "sat" ,, thnks w8ing 4 rply

    ReplyDelete
    Replies
    1. Hi Adeel, Thanks for your compliments. For adding saturday you can do that in the file Slot.java (https://github.com/godlytalias/Android/blob/master/workspace/GTAcampuS/src/com/example/gtacampus/Slot.java) and then you have to take care of corresponding database operations also as currently it is not having fields to store Saturday slots.

      Delete
  3. Hi Godly,

    Me and my friend were trying to create something similar for an internship we are doing. But we needed some guidance with the backend part.. Therefore it would be great if you could guide us in some way if you are free.

    Any kind of help would be appreciated.

    Thanks and regards,
    Jobel Shaji
    jobelshaji95@gmail.com

    ReplyDelete
    Replies
    1. Hi Jobel, I would be happy to help, contact me anytime :)

      Delete
  4. Hi Godly. I don't know how to host web-service files in a server to use group-messaging feature. Would you like to explain step by step to do that? Thanks before, it will be helpful for me.

    ReplyDelete
    Replies
    1. 1) Execute the .sql file so that database will be ready.
      2) Copy paste the .php files to server and edit the sql username/password details
      3) While installing application it will ask you the server location or you can set the location from settings. And you are done.

      Delete
    2. This comment has been removed by the author.

      Delete
    3. This comment has been removed by the author.

      Delete
    4. Where the web-service file must be hosted to found in the given location? I haven't configure the server properly.

      Delete
  5. Where do you put the timetable coding inside the src file?

    ReplyDelete
    Replies
    1. https://github.com/godlytalias/Android/blob/master/workspace/GTAcampuS/src/com/example/gtacampus/Slot.java

      Delete
  6. whether this app suits for phone and if not tell me how to make its screen compatible

    ReplyDelete
  7. First of all I liked your project alot.I am inspired by your project.I want to make the same project for final year project .I want to add some more features such as teacher can add courses is it possible or not.Waiting for positive response.thanx

    ReplyDelete
    Replies
    1. I didn't get what you mean. As per the current implementation, the user can add new courses using the Add course feature, Can you please explain about your idea a bit more?. Is it some cloud controlled feature you are saying?

      Delete
  8. How come i cant seem to delete course?
    And unable to do backup..
    I have already uninstall n reinstall it again but its still the same..
    What could be the problem and how do i fix it?
    Please reply asap thank you..

    ReplyDelete
    Replies
    1. The current implementation is for Android Ginger Bread and I haven't updated the application. So if you are testing the application in some later android versions as framework behaviors are changed probably need some changes to be done in application implementation also.
      Delete course feature is not working because the item click callback is also getting triggered in a long press event. If we drag off the item after the long press event, click event won't trigger and then delete operation is happening in Android KitKat. It is due to some framework behavior changes.
      Error is happening during backup probably because of some permission issues in writing to SD card that is happening. Need to debug more into that.

      Delete
  9. hello where are the xml file of timetable?? thanks

    ReplyDelete
    Replies
    1. No xml file for Timetable, Layout is created using this java class, https://github.com/godlytalias/Android/blob/master/workspace/GTAcampuS/src/com/example/gtacampus/Slot.java

      Delete
  10. hi Gta iam impressed by you but i need your help plz put your project complete tutorials like thenewboston so we can get more details saeed.badini2011@gmail.com me using your project for my final year project but dnt know how to built it plz help me make complete tutorail of your project and send me urgent plz

    ReplyDelete
    Replies
    1. Full source code and documentation is available in Github (https://github.com/godlytalias/Android/tree/master/workspace/GTAcampuS). You can download the code, import in Android SDK and build it.

      Delete
  11. How and from.where do I download the code?

    ReplyDelete
    Replies
    1. You can download the code with this link https://github.com/godlytalias/Android/archive/master.zip

      You can also go to github link and clone the repo.

      Delete
  12. great blogger who will imprint on the growing online masses. All the best for your future. Your information is unique and clear. There is no unwavering words that distract readers like me. Way to go on free programming codes

    ReplyDelete