Room_Finder-3-24-2010x

apatheticyogurtΛογισμικό & κατασκευή λογ/κού

13 Δεκ 2013 (πριν από 3 χρόνια και 5 μήνες)

69 εμφανίσεις

ECE 495


ROOM
LOCATOR


Aabhas Sharma

Yehia


Yaya

Khoja

Vinayak

Gokhale

3/24/2010

1

Goals for the week
-


Test the data base for usability


SQLlite


Memory Leak Detection


3/24/2010

2

SQLite



SQLite databases can only be supported with a max
filesize

of 4.5 MB.


SQLite databases are local to the application in Android
and doesn’t handle well with inter
-
application linking.


To examine the database you want to use the Android
Debug Bridge


Through shell, you can reference the tag and check the
database.


Example


sqlite3
database.db


Please refer to
-

http://
www.screaming
-
penguin.com/node/7742

for an amazing tutorial

3/24/2010

3

Memory Leaks



The biggest hurdle while developing applications is MEMORY
LEAKS.


They’re lines in your code that cause the following:


Your program uses memory that it is unable to release, which
becomes a vicious cycle.


Your program will keep eating more and more memory and will
keep accessing the ‘ram’ and will keep using up the battery and
slowly it will drain your phone of the battery and crash its OS.


If you see the ‘Application Crashed’ message its PROBABLY a
memory leak.


Read about it here
-

http://
groups.google.com/group/android
-
porting/browse_thread/thread/9c84baa10cebbb68?pli=1


And

http://developer.android.com/resources/articles/avoiding
-
memory
-
leaks.html

3/24/2010

4

The UI



The UI is almost complete. Some minor changes required
once the database is linked (we still need the floor plans
of the MSEE and EE buildings).


Once the plans are acquired, the arrays for the buildings
and floors will be completed.


The plans will then be uploaded into the database and
arrays in the UI will be modified.


DONE!


3/24/2010

5

Next four weeks




Complete the database




We currently have a memory leak occurring in the

algorithm for the database. Needs to be fixed.


Need to fix some non
-
java related errors


eclipse

and recognizing android on some machines.



Modify the UI to fit




Once the aforementioned errors have been fixed, we

will need the floor plans (Prof.
Allebach

and Prof.

Delp
!!!!).


Once the floor plans have been acquired, we need

to add the buildings and floors to the user interface.

3/24/2010

6