1 / 4

MBL 402 Week 1 Individual Assignment Week1App//tutorfortune.com

MBL 402 Week 1 Individual Assignment Week1App//tutorfortune.com<br><br>Click on below link to buy<br>https://tutorfortune.com/products/mbl-402-week-1-individual-assignment-week1app<br><br>Instructions: Please read this instruction, and section 5 and 6 in particular, CAREFULLY as it affects all future programming assignments.<br> <br>1.tSetup Android Studio Development Environment 1.1 Download necessary packages using SDK Manager (ToolsAndroid-SDK Manager), making sure at least the following items are included (check "Show Package Details" to see detailed package items) 1.1a. SDK Platforms: Android 8.0 (Android SDK Platform 26, Google API Intel x86 Atom System Image) 1.1b. SDK Tools: Recommended to install all packages (with the latest version for each package) 1.1c Note that when you open projects from other sources (sample projects, projects from the textbook etc), you may be prompted to install additional dependent packages and tools.<br> <br>1.2 Install Intel HAXM if your CPU supports it. (Note that if your machine is not based on HAXM supporting Intel CPU, you may not be able to run Emulator).<br> <br>2.tCreate an Android Virtual Device (AVD name MBL402 recommended) with the following configuration, using AVD Manager (Tools-Android-AVD Manager) (Note: this will serve as the virtual device all future programming projects should be tested on, unless explicitly specified otherwise) - Device Profile: Phone/Nexus 5 - System Image Android Intel x86 with Google API - API Level 26 - Other default settings<br> <br>3.t(Optional) Test your development environment by importing some Android code sample (e.g. BorderlessButton) (you may need to install additional packages) or open some project downloaded from the textbook. Make sure you can run/debug the project on the AVD created. Experiment with this play project and see if it behaves as expected on the AVD.<br> <br>4.tDevelop your first Android App.<br> <br>4.0 Start a new Android Studio project by adding an blank activity template (which should display a "hello world" message on the screen), with the following settings (note that naming convention and settings MUST be applied to all future assignments). This is to ensure your submitted package name is unique. Assignment: Week1App Android Studio Project Settings: - Application Name: Week1App<first-char-of-first-name-uppercase><first-char-of-last-name-upper-case><last-4-digits-IRN> for example, Week1AppCL3456 - Company Domain: mbl402.phoenix.edu - Automated populated Package Name: edu.phoenix.mbl402.<application-name-in-lower-case> - Leave "Include C Support" option unchecked. - Project Location: Choose a local directory to hold project files. - Target Android Device: Phone and Tablet/Minimum SDK = API 17 (default) - Activity Template: Empty Activity - Accept default names for Activity (MainActivity) and Layout (activity_main). Accept backward compatibility support (AppCompat) After the auto gradle build is complete, click Run-RunApp and make sure the "Hello World" message appears on the Emulator's screen.<br> <br>4.1 Now modify the project to meet the following requirements: a. Change the display text to: "Hello Android, my name is <your full name>." (1.5 pts) b. Change the text color to green. (1.5 pts) c. Implement an "add message" menu item. When selected, some new message will be shown below the exiting texts on the screen. (2 pts)<br> <br>5.tAssignment Submission Instructions (apply to all future<br>Individual Dec 04, 2017 11:59 PM 5<br>programming assignments, including the team project) Once you have developed and tested the application on the AVD, gather the following THREE (3) items for review/grading. 5.1 Project Report File: 5.1a File Name/format: <ApplicationName>Report.doc/Microsoft Word 5.1b File Content: includes the following sections (please refer to AppReportSample file for detail): - At a glance summary on the implementation status of each requested feature and honest self-assessment of points to be earned. - For each feature, include all relevant app screenshots with narratives to prove the app works as expected. One should be able to look at this report to determine how well you implemented the requested feature (and the points/grade earned). - Reference and credits to source that was used for the app. 5.2 app-debug.apk file (typically generated under the app-build-outputsapk directory of the project workspace, if build is successfully). The apk must be installable and runnable to be considered for credit for the whole project. Additional note about the .apk file: To verify you can install and run the apk file onto the emulator, do the following: - Run the emulator (if not already running) - Drag and drop the apk file onto the emulator's window. Alternatively, in command prompt, go to <sdk-directory>/platform-tools, run "adb install <full-path-to-apk-file>" (you may want to set the PATH env variable so that you can run adb command from any location). - If successful, you should be able to locate the newly installed app on the emulator and start it. - if you can run the app in Android Studio but the app would crash when installed from apk file, try build the apk file via build->build apk menu and try again. 5.3 src.zip: Clean (Build->Clean) the project. Make a copy of the project's directory (see ProjectSourceTreeStructure material). Delete the following two directories from the copy: <project>-build and <project>-app-build. Then zip the project's directory into a src.zip file. This is to ensure your src.zip file has minimum size (usually it should be less than 1MBs). Make sure that when the src.zip is unzipped, you should be able to open it in Android Studio.<br> <br>Zip the above THREE (3) files into a single .zip file for submission. All 3 files must be included to earn any credit. Also you must have an installable and working .apk file included to earn any points. In another word, you will receive 0 point if your app doesn't build. But you will receive partial credit for successfully implementing some of the requested features. So plan your time accordingly.<br> <br>6.tAssignment Submission Check: Please bear in mind that it's your responsibility to submit your work with the requested files in a timely manner. Here are some additional tips and instructions for double checking your submission before and after submission.<br> <br>6.0 Make sure your apk file comes from the source and the project test reports comes from the apk file. If these items are found to mis-match, incidents of "academic dishonesty" may be reported to the University. 6.1 Make sure you include all three files.<br>6.2 Make sure you can manually install and run the apk on the specified AVD. 6.3 Make sure src.zip file is no more than 1MB. If your source zip is over-size due to large image files, please use smaller ones. Large files make it very difficult, if not impossible, for me to download your assignments in a batch fashion. 6.4 Make sure you have submitted the correct files. Download your own submission and verify if necessary. No excuse whatsoever will be accepted for wrong submissions.<br><br>Click on below link to buy<br>https://tutorfortune.com/products/mbl-402-week-1-individual-assignment-week1app<br>

hidhud
Download Presentation

MBL 402 Week 1 Individual Assignment Week1App//tutorfortune.com

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. MBL 402 Week 1 Individual Assignment Week1App//tutorfortune.com Click on below link to buy https://tutorfortune.com/products/mbl-402-week-1-individual-assignment-week1app I n s t r u c t i o n s : P l e a s e r e a d t h i s i n s t r u c t i o n , a n d s e c t i o n 5 a n d 6 i n p a r t i c u l a r , C A R E F U L L Y a s i t a ff e c t s a l l f u t u r e p r o g r a mmi n g a s s i g n me n t s .   1 . S e t u p A n d r o i d S t u d i o D e v e l o p me n t E n v i r o n me n t 1 . 1 D o w n l o a d n e c e s s a r y p a c k a g e s u s i n g S D K Ma n a g e r ( T o o l s A n d r o i d - S D K Ma n a g e r ) , ma k i n g s u r e a t l e a s t t h e f o l l o w i n g i t e ms a r e i n c l u d e d ( c h e c k " S h o w P a c k a g e D e t a i l s " t o s e e d e t a i l e d p a c k a g e i t e ms ) 1 . 1 a . S D K P l a t f o r ms : A n d r o i d 8 . 0 ( A n d r o i d S D K P l a t f o r m 2 6 , G o o g l e A P I I n t e l x 8 6 A t o m S y s t e m I ma g e ) 1 . 1 b . S D K T o o l s :   R e c o mme n d e d t o i n s t a l l a l l p a c k a g e s ( w i t h t h e l a t e s t v e r s i o n f o r e a c h p a c k a g e )     1 . 1 c N o t e t h a t w h e n y o u o p e n p r o j e c t s f r o m o t h e r s o u r c e s ( s a mp l e p r o j e c t s , p r o j e c t s f r o m t h e t e x t b o o k e t c ) , y o u ma y b e p r o mp t e d t o i n s t a l l a d d i t i o n a l d e p e n d e n t p a c k a g e s a n d t o o l s .   1 . 2 I n s t a l l I n t e l H A X M i f y o u r C P U s u p p o r t s i t . ( N o t e t h a t i f y o u r ma c h i n e i s n o t b a s e d o n H A X M s u p p o r t i n g I n t e l C P U , y o u ma y n o t b e a b l e t o r u n E mu l a t o r ) .   2 . C r e a t e a n A n d r o i d V i r t u a l D e v i c e ( A V D n a me MB L 4 0 2 r e c o mme n d e d ) w i t h t h e f o l l o w i n g c o n fi g u r a t i o n , u s i n g A V D Ma n a g e r ( T o o l s - A n d r o i d - A V D Ma n a g e r ) ( N o t e : t h i s w i l l s e r v e a s t h e v i r t u a l d e v i c e a l l f u t u r e p r o g r a mmi n g p r o j e c t s s h o u l d b e t e s t e d o n , u n l e s s e x p l i c i t l y s p e c i fi e d o t h e r w i s e ) - D e v i c e P r o fi l e : P h o n e / N e x u s 5 - S y s t e m I ma g e A n d r o i d I n t e l x 8 6 w i t h G o o g l e A P I - A P I L e v e l 2 6 - O t h e r d e f a u l t s e t t i n g s   3 . ( O p t i o n a l ) T e s t y o u r d e v e l o p me n t e n v i r o n me n t b y i mp o r t i n g s o me A n d r o i d c o d e s a mp l e ( e . g . B o r d e r l e s s B u t t o n ) ( y o u ma y n e e d t o i n s t a l l a d d i t i o n a l p a c k a g e s ) o r o p e n s o me p r o j e c t d o w n l o a d e d f r o m t h e t e x t b o o k . Ma k e s u r e y o u c a n r u n / d e b u g t h e p r o j e c t o n t h e A V D c r e a t e d . E x p e r i me n t w i t h t h i s p l a y p r o j e c t a n d s e e i f i t b e h a v e s a s e x p e c t e d o n t h e A V D .

  2.   4 . D e v e l o p y o u r fi r s t A n d r o i d A p p .   4 . 0 S t a r t a n e w A n d r o i d S t u d i o p r o j e c t b y a d d i n g a n b l a n k a c t i v i t y t e mp l a t e ( w h i c h s h o u l d d i s p l a y a " h e l l o w o r l d " me s s a g e o n t h e s c r e e n ) , w i t h t h e f o l l o w i n g s e t t i n g s ( n o t e t h a t n a mi n g c o n v e n t i o n a n d s e t t i n g s MU S T b e a p p l i e d t o a l l f u t u r e a s s i g n me n t s ) . T h i s i s t o e n s u r e y o u r s u b mi t t e d p a c k a g e n a me i s u n i q u e . A s s i g n me n t : We e k 1 A p p A n d r o i d S t u d i o P r o j e c t S e t t i n g s : - A p p l i c a t i o n N a me : We e k 1 A p p < fi r s t - c h a r - o f - fi r s t - n a me - u p p e r c a s e > < fi r s t - c h a r - o f - l a s t - n a me - u p p e r - c a s e > < l a s t - 4 - d i g i t s - I R N >       f o r e x a mp l e , We e k 1 A p p C L 3 4 5 6 - C o mp a n y D o ma i n : mb l 4 0 2 . p h o e n i x . e d u - A u t o ma t e d p o p u l a t e d P a c k a g e N a me : e d u . p h o e n i x . mb l 4 0 2 . < a p p l i c a t i o n - n a me - i n - l o w e r - c a s e > - L e a v e " I n c l u d e C + + S u p p o r t " o p t i o n u n c h e c k e d . - P r o j e c t L o c a t i o n : C h o o s e a l o c a l d i r e c t o r y t o h o l d p r o j e c t fi l e s . - T a r g e t A n d r o i d D e v i c e : P h o n e a n d T a b l e t / Mi n i mu m S D K = A P I 1 7 ( d e f a u l t ) - A c t i v i t y T e mp l a t e : E mp t y A c t i v i t y - A c c e p t d e f a u l t n a me s f o r A c t i v i t y ( Ma i n A c t i v i t y ) a n d L a y o u t ( a c t i v i t y _ ma i n ) . A c c e p t b a c k w a r d c o mp a t i b i l i t y s u p p o r t ( A p p C o mp a t ) A f t e r t h e a u t o g r a d l e b u i l d i s c o mp l e t e , c l i c k R u n - R u n A p p a n d ma k e s u r e t h e " H e l l o Wo r l d " me s s a g e a p p e a r s o n t h e E mu l a t o r ' s s c r e e n .   4 . 1 N o w mo d i f y t h e p r o j e c t t o me e t t h e f o l l o w i n g r e q u i r e me n t s : a . C h a n g e t h e d i s p l a y t e x t t o :   " H e l l o A n d r o i d , my n a me i s < y o u r f u l l n a me > . " ( 1 . 5 p t s ) b . C h a n g e t h e t e x t c o l o r t o g r e e n . ( 1 . 5 p t s ) c . I mp l e me n t a n " a d d me s s a g e " me n u i t e m. Wh e n s e l e c t e d , s o me n e w me s s a g e w i l l b e s h o w n b e l o w t h e e x i t i n g t e x t s o n t h e s c r e e n . ( 2 p t s )   5 . A s s i g n me n t S u b mi s s i o n I n s t r u c t i o n s ( a p p l y t o a l l f u t u r e I n d i v i d u a l D e c 0 4 , 2 0 1 7 1 1 : 5 9 P M 5 p r o g r a mmi n g a s s i g n me n t s , i n c l u d i n g t h e t e a m p r o j e c t ) O n c e y o u h a v e d e v e l o p e d a n d t e s t e d t h e a p p l i c a t i o n o n t h e A V D , g a t h e r t h e f o l l o w i n g T H R E E ( 3 ) i t e ms f o r r e v i e w / g r a d i n g . 5 . 1 P r o j e c t R e p o r t F i l e : 5 . 1 a F i l e N a me / f o r ma t : < A p p l i c a t i o n N a me > R e p o r t . d o c / Mi c r o s o f t Wo r d 5 . 1 b F i l e C o n t e n t : i n c l u d e s t h e f o l l o w i n g s e c t i o n s ( p l e a s e r e f e r t o A p p R e p o r t S a mp l e fi l e f o r d e t a i l ) : - A t a g l a n c e s u mma r y o n t h e i mp l e me n t a t i o n s t a t u s o f e a c h r e q u e s t e d f e a t u r e a n d h o n e s t s e l f - a s s e s s me n t o f p o i n t s t o b e e a r n e d . - F o r e a c h f e a t u r e , i n c l u d e a l l r e l e v a n t a p p s c r e e n s h o t s w i t h n a r r a t i v e s t o p r o v e t h e a p p w o r k s a s e x p e c t e d . O n e s h o u l d b e a b l e t o l o o k a t t h i s r e p o r t t o d e t e r mi n e h o w w e l l y o u i mp l e me n t e d t h e r e q u e s t e d f e a t u r e ( a n d t h e p o i n t s / g r a d e e a r n e d ) . - R e f e r e n c e a n d c r e d i t s t o s o u r c e t h a t w a s u s e d f o r t h e a p p . 5 . 2 a p p - d e b u g . a p k fi l e

  3. ( t y p i c a l l y g e n e r a t e d u n d e r t h e a p p - b u i l d - o u t p u t s a p k d i r e c t o r y o f t h e p r o j e c t w o r k s p a c e , i f b u i l d i s s u c c e s s f u l l y ) . T h e a p k mu s t b e i n s t a l l a b l e a n d r u n n a b l e t o b e c o n s i d e r e d f o r c r e d i t f o r t h e w h o l e p r o j e c t . A d d i t i o n a l n o t e a b o u t t h e . a p k fi l e : T o v e r i f y y o u c a n i n s t a l l a n d r u n t h e a p k fi l e o n t o t h e e mu l a t o r , d o t h e f o l l o w i n g : - R u n t h e e mu l a t o r ( i f n o t a l r e a d y r u n n i n g ) - D r a g a n d d r o p t h e a p k fi l e o n t o t h e e mu l a t o r ' s w i n d o w . A l t e r n a t i v e l y , i n c o mma n d p r o mp t , g o t o < s d k - d i r e c t o r y > / p l a t f o r m- t o o l s , r u n " a d b i n s t a l l < f u l l - p a t h - t o - a p k - fi l e > " ( y o u ma y w a n t t o s e t t h e P A T H e n v v a r i a b l e s o t h a t y o u c a n r u n a d b c o mma n d f r o m a n y l o c a t i o n ) . -   I f s u c c e s s f u l , y o u s h o u l d b e a b l e t o l o c a t e t h e n e w l y i n s t a l l e d a p p o n t h e e mu l a t o r a n d s t a r t i t . - i f y o u c a n r u n t h e a p p i n A n d r o i d S t u d i o b u t t h e a p p w o u l d c r a s h w h e n i n s t a l l e d f r o m a p k fi l e , t r y b u i l d t h e a p k fi l e v i a b u i l d - > b u i l d a p k me n u a n d t r y a g a i n . 5 . 3 s r c . z i p : C l e a n ( B u i l d - > C l e a n ) t h e p r o j e c t . Ma k e a c o p y o f t h e p r o j e c t ' s d i r e c t o r y ( s e e P r o j e c t S o u r c e T r e e S t r u c t u r e ma t e r i a l ) . D e l e t e t h e f o l l o w i n g t w o d i r e c t o r i e s f r o m t h e c o p y : < p r o j e c t > - b u i l d a n d < p r o j e c t > - a p p - b u i l d . T h e n z i p t h e p r o j e c t ' s d i r e c t o r y i n t o a s r c . z i p fi l e . T h i s i s t o e n s u r e y o u r s r c . z i p fi l e h a s mi n i mu m s i z e ( u s u a l l y i t s h o u l d b e l e s s t h a n 1 MB s ) . Ma k e s u r e t h a t w h e n t h e s r c . z i p i s u n z i p p e d , y o u s h o u l d b e a b l e t o o p e n i t i n A n d r o i d S t u d i o .   Z i p t h e a b o v e T H R E E ( 3 ) fi l e s i n t o a s i n g l e . z i p fi l e f o r s u b mi s s i o n . A l l 3 fi l e s mu s t b e i n c l u d e d t o e a r n a n y c r e d i t . A l s o y o u mu s t h a v e a n i n s t a l l a b l e a n d w o r k i n g . a p k fi l e i n c l u d e d t o e a r n a n y p o i n t s . I n a n o t h e r w o r d , y o u w i l l r e c e i v e 0 p o i n t i f y o u r a p p d o e s n ' t b u i l d . B u t y o u w i l l r e c e i v e p a r t i a l c r e d i t f o r s u c c e s s f u l l y i mp l e me n t i n g s o me o f t h e r e q u e s t e d f e a t u r e s . S o p l a n y o u r t i me a c c o r d i n g l y .   6 . A s s i g n me n t S u b mi s s i o n C h e c k : P l e a s e b e a r i n mi n d t h a t i t ' s y o u r r e s p o n s i b i l i t y t o s u b mi t y o u r w o r k w i t h t h e r e q u e s t e d fi l e s i n a t i me l y ma n n e r . H e r e a r e s o me a d d i t i o n a l t i p s a n d i n s t r u c t i o n s f o r d o u b l e c h e c k i n g y o u r s u b mi s s i o n b e f o r e a n d a f t e r s u b mi s s i o n .   6 . 0 Ma k e s u r e y o u r a p k fi l e c o me s f r o m t h e s o u r c e a n d t h e p r o j e c t t e s t r e p o r t s c o me s f r o m t h e a p k fi l e . I f t h e s e i t e ms a r e f o u n d t o mi s - ma t c h , i n c i d e n t s o f " a c a d e mi c d i s h o n e s t y " ma y b e r e p o r t e d t o t h e U n i v e r s i t y . 6 . 1 Ma k e s u r e y o u i n c l u d e a l l t h r e e fi l e s . 6 . 2 Ma k e s u r e y o u c a n ma n u a l l y i n s t a l l a n d r u n t h e a p k o n t h e s p e c i fi e d A V D . 6 . 3 Ma k e s u r e s r c . z i p fi l e i s n o mo r e t h a n 1 MB . I f y o u r s o u r c e z i p i s o v e r - s i z e d u e t o l a r g e i ma g e fi l e s , p l e a s e u s e s ma l l e r o n e s . L a r g e fi l e s ma k e i t v e r y d i ffi c u l t , i f n o t i mp o s s i b l e , f o r me t o d o w n l o a d y o u r a s s i g n me n t s i n a b a t c h f a s h i o n . 6 . 4 Ma k e s u r e y o u h a v e s u b mi t t e d t h e c o r r e c t fi l e s . D o w n l o a d y o u r o w n s u b mi s s i o n a n d v e r i f y i f n e c e s s a r y . N o e x c u s e w h a t s o e v e r w i l l b e a c c e p t e d f o r w r o n g s u b mi s s i o n s .

  4. Click on below link to buy https://tutorfortune.com/products/mbl-402-week-1-individual-assignment-week1app

More Related