/
Room Locator App Aabhas  Sharma Room Locator App Aabhas  Sharma

Room Locator App Aabhas Sharma - PowerPoint Presentation

roberts
roberts . @roberts
Follow
66 views
Uploaded On 2023-09-23

Room Locator App Aabhas Sharma - PPT Presentation

Vinayak Gokhale Yehia Khoja 1 Room Locator App Main Points Introduction Hardware Software Resources Choosing an App Initial Design Challenges Faced Revised Design Future Directions ID: 1020360

locator app android room app locator room android floor memory plan building url time main correct images address highlighted

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "Room Locator App Aabhas Sharma" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

1. Room Locator AppAabhas SharmaVinayak GokhaleYehia Khoja1Room Locator App

2. Main Points: IntroductionHardware SoftwareResourcesChoosing an AppInitial DesignChallenges FacedRevised DesignFuture Directions2Room Locator App

3. Introduction:Hardware used:Mac and Windows based computersAndroid based PhoneSoftware used:Android SDKEclipse IDE for Java EE developersAndroid Apps created where for the 2.0.1 platformResources:Android developer website:developer.android.comResearch on Google and YouTube3Room Locator App

4. Choosing an App:Create an App with a new idea and that is usefulWith Purdue’s huge campus, it is almost impossible to know where each room in each building is located.Therefore create an app that shows you where rooms in buildings are located 4Room Locator App

5. Initial Design:The user inputs the building and room he wantsThe app uses the inputs to search for a specific floor plan in a certain buildingThe app displays the floor plan on the screenFinally, it highlights the room chosen on the floor plan5Room Locator App

6. Challenges with initial design:Creating and using a database:Insufficient because it will need to store all images for all floor plansIt requires a script to search through the database to find the correct imageHighlighting the room:We need to store coordinates of the room in the databaseUse coordinates to dynamically draw a box that covers the room6Room Locator App

7. Solutions for these issues:Upload the floor plan images on a web serverThe android device can then access the correct website and fetch the correct image from itIn addition we upload separate images with highlighted rooms on themFinally when we can get an image of the floor plan with the highlighted room by entering the correct website7Room Locator App

8. Final Design: For taking the inputsUse drop down menus to give the user choices for buildings and roomsAfter selecting a building and a room, the app creates a string Finally the string is encoded into a URL address that pulls the appropriate image with the highlighted room8Room Locator App

9. Final DesignCreating the URL address:The code contains a premade URL address which is missing the building name and room numberThe inputs are used to fill in the blanks in the URL addressThe floor is determined through the first digit in the room numberFinally the building name and room are concatenated in the URL address9Room Locator App

10. Main Things learned/Things to be kept in mind for next time..Intent and permissions For the first half of the semester we couldn’t get the code to pull any data from the internet. Just 3 weeks back we figured out that the permissions for accessing the internet needed to be added through the Android ManifestThis is also what generates the permissions list on a real android phone when an application is downloaded from the marketRoom Locator App10

11. Main Things learned/Things to be kept in mind for next time..(2)Memory leaks, memory leaks, memory leaksWhat are memory leaks? - A memory leak or leakage in computer science is a particular type of memory consumption by a computer program where the program is unable to release memory it has acquired.When it can be caused – Initialize a pointer and don’t de-initialize(not a problem in Java, no pointers!)Open a file and don’t close it etc.Room Locator App11

12. Main Things learned/Things to be kept in mind for next time..(3)While uploading the application to the market, you have to make your license validity at least 50 yearsYou can’t upload an app with the debug licenseMake sure if you use a new icon in the resources folder it is 48X48 and the format is PNG.Room Locator App12

13. LayoutsAndroid supports different sorts of layouts that can be chosen/defined in the XML fileAbsolute layout provides the most flexibility, linear layout provides a rigid and formal layoutRoom Locator App13

14. Errors in dev. Environment Often a time, the team faced an error when creating a new AVD(Android Virtual Device), there would be no network connection.Troubleshooting – Make sure your computer is connected to the internet.If that isn’t the problem, restart the AVD and that restores the connection(known bug)Room Locator App14

15. Future Directions:Provide room to room directions – Ask user present location and desired destination – Draw the pathUpload information about more buildings on the web serverEnhance the look of the programDouble check it for any bugs or memory leaksPublish it in the Android app store!15Room Locator App

16. Latest Updates! Purdue VIP finally has the Android Dev License!We can start publishing our apps, however MAKE SURE there are no memory leaksWe have published our app but we downgraded it to 1.6 to test on Aabhas’s phoneAlso, we have not linked the floor plan images as we were not yet sure about the security implicationsRoom Locator App16

17. Screen Shot – Room Locator AppRoom Locator App17