Android and Emails Ken Nguyen Clayton state University 2012.

Slides:



Advertisements
Similar presentations
1.Click on the Need a login? Click here. link directly beneath the login boxes. 2.Enter your social security number & birth date. When finished, click.
Advertisements

Application Fundamentals. See: developer.android.com/guide/developing/building/index.html.
Basic Functionality in Android. Functionality in Android Events in Java – mouse related mouse clicked button down or up mouse entered – many others key.
User Interface Android Applications. Activities An activity presents a visual user interface. Each activity is given a default window to draw in. The.
Client / Server Programming in Android Eclipse IDE Android Development Tools (ADT) Android SDK
Android Application Development with Java UPenn CS4HS 2011 Chris Murphy
Get Started in 4 Easy Steps!
@2011 Mihail L. Sichitiu1 Android Introduction Hello World.
Presenting Lists of Data. Lists of Data Issues involved – unknown number of elements – allowing the user to scroll Data sources – most common ArrayList.
Android Application Development Tutorial. Topics Lecture 5 Overview Overview of Networking Programming Tutorial 2: Downloading from the Internet.
Introduction to Android Programming Content Basic environmental structure Building a simple app Debugging.
Android development the first app. Andoid vs iOS which is better? Short answer: neither Proponents on both sides For an iOS side, see this article on.
Android Tutorial Team 3 Jerry Yu Mayank Mandava Mu Du Will Wangles.
Mobile Computing Lecture#08 IntentFilters & BroadcastReceivers.
1 Mobile Computing Monetizing An App Copyright 2014 by Janson Industries.
Android Activities 1. What are Android Activities? Activities are like windows in an Android application An application can have any number of activities.
1 Announcements Homework #2 due Feb 7 at 1:30pm Submit the entire Eclipse project in Blackboard Please fill out the when2meets when your Project Manager.
Android Accessing GPS Ken Nguyen Clayton State University 2012.
1/29/ Android Programming: FrameLayout By Dr. Ramji M. Makwana Professor and Head, Computer Engineering Department A.D. Patel.
Android Dialog Boxes AlertDialog - Toast
System Initialization 1)User starts application. 2)Client loads settings. 3)Client loads contact address book. 4)Client displays contact list. 5)Client.
Mobile Programming Lecture 5 Composite Views, Activities, Intents and Filters.
Import import android.graphics.Bitmap; import android.widget.ImageView;
로봇 모니터링 1/2 UNIT 20 로봇 SW 콘텐츠 교육원 조용수. 학습 목표 Message Queue Handler 2.
1 Introducing Activity and Intent. 2 Memory LinearLayout, weight=2 LinearLayout, weight=1 TextView ListView.
ANDROID – DRAWING IMAGES – SIMPLE EXAMPLE IN INTERFACE AND EVENT HANDLING L. Grewe.
Announcements Homework #2 will be posted after class due Thursday Feb 7, 1:30pm you may work with one other person No office hours tonight (sorry!) I will.
Activities and Intents Richard S. Stansbury 2015.
Recap of Part 1 Terminology Windows FormsAndroidMVP FormActivityView? ControlViewView? ?ServiceModel? Activities Views / ViewGroups Intents Services.
GLAD Yahoo User Group. Joining the GLAD Yahoo Group Part 1:
Mobile Computing Lecture#12 Graphics & Animation.
Android Alert Dialog. Alert Dialog Place Button to open the dialog. public class MainActivity extends ActionBarActivity { private static Button button_sbm;
Android 基本 I/O. 基本 I/O 介面元件 在此節中主要介紹常見的 I/O 使用者介 面元件 – Button, TextView, 以及 EditText , 學習者可以學會: – Android 的視窗表單設計 res/layout/main.xml – Android SDK –
CMPE419 Mobile Application Development Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department Asst.Prof.Dr.Ahmet Ünveren
Android Programming.
Android Programming - Features
Lecture 3 Zablon Ochomo Android Layouts Lecture 3 Zablon Ochomo
Android Introduction Hello World
Android Application Development 1 6 May 2018
Android N Amanquah.
several communicating screens
GUI Programming Fundamentals
Android – Event Handling
Android Introduction Hello World.
Android Notifications
Android Widgets 1 7 August 2018
Android Introduction Hello Views Part 1.
ITEC535 – Mobile Programming
תכנות ב android אליהו חלסצ'י.
Picasso Revisted.
CIS 470 Mobile App Development
CIS 470 Mobile App Development
CIS 470 Mobile App Development
CIS 470 Mobile App Development
CMPE419 Mobile Application Development
BMI Android Application will take weight and height from the users to calculate Body Mass Index (BMI) with the information, whether user is underweight,
First Step: Go to and click on NUCLEUS
滑動 建國科技大學 資管系 饒瑞佶.
CIS 470 Mobile App Development
CIS 470 Mobile App Development
CIS 470 Mobile App Development
Android Notifications
ארועים ומאזינים android.
Adding Components to Activity
CMPE419 Mobile Application Development
CMPE419 Mobile Application Development
WELCOME How to Setup Yahoo Account Key Feature in Browser? CONTACT US
Android Sensor Programming
CIS 694/EEC 693 Android Sensor Programming
How to a Document Using Gmail? | GMAIL CUSTOMER SERVICE NUMBER
Presentation transcript:

Android and s Ken Nguyen Clayton state University 2012

Sending s There are two main methods to send an – Via clients such as gmail or similar clients – Via SMTP/IMAP or similar services – auto ing Using client required the user have their account already setup Using the SMTP/IMAP or other service required the service properly configured – look at javax.mail package

Sending s via gmail client // MainActivity.java public class MainActivity extends Activity public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_ _main); Button send=(Button) findViewById(R.id.buttonSend); //send an when the button is click send.setOnClickListener(new OnClickListener() { public void onClick(View v) { final Intent Intent = new Intent(android.content.Intent.ACTION_SEND); Intent.setType("plain/text"); Intent.putExtra(android.content.Intent.EXTRA_ , new String[]{

Intent.putExtra(android.content.Intent.EXTRA_SUBJECT, "Your subject"); Intent.putExtra(android.content.Intent.EXTRA_TEXT, "Your message"); MainActivity.this.startActivity(Intent.createChooser( Intent, "Send mail... – notification while sending")); } }); }

Layout.xml <LinearLayout xmlns:android=" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > <Button android:layout_width="match_parent" android:layout_height="wrap_content" android:text="send " />

Exercise Create a registration activity where the user can enter their contact information and an will be sent to them as a confirmation