We successfully integrated our map visualization code into OpenGL ES and now we are able to see map on our Android application. We also implemented touch operations onto OpenGL screen. Users are able to perform camera movements such as: moving and turning camera up,down,right,left. Sample images of map from application are as follows:
BAHAR, APRIL 26, 2012
We are creating OpenGL window by calling it from opengl layout. We include GLSurfaceView class inside layout as inside layout which call automatically constructor of GLSurfaceView class. We extend GLSurfaceView for our purposes. In this case, skipping one type of constructor extended GLSurfaceView class causes problems. Simply, we define each constructor and call out initialize function inside them to accomplish same functionality each time.
LEVENT, APRIL 26, 2012
Dragging an image of a vehicle from list view and drop it to OpenGL layout is an touch operation to select vehicles that shortest path are calculated for. For this purpose, we have to listen start drag event inside ExpandableListView and drop event inside OpenGL layout(GLSurfaceView). Since we are using API-8 it is not possible to listen events in different layouts. We have to move project API-11 which support Drag & Drop for different layouts. We decide not to move project and change drag & drop operation to entering vehicle coordinates to find place of vehicle for simpler implementation.
LEVENT, APRIL 26, 2012
Point to point pathfinding phase is now complete and it seems to be working;). Here are some examples:
GÖZDE, APRIL 24, 2012
Previously, we could request height data info for only one position. We edited IO class of GDAL library to enable getting multiple data in one time. Also, we mostly finished implementation phase of the single point to multiple point path finding algorithm.In the related example given below, each color represents the path belonging to each goal.
PINAR, APRIL 24, 2012
We want to implement accordion like menu for vehicle list. Using ExpandableListView and customizing it gives us accordion like menu. We desing two layouts for 'group of list' and 'child of list'. 'Group' contains list of vehicles and 'Child' contains details of vehicle. We create a SimpleAdapter for list that holds vehicles and information of vehicles to fill 'group' and 'child' layouts. First problem is keep only on element open at a time. Expandable list does not collapse a group unless user press it when it is open. Solution for this, listening each element expand event and collapse last expanded element. Second problem is representing each vehicle with its unique image. Expandable list view does not allow dynamic image assignment to 'group' layouts. Solution is extending SimpleAdapter and 'getGroupView' function is changed to assing each group's image view unique image. Third problem is filling details of each vehicle to 'child' layout without effecting others. When we are editing some detail of some vehicle, changes are seen for every vehicle. Solution to this, expanding SimpleAdapter and 'getChildView' function of it. By keeping each editable area in layout and controlling them each group expand event.
LEVENT, APRIL 22, 2012
We implemented visualization of map using OpenGL 2.1. However we've faced with some problems to integrate the code to OpenGL ES which is version used in Android. Sample image of map from OpenGL 2.1 are as follows:
BAHAR, APRIL 03, 2012
You can find it in the documents page.
GOZDE, MARCH 26, 2012
We have completed majority of the GUI operations. From now on, we will work on A* path finding algorithm and implement some of its methods.
PINAR, MARCH 23, 2012
Our web site is now online! All documentation is available under "Documents" section. Our mail addresses are listed under "About Us" section. You can follow recent developments about our project under the "News" section.
BAHAR, MARCH 21, 2012