SmartphoneKanto#10
Upcoming SlideShare
Loading in...5
×
 

SmartphoneKanto#10

on

  • 1,644 views

sumaben

sumaben

Statistics

Views

Total Views
1,644
Views on SlideShare
1,644
Embed Views
0

Actions

Likes
1
Downloads
5
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \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 SmartphoneKanto#10 Presentation Transcript

  • AndroidGoogle@+id/Nkzn
  • Nkzn ← Twitter PG Android
  • 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
  • URL
  • Android Google MapsBLOCCO
  • Android Google MapsBLOCCO
  • Google Maps
  • Google Maps
  • (´ ω )
  • Google Maps
  • Android Maps
  • Android Maps API• Android SDK API• Google API Mapshttp://code.google.com/intl/ja/android/
  • Maps API
  • Android Maps1.AndroidManifest.xml2.Maps API Key3. XML MapView4.MapActivity5.ItemizedOverlay6.MapActivity ItemizedOverlay
  • 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>
  • 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
  • 3. XML MapView
  • Eclipse Google APIs Maps API
  • 3. XML MapView http://pastie.org/1365615 com.google.android.maps.MapView android:apiKey API android:id ( ) android:clickable, android:enabled true
  • 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; } }
  • 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; } }
  • 5. ItemizedOverlay http://pastie.org/1365583 OverlayItem List draw
  • 6. MapActivity ItemizedOverlay http://pastie.org/1365577 mapView GeoPoint OverlayItem
  • BLOCCO
  • BLOCCO• GClue K.K Android• ver2.0β• Intenthttp://www.blocco.jp/
  • Event Action Tweet
  • USB
  • USB
  • Event Action Tweet
  • EventAction Tweet
  • http://twitter.com/Nkzn
  • • • • • •
  • • • • • •
  • • 40075km•
  • A. 40075km ÷ 360≒111113.3m
  • 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
  • • ……•
  • • •• • orz
  • •• BLOCCO• • Overlay Canvas(not HTML5)
  • Android 3.0 Honeycomb Android
  • Google Android Android Hacks
  • Androidhttp://j.mp/jagniigata
  • http://j.mp/nkznslides