Upload
others
View
6
Download
0
Embed Size (px)
Citation preview
Beginning
Christopher M. Judd
Development
Tuesday, February 1, 2011
Christopher M. JuddPresident/Consultant of
leader
Columbus Developer User Group (CIDUG)
Tuesday, February 1, 2011
Remarkable Ohio
Free
Developed for eTech Ohio and Ohio Historical CenterTuesday, February 1, 2011
University System Of Ohio
FreeDeveloped for eTech Ohio and University System Of Ohio
Tuesday, February 1, 2011
CALL FOR ENTRIES !!eTech Ohio is pleased to announce the
eTech Ohio Mobile Apps Development Contest
The state of Ohio is seeking new apps that showcase Ohio and its unique talents and creativity! eTech Ohio encourages mobile applications developers, both new and experienced, to produce apps that will increase awareness and usage of mobile apps, both in and outside of the classroom. Full guidelines and forms are available online at: www.etech.ohio.gov/appscontest/.
Contact: Amy Estep, [email protected], 877.383.2406
Tuesday, February 1, 2011
• 8:00-8:45 02/01/2011Developing Apps for the iPhone, iPod Touch or iPad
• 10:45-11:30 02/01/2011Developing Apps for Android
• 3:45-4:40 02/01/2011Developing Android App with Google App Inventor
More Mobile Apps
Tuesday, February 1, 2011
Android Devices
Tuesday, February 1, 2011
Tuesday, February 1, 2011
Input
Multi-touch
Virtual Keyboard Speech
Tuesday, February 1, 2011
Location Aware
Tuesday, February 1, 2011
Accelerometer/Gyroscope
Tuesday, February 1, 2011
Camera/Video
Tuesday, February 1, 2011
Android Development
vs vs
Tuesday, February 1, 2011
Android SDK
Tuesday, February 1, 2011
FREE!!!
Tuesday, February 1, 2011
OPEN SOURCE!!!
Tuesday, February 1, 2011
Eclipse
Android Development Tool (ADT)
Android SDKIDE
EmulatorPlatformsSamples
Eclipse Plug-in
Tuesday, February 1, 2011
Getting Started1.Install Java Developer Kit (JDK)2.Install Eclipse3.Install SDK4.Install ADT Eclipse Plug-in5.Install Android Platform(s)6.Configure Android Virtual Device
http://developer.android.com/sdk/installing.htmlTuesday, February 1, 2011
Android Platforms
Name Version LevelCupcake 1.5 3Donut 1.6 4Eclair 2.1 7Froyo 2.2 8
Gingerbread 2.3 9
Tuesday, February 1, 2011
Configure Android Virtual Devices (AVD)
<sdk>/tools/android
In Eclipse - Windows > Android SDK and AVD Manager
http://mobile.tutsplus.com/tutorials/android/common-android-virtual-device-configurations/Common Device Configs
Tuesday, February 1, 2011
Emulator
Tuesday, February 1, 2011
VS
Tuesday, February 1, 2011
Android Development Tools
Java EditorDebugger
PerspectiveWizardsProfiler
Tuesday, February 1, 2011
Android Architecture
Tuesday, February 1, 2011
MyWebBrowser Example
Tuesday, February 1, 2011
Tuesday, February 1, 2011
Create Project
Tuesday, February 1, 2011
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" >
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="50px" > <EditText android:id="@+id/url" android:layout_height="wrap_content" android:layout_width="wrap_content" /> <Button android:id="@+id/go" android:text="@string/go_button_text" android:layout_width="wrap_content" android:layout_height="wrap_content"/> </LinearLayout> <WebView android:id="@+id/webview" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</LinearLayout>
res/layout/main.xml
Layout Screen
res/values/strings.xml<?xml version="1.0" encoding="utf-8"?><resources> <string name="app_name">MyBrowser</string> <string name="go_button_text">Go</string></resources>
Tuesday, February 1, 2011
Application Code
public class Main extends Activity { private WebView webView; private EditText url;
public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); url = (EditText)findViewById(R.id.url); Button go = (Button)findViewById(R.id.go); webView = (WebView)findViewById(R.id.webview); go.setOnClickListener(new OnClickListener() { public void onClick(View v) { webView.getSettings().setJavaScriptEnabled(true); webView.loadUrl(url.getText().toString()); } }); }}
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="50px" > <EditText android:id="@+id/url" android:layout_height="wrap_content" android:layout_width="wrap_content" /> <Button android:id="@+id/go" android:text="@string/go_button_text" android:layout_width="wrap_content" android:layout_height="wrap_content"/> </LinearLayout> <WebView android:id="@+id/webview" android:layout_width="fill_parent" android:layout_height="fill_parent" />
src/com/juddsolutions/mybrowser/Main.java
Tuesday, February 1, 2011
Run Application
In Eclipse - Run > Run
first
time
multipledevices
Tuesday, February 1, 2011
<?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.juddsolution.mybrowser" android:versionCode="1" android:versionName="1.0"> <application android:icon="@drawable/icon" android:label="@string/app_name"> <activity android:name=".Main" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity>
</application> <uses-sdk android:minSdkVersion="7" />
<uses-permission android:name="android.permission.INTERNET"></uses-permission></manifest>
Permissions
AndroidManifest.xml
Tuesday, February 1, 2011
Tuesday, February 1, 2011
Deployment Options
Android Package
*.apk
Tuesday, February 1, 2011
1.Develop/Test Application2.Export/Sign Jar3.Upload Application
http://market.android.com/publish$25
Register
apk FileScreen shotsHigh Res IconTitleDescriptionApplication TypeCategoryPriceWebsiteEmailPhoneetc...
App Details
http://developer.android.com/guide/publishing/publishing.htmlTuesday, February 1, 2011
AnalyticsAnalytic Companies
UsesNew UsersDevice TypesLocationsEvents
Android Market Place
DownloadsActive InstallsErrorsComments
Tuesday, February 1, 2011
Resources
http://developer.android.com
Tuesday, February 1, 2011
President/Consultant/Authoremail: [email protected]: www.juddsolutions.comblog: juddsolutions.blogspot.comtwitter: javajudd
Christopher M. Judd
Tuesday, February 1, 2011