[android-developers] Re: Eclipse Error while adding ddms

2008-12-03 Thread Anonymous Anonymous
Hi , That error gone, i separately executed all the scripts... Now few more errors are like assert cannot be resolved client.java ddmlib/src/com/android/ddmlib Button cannot be resolved to a type AllocationPanel.java ddmuilib/src/com/android/ddmuilib Can only iterate over

[android-developers] Re: Issue with pending messages and onDestroy()

2008-12-03 Thread Kevin
Perfect! My problem is now solved, and instead of canceling pending requests, I now reuse the partially completed dataset from the original instance. Thank you! On Dec 3, 9:07 am, Eric M. Burke [EMAIL PROTECTED] wrote: Take a look at Ed Burnette's comment on this blog:

[android-developers] Foreign Language support/Adding new system fonts

2008-12-03 Thread Eric
Can new system fonts be added to Android? Can applications refer to them? Several threads have addressed this, but I can't find a complete answer. The only method I have found to change system fonts is with adb push. If I use adb to install a new font can an app use it? Or does Android only

[android-developers] rebuilt browser to g1

2008-12-03 Thread ifelder
I changed the user agent variable (from 0 to 2) in the source code, compiled the source and swapped the system.img files in the android SDK emulator images folder (/android-sdk-linux_x86-1.0_r1/tools/lib/ images/system.img). The emulator loads the new browser fine and displays an iPhone user

[android-developers] Who maintains / supports Android core applications like MMS / Contacts / etc.?

2008-12-03 Thread djpinoy
Hi there, I think I'm having an issue with how the MMS/SMS app handles MMS messages. I'd like to start digging into the issue myself, but my question for now is: Who maintains / supports these core Android applications (platform/packages/apps/*)? I've tried to document the bug as best I can

[android-developers] Play Video Files in Android

2008-12-03 Thread Jatin
Hello, Please let me know how to play the Video Files in the Media Palyer of the Android. I have push the .mp4 file inside the SD Card. Jatin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: Eclipse Error while adding ddms

2008-12-03 Thread Ralf
I uploaded a CL to fix this: http://r.android.com/5099 R/ On Wed, Dec 3, 2008 at 7:52 PM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Thank you Xav, When i try to execute create_all_symlinks.sh gives Error: Please execute this from the device/tools/eclipse/script directory which couldn't

[android-developers] Re: Eclipse Error while adding ddms

2008-12-03 Thread Anonymous Anonymous
Hi Ralf, A running ubuntu on virtual machine.. ubuntu 8.04 Eclipse 3.4(ganymede) Java - sun-java6-jdk Thanks again steve On Thu, Dec 4, 2008 at 10:52 AM, Ralf [EMAIL PROTECTED] wrote: Hmm interesting, would you please be able to indicate: - Your host platform: linux, mac, windows - Your

[android-developers] Re: Who maintains / supports Android core applications like MMS / Contacts / etc.?

2008-12-03 Thread Jean-Baptiste Queru
Every app that's been open-sourced as part of the Android Open-Source Project is maintained as part of Android. You've reported your bug in the right place, and your bug report is wonderfully detailed. Sadly, keeping up with all the incoming bugs has proven to be a challenge. You might find

[android-developers] Re: rebuilt browser to g1

2008-12-03 Thread Jean-Baptiste Queru
Indeed, the built-in android browser uses a variety of private system APIs, very unfortunately, which means that rebuilding it in order to be able to install it on a G1 as if it was a 3rd-party application is hard enough to be essentially almost imporsible. JBQ On Wed, Dec 3, 2008 at 4:22 PM,

[android-developers] Re: Trouble inflating a view

2008-12-03 Thread CaseyB
Ok, I am not sure exactly what the problem was but I fixed it my creating the layout in code and instantiating an instance of it instead of trying to inflate it from xml. On Dec 3, 4:18 pm, CaseyB [EMAIL PROTECTED] wrote: I made the change you suggested but I still get the same error.  It's

[android-developers] Is it mandatory to call the getSystemService() function by ecvery application?

2008-12-03 Thread sunil kumar
Hi Android Developers I would like to know why some of the applications are not calling the getSystemService(TELEPHONY_SERVICE) function for getting the telephony services. For ex: App1:(RadioInfo.Java) is calling the above function to get the telephony service.Like ..

[android-developers] Re: rebuilt browser to g1

2008-12-03 Thread ifelder
Curses. How big of a pain would it be to write my own browser? it would be essentailly just a webview would it not? i dont understand why the android team put so much effort into building their browser up and not bulding up webkit... On Dec 3, 11:41 pm, Jean-Baptiste Queru [EMAIL PROTECTED]

[android-developers] Re: rebuilt browser to g1

2008-12-03 Thread Jean-Baptiste Queru
I'm not quite sure what you mean - the android browser app is built on top of WebView, which is in turn built on top of WebKit.. Writing a browser is a major task, even if you build it on top of WebView. JBQ On Wed, Dec 3, 2008 at 10:35 PM, ifelder [EMAIL PROTECTED] wrote: Curses. How big

[android-developers] Memory leak in BitmapFactory/Gallery?

2008-12-03 Thread EboMike
I've already asked this in a href=http://groups.google.com/group/ android-developers/msg/9cdbf47be2505810?hl=enThis thread/a: Here is a pretty simple Gallery setup. It seems to leak with every image that's loaded (see the original thread for details). I'm tempted to file it as a bug, but I want

[android-developers] Re: Trouble inflating a view

2008-12-03 Thread Romain Guy
Apparently you were inflating a View from an adapter and putting that View in the wrong parent, which caused the ClassCastException. On Wed, Dec 3, 2008 at 10:22 PM, CaseyB [EMAIL PROTECTED] wrote: Ok, I am not sure exactly what the problem was but I fixed it my creating the layout in code

[android-developers] Re: Play Video Files in Android

2008-12-03 Thread Dave Sparks
If you want a video player app for your G1, there are several available for free in the Market. If you are looking for sample code, check out the SDK sample code. There are also several workable snippets posted in various messages on this list. On Dec 3, 9:19 pm, Jatin [EMAIL PROTECTED] wrote:

[android-developers] Re: Memory leak in BitmapFactory/Gallery?

2008-12-03 Thread EboMike
Hello Romain, thanks for your answer. The image I'm using is 1024x768. I've tried a bunch of different ones, but they were all around that size. The 32KB leaks sound like the BitmapFactory's input stream buffers. It should be possible to repro this behavior by creating a new Android app in

[android-developers] Re: Memory leak in BitmapFactory/Gallery?

2008-12-03 Thread Romain Guy
I just checked and the bug is simply that Gallery does not convert the views. I'll try to fix it as soon as possible. On Wed, Dec 3, 2008 at 10:45 PM, EboMike [EMAIL PROTECTED] wrote: I've already asked this in a href=http://groups.google.com/group/

[android-developers] Re: Memory leak in BitmapFactory/Gallery?

2008-12-03 Thread EboMike
Thanks a lot, Romain! Question though - even if the gallery is not converting the views, why doesn't it release references to them as you move away? Say, I move from view 0 to view 1, with view 0 being completely off- screen, the gallery should remove its reference to view 0 since it is no

[android-developers] Re: Memory leak in BitmapFactory/Gallery?

2008-12-03 Thread Romain Guy
A memory leak is actually totally expected in that case. Gallery, like ListView, GridView, etc. uses a recycling heap. Every time a view is unused, it is moved to the recycler. Unfortunately, if it's never taken out of the recycler... On Wed, Dec 3, 2008 at 11:07 PM, EboMike [EMAIL PROTECTED]

[android-developers] Re: Where is the source codes of status bar?

2008-12-03 Thread CXF
Thank you. Just found it in \frameworks\base\services\java\com\android\server \status The status bar is a service. Not in frameworks\base\core. :) On Dec 4, 1:00 am, Jean-Baptiste Queru [EMAIL PROTECTED] wrote: This is probably a question that should be asked on the android-platform mailing

[android-developers] Bitmap.getPixels()

2008-12-03 Thread jman
I painted a transparent green curve on top of a background bitmap. When I use Bitmap.getPixels() to get the result into byte array, I always get a black curve. The curve position is correct but color isn't. Is there anything I need to do before calling Bitmap.getPixels ()? Thanks.

[android-developers] Re: Memory leak in BitmapFactory/Gallery?

2008-12-03 Thread EboMike
Thanks a lot for the very quick replies. One last thing: Do you happen to have any remote idea about when the next SDK release is scheduled? My app is currently running out of memory a lot :) On Dec 3, 11:13 pm, Romain Guy [EMAIL PROTECTED] wrote: A memory leak is actually totally expected in

[android-developers] Re: Memory leak in BitmapFactory/Gallery?

2008-12-03 Thread Romain Guy
Well you could start by not loading such huge images in a Gallery. Even if the recycler was working correctly it is a LOT of data to read and to decode. It's also a lot of wasted memory (and it also slows drawing down since the bitmaps are drawn rescaled.) You should use BitmapFactory.Options or

[android-developers] Re: Memory leak in BitmapFactory/Gallery?

2008-12-03 Thread EboMike
Thanks, Romain. I'm grabbing them from a server, but you're right, if anything, I should convert and re-save them in a smaller format before caching them locally. Well, I just tried to get it running quickly :) One laaast thing - You mentioned that an app has a 16MB heap. How is that split up? A

[android-developers] Re: TabActivity vs VideoView vs Camera Preview contention

2008-12-03 Thread Dave Sparks
The black screen is probably the result of the 2D engine trying to composite from an empty camera preview frame buffer. The video push buffer surfaces were a late addition to SurfaceFlinger to facilitate the use of video hardware pipelines. I'm not surprised there are some rough edges because it

[android-developers] Re: Web Service and Authentication

2008-12-03 Thread Malefico
I have to acces my Web service using Android.. and i would like to know the best approach.. I think im not the only person who have this problem with Android O. On 3 Dic, 19:24, Michael [EMAIL PROTECTED] wrote: This is a bit off-topic on an Android development group, as there's no Android

<    1   2