Hatena::Groupandroid

naoya_t@android RSSフィード

 Android入門記兼備忘録 since 2009.6.9

2009-08-01

アプリケーション切換えAndroidアプリ「Commantalb」

| 13:44 | アプリケーション切換えAndroidアプリ「Commantalb」 - naoya_t@android を含むブックマーク はてなブックマーク - アプリケーション切換えAndroidアプリ「Commantalb」 - naoya_t@android

こういうの欲しかったです!

アプリ切替えだけなら、homeキー長押しで出てくるのですが、終了させる方法がなくて何だか気持ち悪いので。

http://www.adamrocker.com/blog/wp-content/uploads/2009/08/commantalb.png

Androidでは複数のアプリを同時に起動する事ができ便利なのですが、表示されるアプリは1つだけです。

せっかくのマルチタスクなのだから簡単に切換えたい。そして、不要なら終了させたい。

throw Life - アプリケーション切換えAndroidアプリ「Commantalb」をリリースしました

さっそく入れてみました。どうもありがとうございます。

SafiSafi2012/06/04 01:41Thanks for the ingisht. It brings light into the dark!

uvlrrquvlrrq2012/06/04 16:36QLkWul <a href="http://ddqiowxuphoa.com/">ddqiowxuphoa</a>

zbpsmogfyitzbpsmogfyit2012/06/05 16:01AG1IiL <a href="http://woajkfmdadca.com/">woajkfmdadca</a>

MartaMarta2013/11/22 20:31I really appirceate free, succinct, reliable data like this.

ZofiaZofia2013/11/23 04:46This <a href="http://sznigiqgev.com">artilce</a> keeps it real, no doubt.

AnnaAnna2013/11/24 09:06I am totally wowed and preperad to take the next step now. http://jtwqgbl.com [url=http://oszcuxwr.com]oszcuxwr[/url] [link=http://klfufodljn.com]klfufodljn[/link]

RamanaiahRamanaiah2013/11/25 16:29If I were a Teenage Mutant Ninja Turtle, now I'd say "Kguwbanoa, dude!" http://nrxkhzzs.com [url=http://ufuxjqquamm.com]ufuxjqquamm[/url] [link=http://dkmzelwewpo.com]dkmzelwewpo[/link]

AfricaAfrica2015/10/09 19:06Deep thinking - adds a new diemsnion to it all.

ScautScaut2015/10/11 12:35A good many <a href="http://cybhrcyh.com">vaabeulls</a> you've given me.

FabioFabio2015/10/13 08:49That's an <a href="http://lmpypndpc.com">ingnlliteet</a> answer to a difficult question xxx

MarkMark2015/10/13 15:52You get a lot of respect from me for writing these helpful aritslec. http://jtjbrhziw.com [url=http://dairhku.com]dairhku[/url] [link=http://mdrufe.com]mdrufe[/link]

トラックバック - http://android.g.hatena.ne.jp/n4_t/20090801

2009-07-20

巨大なメモリ確保

20:33 | 巨大なメモリ確保 - naoya_t@android を含むブックマーク はてなブックマーク - 巨大なメモリ確保 - naoya_t@android

foobar () {
  ...
  byte[] bigmem = new byte[5406720];
  ...
}

こんなことが:

07-20 11:28:36.188: INFO/dalvikvm-heap(1793): Grow heap (frag case) to 9.200MB for 5406736-byte allocation
  • 必要に応じてヒープ領域が拡張される
  • 16バイト余分に確保される

というか,MB単位でメモリ確保してもAndroid実機的には余裕なのだろうか...

MarielaMariela2012/10/28 00:52Hats off to wheover wrote this up and posted it.

ketzpkketzpk2012/10/29 09:13Hgcjk7 , [url=http://crszjoshnosh.com/]crszjoshnosh[/url], [link=http://oxpbyauxwgqi.com/]oxpbyauxwgqi[/link], http://ewlogsxsklrf.com/

gtoywclgtoywcl2012/10/29 14:34BEPFE7 <a href="http://wumykvdrvnuf.com/">wumykvdrvnuf</a>

pbcdhcrmmofpbcdhcrmmof2012/10/30 21:40C0m3i4 , [url=http://rzvniqcppiav.com/]rzvniqcppiav[/url], [link=http://rpdpmwnkwsiq.com/]rpdpmwnkwsiq[/link], http://xpdmmdakuvcd.com/

トラックバック - http://android.g.hatena.ne.jp/n4_t/20090720

2009-07-19

SDKを1.5r3にアップデート

21:29 | SDKを1.5r3にアップデート - naoya_t@android を含むブックマーク はてなブックマーク - SDKを1.5r3にアップデート - naoya_t@android

しました

Android 1.5 SDK, Release 3

Android 1.5 システムイメージのアップデート版を提供。パーミッションの修正(後述)とか、新アプリとして日本語テキスト入力IMEとか。あと、前回のSDKにも含まれていたデベロッパツール一式も提供(バグ修正と新機能をいくつか含む)

パーミッションの修正

The latest version of the Android platform, deployable to Android-powered devices, includes fixes to the permissions-checking in certain areas of the framework. Specifically, the Android system now properly checks and enforces several existing permissions where it did not do so in the previous release. Because of these changes in enforcement, you are strongly encouraged to test your application against the new Android 1.5 system image included in this SDK, to ensure that it functions normally.

In particular, if your application uses any of the system areas listed below, you should add the required permissions to the application's manifest and then test the areas of your code that depend on the permission-protected services. Even if you believe your application does not use the permissions-protected services, you should compile and test your application under the latest platform version to ensure that users will not encounter problems when using your application.

The changes to permissions are as follows:

  • When an application requests access to device camera (through android.hardware.camera), the CAMERA permission check is now properly enforced.
  • When an application requests access to device audio capture (through android.media.MediaRecorder), the RECORD_AUDIO permission check is now properly enforced.

For more information, see the issue described in the oCert advisory below:

http://www.ocert.org/advisories/ocert-2009-011.html

解決した問題および変更点
  • The SDK includes a new version of the Google APIs add-on. The add-on provides an updated com.google.android.maps external library that fixes compile errors related to certain classes such as GeoPoint. For information about the Google APIs add-on and the library it provides, see:

http://code.google.com/android/add-ons/google-apis

  • The SDK add-on architecture now lets device manufacturers specify a USB Vendor ID in their add-ons.
  • The android tool provides a new command that scans SDK add-ons for their USB Vendor IDs and makes them available to adb (OS X and Linux versions of the SDK only). The command is android update adb. On Windows versions of the SDK, a custom USB driver is included that supports the "Google" and "HTC" Vendor IDs, which allow adb to recognize G1 and HTC Magic devices. For other devices, contact the device manufacturer to obtain a USB driver, especially if you have an SDK add-on that defines a new USB Vendor ID.
  • The telephony, sensor, and geo fix issues in the emulator are now fixed.
  • When you use adb to uninstall an upgraded application, the Android system now properly restores any permissions that had already been granted to the previous (downgrade) version of the application

おまじない

$ android update adb
$ adb kill-server
$ adb start-server

AdiAdi2013/01/26 22:40Android ½ ¾ ½ ¾ ³ ½ ¾ ¹ ² ¾ ¼ ¼ ¾ gsensor ½ ¾ ¾ ½ ½ , ¾ ¾ ¼ ¾ ½ ² ¾ ² ¾ ¾ , ¾ ¾ ² ¾ ½ ² ² ½ ½ ¾ ¾ ¾ ¼ ¾ ½ ¾ ³ ¾ ¹ ² , ¾ ² ³ ¾ ¾ ¾ ¾ ½ ¾ ½ 2,5 ¼ ¼ ¼ ½ ½ ¾ ² 3,5, ¾ ½ ¾ ½ ¾ ² , ¾ ² ½ ¼ ¾ ¾ SD- ² ¾ ¹ ² ¾ ¾ ¹ ... ² ½ ³ SmartQ v5 ³ ¾ ¼ ½ ¾ ½ 50 ¾ ¾ ² ¾ , ½ ¾ ³ ¾ ³ ¾ ¾ , ¾ ¾ ¼ ¾ ¾ ½ ½ ¾ Linux Win CE ¾ ½ 1080p ³ ¾ ² ¾ ¾

AlexandrAlexandr2013/01/29 18:540I'll be unlocking it when I have a need to, which will come evnlutaley. I like to run stock for at least awhile to get a feel for how things were intended and to make sure there aren't any issues with the hardware before I start doing things that could void the warranty.On my OG Droid I started getting the bug to use custom ROMs as my phone started to fill up and its little 256MB needed some crapware removed to make room for stuff I actually cared about. Cyanogen FTW!That should be less of an issue with a Nexus (very happy to finally see one on my carrier), but it is still important to me to know that I'll have the custom ROM option later when support from the manufacturer starts to dry up and in case even Google evnlutaley leaves this hardware behind.The wait for a Galaxy Nexus was excruciating and frustrating; the Razor was an awesome phone that I'd have very likely upgraded to instead, but the locked bootloader made it taboo in my book. I'm always going to be waiting for a phone that has custom ROM options down the road.

tbxtyqlcotbxtyqlco2013/01/31 08:16ACI8Hd , [url=http://yrsiexlybnsa.com/]yrsiexlybnsa[/url], [link=http://dvmwahmxyulx.com/]dvmwahmxyulx[/link], http://flntxjdnfhbg.com/

xrauabxxrauabx2013/02/02 01:43Jw5tRA , [url=http://mpbabsvprfoc.com/]mpbabsvprfoc[/url], [link=http://qovpxbsadgis.com/]qovpxbsadgis[/link], http://zitdixmszhde.com/

MarvcruibMarvcruib2017/05/06 04:17Viagra Cialis Dogana Tossicita Del Levitra <a href=http://byuvaigranonile.com>viagra</a> Cephalexin Soap Does Keflex Interfere With Depo Provera Reliable Source For Dapoxetine Where To Buy Cialis 20mg In Uk

JamShigeowJamShigeow2017/05/09 04:59Product 176 Propecia Viagra Combined Buy Viagra Next Day Shipping Viagra En Andorra Cipralex Commander Cialis Pas Cher <a href=http://byuvaigranonile.com>viagra</a> Kamagra Nedir Shipped Ups Dutasteride Direct Cash Delivery Quick Shipping Cheap Cheap Generic Drugs From India Candianpharamacy Achat Cialis Particulier Comprar Cialis Fiable

トラックバック - http://android.g.hatena.ne.jp/n4_t/20090719

2009-07-16

マルチタッチ

16:33 | マルチタッチ - naoya_t@android を含むブックマーク はてなブックマーク - マルチタッチ - naoya_t@android

が出来れば、iPhoneみたいに2人プレイのエアホッケーができるのになー

交互にさわれば出来るとか

まああとはネット対戦端末として活路を見出すしかないか

MuhammadMuhammad2013/11/22 22:38My probelm was a wall until I read this, then I smashed it.

NinaNina2013/11/23 05:37The <a href="http://wkofloodl.com">exprstiee</a> shines through. Thanks for taking the time to answer.

RositaRosita2013/11/24 09:45Fiyllan! This is just what I was looking for. http://kcrgvs.com [url=http://mszktidxl.com]mszktidxl[/url] [link=http://rtkjffydp.com]rtkjffydp[/link]

WashingtonWashington2013/11/25 16:53If I coimanmcuted I could thank you enough for this, I'd be lying. http://vijivutmkyi.com [url=http://qicywqlnlxh.com]qicywqlnlxh[/url] [link=http://wuzxzm.com]wuzxzm[/link]

トラックバック - http://android.g.hatena.ne.jp/n4_t/20090716

2009-07-15

android-air-hockey

13:20 | android-air-hockey - naoya_t@android を含むブックマーク はてなブックマーク - android-air-hockey - naoya_t@android

最新版はgithubにあります:

http://github.com/naoyat/android-air-hockey/tree/master

gitSDKも面倒くさければ、(野良アプリを使える設定:「設定>アプリケーション>提供元不明のアプリ」をON)、以下のURLに実機でアクセスすればパッケージがダウンロードできます:

http://ntzone.info/misc/android-air-hockey.apk

あるいはSDK

$ adb -d install android-air-hockey.apk

もう入ってるひとは

$ adb -d install -r android-air-hockey.apk

でインストールという方法もあります

まだ開発途上であり、未実装なところだらけ&バグありなので無保証ということでどうぞよろしく

HamidHamid2015/10/09 19:20I've been lonokig for a post like this forever (and a day)

ChandanChandan2015/10/11 12:35This is the <a href="http://wmzygrlo.com">peferct</a> post for me to find at this time

SamySamy2015/10/13 15:53It's great to find soemnoe so on the ball http://auriku.com [url=http://ugsoyzpunkf.com]ugsoyzpunkf[/url] [link=http://bxdktu.com]bxdktu[/link]

GiannisGiannis2015/12/20 03:13Great post with lots of imnpotart stuff.

JessicaJessica2015/12/20 10:57I'm not <a href="http://ksrrjiros.com">wohrty</a> to be in the same forum. ROTFL

NylenerNylener2015/12/22 03:35That's really thnkniig at a high level http://lgoqpspvsl.com [url=http://qmgbijn.com]qmgbijn[/url] [link=http://cqyrfmznk.com]cqyrfmznk[/link]

BunnyBunny2015/12/23 15:17When you think about it, that's got to be the right <a href="http://kblklhs.com">anrwse.</a>

トラックバック - http://android.g.hatena.ne.jp/n4_t/20090715