Thursday 21 August 2014

OpenGL Mini Projects

Hello!

Sitting in class the other day I just realized that all the work expended on OpenGL while working on the mandatory mini project in my curriculum was gathering dust and cobwebs on some hard drive somewhere. I thought I should put it out there for anyone who'd like to use it.

I'd like to apologize in advance for the lack of clear organization and documentation and will fix that in the future. It had not occurred to me that I would be putting all of it on a public forum.


Some of the topics included are:

1. Centre of Gravity doll simulation in 3D (this was my project and should be the most organised and documented)
2. AVL trees
3. Dijkstra's Algorithm
4. Bellman Ford
5. Towers of Hanoi
6. Bouncing Ball
7. Waving Flag
8. Walking Robot

Disclaimer:
Although most of the code is stuff I have worked on, there may be code samples from other places and projects of those I helped during the course. No plagiarism intended. All credit to whomsoever its due. Sharing is caring.

And finally, the link:
https://github.com/cravindra/OpenGL

Good Luck! :)


Friday 11 July 2014

Using RecyclerView and CardView in Eclipse ADT

Hello!

In my recent attempts to integrate a RecyclerView and CardView into an application, I ran into a few technical snags which caused the application to keep crashing. After a quick google search, it became quickly obvious that this was a problem faced by a lot of people and, furthermore, most solutions provided a method for users of Android Studio and nothing for Eclispe ADT users like myself. After some more digging around I found a post on stack exchange which helped resolve my issue. However, it took some tinkering around before I could get my head around what the post asked me to do. So this is my attempt to create an idiot proof guide to help newcomers to the field of Android Development like myself to create and use the RecyclerView and CardView features.

The RecyclerView and CardView packages are part of the Android L Developer Preview version of Android. However, with the  use of compatibility support libraries, we can include these features in older versions as well. Here's how:

Step 1: Download and install the Android Support Libraries using the SDK manager.