Free Essay

University Student

In:

Submitted By sdimudm
Words 1342
Pages 6
Mobile Application – 26.09.2013 1. Launch. 2. Click as follows: File > Android Application Project.

3. The following will appear:

4. Near the application Name, type – UDM

5. Click on Next. The following will appear:

5. Click on Next. The following will appear:

6. Click on Next. The following will appear:

7. Click on Next. The following will appear:

8. Click on Finish. 9. The following Screen will appear :

10. By default, your application will add Hello World. Don’t remove it. We will use it later. 11. Now we will add a button where we are going to change its label to Hi, using strings.xml.

How to do this??? 12.

13. As soon as you click on the folder res, the following will appear:

14. After clicking on Values, the following will appear – dimens.xml, strings.xml and styles.xml.

15. Double click on strings.xml. 16. The following screen will appear : 17. Click on button Add. The following will appear :

18. Select String and click on button OK. 19. The following will appear : 20. Near Name, type : btnHi and near value, type : Hi See below:

21. Then save the work. You will notice the following:

22. Now see to the L.H.S. Click on folder layout. Double click on activity_main.xml.

23. After clicking on activity_main.xml, you will find the following: 24. Now drag and drop a Button on the form. 25. Now we will rename the button as Hi. But how to do this???

26. Select the button and right click on it. 27. Click on > Edit Text. The following will appear :

28. Choose btnHi and click on Ok. The following will appear: 29. Now, we will change the id of the button to buttonHi. How to change the id??? * Select the button Hi. * See to the L.H.S. There are properties!!!

* Rename it as > buttonHi and click Ok. 30. Now we will create 4 colors- red, blue, yellow and green. How to create the color??? See to the LHS. Choose syles.xml from Values folder and Double Click on it.

31. The following screen will pop up: 32. Click on Add. The following will appear: 33. Choose color and Click on button OK.

34. The following will appear: 35. Type Red near Name and #FF0000 near value. Then save it. See below: Note: You can go this website to get the color code: http://html-color-codes.info/ Color | Code | Red | #FF0000 | Blue | #0000FF | Yellow | #FFFF00 | Green | #008000 |

36. You will notice the following :

37. Click on Add again and add another color i.e. Blue, Yellow and Green. Repeat the same process that you did for Red Color. 38. As soon as you have added the colors, save the work. 39. You will notice the following :

40. We will create a colors.xml in the values folder. How??? Right click on values >New > Android XML File

41. You will notice the following : 42. In File, type > colors 43. Click on Next and then Finish. See below: Double Click on Styles.xml. You will find the following codings :
<resources>

<!-- Base application theme, dependent on API level. This theme is replaced by AppBaseTheme from res/values-vXX/styles.xml on newer devices. --> <style name="AppBaseTheme" parent="android:Theme.Light"> <!-- Theme customizations available in newer API levels can go in res/values-vXX/styles.xml, while customizations related to backward-compatibility can go here. --> </style>

<!-- Application theme. --> <style name="AppTheme" parent="AppBaseTheme"> <!-- All customizations that are NOT specific to a particular API-level can go here. -->
Cut and paste these four lines of codes in Colors.xml </style> <color name="Red">#FF0000</color> <color name="Blue">#0000FF</color> <color name="Yellow">#FFFF00</color> <color name="Green">#008000</color>

</resources>

* Double Click on colors.xml. * Paste it as follows : <?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="Red">#FF0000</color> <color name="Blue">#0000FF</color> <color name="Yellow">#FFFF00</color> <color name="Green">#008000</color>
</resources>

44. Now to go activity_main.xml. Right click on the button Hi > Other properties > Inherited from view > click on Background as shown below :

.

45. As soon as you have clicked on Backgound, you will notice the following: 46. Choose color. The following below will appear: 47. Click on blue as shown below and then ok:

48. When you will choose blue, you will see the following :

49. Click on button OK. Automatically, you will notice that the button Hi, has turned to blue color.

50. Your Main.Activity.java file looks like this : 51. Now we will access the button we created using Java. 52. Type the coding :

53. You will get an error: Button will be underlined. 54. Place the cursor on Button which is underlined. You will get the following: 55. Click on 56. You will get one more error: 57. Place your cursor on the line which is undelined. 58. You will get the following : 59: Now click on. 60: You will notice, there are no more errors. Ignore the warnings.

Now we will add a click event to the buttonHi 61. Type the following coding: 62. You will notice errors, see below :

63. Place your cursor on OnClickListen() which is underlined. You will notice the following : 64. Click on. 65. You will notice one more error. 66. Again place your cursor on

67. You will get the following:

68. Click on. All the errors i.e. the underlined lines will disappear. 69. Add two other buttons which say “Bye” and “wawa” to your MainActivity using all three methods as discusses previously. 70. Add another Button to your MainActivity and change label to ‘Show Screen2’. 71. Use strings.xml method. See below: 72. Right Click on the button> Click Edit Text > Choose btnShowScreen2. 73. It will appear as follows:

74. Change the id of the ShowScreen 2 to btnshowsreen2.

75. Add the following lines in its onClick Method

76. Click on. The following lines of codes will be automatically written for you.

77. We will add another Activity. Click File > New>Other > Android Activity 78. Click on Next. The following will appear: Name the second activity as > SecondScreenActivity: 79. Click Finish. 80. Continue typing the code 81. Click on

The Overall codings are as follows: package com.example.udm;

import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.view.Menu; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.Toast;

public class MainActivity extends Activity {

@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Button buttonHi= (Button) findViewById(R.id.buttonHi); buttonHi.setOnClickListener(new OnClickListener() {

@Override public void onClick(View v) { // TODO Auto-generated method stub Toast.makeText(getApplicationContext(), "Hi", Toast.LENGTH_SHORT).show(); } });

Button buttonshowscreen2= (Button) findViewById(R.id.buttonshowscreen2); buttonshowscreen2.setOnClickListener(new OnClickListener(){

@Override
We have added these coding within the brackets public void onClick(View v) { // TODO Auto-generated method stub Intent intent = new Intent(getApplicationContext(),SecondScreenActivity.class); startActivity(intent); } });

}

@Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.main, menu); return true; } } 82. Save all work. 83. Right Click on the project and then Click on > Run as > Android Application.

84. You will have to wait a bit,

85. Finally, you will see your screen as follows: 86. Click on Button Show Screen 2. The following will appear : 87. You can click on to go back.

RadioButton Events 1. Right Click on your project. Click New> other > Android Activity >Rename it as Third Activity. 2. See below :

3.

Similar Documents

Premium Essay

Student Transition to University

...Formative Essay on Student Transition to University Contents Introduction 1 Content 2 1. Key issues 2 2. Approaches 2 3. University support 2 4. Student strategies and actions 2 Conclusion 3 References 3 Introduction Student transition is a complex problem and researches were conducted to find the best solution. This essay presents the key issues of this problem but also the approaches and strategies that can help the students to integrate and accommodate with life in universities. Content 1. Key issues The experience demonstrated that the transition from the high school to university is difficult and raises a lot of problems. The researchers identified the key issues regarding this transition : “'academic involvement', 'goal direction', 'classroom interaction', 'institutional belongingness', 'alienation' and 'social isolation' as the key environmental and motivational factors affecting students.” (Whittaker, 2013) Mostly alienation and social isolation appear at the students from other countries or cities. That’s why the social events organized by universities or campuses are welcomed. In multicultural environment, the academic involvement is more powerful in the first year of studies. “Administrative transition centres on issues surrounding enrolment, managing timetables, keeping track of information and submission due dates, and maintaining contact with academic staff.” (Whittaker, 2013) 2. Approaches Stella (2013) recommends...

Words: 849 - Pages: 4

Premium Essay

Stress and Anxiety on University Students

...Stress and Anxiety on College Students Name: Institution: Date: Table of Contents Introduction 4 Statement of the problem 4 Significance of the study 5 Methodology 5 Literature Review 6 Results and analysis 9 Recommendations 10 Limitations 11 Conclusion 11 References 13 Abstract Academic stress, depression, and anxiety and their coping strategies are critical challenges facing college students. Every government invests heavily in education. Nevertheless, a research survey carried out among college students indicates that at any given time, 10 to 20 percent of the students’ population suffer from the stress-related psychological problem. This paper describes the research regarding the causes, trends, the nature of psychiatric morbidity, psychological problems, emotional adjustments, as well as management of stress among college students. The paper emphasizes the importance of counselling in helping students with emotional problems as well as suggesting preventive measures that ought to be implemented by universities such as enhancing awareness of seeking counselling services, setting up centres for counselling in colleges. It is also suggested that all colleges should compulsorily establish mentorship programs. Finally, all colleges should form a student health committee with members from health profession, initiate regular workshops, seminars, for both students and teachers on different issues of stress-related psychological problems as well as efficient coping...

Words: 2734 - Pages: 11

Premium Essay

First-Generation University Students

...Cultural strengths Cultural Barriers 6- Re: Recognizing Challenges and Predicting Success in First-Generation University Students. First-generation university students are typically defined as those whose parents have not earned bachelor's degrees, in contrast with continuing-generation students, who have at least one parent with a bachelor's degree (Stebleton & Soria, 2012). The number of first-generation university students in the US has steadily increased (Engle & Tinto, 2008), comprising about 21% of the student population (Pryor, Hurtado, DeAngelo, Blake, & Tran, 2010). Low-income and ethnic minority students are frequently the first members of their families to attend a university (Bui, 2002; Engle & Tinto, 2008; Hertel, 1992;...

Words: 694 - Pages: 3

Free Essay

Student Transition to University

...21/10/2015 University of Westminster
 Westminster Business School
 
 Module code and title: BKEY401 Professional competences
 
 Understanding of transition to University
 
 
 
 Student Name: David Leandro Rodrigues Fernandes
 Student ID number: 155139862
 Seminar Leader name: Theocharis Papadopoulos
 
 Word Count: 780
 
 
 
 
 
 
 
 
 
 
 
 1 21/10/2015 
 Katanis (2000, p100) says that “the experiences during the first semester at university may be critical in student’s decisions to continue or discontinue studies”. The student transition can be considered as a transition from adolescence to adulthood in which students have to be critical about their future decisions and take responsibility from their actions. This transition could be also considered complex for students because it introduces new challenges and issues, especially in academic literature. In this essay, it will be explained how university can help students to face issues and challenges, means of support that are accessible at the University of Westminster during first year and finally analyze strategies and actions to succeed this transition.
 
 Students during the first semester appreciate personal encounters with tutors, which enables them to create and prevent an identity during the transition. However, it seems that they do not get personal encounters because according to Briggs et al (2012) studies have shown the absence of individual contact with staff...

Words: 1092 - Pages: 5

Free Essay

Drug Abuse Among University Students

...DRUG ABUSE AMONG UNIVERSITY STUDENTS Introduction As there are so many cases of drug abuse among university students, we need to find out the reasons why they are taking drugs and what can be done to overcome this problem. Body Family factors is one of the reason why university students are taking drugs. Poor parental supervision will give them more opportunities for exposure to drugs. Poor parental communication could lead the children to take drugs. They think their parents do not care about them. Educate your teenager about drug use, so they get the real * facts about the dangers of drug use. Family break up or parental conflicts. Parents keep quarelling everyday. Teenagers who failed to find ways to relief their frustration misuse drugs to feel better (Neil,n.d,as cited in Top 8 Reasons, n.d.) Students may take drugs due to the university factors. Availability of drugs in the university. Other students are selling drugs. They want to try something new. Students are stress in studies. Full of works and assignments. Parents play an important role in preventing or dealing with teenagers who abuse drugs. Talk to your teenager openly and honesty (Stanton,1983) Asking your child to tell you his/her thought and feelings about drugs. Talking with your child about his/her emotion and your feeling too. Teach responsible behaviour. Teach the balance of rights and responsibilities. Give rewards for their responsible behaviour. Encourage your...

Words: 343 - Pages: 2

Premium Essay

University Gives Less to the Students.

...Malaysian University is said to produce quality students and human capital to the country. University now offers a variety of courses to help students get jobs. Malaysian University expect more to the students but the University gives less to the students. In my opinion, I agree with the statement. For example, bias lecturers, obsolete equipments, poor learning environment. The problem with bias lecturers. For example, the lecturers have been assigned to teach certain classes group but only give opportunity to the class he/she likes. One class group have about 30 to 40 students but only a quarter of the class passed the subject. Lecturers cannot easily choose their favourite students and ignore the rest. Lecturers cannot expect that students can follow his/her style of teaching. Next, the Universities have many obsolete equipments for the students no matter what courses. Many students had complained that they cannot use these obsolete equipments because they do not support students’ work. The equipments need to be update in order to use it for work. For example, PCs needs to use latest Operating System. The monitors need to use the clearer screen than CRTs. Trackball mouse need to replace with laser mouse. Next, the problem is poor learning environment. The library has air-conditioner but the room not cool enough. Students study with sweats in the library. The classrooms have trash inside them. The smokes of cigarettes all over the university.Toilets are very smelly that...

Words: 299 - Pages: 2

Premium Essay

Students Should Either or Not Pay University

...people argue that students, who will probably earn higher than average salaries after graduating, should pay for their own higher education rather than the state. As more and more students nowadays are going to university, this is becoming such an important issue. The state was able generally to afford university for almost all the students, however since the demand, in these years, is increasing it is becoming a problem for the state economy which due to this the tax for the students’ loan have increased: this is why some people argue that. I disagree to this extent as I think that every student should be helped by the state to join higher education, and in relation to what they have when they’re joining university, their income, or if they rely on their parents, in relation to their parents’ income. As the students finish their studies and they start having a regular wage, they should pay among all the other taxes a tax, which is proportional to what they are earning, until they will not be able to solve the debit they have with the state. This debit should be arranged in accordance to how much the students receive from the state, so that everyone will have to pay a different tax because of the various amounts they could afford when they started the loans. In addition to this, even if it is rare students, which come from higher classes, can decide not to open their debt and to pay universities by themselves. In conclusion, I think that every student should have the chance...

Words: 305 - Pages: 2

Free Essay

Benefits of Physical Activity Amoung University Students

...Benefits of Physical Activity Among University Students The correlation between physical activity and mental health among college students is not a topic that individuals are readily informed about. There is a significant amount of stress in the media on the importance of physical activity to an individuals’ health in preventing and treating chronic diseases however the significance towards mental health is rarely mentioned. Although there are a lot of research studies regarding the topic, university students may not necessarily take the time to properly educate themselves on how to better their life through physical activity. Physical activity has a positive effect on the mental health of post-secondary students specifically in the areas of anxiety, stress and depression. Students experience many forms of stress not only in regards to academics, but many outside factors as well. According to Hurst (2013), after surveying students for his study the top stressor they reported is general academics. A full-time student generally takes five courses per semester which include overlapping due dates for assignments, the act of studying for exams, all while students are expected to maintain a required average in order to remain enrolled in the program. All of these contribute to the stress of the student. The second most frequent stressor faced by students is relationships. Hurst (2013) explains that students face relationship stressors in regards to family, romantic, and peer...

Words: 2724 - Pages: 11

Premium Essay

Ohio State University Student Analysis

...I strongly believe no one should attend a university that they feel they wouldn’t contribute to in terms of unique experiences or leadership skills. For example; if I were to attend a large school such as The Ohio State University with a student body size of nearly 60,000, all my uniqueness will most likely be buried and go unnoticed. It’s for this reason, and many others, that led me to apply to the University of West Florida. Not only will the roughly 85 percent smaller student body allow me to contribute as an individual, the small class sizes will, without a doubt, allow me to stand out academically and intellectually. My contribution to UWF includes unique experiences and leadership skills, both of which will prospectively enrich my fellow...

Words: 1172 - Pages: 5

Premium Essay

Academic Motivation and Study Skills of University Students

...ACADEMIC MOTIVATION AND STUDY SKILLS OF UNIVERSITY STUDENTS AN UNDERGRADUATE THESIS PRESENTED TO THE FACULTY OF THE DEPARTMENT OF BEHAVIORAL SCIENCES, COLLEGE OF ARTS AND SCIENCES, CENTRAL MINDANO UNIVERSITY PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE Danica Faye M. Quinco Bachelor of Arts in Psychology September 2013 CHAPTER 1 INTRODUCTION Motivation is the force that initiates, guides and maintains goal-oriented behaviors. It is what causes us to take action, whether to grab a snack to reduce hunger or enroll in college to earn a degree. The forces that lie beneath motivation can be biological, social, emotional or cognitive in nature. The first attempt of the researchers is to explore the academic motivations that students in a university will tend to use, usually in enduring the college life. People are centrally concerned with motivation -- how to move themselves or others to act. Everyone struggles with how to motivate others and especially on its own. People are often moved by external factors such as reward systems, grades, evaluations, or the opinions they fear others might have of them.  Yet just as frequently, people are motivated from within, by interests, curiosity, care or abiding values. Many individuals enroll into college for several different reasons, including social, economic, or intellectual. Since a degree opens more employment opportunities. Study skills are usually defined as students’ ability to manage time and other resources...

Words: 3848 - Pages: 16

Premium Essay

How to Increase Student Enrollment in University

...NOTE: “Students” and “customers” are interchangeable terms for this text. 1. Website is one of the touch points for the customer. Customers search information through websites and often build positive or negative image about the organization (based on their experience with the website). Hence, an error free interactive website should be the aim of a company. Even small typographical mistakes should not be overlooked. * Virtual visit of campus could be an option offered on website to attract potential customers. Virtual campus tours are offered to reduce the fear and doubts of the potential students about particular university, which may result in increased enrollment. Virtual tour should highlight the class room environment, computer labs, library, sports facilities, garden, and cafeteria. 2. Based on market survey industry specific elective courses should be offered to class of minimum 15 students by industry specialist facilitators. For example Pharmaceutical marketing, Media Planning, Financial services marketing, Education Marketing or Finance and HRM elective courses etc. However, per course profit margin would be decrease in this case. We can share this burden with the students (up to some extent) by charging 10-15% more fees on such courses. These courses have greater utilization for MBA evening or Weekend programs. 3. Participate in events and exhibitions at expo to increase awareness. Since the population of North Nazimabad is up to 1million...

Words: 536 - Pages: 3

Premium Essay

International Chinese Students Adaptation to Canadian Universities

...experiences of Chinese International Students at a Canadian University: Viewpoints, Prospects, and Experiences 1. Background information Recently, the number of global students coming to Canada has been increasing quickly. In 2007, more than 60,000 global students came to Canada, "speaking to a 4.6 percent increment over the earlier year" (Citizenship and Immigration Canada, 2008). In the same way as other colleges in Canada, the University of Windsor has likewise been drawing in an expanding number of worldwide students of late, and the number of inhabitants in universal students from China includes one of the greatest groups of global students at the University. At the time of information gathering, around 400 universal students from China were enrolled in the undergraduate and graduate programmes, which is pretty nearly 27 percent of the worldwide students’ populace of the University. It is vital for the college to obviously see how dedicated these students are with their learning and backgrounds, as this data might straightforwardly influence the enrollment and maintaining of foreign students. We learnt from reliable sources that numerous Chinese foreign students at the University of Windsor are encountering different difficulties. Our conference with staff at the International Students Center at the University affirmed this announcement taking into account their perceptions, saying that one of the significant difficulties for the universal students is their powerless English dialect...

Words: 2595 - Pages: 11

Premium Essay

Five Rules of Student Engagement for Effective University Marketing

...Five rules of student engagement for effective university marketing Can marketing help in tackling falling university applications? John Newbold offers tips on attracting your target audience Establish a link between interests and careers The end goal of most prospective university students is not attending lectures for a few years; but eventually to embark on a career and, more specifically, a career they are passionate about. Recent social media coverage has emphasised the point that career success and happiness comes from pursuing what interests you, rather than what might seem a good idea from other people's perspective (teachers / parents / politicians). One video currently doing the rounds on Facebook simply asks the question: "What if money was no object?" When marketing to potential students, universities should draw this link between student passions and potential careers. Higher education institution Birmingham Metropolitan College's latest campaign achieves this well, with the strapline "Let what you love become what you do". Similarly, Staffordshire University has this week launched a new graduate campaign spanning TV, cinema, press, radio and digital advertising. The idea is to show students that Staffordshire University is committed to their success beyond graduation. Don't talk down to prospective students Avoid falling into the trap of applying your own experiences of university to today's students, even if your university days were only five or...

Words: 1114 - Pages: 5

Free Essay

Many University Students Engage in Paid Employment. Discuss the Impact of This on Their Academic Performance and Their Overall Experience at University

...TOPIC Many university students engage in paid employment. Discuss the impact of this on their academic performance and their overall experience at university. ABSTRACT Many university engage in paid employment for various reasons such as earning extra income, work experiences. Working while studying provides a stronger basis of working experience for later professional graduate employment and also earns a considerate amount of income that supports the basis of living against the rising inflation and cost of tuition fee. However it is possible that this has detrimental effects on a higher GPA. Not that students lack of intellectual value but rather this is a choice to emphasize on working more rather on studying. Studies have found that there is a direct correlation between increasing working hours and decreasing performance in studying. In this report, it will analyze the relevant data from primary sources and other secondary sources to identify how those reasons and other differentiating factors such as gender, language background, attendance and hours of work would affect their academic performances as well as social experience. BACKGROUND and LITERATURE REVIEW Craig Zimitat, 2003, The first year experiences, Griffith University. The report mainly focuses on the impact of employment within the timeframe of first year student. The data is collected via Griffith survey in large distribution and organized in three groups. The first group represents full-time students not in...

Words: 1697 - Pages: 7

Free Essay

The Relationship Between Study Skills and Academic Performance of University Students

...academic performance of university students Afsaneh Hassanbeigi a, Jafar Askari b, Mina Nakhjavanic, Shima Shirkhodad, Kazem Barzegar e, Mohammad R. Mozayyan f, Hossien Fallahzadehg * 1 b a Mental Hospital, Shahid Sadoughi University of Medical Sciences, Yazd, Iran Department of Psychology, Shahid Sadoughi University of Medical Sciences, Yazd, Iran c Medical Student, Shahid Sadoughi University of Medical Sciences, Yazd, Iran d Medical Student, Shahid Sadoughi University of Medical Sciences, Yazd, Iran e School of Medicine, Shahid Sadoughi University of Medical Sciences, Yazd, Iran f School of Medicine, Shahid Sadoughi University of Medical Sciences, Yazd, Iran g School of Health, Shahid Sadoughi University of Medical Sciences, Yazd, Iran Abstract Objective: The purpose of the present study was to investigate the relationship between various study skills and academic performance of university students. Materials & Methods: A total of 179 male and female junior and senior medical and dental students participated in the present study. The instrument was "Study Skills Assessment Questionnaire" taken from counseling services of Houston University. The content validity of this questionnaire was approved by ten psychologist and faculty members of Shahid Sadoughi University of Medical Sciences. The data were collected and analyzed using Kruskal-Wallis test. Results: The findings of the study showed that the study skills scores of university students with a grade point average...

Words: 286 - Pages: 2