017-library-2.key

Size: px
Start display at page:

Download "017-library-2.key"

Transcription

1

2

3

4 .class.class

5

6

7

8

9 R.javaはソースコードとリソースを結びつける MainActivity.java! findviewbyid(r.id.button) layout.xml R.java <Button >

10

11

12

13

14 予めR.javaの内容を知る リソースを元にR.javaを 事ができない 作成する findviewbyid(r.id.button)

15 .class.class

16 .class.class

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39 <?xml version="1.0" encoding="utf-8"?> <resources> <declare-styleable name="customview"> <attr name="color" format="string"/> <attr name="transparent" format="boolean"/> </declare-styleable> </resources>

40

41 public CustomView(Context context, AttributeSet attrs) { super(context, attrs);! TypedArray typedarray = context.obtainstyledattributes(attrs, R.styleable.CustomView); String type = typedarray.getstring(r.styleable.customview_color); boolean transparent = typedarray.getboolean(r.styleable.customview_transparent, false); } //...

42 public CustomView(Context context, AttributeSet attrs) { super(context, attrs);! TypedArray typedarray = context.obtainstyledattributes(attrs, R.styleable.CustomView); String type = typedarray.getstring(r.styleable.customview_color); boolean transparent = typedarray.getboolean(r.styleable.customview_transparent, false); } //...

43 public CustomView(Context context, AttributeSet attrs) { super(context, attrs);! TypedArray typedarray = context.obtainstyledattributes(attrs, R.styleable.CustomView); String type = typedarray.getstring(r.styleable.customview_color); boolean transparent = typedarray.getboolean(r.styleable.customview_transparent, false); } //...

44

45 <declare-styleable name="bootstrapbutton"> <attr name="bb_type" format="string"/> <attr name="bb_icon_left" format="string"/> <attr name="bb_icon_right" format="string"/> <attr name="bb_roundedcorners" format="boolean"/> <attr name="bb_text_alignment" format="string"/> <attr name="bb_size" format="string"/> <attr name="bb_text_gravity" format="string"/> <attr name="android:textsize"/> <attr name="android:text"/> <attr name="android:enabled"/> <attr name="android:layout_width"/> </declare-styleable>

46 <com.beardedhen.androidbootstrap.bootstrapbutton android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="10dp" android:text="hello Bootstrap!" library:bb_icon_right="fa-android" library:bb_type="success" /> <com.beardedhen.androidbootstrap.bootstrapbutton android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="10dp" android:text="hello Bootstrap!" library:bb_icon_right="fa-bell" library:bb_type="danger" />

47

48 BootstrapButton のカスタム属性 FontAwesomeTextやbb_icon_leftなどに指定できるアイコン

49

50

51 BootstrapCircleThumbnail FontAwesomeText BootstrapButton

52

TechInstitute_Vol7_Chap17_fix.indd

TechInstitute_Vol7_Chap17_fix.indd 17-1 104 17-1-1 17-1-2 105 106 17-1-3 107 check! 108 17-1-4 109 110 17-1-5 111 112 1AndroidManifest.xmlandroid.permission.INTERNET"

More information

Tech2_Vol6_Chap15_3kou.indd

Tech2_Vol6_Chap15_3kou.indd 15-1 LESSON KEYWORD 34 15-1-1 15-1-2 35 36 15-1-3 37 check! 38 15-1-4 39 40 15-1-5 41 42 1AndroidManifest.xmlandroid.permission.INTERNET"

More information

更 新 履 歴 更 新 日 バージョン 更 新 内 容 2014.01.28 3.0.0 コードレス 安 定 化 パフォーマンスアップ 2014.02.19 3.0.1 WeakReference バグ 対 応 リソースの 解 析 バグ 対 応 2014.02.27 3.0.2 HTML 広 告 の

更 新 履 歴 更 新 日 バージョン 更 新 内 容 2014.01.28 3.0.0 コードレス 安 定 化 パフォーマンスアップ 2014.02.19 3.0.1 WeakReference バグ 対 応 リソースの 解 析 バグ 対 応 2014.02.27 3.0.2 HTML 広 告 の AMoAd SDK 3.0.11 Guide for Android 2015 年 4 月 28 日 更 新 履 歴 更 新 日 バージョン 更 新 内 容 2014.01.28 3.0.0 コードレス 安 定 化 パフォーマンスアップ 2014.02.19 3.0.1 WeakReference バグ 対 応 リソースの 解 析 バグ 対 応 2014.02.27 3.0.2 HTML 広 告 のスクロールを

More information

第4回報告書.PDF

第4回報告書.PDF 7 8 () 13001630 / - 3 - 6 10 () 13001630 2. 3. 6 18 ()13001630 6 24 () 13001630 21 7 8 () 13001630 / 7 22 () 13001630 8 12 () 13001630 Context - 4 - 8 26 ()13001630 7 9 9 ()13001630 21 9 24 13001630 10

More information

2.0.1 6 2.0 5 1.6 4 Donut 1.5 3 Cupcake 1.1 2 非 公 開 1.0 1 非 公 開 2. Android4.0 の 留 意 事 項 2-1 Menu キーの 扱 い 端 末 下 部 の Menu Home Back の 各 ハードキーが ディスプレー 上

2.0.1 6 2.0 5 1.6 4 Donut 1.5 3 Cupcake 1.1 2 非 公 開 1.0 1 非 公 開 2. Android4.0 の 留 意 事 項 2-1 Menu キーの 扱 い 端 末 下 部 の Menu Home Back の 各 ハードキーが ディスプレー 上 付 録 Android,Android SDK,Eclipse のバージョン Android プログラミング Bible( 初 級 基 礎 編 中 級 Android 的 プログラミング 法 上 級 各 種 処 理 )は Eclipse 3.6 Helios Android 2.2(API 8) で 開 発 し 実 機 は SAMSUNG GALAXY S で 確 認 しました さらに 本 書 のプログラムは

More information

android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content"> <Button android:text="go" android:id="@+id/b

android:orientation=horizontal android:layout_width=fill_parent android:layout_height=wrap_content> <Button android:text=go android:id=@+id/b その 他 のウェジット WebView クラス WebView クラスは 簡 易 的 なブラウザ 機 能 を 提 供 してくれるクラスです ここでは WebView ク ラスの 使 い 方 について 確 認 していきます WebView クラスの 定 義 を 確 認 します クラス 継 承 は 次 のようになっています java.lang.object android.view.view android.view.viewgroup

More information

Taro-twokansu3.jtd

Taro-twokansu3.jtd //------------------------------------------------ // // 2 次関数のグラフの広がり // y=ax^2 のグラフ // Ver3 // Copyright(C) K.Niwa 2014.08.09 // //------------------------------------------------ NO.33 エミュレータ画面例 [ アプリの概要

More information

Microsoft Word - 原稿編集.doc

Microsoft Word - 原稿編集.doc OGG(Ogg はコンテナであり 1 つないし 複 数 の 音 声 や 動 画 コーデックを 内 容 物 として 格 納 する) MPEG MP3 Bitmap 14.1. 音 楽 や 動 画 再 生 Android で 音 楽 再 生 や 動 画 再 生 をサポートしているのは MediaPlayer クラスです メ ディアのデータファイルはアプリケーションのリソースディレクトリ 内 にあるもの

More information

/03/26 2

/03/26 2 2013 3 26 1.0.0 2013/03/26 2 1. 1.... 3 2.... 4 2.1.... 4 2.2.... 4 2.3.... 4 2.4.... 4 2.5.... 4 2.6.... 5 3.... 6 3.1.... 6 3.1.1.... 6 3.1.2. Push... 7 3.1.3.... 8 3.1.4.... 9 3.1.5.... 11 3.1.6. HTTP...

More information

- 1 - - 2 - 320 421 928 1115 12 8 116 124 2 7 4 5 428 515 530 624 921 1115 1-3 - 100 250-4 - - 5 - - 6 - - 7 - - 8 - - 9 - & & - 11 - - 12 - GT GT - 13 - GT - 14 - - 15 - - 16 - - 17 - - 18 - - 19 - -

More information

Prog2_10th

Prog2_10th 2016 年 12 月 8 日 ( 木 ) 実施 効果音の付加 SoundPool とは Android には音を処理するクラスが複数用意されているが, その中で SoundPool は, 予め音のデータをメモリ上に読み込んで再生するため, 長い音楽よりも短い音を扱うのに適している また,SoundPool では遅延が無いので, 効果音を付加したい場面で用いられる 授業の準備 1)Android Studio

More information

Prog2_10th

Prog2_10th 2017 年 12 月 7 日 ( 木 ) 実施 効果音の付加 SoundPool とは Android には音を処理するクラスが複数用意されているが, その中で SoundPool は, 予め音のデータをメモリ上に読み込んで再生するため, 長い音楽よりも短い音を扱うのに適している また,SoundPool では遅延が無いので, 効果音を付加したい場面で用いられる 授業の準備 1)Android Studio

More information

x : = : x x

x : = : x x x : = : x x x :1 = 1: x 1 x : = : x x : = : x x : = : x x ( x ) = x = x x = + x x = + + x x = + + + + x = + + + + +L x x :1 = 1: x 1 x ( x 1) = 1 x 2 x =1 x 2 x 1= 0 1± 1+ 4 x = 2 = 1 ± 5 2 x > 1

More information

Androidって? l Googleによってスマートフォンやタブレットなどの 携 帯 情 報 端 末 を 主 なターゲットとして 開 発 されたプラット フォームである l 元 は2003 年 に 設 立 された 米 Android 社 が 開 発 をしていたが 2005 年 にGoogleに 買

Androidって? l Googleによってスマートフォンやタブレットなどの 携 帯 情 報 端 末 を 主 なターゲットとして 開 発 されたプラット フォームである l 元 は2003 年 に 設 立 された 米 Android 社 が 開 発 をしていたが 2005 年 にGoogleに 買 Androidレクチャー その1 3 年 小 林 俊 介 高 田 ひろたつ Androidって? l Googleによってスマートフォンやタブレットなどの 携 帯 情 報 端 末 を 主 なターゲットとして 開 発 されたプラット フォームである l 元 は2003 年 に 設 立 された 米 Android 社 が 開 発 をしていたが 2005 年 にGoogleに 買 収 されその 後 Googleが

More information

2

2 1 2 3 4 5 6 ( ) 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 6+ 6-5 2 6-5- 6-5+ 5-5- 5- 22 6+ 6-6+ 6-6- S-P time 10 5 2 23 S-P time 5 2 5 2 ( ) 5 2 24 25 26 1 27 28 29 30 95 31 ( 8 2 ) http://www.kishou.go.jp/know/shindo/kaisetsu.html

More information

GT-3 P GT-3-6F GT GT GT GT GT GT GT

GT-3 P GT-3-6F GT GT GT GT GT GT GT 150-1.5GT-3 P 30-1.5GT-3-6F 40.5-1.5GT 40.50 27 45-1.5GT 45.00 30 48-1.5GT 48.00 32 51-1.5GT 51.00 34 61.5-1.5GT 61.50 41 69-1.5GT 69.00 46 70.5-1.5GT 70.50 47 72-1.5GT 72.00 48 73.5-1.5GT 73.50 49 76.5-1.5GT

More information

untitled

untitled 1 20 3 14.0% () 4 7 3 () () 5 (66 3.7%) (134.7%) 10 2 () (59 3.3%) 7.3% 11 (52 2.9%) (50 2.8%)(48 2.7%)(38 2.1%) 23.8%25.0%65.5%65.2% 11 13 14 16 (35 2.0%) 18 6 19 10 1 20 1 9 25 2 4 24 5 30 (37 ) (37

More information

... 3... 3... 3... 3... 4... 7... 10... 10... 11... 12... 12... 13... 14... 15... 18... 19... 20... 22... 22... 23 2

... 3... 3... 3... 3... 4... 7... 10... 10... 11... 12... 12... 13... 14... 15... 18... 19... 20... 22... 22... 23 2 1 ... 3... 3... 3... 3... 4... 7... 10... 10... 11... 12... 12... 13... 14... 15... 18... 19... 20... 22... 22... 23 2 3 4 5 6 7 8 9 Excel2007 10 Excel2007 11 12 13 - 14 15 16 17 18 19 20 21 22 Excel2007

More information

JavaプログラミングⅠ

JavaプログラミングⅠ Java プログラミング Ⅰ 12 回目クラス 今日の講義で学ぶ内容 クラスとは クラスの宣言と利用 クラスの応用 クラス クラスとは 異なる複数の型の変数を内部にもつ型です 直観的に表現すると int 型や double 型は 1 1 つの値を管理できます int 型の変数 配列型は 2 5 8 6 3 7 同じ型の複数の変数を管理できます 配列型の変数 ( 配列変数 ) クラスは double

More information

Java プログラミング Ⅰ 7 回目 switch 文と論理演算子 条件判断文 3 switch 文 switch 文式が case の値と一致した場合 そこから直後の break; までを処理し どれにも一致しない場合 default; から直後の break; までを処理する 但し 式や値 1

Java プログラミング Ⅰ 7 回目 switch 文と論理演算子 条件判断文 3 switch 文 switch 文式が case の値と一致した場合 そこから直後の break; までを処理し どれにも一致しない場合 default; から直後の break; までを処理する 但し 式や値 1 Java プログラミング Ⅰ 7 回目 switch 文と論理演算子 条件判断文 3 switch 文 switch 文式が case の値と一致した場合 そこから直後の までを処理し どれにも一致しない場合 default; から直後の までを処理する 但し 式や値 1 値 2は整数または文字である switch( 式 ) case 値 1: // コロン : です セミコロン ; と間違えないように!!

More information

Microsoft Word - Android_SQLite講座_画面800×1280

Microsoft Word - Android_SQLite講座_画面800×1280 Page 5 5 アクティビティ ( 一覧 ) を作成する ファイル名 : src/jp/edu/mie/view010.java ( 新規作成 ) /* * View010 */ import android.app.activity; import android.content.intent; import android.os.bundle; import android.view.view;

More information

Vuzix M100 SDKインストールガイド

Vuzix M100 SDKインストールガイド Vuzix M100 SDK Vuzix Corporation. 2015-12-24 1 SDK Vuzix M100 SDK Android Studio 1.1 Add-on Vuzix M100 1.1.1 Android Studio Configure SDK Manager SDK Update Sites Name Vuzix M100 SDK URL URL *1 * http://vuzix.com/k79g75yxos/addon.xml

More information

http://banso.cocolog-nifty.com/ 100 100 250 5 1 1 http://www.banso.com/ 2009 5 2 10 http://www.banso.com/ 2009 5 2 http://www.banso.com/ 2009 5 2 http://www.banso.com/ < /> < /> / http://www.banso.com/

More information

(0 5 ) 11 Tel:251152 (0 5 ) 610 Tel:239646 (0 2 ) 22 Tel:354152 (0 2 ) 303 Tel:312000 (2 5 ) 218 Tel:310335 (0 2 ) 215 Tel:317788 (0 5 ) (0 5 ) Tel:382128 (0 5 ) 916 Tel:320510 (1 5 ) 410 Tel:225725 5-15

More information

n=360 28.6% 34.4% 36.9% n=360 2.5% 17.8% 19.2% n=64 0.8% 0.3% n=69 1.7% 3.6% 0.6% 1.4% 1.9% < > n=218 1.4% 5.6% 3.1% 60.6% 0.6% 6.9% 10.8% 6.4% 10.3% 33.1% 1.4% 3.6% 1.1% 0.0% 3.1% n=360 0% 50%

More information

Android_chap_08_fix.indd

Android_chap_08_fix.indd 8-1 8-1-1 6 7 8-1-2 8 を知っていなければ アプリの設計ができないからです 第 8 もちろん しっかりとしたAndroidアプリを作りたいならば 早いうちからこのガイドラ 章 インを読んでおくべきです 英語なので読めない とは言わず Googleの翻訳 U I 機能などを使ってでもいいので 頭に入れておくようにしましょう の 基 礎 知 識 もし 内容がよくわからなくても ここにある図だけでも見ておくとよいでしょう

More information

Java演習(4) -- 変数と型 --

Java演習(4)   -- 変数と型 -- 50 20 20 5 (20, 20) O 50 100 150 200 250 300 350 x (reserved 50 100 y 50 20 20 5 (20, 20) (1)(Blocks1.java) import javax.swing.japplet; import java.awt.graphics; (reserved public class Blocks1 extends

More information

項 目

項 目 1 1 2 3 11 4 6 5 7,000 2 120 1.3 4,000 04 450 < > 5 3 6 7 8 9 4 10 11 5 12 45 6 13 E. 7 B. C. 14 15 16 17 18 19 20 21 22 23 8 24 25 9 27 2 26 6 27 3 1 3 3 28 29 30 9 31 32 33 500 1 4000 0 2~3 10 10 34

More information

アンドロイドアプリ開発

アンドロイドアプリ開発 アプリケーション 制 作 において 使 用 しているクラスやメソッドの 効 果 の 説 明 や その 利 用 例 を 記 述 しています 藤 本 大 樹 2013/10/17 アンドロイドアプリ 開 発 における 中 核 を 担 っているのは webview である. webview ( Added in API level 1 ) ってなに? 構 成 java.lang.object >> android.view.view

More information

™…U忖Lu:

™…U忖Lu: Kikai Public Relations 2007,08 Kikai Public Relations 2007,08 Kikai Public Relations 2007,08 Kikai Public Relations 2007,08 Kikai Public Relations 2007,08 Kikai Public Relations 2007,08 Kikai Public

More information

15 Java 15.5 15.6 15.7 Checkbox() Checkbox(String str) Checkbox(String str, boolean state) Checkbox(String str, boolean state, CheckboxGroup grp) Checkbox(String str, CheckboxGroup grp, boolean state)

More information

mazec テクニカルガイド第5版(Android版)

mazec テクニカルガイド第5版(Android版) 法人向け mazec テクニカルガイド 外部アプリケーション連携 ( Android 版 ) 第 6 版 Android は Google Inc. の登録商標です その他記載された会社名 製品名等は 各社の登録商標もしくは商標 または弊社の商標です 本書は株式会社 MetaMoJi が作成したものであり マニュアルの著作権は 株式会社 MetaMoJi に帰属します 本書の内容は予告なく変更することがあります

More information

Title< 特 集 >2012 年 春 の 講 演 会 公 共 政 策 の 理 論 と 現 実 Author(s) 伊 原, 智 人 Citation 財 政 と 公 共 政 策 = Public finance and public 52: 2-21 Issue Date 2012-10-01 URL http://dx.doi.org/10.14989/179995 Right Type Departmental

More information

設 定 について 次 のような 流 れになります 1. plist ファイルの 作 成 (OS X 側 での 認 証 方 式 を 変 更 するために 使 用 ) 2. 作 成 した plist ファイルの 正 しさをチェック 3. plist ファイルを 所 定 の 場 所 に 格 納 4. 共 有

設 定 について 次 のような 流 れになります 1. plist ファイルの 作 成 (OS X 側 での 認 証 方 式 を 変 更 するために 使 用 ) 2. 作 成 した plist ファイルの 正 しさをチェック 3. plist ファイルを 所 定 の 場 所 に 格 納 4. 共 有 OS X 10.10 Yosemite での 当 社 製 複 合 機 からのスキャン To ネットワーク PC/ 共 有 フォルダーについて 2014/12/1 OS X 10.10 Yosemite にて 当 社 の 検 証 環 境 で スキャン To ネットワーク PC/ 共 有 フォルダーが 動 作 することができた 設 定 についてご 案 内 いたします この 方 法 は 従 来 の 方 法

More information

2. 2. 3 Find Find WIX DB entry WIX Aho- Corasick 1 WIX 2. 2 WIX WIX WIX WIX DBFind 3 3 2. 2. 3 () WIX, FireFox add-on Chrome Extension [1]. 32 Chrome

2. 2. 3 Find Find WIX DB entry WIX Aho- Corasick 1 WIX 2. 2 WIX WIX WIX WIX DBFind 3 3 2. 2. 3 () WIX, FireFox add-on Chrome Extension [1]. 32 Chrome DEIM Forum 2015 D5-3 Web Index 223 8522 3 14 1 E-mail: ikuta@db.ics.keio.ac.jp, toyama@ics.keio.ac.jp Web IndeX (WIX) URL WIX Web URL () WIX WIX., Wikipedia WIX Aho-Corasick Web IndexWeb Web Wikipedia

More information

●70974_100_AC009160_KAPヘ<3099>ーシス自動車約款(11.10).indb

●70974_100_AC009160_KAPヘ<3099>ーシス自動車約款(11.10).indb " # $ % & ' ( ) * +, -. / 0 1 2 3 4 5 6 7 8 9 : ; < = >? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y " # $ % & ' ( ) * + , -. / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B

More information

ボタンイベントアプリイベント処理を含むアプリとして, ボタンをもち, ボタンを押すと文字列を表示するアプリを作る. このアプリは,HelloWorld アプリを改造して作成するため, アプリ作成の途中からの手順を示す. 1. ボタンの設置 (1) レイアウトにボタンを追加するパレットの フォーム ウ

ボタンイベントアプリイベント処理を含むアプリとして, ボタンをもち, ボタンを押すと文字列を表示するアプリを作る. このアプリは,HelloWorld アプリを改造して作成するため, アプリ作成の途中からの手順を示す. 1. ボタンの設置 (1) レイアウトにボタンを追加するパレットの フォーム ウ ボタンイベントアプリイベント処理を含むアプリとして, ボタンをもち, ボタンを押すと文字列を表示するアプリを作る. このアプリは,HelloWorld アプリを改造して作成するため, アプリ作成の途中からの手順を示す. 1. ボタンの設置 (1) レイアウトにボタンを追加するパレットの フォーム ウィジェット からボタンのアイコンをドラッグして, ワークスペースにドロップする. 図 1 ボタンの追加

More information

農林漁家民宿の女性経営者が

農林漁家民宿の女性経営者が 28 29 30 31 32 NA 33 NA 34 NA NA 35 NA 36 37 38 39 NA 40 41 NA NA 42 NA NA 43 NA NA 44 NA PR PR PR 45 PR PR PR PR FAX 46 FAX NA NA 47 NA NA 48 NA 49 NA 50 NA 51 NA NA 52 NA NA 53 GT NA 54 NA 55 NA 56 57

More information

ALG ppt

ALG ppt 2012 6 21 (sakai.keiichi@kochi-tech.ac.jp) http://www.info.kochi-tech.ac.jp/k1sakai/lecture/alg/2012/index.html 1 l l O(1) l l l 2 (123 ) l l l l () l H(k) = k mod n (k:, n: ) l l 3 4 public class MyHashtable

More information

untitled

untitled 280 200 5 7,800 6 8,600 28 1 1 18 7 8 2 ( 31 ) 7 42 2 / / / / / / / / / / 1 3 (1) 4 5 3 1 1 1 A B C D 6 (1) -----) (2) -- ()) (3) ----(). ()() () ( )( )( )( ) ( ) ( )( )( )( ) () (). () ()() 7 () ( ) 1

More information

Java プログラミング Ⅰ 7 回目 switch 文と論理演算子 今日の講義講義で学ぶ内容 switch 文 論理演算子 条件演算子 条件判断文 3 switch 文 switch 文 式が case のラベルと一致する場所から直後の break; まで処理しますどれにも一致致しない場合 def

Java プログラミング Ⅰ 7 回目 switch 文と論理演算子 今日の講義講義で学ぶ内容 switch 文 論理演算子 条件演算子 条件判断文 3 switch 文 switch 文 式が case のラベルと一致する場所から直後の break; まで処理しますどれにも一致致しない場合 def Java プログラミング Ⅰ 7 回目 switch 文と論理演算子 今日の講義講義で学ぶ内容 switch 文 論理演算子 条件演算子 条件判断文 3 switch 文 switch 文 式が case のラベルと一致する場所から直後の まで処理しますどれにも一致致しない場合 default: から直後の まで処理します 式の結果 ラベル 定数 整数または文字 (byte, short, int,

More information

untitled

untitled 2011 6 20 (sakai.keiichi@kochi-tech.ac.jp) http://www.info.kochi-tech.ac.jp/k1sakai/lecture/alg/2011/index.html tech.ac.jp/k1sakai/lecture/alg/2011/index.html html 1 O(1) O(1) 2 (123) () H(k) = k mod n

More information

日 用 用 面 示 用 用 方

日 用 用 面 示 用 用 方 日 用 用 面 示 用 用 方 用 用 用 用 用 用 用 面 用

More information

Prog2_6th

Prog2_6th 2016 年 11 月 10 日 ( 木 ) 実施 インテントインテントとは Android アプリは複数のアクティビティを持つことが出来, また, アクティビティ以外の要素も持つので, 複数のアクティビティ間, アクティビティとアクティビティ以外の要素との間といったオブジェクト間を結び付ける仕組みが必要となる その役割を担うのがインテントで, 複数のアプリ間やアプリとシステムとの間もインテントで結び付けることが出来る

More information

K227 Java 2

K227 Java 2 1 K227 Java 2 3 4 5 6 Java 7 class Sample1 { public static void main (String args[]) { System.out.println( Java! ); } } 8 > javac Sample1.java 9 10 > java Sample1 Java 11 12 13 http://java.sun.com/j2se/1.5.0/ja/download.html

More information

ALG ppt

ALG ppt 2012614 (sakai.keiichi@kochi-tech.ac.jp) http://www.info.kochi-tech.ac.jp/k1sakai/lecture/alg/2012/index.html 1 2 2 3 29 20 32 14 24 30 48 7 19 21 31 4 N O(log N) 29 O(N) 20 32 14 24 30 48 7 19 21 31 5

More information

break 文 switch ブロック内の実行中の処理を強制的に終了し ブロックから抜けます switch(i) 強制終了 ソースコード例ソースファイル名 :Sample7_1.java // 入力値の判定 import java.io.*; class Sample7_1 public stati

break 文 switch ブロック内の実行中の処理を強制的に終了し ブロックから抜けます switch(i) 強制終了 ソースコード例ソースファイル名 :Sample7_1.java // 入力値の判定 import java.io.*; class Sample7_1 public stati Java プログラミング Ⅰ 7 回目 switch 文と論理演算子 今日の講義で学ぶ内容 switch 文 論理演算子 条件演算子 条件判断文 3 switch 文 switch 文 式が case のラベルと一致する場所から直後の まで処理しますどれにも一致しない場合 default: から直後の まで処理します 式は byte, short, int, char 型 ( 文字または整数 ) を演算結果としますラベルには整数リテラル

More information

科学技術館Cプロジェクト

科学技術館Cプロジェクト 科 学 技 術 館 CanSatプロジェクト 第 1 期 第 2 回 データの 読 み 込 みと 書 き 込 み 今 回 の 流 れ 1 テキストファイルの 読 み 込 み 2 Excelへのデータ 変 換 3 GPSモジュールのデータ 4 テキストファイルの 書 き 込 み 教 材 を 利 用 するすべての 皆 様 へ 今 回 は 途 中 でデバッグ 機 能 の 説 明 をします その 後 の 作

More information

Java Java Java Java Java 4 p * *** ***** *** * Unix p a,b,c,d 100,200,250,500 a*b = a*b+c = a*b+c*d = (a+b)*(c+d) = 225

Java Java Java Java Java 4 p * *** ***** *** * Unix p a,b,c,d 100,200,250,500 a*b = a*b+c = a*b+c*d = (a+b)*(c+d) = 225 Java Java Java Java Java 4 p35 4-2 * *** ***** *** * Unix p36 4-3 a,b,c,d 100,200,250,500 a*b = 20000 a*b+c = 20250 a*b+c*d = 145000 (a+b)*(c+d) = 225000 a+b*c+d = 50600 b/a+d/c = 4 p38 4-4 (1) mul = 1

More information

H27-3.indd

H27-3.indd 2015 3 Shiriuchi Public Relations 2015-3 2 2 2 3 Shiriuchi Public Relations 2015-3 4 5 5 Shiriuchi Public Relations 2015-3 6 7 Shiriuchi Public Relations 2015-3 8 9 Shiriuchi Public Relations 2015-3 10

More information

Prog2_6th

Prog2_6th 2015 年 10 月 29 日 ( 木 ) 実施 レイアウトレイアウトの位置付け Android アプリで用いられる様々なレイアウト (Layout) は, それぞれ ViewGroup クラスを継承するクラスとして定義されているものであり,ViewGroup クラスは Viewクラスを継承するクラスである Viewクラスはユーザインタフェイスを構成する基本要素を表す ビュー (View) は画面上に長方形の領域を占め,

More information

Prog2_6th

Prog2_6th 2017 年 11 月 2 日 ( 木 ) 実施 インテントインテントとは Android アプリは複数のアクティビティを持つことが出来, また, アクティビティ以外の要素も持つので, 複数のアクティビティ間, アクティビティとアクティビティ以外の要素との間といったオブジェクト間を結び付ける仕組みが必要となる その役割を担うのがインテントで, 複数のアプリ間やアプリとシステムとの間もインテントで結び付けることが出来る

More information

アルゴリズムとデータ構造1

アルゴリズムとデータ構造1 1 200972 (sakai.keiichi@kochi sakai.keiichi@kochi-tech.ac.jp) http://www.info.kochi ://www.info.kochi-tech.ac.jp/k1sakai/lecture/alg/2009/index.html 29 20 32 14 24 30 48 7 19 21 31 Object public class

More information

H28-08.indd

H28-08.indd 709 Nanae Public Relations Vol.709 Nanae Public Relations Vol.709 Nanae Public Relations Vol.709 Nanae Public Relations Vol.709 Nanae Public Relations Vol.709 Nanae Public Relations Vol.709 Nanae

More information

Microsoft認定資格問題集DEMO(70-513)

Microsoft認定資格問題集DEMO(70-513) MIcrosoft 認定資格問題集 受験番号 : 70-513 受験名 : TS:Windows Communication Foundation Development with Microsoft.NET Framework 4 言語 : 日本語問題数 :145 問 この日本語版問題集の著作権は テストバリュー (TESTVALUE) が所有しています 問題集の他人への配布 譲渡 転売 複製 転載等の無断行為は法律上で禁止されています

More information

H28-02.indd

H28-02.indd Vol.703 Nanae Public Relations Vol.703 Nanae Public Relations Vol.703 Nanae Public Relations Vol.703 Nanae Public Relations Vol.703 Nanae Public Relations Vol.703 7 Nanae Public Relations Vol.703

More information

1.5 1...1 1.1... 1 1.2... 1 2... 2 2.1... 2 2.2 DB... 2 3... 3 3.1... 3 3.2... 3 4 DB... 4 4.1... 4 4.2... 6 4.3... 7 4.3.1.... 7 4.3.2.... 7 4.3.3.... 9 4.3.4.... 10 4.3.5.... 12 4.3.6.... 13 4.3.7....

More information

H27-01.indd

H27-01.indd 690 Nanae Public Relations Vol.690 Nanae Public Relations Vol.690 Nanae Public Relations Vol.690 Nanae Public Relations Vol.690 Nanae Public Relations Vol.690 Nanae Public Relations Vol.690 Nanae

More information

H24-05.indd

H24-05.indd Vol.658 Nanae Public Relations Vol.658 Nanae Public Relations Vol.658 Nanae Public Relations Vol.658 Nanae Public Relations Vol.658 Nanae Public Relations Vol.658 2012 513 Nanae Public Relations

More information

intra-mart Accel Platform — IM-共通マスタ スマートフォン拡張プログラミングガイド   初版  

intra-mart Accel Platform — IM-共通マスタ スマートフォン拡張プログラミングガイド   初版   Copyright 2012 NTT DATA INTRAMART CORPORATION 1 Top 目次 1. 改訂情報 2. IM- 共通マスタの拡張について 2.1. 前提となる知識 2.1.1. Plugin Manager 2.2. 表記について 3. 汎用検索画面の拡張 3.1. 動作の概要 3.1.1. 汎用検索画面タブの動作概要 3.2. 実装の詳細 3.2.1. 汎用検索画面タブの実装

More information

Java プログラミング Ⅰ 3 回目変数 変数 変 数 一時的に値を記憶させておく機能型 ( データ型 ) と識別子をもつ 2 型 ( データ型 ) 変数の種類型に応じて記憶できる値の種類や範囲が決まる 型 値の種類 値の範囲 boolean 真偽値 true / false char 2バイト文

Java プログラミング Ⅰ 3 回目変数 変数 変 数 一時的に値を記憶させておく機能型 ( データ型 ) と識別子をもつ 2 型 ( データ型 ) 変数の種類型に応じて記憶できる値の種類や範囲が決まる 型 値の種類 値の範囲 boolean 真偽値 true / false char 2バイト文 Java プログラミング Ⅰ 3 回目変数 変数 変 数 一時的に値を記憶させておく機能型 ( データ型 ) と識別子をもつ 2 型 ( データ型 ) 変数の種類型に応じて記憶できる値の種類や範囲が決まる 型 値の種類 値の範囲 boolean 真偽値 true / false char 2バイト文字 0x0000 ~ 0xffff byte 1バイト整数 - 2 8 ~ 2 8-1 short 2バイト整数

More information

() < > </ > / HTML SGML HTML 1.1 DTD DTD ( DTD (prolog) )SGML 1. DTD ( ) 2. DTD <!-- DTD-- > <!ELEMENT MAIL - - ((TO,FROM)?,DATE?,BODY) > <!ELEMENT TO

() < > </ > / HTML SGML HTML 1.1 DTD DTD ( DTD (prolog) )SGML 1. DTD ( ) 2. DTD <!-- DTD-- > <!ELEMENT MAIL - - ((TO,FROM)?,DATE?,BODY) > <!ELEMENT TO 2009 2D SGML,XML,HTML 2009 11 11 1 SGML SGML Standard Generalized Markup Language (ISO 8879) (JIS X 4151) < >< >SGML< > < >asakawa@ieee.orgSGML < >SGML SGML Standard Generalized Markup

More information

intra-mart Accel Platform

intra-mart Accel Platform intra-mart Accel Platform IM- 共通マスタスマートフォン拡張プログラミングガイド 2012/10/01 初版 変更年月日 2012/10/01 初版 > 変更内容 目次 > 1 IM- 共通マスタの拡張について...2 1.1 前提となる知識...2 1.1.1 Plugin Manager...2 1.2 表記について...2 2 汎用検索画面の拡張...3

More information

Microsoft Word - A05_AndroidプログラミングJUMP_画面800×1280

Microsoft Word - A05_AndroidプログラミングJUMP_画面800×1280 Ⅴ Android プログラミング JUMP/Page 1 Ⅴ Android プログラミング JUMP 1 Jump の標準授業時数時間 ( 月中旬まで ) 2 実習用サーバーの R:\ その他 \Java\JumpPro_init フォルダを z:\workspace へインポートしてください その方法は次のとおりです (1)Eclipse を起動して ファイル - インポート を選択してください

More information

2 // TODO Auto-generated method stub float x = event.getx(); float y = event.gety(); String action = ""; switch(event.getaction()) { case MotionEvent.

2 // TODO Auto-generated method stub float x = event.getx(); float y = event.gety(); String action = ; switch(event.getaction()) { case MotionEvent. 1 タッチイベントを取得する タッチパネルを操作すると, タッチイベントが ACTION_DOWN ACTION_MOVE( 繰返し ) ACTION_UP の順に発生する. このタッチイベントを取得するには, ontouchevent メソッドをオーバーライドする. また, dispatchtouchevent メソッドをオーバーライドしても, 同様の情報を取得することができる. dispatchtouchevent

More information

Microsoft Word - _Intent.doc

Microsoft Word - _Intent.doc public class Intent extends Object implements Parcelable Cloneable 英和 : 意図, 目的 intent が 意図 目的 を意味するように Android ではアプリ ( アクティビティ ) が何をしたいかという 意図 目的 のリクエスト メッセージをシステムに送ると, システムがそれを解釈 判断し, 適切なアクティビティへ渡す仕組みが備わっている

More information