Gphone.pl, Android, Google, IPhone, Open Social » 2009-04-29

Wiadomości z dnia 2009-04-29

Sortuj wiadomości według: Nazwy | Daty | Losowo

Re: [android-developers] Re: 1.5 SDK problem with WebView.getZoomControls()

The preferred API is WebView.getWebSettings().setBu iltInZoomControls(true). The new API is simpler in that just setting the flag will automatically add/hide the zoom controls. It will also have better performance on the G1 and some other devices due to it being hardware composited on top of the
Informacja: 2009-04-29
Czytaj: Re: [android-developers] Re: 1.5 SDK problem with WebView.getZoomControls()

[android-developers] Re: OutOfMemoryError from BitmapFactory

No joy here, I'm afraid. I really hoped this would be it. (Debuggable changing garbage collection behavior or something...) I just happened to have a section of code that blows up reliably after a opening and then closing the G1 screen. Setting debuggable="false" had no effect. Going into set content view I garbage collect and then I have 972K on
Informacja: 2009-04-29
Czytaj: [android-developers] Re: OutOfMemoryError from BitmapFactory

Re: [android-developers] runtime API level detection

I think you should be able to use android.os.Build.VERSION.SDK though I haven't needed to use it myself yet. This thread might also be useful: [link] Tom 2009/4/28 jason...@spy.net <jasonleehudg...@gmail.com>
Informacja: 2009-04-29
Czytaj: Re: [android-developers] runtime API level detection

Re: Observer for Adaper

Anybody?
Informacja: 2009-04-29
Czytaj: Re: Observer for Adaper

Re: 1.5 SDK problem with WebView.getZoomControls()

Should be: WebView.getSettings().setBuilt InZoomControls(true);
Informacja: 2009-04-29
Czytaj: Re: 1.5 SDK problem with WebView.getZoomControls()

Re: [android-developers] Re: Observer for Adaper

That's not what a datasetobserver does, and I suspect that trying to figure out when there's a pause between invocations of getView() is not going to work quite right either. What are you trying to achieve? 2009/4/28 yarik...@gmail.com <yarik...@gmail.com>
Informacja: 2009-04-29
Czytaj: Re: [android-developers] Re: Observer for Adaper

AudioTrack and MP3 data

I have been streaming MP3 audio tracks using the Apache Commons libraries to create a local HTTP server and then connecting to it with MediaPlayer. This is a very cumbersome setup, and has tons of overhead...that's why I was excited about the introduction of AudioTrack. Unfortunately I just realized that AudioTrack only supports PCM
Informacja: 2009-04-29
Czytaj: AudioTrack and MP3 data

Re: GridView and BaseAdapter position bug

I have to defend Romain here. The gridview and/or listview is just not designed to do this. You're trying to put a round peg in a square hole. Maybe the decision to use a GridView for your purposes is not a good idea, because of its design that does not fit what you need. If all 100 cells are visible at the same time (then there's no
Informacja: 2009-04-29
Czytaj: Re: GridView and BaseAdapter position bug

Re: cupcake 1.5 r1 surfaceCreated is not called!!!

surfaceCreated() is getting called for me in the 1.5r1 emulator. Can you give a bit more detail about what you're doing? Does waitForScreen () spawn another thread and return? -- Jon
Informacja: 2009-04-29
Czytaj: Re: cupcake 1.5 r1 surfaceCreated is not called!!!

Android 1.5 SDK and setTheme problem

Before I report this as a bug, has anyone been able to set a theme in 1.5? What worked in 1.1 no longer does in 1.5 for setting themes. For example the following: protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceSt ate); ... setTheme(android.R.style.Theme _Light);
Informacja: 2009-04-29
Czytaj: Android 1.5 SDK and setTheme problem

Installing Image on ADP

Hi, I'm running into an issue when I am trying to install an Android image onto the dev phone. I get to the point where it shows on the phone that it is ready for fastboot, and when I do: sudo fastboot flashall It never finishes. I've waited over an hour. It isn't waiting for the device, but instead starts and never finishes sending to the
Informacja: 2009-04-29
Czytaj: Installing Image on ADP

Re: How to start an Intent from preference page AND GET RESULTS?

see: [link] This invokes an Intent directly from Preferences XML which is handy. (Perhaps you could specify ACTION_GET_CONTENT to return a value to your app, although I have not tried this.) Invoking the intent works OK internally, but I have not been able to invoke an activity outside
Informacja: 2009-04-29
Czytaj: Re: How to start an Intent from preference page AND GET RESULTS?

Re: Screen flip-out on G1

Normally the activity is destroyed and recreated when Android detects rotation, unless you specify that you want your activity to handle events like turning the phone on its side or the keyboard opening. It's documented here: [link]
Informacja: 2009-04-29
Czytaj: Re: Screen flip-out on G1
Strony: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 »

Stronę wygenerowano w 0.1 sek. | Forum, programowanie | Gphone, platforma Google Android | Gabinet stomatologiczny Wrocław