Skip to content

Commit

Permalink
new images that were not added
Browse files Browse the repository at this point in the history
  • Loading branch information
chiara committed Apr 6, 2015
1 parent 40ae25d commit c8c81f4
Show file tree
Hide file tree
Showing 18 changed files with 327 additions and 13 deletions.
Binary file added dist/images/cooking.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/images/gitAndTravis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/images/questions.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/images/richmond-walk2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/images/sketch.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/images/steps.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 26 additions & 10 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ <h1>From an idea to your first (tested) app</h1>
<h2>Chiara Chiappini</h2>
<h3>Agile Software Developer @eBay</h3>
<h3><a href="http://twitter.com/chiarachiappini">@chiarachiappini</a></h3>
<h3><a href="http://kul3r4.github.io/droidConf/dist/">http://kul3r4.github.io/droidConf/dist/</a></h3>
<h3><a href="https://github.com/kul3r4/droidConf">https://github.com/kul3r4</a></h3>
</div>
</section>
Expand All @@ -36,11 +37,7 @@ <h2>lunch time walk</h2>
<h2>weather today?</h2>
</div>
</section>
<section class="green">
<div class="background-div">
<h2>Add a sketch here</h2>
</div>
</section>
<section class="green"><img src="images/sketch.jpg" class="img-fit"></section>
<section class="baby-lego-background">
<div class="background-div">
<h2>Time to build
Expand Down Expand Up @@ -349,10 +346,10 @@ <h2 class="bullet">Travis</h2><br>
<div class="background-div">
<h2 class="bullet">steps</h2><br>
<ul>
<li>Go to <a href="https://travis-ci.org">Travis CI</a></li>
<li>Sign In with Github user</li>
<li>Activate GitHub Webhook</li>
<li>Add .travis.yml file to your repository</li>
<li>go to <a href="https://travis-ci.org">Travis CI</a></li>
<li>sign In with Github user</li>
<li>activate GitHub Webhook</li>
<li>add .travis.yml file to your repository</li>
</ul>
</div>
</section>
Expand All @@ -377,6 +374,7 @@ <h3>.travis.yml</h3>
</div>
</section>
<section class="green"><img src="images/travis-snaphot1.png" class="img-fit-entire-screen"></section>
<section class="green"><img src="images/gitAndTravis.png" class="img-fit-entire-screen"></section>
<!--
section.green
div.background-div
Expand Down Expand Up @@ -426,7 +424,25 @@ <h3>.travis.yml</h3>
-->
<section class="green">
<div class="background-div"></div>
<div class="background-div">
<h2 class="bullet">Summarizing</h2><br>
<ul>
<li>idea</li>
<li>prototype</li>
<li>testing</li>
<li>CI</li>
</ul>
</div>
</section>
<section class="richmond-walk-end">
<div class="background-div">
<h2>Ready to go for a walk</h2>
</div>
</section>
<section class="questions">
<div class="background-div">
<h2>Questions?</h2>
</div>
</section>
</article>
<script src="build/build.js"></script>
Expand Down
Binary file added src/images/Screen Recording.mov
Binary file not shown.
Binary file added src/images/cooking.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/gitAndTravis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/questions.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/richmond-walk2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/sketch.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/steps.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 18 additions & 3 deletions src/index.jade
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ html
h2 Chiara Chiappini
h3 Agile Software Developer @eBay
h3 <a href="http://twitter.com/chiarachiappini">@chiarachiappini</a>
h3 <a href="http://kul3r4.github.io/droidConf/dist/">http://kul3r4.github.io/droidConf/dist/</a>
h3 <a href="https://github.com/kul3r4/droidConf">https://github.com/kul3r4</a>

section.richmond-food-background
Expand All @@ -35,8 +36,7 @@ html
h2 weather today?

section.green
div.background-div
h2 Add a sketch here
img.img-fit(src="images/sketch.jpg")

section.baby-lego-background
div.background-div
Expand Down Expand Up @@ -340,7 +340,7 @@ html
img.img-fit-entire-screen(src="images/travis-snaphot1.png")

section.green
img.img-fit-entire-screen
img.img-fit-entire-screen(src="images/gitAndTravis.png")

//
section.green
Expand Down Expand Up @@ -391,6 +391,21 @@ html
section.green
div.background-div
h2.bullet Summarizing
br
ul
li idea
li prototype
li testing
li CI

section.richmond-walk-end
div.background-div
h2 Ready to go for a walk


section.questions
div.background-div
h2 Questions?

script(src='build/build.js')
224 changes: 224 additions & 0 deletions src/index.jade.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,224 @@
<html>
<head>
<title>index.jade</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.ln { color: rgb(0,0,0); font-weight: normal; font-style: normal; }
.s0 { }
</style>
</head>
<BODY BGCOLOR="#ffffff">
<TABLE CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#C0C0C0" >
<TR><TD><CENTER>
<FONT FACE="Arial, Helvetica" COLOR="#000000">
index.jade</FONT>
</center></TD></TR></TABLE>
<pre>

<span class="s0">doctype html
html
head
meta(charset='utf-8')
meta(name='viewport', content='width=device-width, initial-scale=1, maximum-scale=1')
title Android development: from an idea to your first (tested) app

link(rel='stylesheet', type='text/css', href='build/build.css')

body

article

section
h1 Android development: from an idea to your first (tested) app

section.richmond-view
div.background-div
h2 Chiara Chiappini
h3 Agile Software Developer @eBay
h3 &lt;a href=&quot;http://twitter.com/chiarachiappini&quot;&gt;@chiarachiappini&lt;/a&gt;

section.richmond-food-background
div.background-div
h2 Life is tough at eBay

section.my-idea-background
div.background-div
h2 What's the weather like in Richmond today?

section.baby-lego-background
div.background-div
h2 Time to build
h3.bullet
ul
li &lt;a href=&quot;https://developer.android.com/training/basics/firstapp/index.html&quot;&gt;Android studio&lt;/a&gt;
li &lt;a href=&quot;https://www.genymotion.com/#!/&quot;&gt;Genymotion&lt;/a&gt;
li &lt;a href=&quot;https://gradle.org/&quot;&gt;Gradle&lt;/a&gt;

section
div.background-div
h2 Main activity
pre.size-dimension
code.language-javascript.
protected void onCreate(Bundle savedInstanceState) {
........

toolbar = (Toolbar) findViewById(weather_toolbar);
toolbar.setTitle(&quot;Richmond&quot;);
setSupportActionBar(toolbar);&lt;br&gt;

tempView =(TextView) findViewById(weather_temp);
tempView.setText(15);&lt;br&gt;

descriptionView = (TextView) findViewById(weather_description);
descriptionView.setText(&quot;Sun is shining&quot;);&lt;br&gt;

iconView = (ImageView) findViewById(weather_icon);
iconView.setImageResource(R.drawable.sun);

section
div.background-div
h2 Layout
include layout.html

section
div.background-div
h2 Result

section.people-coding-background
div.background-div
h2.bullet Now the real fun starts
br
ul
li New features
li Someone is joining you

section.quality
div.background-div
h2 I need testing

section
div.background-div
h2 Testing frameworks for Android

section
div.background-div
h2 Unit testing
br
ul
li Extract all the java code in a separate module and test as unit tests
li Unit testing support Android Studio 1.1
li Use Instrumentation or Robotium

section
div.background-div
h2 Java module - test
pre.size-dimension
code.language-javascript.
public class WeatherOracleTest {
@Test
public void testWeatherOracle(){
assertEquals(SUN_IS_SHINING, weatherOracle.getWeather());
}

section
div.background-div
h2 Java module - code
pre.size-dimension
code.language-javascript.
public class WeatherOracle {
public static final String SUN_IS_SHINING = &quot;Sun is shining&quot;;&lt;br&gt;
public String getWeather(){
return SUN_IS_SHINING;
}

section
div.background-div
h2 Functional testing
pre.size-dimension
code
| @Test
| public void userCanGetWeatherInLondon() {&lt;br&gt;
| WebElement weatherButton = findWeatherButton();&lt;br&gt;
| weatherButton.click();&lt;br&gt;
| WebElement weatherText = findWeatherText();
| assertEquals(SUN_IS_SHINING, weatherText.getText());

section
div.background-div
h2 Testing and CI
h3 Get feedback as early as possible (you’ll be fixing things late)
h3 CI tools help to facilitate not only building, testing and deploying software, but the entire release process
h3 Importance of alerting
h3 Record their result
h3 First step to continue deployment?

section
div.background-div
h2 Your CI alternatives
h3.bullet
br
ul
li Travis
li Jenkins
li ..and many more

section.queue
div.background-div
h2 Travis
h3.bullet
br
ul
li free for public repositories
li community boxes and in queues
li subscription for no waiting and concurrent jobs

section
div.background-div
h2 Travis configuration
h3 .travis.yml
pre.size-dimension
code
| language: android
| jdk: oraclejdk7
| env:
| matrix:
| - ANDROID_TARGET=android-19 ANDROID_ABI=armeabi-v7a
| ...&lt;br&gt;
| before_script:
| # Create and start emulator
| - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
| - emulator -avd test -no-skin -no-audio -no-window &amp;
| - adb wait-for-device
| - adb shell input keyevent 82 &amp;&lt;br&gt;
| script:
| - ./gradlew clean build

section
div.background-div
h2 My CI little story


section.second-activity-background
div.background-div
h2 let's code the second activity
pre.size-dimension
code
| public class WeatherActivity extends Activity {

| @Override
| protected void onCreate(Bundle savedInstanceState) {
| super.onCreate(savedInstanceState);
| setContentView(R.layout.activity_weather);
| }

pre.size-dimension
code
| &amp;#60;TextView android:text=&quot;@string/sun_is_shining&quot;
| android:layout_width=&quot;wrap_content&quot;
| android:layout_height=&quot;wrap_content&quot; /&amp;#62;;


script(src='build/build.js')
</span></pre>
</body>
</html>
48 changes: 48 additions & 0 deletions src/layout.html.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<html>
<head>
<title>layout.html</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.ln { color: rgb(0,0,0); font-weight: normal; font-style: normal; }
.s0 { }
.s1 { color: rgb(0,0,128); font-weight: bold; }
.s2 { color: rgb(0,0,255); font-weight: bold; }
.s3 { color: rgb(0,128,0); font-weight: bold; }
</style>
</head>
<BODY BGCOLOR="#ffffff">
<TABLE CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#C0C0C0" >
<TR><TD><CENTER>
<FONT FACE="Arial, Helvetica" COLOR="#000000">
layout.html</FONT>
</center></TD></TR></TABLE>
<pre>

<span class="s0">&lt;</span><span class="s1">html</span><span class="s0">&gt;
&lt;</span><span class="s1">head</span><span class="s0">&gt;
&lt;</span><span class="s1">meta </span><span class="s2">http-equiv=</span><span class="s3">&quot;Content-Type&quot; </span><span class="s2">content=</span><span class="s3">&quot;text/html; charset=utf-8&quot;</span><span class="s0">&gt;
&lt;</span><span class="s1">style </span><span class="s2">type=</span><span class="s3">&quot;text/css&quot;</span><span class="s0">&gt;
.ln { color: rgb(0,0,0); font-weight: normal; font-style: normal; }
.s0 { }
.s1 { color: rgb(0,0,128); font-weight: bold; }
.s2 { color: rgb(0,0,255); font-weight: bold; }
.s3 { color: rgb(0,128,0); font-weight: bold; }
&lt;/</span><span class="s1">style</span><span class="s0">&gt;
&lt;/</span><span class="s1">head</span><span class="s0">&gt;
&lt;</span><span class="s1">BODY </span><span class="s2">BGCOLOR=</span><span class="s3">&quot;#ffffff&quot;</span><span class="s0">&gt;
&lt;</span><span class="s1">TABLE </span><span class="s2">CELLSPACING=</span><span class="s3">0 </span><span class="s2">CELLPADDING=</span><span class="s3">5 </span><span class="s2">COLS=</span><span class="s3">1 </span><span class="s2">WIDTH=</span><span class="s3">&quot;100%&quot; </span><span class="s2">BGCOLOR=</span><span class="s3">&quot;#C0C0C0&quot; </span><span class="s0">&gt;
&lt;</span><span class="s1">TR</span><span class="s0">&gt;&lt;</span><span class="s1">TD</span><span class="s0">&gt;&lt;</span><span class="s1">CENTER</span><span class="s0">&gt;
&lt;/</span><span class="s1">center</span><span class="s0">&gt;&lt;/</span><span class="s1">TD</span><span class="s0">&gt;&lt;/</span><span class="s1">TR</span><span class="s0">&gt;&lt;/</span><span class="s1">TABLE</span><span class="s0">&gt;
&lt;</span><span class="s1">pre</span><span class="s0">&gt;
&lt;</span><span class="s1">span </span><span class="s2">class=</span><span class="s3">&quot;s1&quot;</span><span class="s0">&gt;Button&lt;/</span><span class="s1">span</span><span class="s0">&gt;&lt;</span><span class="s1">span </span><span class="s2">class=</span><span class="s3">&quot;s0&quot;</span><span class="s0">&gt;
&lt;/</span><span class="s1">span</span><span class="s0">&gt;&lt;</span><span class="s1">span </span><span class="s2">class=</span><span class="s3">&quot;s2&quot;</span><span class="s0">&gt;android:layout_width=&lt;/</span><span class="s1">span</span><span class="s0">&gt;&lt;</span><span class="s1">span </span><span class="s2">class=</span><span class="s3">&quot;s3&quot;</span><span class="s0">&gt;</span><span class="s2">&amp;quot;</span><span class="s0">wrap_content</span><span class="s2">&amp;quot;</span><span class="s0">&lt;/</span><span class="s1">span</span><span class="s0">&gt;&lt;</span><span class="s1">span </span><span class="s2">class=</span><span class="s3">&quot;s0&quot;</span><span class="s0">&gt;
&lt;/</span><span class="s1">span</span><span class="s0">&gt;&lt;</span><span class="s1">span </span><span class="s2">class=</span><span class="s3">&quot;s2&quot;</span><span class="s0">&gt;android:layout_height=&lt;/</span><span class="s1">span</span><span class="s0">&gt;&lt;</span><span class="s1">span </span><span class="s2">class=</span><span class="s3">&quot;s3&quot;</span><span class="s0">&gt;</span><span class="s2">&amp;quot;</span><span class="s0">wrap_content</span><span class="s2">&amp;quot;</span><span class="s0">&lt;/</span><span class="s1">span</span><span class="s0">&gt;&lt;</span><span class="s1">span </span><span class="s2">class=</span><span class="s3">&quot;s0&quot;</span><span class="s0">&gt;
&lt;/</span><span class="s1">span</span><span class="s0">&gt;&lt;</span><span class="s1">span </span><span class="s2">class=</span><span class="s3">&quot;s2&quot;</span><span class="s0">&gt;android:text=&lt;/</span><span class="s1">span</span><span class="s0">&gt;&lt;</span><span class="s1">span </span><span class="s2">class=</span><span class="s3">&quot;s3&quot;</span><span class="s0">&gt;</span><span class="s2">&amp;quot;</span><span class="s0">@string/weather_richmond</span><span class="s2">&amp;quot;</span><span class="s0">&lt;/</span><span class="s1">span</span><span class="s0">&gt;&lt;</span><span class="s1">span </span><span class="s2">class=</span><span class="s3">&quot;s0&quot;</span><span class="s0">&gt;
&lt;/</span><span class="s1">span</span><span class="s0">&gt;&lt;</span><span class="s1">span </span><span class="s2">class=</span><span class="s3">&quot;s2&quot;</span><span class="s0">&gt;android:id=&lt;/</span><span class="s1">span</span><span class="s0">&gt;&lt;</span><span class="s1">span </span><span class="s2">class=</span><span class="s3">&quot;s3&quot;</span><span class="s0">&gt;</span><span class="s2">&amp;quot;</span><span class="s0">@+id/weather_button</span><span class="s2">&amp;quot;</span><span class="s0">&lt;/</span><span class="s1">span</span><span class="s0">&gt;&lt;</span><span class="s1">span </span><span class="s2">class=</span><span class="s3">&quot;s0&quot;</span><span class="s0">&gt;
&lt;/</span><span class="s1">span</span><span class="s0">&gt;&lt;</span><span class="s1">span </span><span class="s2">class=</span><span class="s3">&quot;s2&quot;</span><span class="s0">&gt;android:layout_alignParentTop=&lt;/</span><span class="s1">span</span><span class="s0">&gt;&lt;</span><span class="s1">span </span><span class="s2">class=</span><span class="s3">&quot;s3&quot;</span><span class="s0">&gt;</span><span class="s2">&amp;quot;</span><span class="s0">true</span><span class="s2">&amp;quot;</span><span class="s0">&lt;/</span><span class="s1">span</span><span class="s0">&gt;&lt;</span><span class="s1">span </span><span class="s2">class=</span><span class="s3">&quot;s0&quot;</span><span class="s0">&gt;
&lt;/</span><span class="s1">span</span><span class="s0">&gt;&lt;</span><span class="s1">span </span><span class="s2">class=</span><span class="s3">&quot;s2&quot;</span><span class="s0">&gt;android:layout_alignParentStart=&lt;/</span><span class="s1">span</span><span class="s0">&gt;&lt;</span><span class="s1">span </span><span class="s2">class=</span><span class="s3">&quot;s3&quot;</span><span class="s0">&gt;</span><span class="s2">&amp;quot;</span><span class="s0">true</span><span class="s2">&amp;quot; </span><span class="s0">&lt;/</span><span class="s1">span</span><span class="s0">&gt;&lt;</span><span class="s1">span </span><span class="s2">class=</span><span class="s3">&quot;s0&quot;</span><span class="s0">&gt;/</span><span class="s2">&amp;gt;</span><span class="s0">
</span><span class="s2">&amp;lt;</span><span class="s0">/&lt;/</span><span class="s1">span</span><span class="s0">&gt;&lt;/</span><span class="s1">pre</span><span class="s0">&gt;
&lt;/</span><span class="s1">body</span><span class="s0">&gt;
&lt;/</span><span class="s1">html</span><span class="s0">&gt;</span></pre>
</body>
</html>
Loading

0 comments on commit c8c81f4

Please sign in to comment.