NSBM DevOps Community is going to launch the very first mobile development event “Introduction to Android” collaboration with Exilesoft (Pvt) Limited Event will be mainly targeting at the audience of who are new to android. This event will let them to start android application developing step by step to a higher level .
More info about the event can be gathered here.
Vote of thanks is being given. Sanath Nandasiri and Amalan Dhananjayan from Exilesoft are thanked.
Sanath Nandsiri concludeshis session. Says he will put the source code on Google Drive.
No questions for him
Sanath explains his save, edit, delete and search method and their codes.
All the apps have UI and mainframes. – sanath
Sanath uses a special method for the list view, so that the data in the database could show in the main activity.
what left to do is, to configure the UI with the activity.
in the given .java file, all the menu items with their properties are updated. including all the database commands with queries. – sanath
You all can grab the code which you need to create the database for the table from this link https://drive.google.com/folderview?id=0B7v81_rQeMy2QWYxbWpoY1lBWmc&usp=sharing
The added menu item by default will show up below but you can add a n icon to make is visible on top of the app. – sanath
Sanath now creates an action bar for his app to work as a menu.
and that class is managed with JAVA. New Android XML file with some data will do the trick. – sanath
Since it is empty, we need to add some data. but we just cant, unless we have a adaptable separate class for it. – sanath
Sanath’s app is on the emulator and it is running. But empty though.
Sanath runs the virtual device and says it will take some time since it is running in back-end with all the necessary apps to be installed.
ADK provides mechanism to test our apps. From AVD Manager you can create a Virtual Android Device and Android 4.2.2 is the target level for Sanath’s device. He configures RAM, Internal Storage and SD card settings.
When you use mobiles, it has very less resources. in order to manage those things android system have this life cycle. when using mobile apps, when you turn/close apps, it goes though many life cycle methods. – sanath
In order to add data to this UI layout, we have to introduce this layout to the activity. sanath
You can also drag and drop new items into your layout. Sanath drags and drops ‘list view’.
Select the ‘Linear Layout’ when creating a new Adroid XML Layout file. – Sanath
Sanath deletes all the UI xml files so that he an demo it from the scratch.
Sanath suggests to choose APK level 14 as the minimum requirements.
com.. should be the package name while creating one. – Sanath
Launch eclipse and if you have ADK, your AVD and SDK will be enabled. – Sanath
Logic elements of the app are done with java. Eclipse + ADK is what we are going to use today. – Sanath
Basically in Android, we consider one screen as an activity. And usually there are 4 activities for us today. – Sanath
Objective: Getting familiar with Android Dev. – sanath
Sanath asks whether if everyone has the SDK installed. We will be making a Notepad app today.
Sanath Nandasiri from Exilesoft will be the resource person today.
We are starting off.
Stay tuned with us till the event begins.
We are Live from NSBM premises for “Introduction to Android” collaboration with Exilesoft (Pvt) Limited
Food day everyone.