SmartphoneKanto#10

1,578 views
1,498 views

Published on

sumaben

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,578
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
6
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • このとき、安易に生み出したこの数字が、バグの温床になるとは、誰も予想していなかった……\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • SmartphoneKanto#10

    1. 1. AndroidGoogle@+id/Nkzn
    2. 2. Nkzn ← Twitter PG Android
    3. 3. 2002 DDI 2009 Motorola Droid2005 ABC2009Fall2005 W-ZERO3 20092006 W-ZERO3[es] GClue2007 Advanced/W-ZERO3[es] 2010 BLOCCO #12008 WILLCOM 03 2010 ABC2010Spring2009 Android Android K-MAX Windows Phone 7 #2 Dell Venue Pro
    4. 4. URL
    5. 5. Android Google MapsBLOCCO
    6. 6. Android Google MapsBLOCCO
    7. 7. Google Maps
    8. 8. Google Maps
    9. 9. (´ ω )
    10. 10. Google Maps
    11. 11. Android Maps
    12. 12. Android Maps API• Android SDK API• Google API Mapshttp://code.google.com/intl/ja/android/
    13. 13. Maps API
    14. 14. Android Maps1.AndroidManifest.xml2.Maps API Key3. XML MapView4.MapActivity5.ItemizedOverlay6.MapActivity ItemizedOverlay
    15. 15. 1. AndroidManifest.xml http://pastie.org/1365633 uses-library com.google.android.maps <uses-library android:name="com.google.android.maps"></uses-library> uses-permission android.permission.INTERNET <uses-permission android:name="android.permission.INTERNET"></uses- permission>
    16. 16. 2. Maps API Key http://code.google.com/intl/ja/android/maps-api- signup.html ↑ android maps api key keytool -list -keystore ~/.android/debug.keystore
    17. 17. 3. XML MapView
    18. 18. Eclipse Google APIs Maps API
    19. 19. 3. XML MapView http://pastie.org/1365615 com.google.android.maps.MapView android:apiKey API android:id ( ) android:clickable, android:enabled true
    20. 20. 4. MapActivity public class Main extends MapActivity { private static MapView mapView; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); mapView = (MapView)findViewById(R.id.mapview); mapView.setBuiltInZoomControls(true); mapView.invalidate(); } @Override protected boolean isRouteDisplayed() { return false; } }
    21. 21. 4. MapActivity public class Main extends MapActivity { private static MapView mapView; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); mapView = (MapView)findViewById(R.id.mapview); mapView.setBuiltInZoomControls(true); mapView.invalidate(); } android:id @Override protected boolean isRouteDisplayed() { return false; } }
    22. 22. 5. ItemizedOverlay http://pastie.org/1365583 OverlayItem List draw
    23. 23. 6. MapActivity ItemizedOverlay http://pastie.org/1365577 mapView GeoPoint OverlayItem
    24. 24. BLOCCO
    25. 25. BLOCCO• GClue K.K Android• ver2.0β• Intenthttp://www.blocco.jp/
    26. 26. Event Action Tweet
    27. 27. USB
    28. 28. USB
    29. 29. Event Action Tweet
    30. 30. EventAction Tweet
    31. 31. http://twitter.com/Nkzn
    32. 32. • • • • •
    33. 33. • • • • •
    34. 34. • 40075km•
    35. 35. A. 40075km ÷ 360≒111113.3m
    36. 36. http://code.google.com/intl/ja/android/add-ons/google-apis/reference/MapController#animateTo(GeoPoint g): voidProjection fromPixels(int x, int y): GeoPoint toPixels(GeoPoint in, Point out): Point fromPixels metersToEquatorPixels(float meters): float
    37. 37. • ……•
    38. 38. • •• • orz
    39. 39. •• BLOCCO• • Overlay Canvas(not HTML5)
    40. 40. Android 3.0 Honeycomb Android
    41. 41. Google Android Android Hacks
    42. 42. Androidhttp://j.mp/jagniigata
    43. 43. http://j.mp/nkznslides

    ×