問題タブ [android-4.4-kitkat]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
2 に答える
15946 参照

android - Android 4.4 kitkat エミュレーターのセットアップ

AVD マネージャーを使用して Android kitkat 4.4 エミュレーターをセットアップしようとしています。API レベルを選択するオプションが表示されますが、デバイス リストの下に互換性のあるデバイスが表示されません。Nexus 10 を使用しようとすると、エミュレーターは実行されますが、何も表示されません。そのため、stackoverflow をチェックしているときに、多くの人が次のようなエミュレーターを実行していることを知りました。

KitKat エミュレーターのソフト ボタンはどこにありますか?

しかし、私の問題は何ですか?(VMスペースのように)うまく動作するように十分なプロパティを与えましたが、Kitkatはメモリに制約のあるデバイスでも動作できることを知っているので(youtubeのdevバイトに見られるように)、それは問題ではないと思います. 簡単に言えば、できればGoogle nexus 5用のAndroid携帯(タブレットではない)専用のエミュレータをセットアップするにはどうすればよいですか。ガイダンスやヘルプをいただければ幸いです。

0 投票する
5 に答える
3463 参照

android - Android API 19 の開発中に Android の「文字列エラー」が発生しましたか?

だから、私はAndroidで開発しています。知りたいのですが、このコードの何が問題になっていますか? res /layoutディレクトリのactivity_main.xmlで、グラフィカル レイアウト エディタを使用すると、次のエラーが表示されます。

文字列:

レイアウト:

0 投票する
1 に答える
1444 参照

android - Android 4.4 でのカスタム フォント レンダリングに中空の透明テキストが表示される

私のアプリの 1 つを使用して、Android 4.4 で奇妙なことが起こっています。でカスタム書体を設定するカスタム ビューを使用していTypeface.createFromAssetます。上の画像でわかるように、レンダリングはデバイス/エミュレーターで正常に動作します。カスタム ビューのコンテンツをビットマップとして保存すると、問題が発生します。

Android 4.4未満ではすべて正常に動作します。保存された画像は、画面に表示されているものと同じように見えます。ただし、4.4 では、フォントの境界線しか見えず、テキストの内側は透明です。どうすればこれを修正できますか?

ここに画像の説明を入力

0 投票する
5 に答える
8562 参照

android - Making Host Card Emulation work for payment

I've been using StackOverflow for years now, always finding answers to my questions before even asking them, but today I'm stuck.

As I happen to have a working POS terminal (the EMV Chip&Pin kind), I wanted to look into host card emulation.

The terminal works with the latest version of Tapp, so I know that the terminal is good and that my N7 with Kitkat can actually do payment (or at least the terminal do a series of good sounding bleeps and bloops, and the tablet launch Tapp's enrollment screen). So I've read the manual(s) and written a bunch of lines with the objective of seeing something arrive on my HostApduService. It partially works as I can find my dummy "card" in the Tap&Pay settings of the tablet.

But the "payment" part doesn't work: just two high-pitched bleeps from the POS terminal and nothing on the tablet. My HostApduService is not called.

I've tried all kind of different AIDs: real ones and silly ones, short and long, but nothing works.

When using Tapp, the LogCat says :

And with my code, the LogCat is :

Obviously with my code, the OS doesn't bind the HCE intent to my service. But why?

You'll find below my manifest :

my apduservice.xml :

And for good measure, the service (as you can see at the moment, it does nothing except Logging) :

If you have ideas on why it doesn't work, I'll be forever grateful. For now, I'm stumped.

Regards

Philippe

0 投票する
3 に答える
9860 参照

android - Android ImageView の透過 GIF

アプリで透明な GIF 画像を表示しようとしていますが、成功しません。アイコンをダウンロードして ImageView に表示できますが、背景は透明ではなく白です。

私はすでにこれらの解決策を試しましたが成功しませんでした: プログラムで GIF を PNG に変換します

GIF画像を透明に表示する方法を見つけた人はいますか? Android 18 SDK を使用しています。

0 投票する
0 に答える
211 参照

android - hal_process_report_ind: Bad item quality: 11 とはどういう意味ですか?

この質問から、エラーが発生したことを確認しました

すぐに心配することではありません。しかし、それが何から来ているのか、それが何を意味するのか誰か知っていますか? 具体的にはハルとは?(「申し訳ありませんが、それはできません、デイブ」以外) 何が問題になっている可能性がありますか? いつ私がエアロックの外に出て、携帯電話に頼って中に入れられるかは誰にもわかりません...

詳細な Eclipse ログのコンテキストを次に示します。私は Kitkat でビルド v22.3 の Nexus 5 を実行しています。ADT と Windows 8.1 の。