今回は、皆さんが大好きなお金、つまりマニーの話をしたいと思います。 Androidマーケットにアプリを出して、がっぽがっぽ大儲け!といった妄想を自分はしていました。これで、s○nyのLEDブ○ビアや、c○re i7 で、メモリ4GのWind○ws7搭載PCも買える!とか思っていました。なので、プライベートな時間を削って、結構頑張ってアプリを作って、公開してみました。 でも、現実はそんなに甘くなかったのです。そんなに上手くいかないのが世の常…という事を思い知らされました。そんな自分の個人的な体験談を綴ってみたいと思います。 1.アプリを作ろう とりあえず、自分があったらいいな、と思ったアプリを作りました。写真に撮影した場所を記憶させて、Map上で表示できたらいいな、と思ってそんなアプリを作ってみました。 それがmy photo mapです。 (Androidマーケットにて140円で絶賛発売
Android用:『Gmote』は、Android携帯から直接、PCをコントロール可能にするアプリです。音楽や動画の再生、ファイルシステムのブラウジング、さらにはキーボードやマウスとしても、Android携帯を使用できます。 Gmoteを使用するためには、PCにVLCがインストールされている必要があります。そして、Gmoteのサーバーアプリ(Windows/Mac/Linux版のいずれか)をPCにインストールし、Android携帯にGmoteクライアントをインストールすれば、完了です。セットアップが終わると、モバイルクライアントからGmoteサーバーへ、IPアドレスを経由して接続でき、PCをAndroid携帯で操作できます。 ものすごく使えるリモート機能ではありませんが、Android携帯でPCが操作できるのは熱いですよね。下記リンクからダウンロードできます。How-To-Geekにスクリ
メールアドレスがこのグループでは匿名化されているか、メンバーのメールアドレスを表示する権限がないため、元のメッセージを表示できません takashiと申します。コーディングに行き詰まった点が出てきましたので 質問をさせて下さい。 どのようにしてデータの暗号化を行うのかについての質問です。 あるアプリケーション内でデータを読み書きしたいのですが、 そのデータが性質上、機密性が高いもので暗号化を行い ファイルに書き込み、必要なときにデータを読み出し複合化 を行おうと考えております。 javax.cryptoをキーワードに色々ネットやリファレンスで調べて 試してみたのですが、どうも上手く行く方法はありませんでした。 そこでデータの暗号化方法についてご教授頂きたいと思って おります。 参考までに私が試したものとしては… 1)DEMを使った暗号化 暗号化部分============ KeyGener
前回の日記で振る舞いを設定すると書きましたが。 では、どういった振る舞いの設定方法があるかを今回調べてみました。 なお、間違いが多々ありそうですので、もし発見されたら教えてください。 Activity Actions 『Activityの振る舞い』を指定する方法の一覧表。 それぞれの振る舞いに対するデータは、URI形式で渡します。 定数名 説明 URL ACTION_MAIN アプリを起動する。 ● ACTION_RUN データを実行する。 ● ACTION_ALL_APPS 利用可能なアプリを一覧表示する。 ● ACTION_ATTACH_DATA データを添付する。 ● ACTION_CHOOSER ユーザーに Activity を選択させるための画面を表示する。 ● ACTION_PICK データ内から一つ選択して、その選択情報を返す。 ● ACTION_PICK_ACTIVITY
Copyright © 2004-2024 Impress Corporation. An Impress Group Company. All rights reserved.
組み込みソフトウェア/ハードウェア開発における技術力の向上、改善・最適化などを幅広く支援する“組み込み開発エキスパート”のための情報フォーラム
何かと端末の情報を取得したいシーンは多いと思います。 そんなときに使用するのが、TelephonyManager クラスです。 端末の情報にアクセスするため、権限の設定も必要になるので以下のように、 AndroidManifest.xmlファイルに”READ_PHONE_STATE”の権限設定をします。 実際に取得する際にはコードは以下の次のように記述するだけです。 出力結果をログに出すと以下のようにします。 また今回は4つの情報のみを出力していますが、TelephonyManager を使用して取得できる端末の情報は40種類ほどあり、それらの詳細についてはAndroid Developersのこちらを確認してください。 関連する投稿 関連する投稿はありません。
Android、いかがですか。 今日もOut Of Memory、出していますでしょうか。 そんなあなたに朗報です。 少しでもメモリにやさしいプログラムを。 今日はSoftReferenceのお話です。 トレードオフ Androidで(というよりもJavaで)パフォーマンスに最も影響を与えるのはインスタンス生成の部分ではないでしょうか。 ループの中でインスタンスを生成しようものなら、たちまちあなたのUIは機敏さを失うことになるでしょう。 インスタンス生成はGCの源です。ストップザワールドを少しでも避けるためには極力newなどは控えなければなりません。 となると、インスタンスを作らないことが究極なのですが、全く作らないというわけにはいきません。ならば、一度作ったインスタンスは再利用しようではありませんか。 その時に役に立つのがキャッシュです。一度作ったインスタンスはキャッシュに保持し
License Verification Library(LVL)でもProGuardがお勧めされていますが、 Android+ProGuardのサンプルがあまり見つからなかったのでぱくりぱくりしつつ、 build.xmlを書いてみました。 ※ProGuard4.5.1で検証しています。また、最新のandroid-sdkだと各種パスが変更になっていますので適宜修正してください。 Proguard.jarの設定などは適宜修正してください。 ※さらに追記 framework.aidlが無くなったりと、もうどうにもならない感じですね。 それはそうと、eclipseからexportする際にProGuardかけられるようになっていますので、 素直にそちらを利用するのが無難です。私もいい加減antは捨てました・・・ 一応は、LVL用のソースなども取り込んで実行できるようにはなっています。 ※生成の途中
TextView で多彩な表現を 前回に引き続き TextView の表示の話をしていきたいと思います。 TextView に「文字を表示する」「画像を添える」ことが可能なことは説明しました。しかし、TextView を扱っているうちにそれだけでは不満なケースが出てきます。 例えば・・・ Nintendo® などと表現したい場合はにどうすればいいのでしょうか。 その他、文中に数式を現すに場合などに上付き文字や下付き文字を利用したい、文中の一部の文字の色、大きさ、スタイルなどを変更したい、文にアンダーラインを引きたい、文中に画像を差し込みたい、クリック1つでWebサイトにリンクさせたい、など様々な要望が出てきます。 その様な場合、通常 Android では android.text.style.〜Span といったものを用いてその都度引き渡すテキストに変更を加えていきます。しかし自由度はある
AlarmManagerを使っていて、こんな経験はありませんか? Pending Intentに入れるintentの設定で、遷移先のクラスは一緒で、intentに設定するデータが異なる予定を別々にセットしたい! たとえば、普通に以下のように設定しようとすると、AlarmManagerでは同じintentとして見なされてしまう為、古いintentが上書きされてしまいます。 //今から10分後にActivityを起動させる long alarmTime01 = System.currentTimeMillis() + 600000; //今から20分後にActivityを起動させる long alarmTime01 = System.currentTimeMillis() + 1200000; //intentの設定(10分後に起動させるやつ) Intent intent01 = new In
Walkin’ On The Spiral. Let’s see, if that’s true or not.日経BPさん主催のオープンモバイル・コネクションズ2008に参加し、ライトニングトークをしてきました。 制限時間は5分。如何にAndroidに興味を持ってもらえるかを考えました。 やはり動くモノだろうと決断し、デモを2つ行いました。 5分で強制終了という縛りルール。 (これはサクサクと進んでお客さんを飽きさせない意味で成功したと思います。) ただ、私はチキンなので、この縛りを恐れ、デモの1つは予め作っていった動画。 余った時間でもう1つのデモを見せました。うまく行ったので一安心。 では、デモをどうぞ。
Google Androidに関する技術情報を公開していきます。 どなたもご自由に追加/編集してください。 ページを新規作成する場合は、既存のページまたは、テンプレートページを複製してください。 Pukiwikiの使用方法はこちらを参照してください。 新しい!Android攻略Wiki MenuBarを参照 注 wikiwikiではスパム、荒らし対策のため文字列がmod_securityでフィルタリングされています。 そのためonClick()、onFocus()などはWiki上に記載できないため、本来は半角の文字列も一部全角で記載してあります。 不正な文字列が含まれる場合は「406 NotAcceptable」となり、編集内容が無くなってしまう場合もありますので、編集する際はこまめに更新を行う事をお勧めします。 ※インライン要素が展開される整形済みテキスト行(行頭がシャープ半角空白#で始
メールアドレスがこのグループでは匿名化されているか、メンバーのメールアドレスを表示する権限がないため、元のメッセージを表示できません こんにちは。トミーと申します。 私はMediaRecorderを使ってmp3ファイルを放送したいですが。 そのAndroid SDKのソースは下記のようです。 ------------------------------------------------------------------ MediaRecorder recorder = new MediaRecorder(); recorder.setAudioSource(MediaRecorder.AudioSource.MIC); recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); recorder.setAudioEnc
はてなグループの終了日を2020年1月31日(金)に決定しました 以下のエントリの通り、今年末を目処にはてなグループを終了予定である旨をお知らせしておりました。 2019年末を目処に、はてなグループの提供を終了する予定です - はてなグループ日記 このたび、正式に終了日を決定いたしましたので、以下の通りご確認ください。 終了日: 2020年1月31日(金) エクスポート希望申請期限:2020年1月31日(金) 終了日以降は、はてなグループの閲覧および投稿は行えません。日記のエクスポートが必要な方は以下の記事にしたがって手続きをしてください。 はてなグループに投稿された日記データのエクスポートについて - はてなグループ日記 ご利用のみなさまにはご迷惑をおかけいたしますが、どうぞよろしくお願いいたします。 2020-06-25 追記 はてなグループ日記のエクスポートデータは2020年2月28
ConnectBotはAndroid用のオープンソース・ソフトウェア。外出している時に限ってサーバトラブルが発生する。これはマーフィーの法則と言えるだろう。そんな時にいちいちノートPCを取り出してネットワークに接続して…なんてやっているのは煩わしい。 AndroidでSSH もっとシンプルに解決してみよう。最近ではスマートフォンを持っている人も増えている。Androidを持っている方であれば、ConnectBotを入れておくことをお勧めしたい。ConnectBotはAndroid用のSSHクライアントだ。 ConnectBotはSSHの他、telnetにも対応している。さらにlocalに接続してコマンドを実行することもできるので、Androidを色々いじりたい人にはぴったりと言えるだろう。公開鍵の生成、インポートもできるので公開鍵認証にも対応できる。 対応プロトコル その他設定では全画面表
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く