[android-developers] Re: MapView showing as black screen after upgrade to 1.5

2009-05-02 Thread JP
Check if your app might be stuck in your overridden MapActivity.onCreate(). I had that problem and shuffle things in onCreate() around. Once onCreated() completes, the map showed as had been. On May 1, 10:19 pm, Derek dlawl...@gmail.com wrote: Has anyone seen their MapView which was working

[android-developers] Re: Porting 1.0 to 1.5, map tiles stopped displaying

2009-05-02 Thread JP
Discovered that as another alternative. These new clothes are still a bit scratchy. On May 1, 10:10 pm, Derek dlawl...@gmail.com wrote: It looks like they moved the location of debug.keystore with SDK 1.5. Since I'm on Vista, I had to copy my original debug.keystore from C:

[android-developers] Re: Light theme doen't work properly in 1.5 SDK

2009-05-02 Thread jarkman
I spent a while having trouble with themes set in onCreate being apparently ignored. In the end, I moved all our theme setting to the manifest, and had no more trouble. Richard On May 2, 2:34 am, havexz bali.param...@gmail.com wrote: I am setting the theme in onCreate() methodof

[android-developers] Re: Relationships among apps, tasks, and activities

2009-05-02 Thread devi prasad
Hi, Dianne: this is the portion of the dump that I get by executing adb shell dumpsys activity : -- Activities in Current Activity Manager State: Task{3 com.robosoft.example} clearOnBackground=false numActivities=3 rootWasReset=true affinity=com.robosoft.example

[android-developers] Re: Storing app-specific synced data with a contact

2009-05-02 Thread jarkman
The sync process seems to re-encode the jpeg. You'll need to use a robust steganographic method... :-) I had read Contacts.Settings as storing settings for sync accounts, not settings for individual contacts. Is that what you're after ? Richard On May 2, 1:00 am, Mike Hearn

[android-developers] Re: Ho to deteck key press on soft keyboard

2009-05-02 Thread Yossi
It seems this API is available only for 1.5 and I need the same code to run also for 1.1 So I assume there is no backwards compatible API. correct? Thanks, Yossi On May 2, 12:44 am, Dianne Hackborn hack...@android.com wrote: The InputConnection interface is the API the IME has to your text

[android-developers] Lost focus on soft keyboard

2009-05-02 Thread Yossi
Hi, I implemented a custom preference screen on which I have an EditText control. The problem I have is when the user clicks on the EditText control to enter data, the soft keyboard pops-up and the EditText loses the focus which makes it impossible to enter data. What do I do wrong? Thanks,

[android-developers] Duplicated text when using .append in widgets

2009-05-02 Thread Alberto M. Scattolo
Good morning everybody! I'm pretty new to Android so I'm facing some problems :) I'm using a TextView widget to show a log, just some text. The log content is stored on an SQLite database that my app creates and when a new line is added to the databse I use textview.append(my last line) to add

[android-developers] Re: Storing app-specific synced data with a contact

2009-05-02 Thread Mike Hearn
No :( I'm needing to store data about individual contacts. Does anybody else have ideas? I really want to avoid steganography that can survive JPEG recompression, it would be an astonishing amount of suck. On May 2, 10:12 am, jarkman jark...@gmail.com wrote: The sync process seems to re-encode

[android-developers] Re: Trouble migrating apps to 1.5

2009-05-02 Thread Teo
Hmm, the problem reappears after restarting and i still have to do adb kill-server every time. On Thu, Apr 30, 2009 at 9:28 PM, Teo teomina...@gmail.com wrote: Hi, thanks for the response - fixed it in the meanwhile. Apparently it was something of this sort, i just tried adb kill-server and

[android-developers] Intent.ACTION_PICK and gif image

2009-05-02 Thread Maxence Warzecha
Hi, I'm able to browse image in phone with this code : String directory = /sdcard/*; Uri uri = Media.INTERNAL_CONTENT_URI.buildUpon().appendQueryParameter (bucketId, getBucketId(directory)).build(); Intent intent = new Intent(); intent.setData(uri); intent.setType(image/*);

[android-developers] API demos and SDK 1.5: is available?

2009-05-02 Thread EvgenyV
Hi! As far I see the API demos sources are not a part of latest 1.5 SDK. Can I download it somewhere? Thanks, Evgeny --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Tabhost Disappearing List view

2009-05-02 Thread cre
Mark, Thanks. Will do both. On May 1, 9:05 pm, Mark Murphy mmur...@commonsware.com wrote: cre wrote: I didn't answer your previous question.  No, there are not problems with other Adapters only the ones in TabHost. I went back and looked at the Hierarchyviewer property values and it

[android-developers] Re: API demos and SDK 1.5: is available?

2009-05-02 Thread Evgeny V
Found it in \platforms\android-1.5 On Sat, May 2, 2009 at 3:12 PM, EvgenyV evgen...@gmail.com wrote: Hi! As far I see the API demos sources are not a part of latest 1.5 SDK. Can I download it somewhere? Thanks, Evgeny --~--~-~--~~~---~--~~ You received

[android-developers] Re: Tap Outside Listener for Dialog

2009-05-02 Thread Jason Parekh
If you want your dialog to cancel when the user taps outside its area, check out Dialog.setCanceledOnTouchOutside. jason On Thu, Apr 30, 2009 at 2:46 PM, UBZack zferv...@gmail.com wrote: Hi all, I was wondering if anyone knew of an event listener that receives tap outside events, that is,

[android-developers] why thread died? need background thread..

2009-05-02 Thread guruk
hi, bellow just a test sample source for a background thread. i would like that when my app is closed it still run in the background (like at my tracks) to collect data even when it is closed. but it always dies after a while by itself, why? thanks chris package com.chris.alarmer; import

[android-developers] Re: why thread died? need background thread..

2009-05-02 Thread guruk
update: it looks the thread comes only killed after a while when i close the app with the back button. when i go out with the home button. the thread works endless. so when i click the back button i guess it calls onDestroy, but there i have the same call to my thread. So whats going on, it

[android-developers] Re: Storing app-specific synced data with a contact

2009-05-02 Thread Mike Hearn
I wasn't able to find a good, free Java steganography library that can survive recompression. I think I'll just store the data on the SD card. It's not as nice as having it associated with the contact in the contacts db, as the user can delete the database, swap SD cards or buy a new phone and

[android-developers] Re: why thread died? need background thread..

2009-05-02 Thread Mark Murphy
i would like that when my app is closed it still run in the background (like at my tracks) to collect data even when it is closed. Use a Service. but it always dies after a while by itself, why? Android may have killed off your process to reclaim memory. And, of course, if the device goes

[android-developers] Re: Bluetooth and Serial Port Profile

2009-05-02 Thread Alin Radut
On Apr 22, 3:09 am, Nick Pelly npe...@google.com wrote: RfcommSocket.java is what you want. SPP is just rfcomm. Thanks. RfcommSocket is hidden in the 1.5r1 SDK, is there any way I can access it without compiling my own version of the framework? Alin

[android-developers] Random crashes on MapActivity when rendering tile

2009-05-02 Thread chris
Hi , I have from time to time some crashes on the google code for drawing tiles on a mapActivity. 05-02 16:03:00.510: WARN/dalvikvm(6278): threadid=23: thread exiting with uncaught exception (group=0x4000fe70) 05-02 16:03:00.540: ERROR/AndroidRuntime(6278): Uncaught handler: thread Thread-28

[android-developers] Re: xml view defination to take event handler class name

2009-05-02 Thread Raja Nagendra Kumar
Nice to note this.. in which release could be expect this feature in.. when is the expected date for this release...pl. Regards, Raja Nagendra Kumar, www.tejasoft.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Android Menu

2009-05-02 Thread Raja Nagendra Kumar
ok. One of the point we were considering was to allow the users to choose if he needs always visible menu (specially if the menu items or one or two). Also application using both menu and layout buttons could possibly confuse the users and may not be a good UI design. Regards, Raja Nagendra

[android-developers] Re: why thread died? need background thread..

2009-05-02 Thread JP
I suppose you see this when the device goes to sleep. Check out wake locks to keep the CPU awake. Test this out thoroughly, nothing's more annoying than a background thread run amok. Also note if you reach out to the Internet to query a database server - Android shuts off the WLAN adapter after

[android-developers] is android:layout_width and android:layout_height manditory attributes

2009-05-02 Thread Raja Nagendra Kumar
All the view components does take layout_height, layout_width attributes.. and most of the time the valid value for them (in righly coded views) is fill_parent. What is the default value assumed if one is not given in the xml. I see such a xml definition fails to load at run time with error

[android-developers] Template ROW using xml and api

2009-05-02 Thread Raja Nagendra Kumar
Hi, We have a table which may have infinite rows. Would it be possible to create row by using the xml template say TableRow EditText android:id=@+id/tbRelation android:layout_width=wrap_content android:layout_height=wrap_content

[android-developers] Validating view components at compile time

2009-05-02 Thread Raja Nagendra Kumar
Hi, We see that if there are any xml view tags, which does not exist are going though at compile time but fails at run time.. such as xml like below are valid during compile time but not at run time as it is not able to find ATableLayout ATableLayout android:layout_width=fill_parent

[android-developers] Re: Duplicated text when using .append in widgets

2009-05-02 Thread Alberto M. Scattolo
Hi guys! It seems to be a problem with an unregistered broadcast receiver The idea is that I send and sms and I register a broadcast receiver to know if the sms has been sent. When can I unregister the broadcast receiver? Thanks a lot to everybody! -- A

[android-developers] Re: Random crashes on MapActivity when rendering tile

2009-05-02 Thread JP
I've seen crashes like this (did not take snapshots of the traces to compare) as well. If I remember correctly, the built-in Map app can be crashed like that, too. Just as your trace shows, this occurs mostly in animateTo(). I suspected this had to do with memory availability (or lack thereof)

[android-developers] Re: Random crashes on MapActivity when rendering tile

2009-05-02 Thread JP
One more tip - I got the best bang for the buck by reducing the footprints of bitmaps and canvases. Mine were unnecessarily big, at first. On May 2, 8:05 am, JP joachim.pfeif...@gmail.com wrote: I've seen crashes like this (did not take snapshots of the traces to compare) as well. If I

[android-developers] Re: Documentation does not specify when an API was added

2009-05-02 Thread a druid
WOuld be a good feature. I'm missing it. On May 1, 11:45 pm, Jon Colverson jjc1...@gmail.com wrote: On May 1, 9:27 pm, Mike Hearn mh.in.engl...@gmail.com wrote: I noticed WebView seemed to have some new methods I didn't remember from before. Unfortunately I can't tell exactly which ones

[android-developers] AOP support

2009-05-02 Thread Raja Nagendra Kumar
Hi, Does AOP support with in Android sdk. If no, is it possible to use the exsiting AOP impl. and use them to bulild the application. Does AOP break Andriod applications design in any way. Any URL to know more on this topic would be very useful. Regards, Raja Nagendra Kumar, C.T.O

[android-developers] Re: Duplicated text when using .append in widgets

2009-05-02 Thread Mark Murphy
Alberto M. Scattolo wrote: Hi guys! It seems to be a problem with an unregistered broadcast receiver The idea is that I send and sms and I register a broadcast receiver to know if the sms has been sent. When can I unregister the broadcast receiver? If you registered it via

[android-developers] Activity execute onDestroy() and onCreate() method when push on keyboard.

2009-05-02 Thread apostl...@gmail.com
I use sdk 1.5 version and same to my handphone, my handphone is use G1. Now i test my application on my handphone. When i push on keyboard, i found system will destroy current activity(execute onDestroy() method) and execute onCreate() method again. So i will all current status and all datas. I

[android-developers] Can I put something into the ScrollView of WebView?

2009-05-02 Thread Mariano Kamp
Hi, I show articles in WebView and would like to add some additional information, e.g. publishing date, author etc., into the same ScrollView above the original content. So that it usually doesn't take up space, but the user can just scroll back when the information is needed. Did

[android-developers] Mime type on download file

2009-05-02 Thread arnouf
Hi all, I would like to a mimetype to Android Web browser, to allow opening my application when a certain mime type file is downloaded by the web browser. Apparently, only media file's mime type can be supported by the web browser. Is it right? How can I do it?

[android-developers] Re: Mime type on download file

2009-05-02 Thread Mark Murphy
arnouf wrote: I would like to a mimetype to Android Web browser, to allow opening my application when a certain mime type file is downloaded by the web browser. Apparently, only media file's mime type can be supported by the web browser. Is it right? No. How can I do it? AFAIK, all you

[android-developers] Re: conversion to dalvik format failed with error 1

2009-05-02 Thread CnmJbm
i got the same error, TOO!!! May Day On Apr 28, 3:57 pm, chris.cap...@gmail.com chris.cap...@gmail.com wrote: Hi, I just updated to SDK 1.5 and all of my projects are failing to build with the following error: [2009-04-28 15:53:23 - Utilities] no classfiles specified [2009-04-28

[android-developers] Re: Mime type on download file

2009-05-02 Thread arnouf
Hi Mark and thank for your answer... I know that it's not the first time that you answer to this type of problem... But my question wasn't not explain enough: I would like to open directly file after the download and not force user to click on file and click on View or Open entry. Can you help

[android-developers] Re: conversion to dalvik format failed with error 1

2009-05-02 Thread CnmJbm
ok, it seems i fixed it on my environment. just delete the R.java (by refreshing the project) and rebuild the project. On May 2, 9:57 am, CnmJbm cnm...@gmail.com wrote: i got the same error, TOO!!! May Day On Apr 28, 3:57 pm, chris.cap...@gmail.com chris.cap...@gmail.com wrote: Hi,

[android-developers] Re: SlidingDrawer issue #1?

2009-05-02 Thread dan raaka
take a look at the Launcher source code in the open source ./packages/app/Launcher That should serve as a good example as to how to use it .. -Dan On Fri, May 1, 2009 at 8:29 PM, Sheepz eladk...@gmail.com wrote: anyone found a solution? On May 1, 10:03 am, cannehal tomasz.l...@gmail.com

[android-developers] Re: MapView showing as black screen after upgrade to 1.5

2009-05-02 Thread Derek
Thanks JP, looks like MyLocationOverlay.enableCompass() is the culprit. Commenting out that call is allowing the view to display. On May 2, 1:02 am, JP joachim.pfeif...@gmail.com wrote: Check if your app might be stuck in your overridden MapActivity.onCreate(). I had that problem and

[android-developers] Re: is android:layout_width and android:layout_height manditory attributes

2009-05-02 Thread Dianne Hackborn
There is no default, a value must be supplied. And I don't think fill_parent is significantly more common than wrap_content. On Sat, May 2, 2009 at 7:51 AM, Raja Nagendra Kumar nagendra.r...@tejasoft.com wrote: All the view components does take layout_height, layout_width attributes.. and

[android-developers] Re: Duplicated text when using .append in widgets

2009-05-02 Thread Jeff Sharkey
Ooh, this sounds like such a perfect problem to solve with a ListView, android:stackFromBottom, and a ResourceCursorAdapter. :) j On Sat, May 2, 2009 at 2:40 AM, Alberto M. Scattolo thedarkfrees...@gmail.com wrote: Good morning everybody! I'm pretty new to Android so I'm facing some

[android-developers] Re: Template ROW using xml and api

2009-05-02 Thread Mark Murphy
Raja Nagendra Kumar wrote: We have a table which may have infinite rows. Unless you have a device with infinite RAM, your table will have finite rows. Would it be possible to create row by using the xml template say TableRow EditText android:id=@+id/tbRelation

[android-developers] Re: Android 1.5 SDK now available

2009-05-02 Thread Raphael
The emulator uses your host (desktop) computer for connecting to the internet. R/ 2009/5/1 Lucky-dog honglian...@gmail.com: Hi all I had install SDK 1.5 and setup AVDs on My windows XP. All these things got done successfully. But after I start the emulator up, it seems GSM modem has not

[android-developers] Button Listeners

2009-05-02 Thread Mariam Rady
Hi everyone, I'm trying to add an OnClickListener and an OnTouchListener on a button. However when I add the OnClickListener on the button it works. Whenever I add the OnTouchListener to the button with the OnCLickListener, none of them works. Here is the code: final

[android-developers] Re: Android Menu

2009-05-02 Thread Raphael
Being consistent with the general user interface is generally a good way to start. As Romain said, you could of course include a view in your layout that looks like a menu, always present, and thus hide or show it depending on user preferences. The rest of your layout would reflow accordingly.

[android-developers] Using AbsolluteLayout even though it is deprecated

2009-05-02 Thread karthikr
Hi Guys, Ihave used absolute layout in the application that I had earlier developed and since it has been deprecated now it has been quite difficult in changing the layout params, can I go forward and publish the application without removing the absolute layout? what will be the problems

[android-developers] Re: xml view defination to take event handler class name

2009-05-02 Thread Raphael
In the meantime, you could easily automate this behavior on your side: - one method is to add custom tags to your layout XML. Use an XmlPullParser to parse the XML and when you find an element with an android:id and your tag, use reflection to associate a listener to it. - another method would

[android-developers] Re: Template ROW using xml and api

2009-05-02 Thread Romain Guy
A table with an infinite number of rows would be better implemented as a ListView. On Sat, May 2, 2009 at 11:29 AM, Mark Murphy mmur...@commonsware.com wrote: Raja Nagendra Kumar wrote: We have a table which may have infinite rows. Unless you have a device with infinite RAM, your table will

[android-developers] Re: is android:layout_width and android:layout_height manditory attributes

2009-05-02 Thread Romain Guy
All the view components does take layout_height, layout_width attributes.. and most of the time the valid value for them (in righly coded views) is fill_parent. fill_parent is not more common than wrap_content, it depends on your UI. There is no default, you must specify these params. --

[android-developers] Re: Trouble migrating apps to 1.5

2009-05-02 Thread Raphael
Let's start by that simple question: What OS are you using? Windows, Linux, MacOS? R/ On Sat, May 2, 2009 at 3:46 AM, Teo teomina...@gmail.com wrote: Hmm, the problem reappears after restarting and i still have to do adb kill-server every time. On Thu, Apr 30, 2009 at 9:28 PM, Teo

[android-developers] Re: Can I put something into the ScrollView of WebView?

2009-05-02 Thread Romain Guy
WebView doesn't use a ScrollView, it handles scrolling itself, just like ListView. On Sat, May 2, 2009 at 9:18 AM, Mariano Kamp mariano.k...@gmail.com wrote: Hi,   I show articles in WebView and would like to add some additional information, e.g. publishing date, author etc., into the same

[android-developers] Re: Validating view components at compile time

2009-05-02 Thread Romain Guy
This cannot be checked at compile time. Well, it could be checked at compile time but you could potentially get false negatives. XML inflation uses reflection so the check happens at runtime. On Sat, May 2, 2009 at 7:58 AM, Raja Nagendra Kumar nagendra.r...@tejasoft.com wrote: Hi, We see

[android-developers] Re: Sqlite open error : unable to open database file

2009-05-02 Thread havexz
URGENT - I had uploaded an application with copy protection on. After that i had removed the copy protection but my new update is unable to access the files created by older version. Is there a way to retrieve the data from the older version so that user data is not lost? On Apr 29, 9:17 pm,

[android-developers] Regarding APN settings for 3G network.

2009-05-02 Thread sush
Hi, I was trying audio/video streaming in android G1 from from rtsp server through a 3G n/w. In order to do that I tried using a 3G sim where a server would be running all the time for streaming of music and video. Once after inserting the sim I tried to add a new APN in the mobile networks

[android-developers] Re: Can I put something into the ScrollView of WebView?

2009-05-02 Thread Mariano Kamp
And do you see any other way to accomplish what I am looking for?Just putting both into another ScrollView doesn't seem right when the WebView wants to scroll itself... On Sat, May 2, 2009 at 9:14 PM, Romain Guy romain...@google.com wrote: WebView doesn't use a ScrollView, it handles scrolling

[android-developers] Re: Light theme doen't work properly in 1.5 SDK

2009-05-02 Thread havexz
Hi Jarkman Well the themes are working fine on 1.1, no issues at all. It just that light theme has some issues on the 1.5 sdk. Thanks On May 2, 3:04 am, jarkman jark...@gmail.com wrote: I spent a while having trouble with themes set in onCreate being apparently ignored. In the end, I moved

[android-developers] Re: Can I put something into the ScrollView of WebView?

2009-05-02 Thread Romain Guy
Modify the HTML or the DOM :) On Sat, May 2, 2009 at 12:24 PM, Mariano Kamp mariano.k...@gmail.com wrote: And do you see any other way to accomplish what I am looking for? Just putting both into another ScrollView doesn't seem right when the WebView wants to scroll itself... On Sat, May 2,

[android-developers] URGENT - Retrieve User Data

2009-05-02 Thread havexz
URGENT - I had uploaded an application with copy protection on. After that i had removed the copy protection but my new update is unable to access the files created by older version. Is there a way to retrieve the data from the older version so that user data is not lost?

[android-developers] Re: URGENT - Retrieve User Data

2009-05-02 Thread havexz
Also I dont want user to uninstall the application and reinstall it as this leads to loss of data. On May 2, 2:29 pm, havexz bali.param...@gmail.com wrote: URGENT - I had uploaded an application with copy protection on. After that i had removed the copy protection but my new update is

[android-developers] Re: Regarding APN settings for 3G network.

2009-05-02 Thread Marco Nelissen
For what carrier/network is your 3G sim, and is there a data plan associated with the sim? On Sat, May 2, 2009 at 12:22 PM, sush susama.choudh...@gmail.com wrote: Hi, I was trying audio/video streaming in android G1 from from rtsp server through a 3G n/w. In order to do that I tried using a

[android-developers] Devs: Give your thumbs up on these missing Market features

2009-05-02 Thread Keith Wiley
I have started a discussion thread on the Discuss group at: http://groups.google.com/group/android-discuss/browse_thread/thread/31876cf39acfb836 I have also entered an Issue on b.android.com at: http://code.google.com/p/android/issues/detail?id=2558 They both list a straight-forward set of

[android-developers] Re: how to add a button widget to a custom ImageView.

2009-05-02 Thread wmhtet
it seems that similar question about Custom View and button has been asked at the following thread. http://groups.google.com/group/android-beginners/browse_thread/thread/d2e84054373d1703/a2bdcf9d824c2cdf?lnk=gstq=Button+in+Custom+View#a2bdcf9d824c2cdf I think that I have some workaround to it

[android-developers] Re: Devs: Give your thumbs up on these missing Market features

2009-05-02 Thread Raphael
Neither android-developers nor android-discuss are correct channels for Market feedback. Please use the market support forum here for this kind of purpose, it will be much more effective: http://www.google.com/support/forum/p/Android+Market R/ On Sat, May 2, 2009 at 1:43 PM, Keith Wiley

[android-developers] Re: URGENT - Retrieve User Data

2009-05-02 Thread Raphael
I believe there is no way of doing that. R/ On Sat, May 2, 2009 at 12:29 PM, havexz bali.param...@gmail.com wrote: URGENT - I had uploaded an application with copy protection on. After that i had removed the copy protection but my new update is unable to access the files created by older

[android-developers] Re: Devs: Give your thumbs up on these missing Market features

2009-05-02 Thread Keith Wiley
Actually, that approach seems to be completely ineffective, considering that I posted this message there yesterday and received no responses at all, whereas my post on the Discuss forum quickly received several responses, and the post on code.google.com quickly received a few votes. I doubt that

[android-developers] Re: Button Listeners

2009-05-02 Thread Raphael
Please see the reply I made a couple hours ago to the same thing you posted in android-beginners. http://groups.google.com/group/android-beginners/browse_thread/thread/f25bb151ca62bb1/708bd4b8ab765737 R/ On Sat, May 2, 2009 at 11:53 AM, Mariam Rady mariam.r...@gmail.com wrote: Hi everyone,

[android-developers] Re: How to create a Toast from a background operation?

2009-05-02 Thread Raphael
From a user point of view, I don't think trying to display a toast from a non-UI background task makes much sense. Would you like your usage of the phone to be interrupted by random toasts appearing for no apparent reason? Notifications are there for that purpose instead. I'd suggest: - use

[android-developers] Re: URGENT - Retrieve User Data

2009-05-02 Thread havexz
Thanks for reply but I m still looking for a solutioncan i some how change the file permissions? On May 2, 4:25 pm, Raphael r...@android.com wrote: I believe there is no way of doing that. R/ On Sat, May 2, 2009 at 12:29 PM, havexz bali.param...@gmail.com wrote: URGENT - I had

[android-developers] Suggestion about android.graphics.path for performance

2009-05-02 Thread freeanderson
Hi. Currently android.graphics.path is JNI. It has a good performance. Working well. But I think it need to be added more features to Path. It's like this: Path p = new Path(); p.load(stream); p.save(stream); The reason is simple. Imagine you want to load TrueType font and to build it up to

[android-developers] Re: StreeView

2009-05-02 Thread Raphael
Looks like the maps addons does not have the streetview activity. I filed a bug. R/ On Fri, May 1, 2009 at 12:52 AM, Olivier Tournaire olit...@gmail.com wrote: Hi all, I am currently trying to use StreetView in my application, but I does not work. I use an AVD based on the Google API which

[android-developers] Re: Suggestion about android.graphics.path for performance

2009-05-02 Thread Mark Murphy
freeanderson wrote: Hi. Currently android.graphics.path is JNI. It has a good performance. Working well. But I think it need to be added more features to Path. It's like this: Path p = new Path(); p.load(stream); p.save(stream); The reason is simple. Imagine you want to load

[android-developers] Re: Devs: Give your thumbs up on these missing Market features

2009-05-02 Thread Raphael
I'm moving this to android-discuss, where it belongs. R/ On Sat, May 2, 2009 at 2:27 PM, Keith Wiley kbwi...@gmail.com wrote: Actually, that approach seems to be completely ineffective, considering that I posted this message there yesterday and received no responses at all, whereas my post

[android-developers] Re: Suggestion about android.graphics.path for performance

2009-05-02 Thread freeanderson
Yeap. Thank you for information. On May 3, 7:06 am, Mark Murphy mmur...@commonsware.com wrote: freeanderson wrote: Hi. Currently android.graphics.path is JNI. It has a good performance. Working well. But I think it need to be added more features to Path. It's like this: Path p =

[android-developers] Re: How to create a Toast from a background operation?

2009-05-02 Thread Mark Murphy
Mariano Kamp wrote: (a) There is a temporary network problem and a toast says that. The service goes to sleep and an hour later it tries again. If the user didn't pay attention to the problem and the toast then that's fine. Why not keep a log of failures and display it to the user when they

[android-developers] Re: How to create a Toast from a background operation?

2009-05-02 Thread Mariano Kamp
Because having many options, logs and tweakable features are just good for developers, not for users. I think a toast an hour is not annoying (if something goes slightly wrong), but I understand that you might think otherwise. On Sun, May 3, 2009 at 12:08 AM, Mark Murphy

[android-developers] Sending SMS messages between AVDs (in Eclips)

2009-05-02 Thread lior
I am using Android Eclipse plug in and before the upgrade to the 1.5 SDK I was able shoot messages (SMS) between two emulators just by using the number that appeared at the top of the emulator window (5554 , 5556 etc.). This functionality is not longer working with the 1.5 SDK (at least for

[android-developers] Re: Devs: Give your thumbs up on these missing Market features

2009-05-02 Thread Keith Wiley
It's already there, you're duplicating it. On May 2, 3:06 pm, Raphael r...@android.com wrote: I'm moving this to android-discuss, where it belongs. R/ On Sat, May 2, 2009 at 2:27 PM, Keith Wiley kbwi...@gmail.com wrote: Actually, that approach seems to be completely ineffective,

[android-developers] Re: How to create a Toast from a background operation?

2009-05-02 Thread Raphael
What you are describing is more or less the current workflow of the gmail email app: - they download regularly your new mails in the background - you do NOT see any notification nor toast whether emails were retrieved or failed to or anything. - you just get a status when you go back to the

[android-developers] Re: How to create a Toast from a background operation?

2009-05-02 Thread Raphael
Being out of network on a cellphone is not slightly wrong, it's something that happens very regularly. R/ On Sat, May 2, 2009 at 3:28 PM, Mariano Kamp mariano.k...@gmail.com wrote: Because having many options, logs and tweakable features are just good for developers, not for users. I think a

[android-developers] Re: Relationships among apps, tasks, and activities

2009-05-02 Thread devi prasad
Well, I DO think that Android documentation speaks about tasks and their affinities, contrary to what I said previously :) I defined a non-default value for the taskAffinity attribute of the activity in question: activity android:name=.SingleTaskActivity

[android-developers] Re: StreeView

2009-05-02 Thread dan raaka
Street is not part of maps !!it is a separate apk .. On Sat, May 2, 2009 at 3:02 PM, Raphael r...@android.com wrote: Looks like the maps addons does not have the streetview activity. I filed a bug. R/ On Fri, May 1, 2009 at 12:52 AM, Olivier Tournaire olit...@gmail.com wrote: Hi all,

[android-developers] Re: Relationships among apps, tasks, and activities

2009-05-02 Thread devi prasad
some more thoughts... What I've said about taskAffinity and launchMode attributes, in general, makes sense when the activities are in the same app since the default value of taskAffinity will be set to the package name. When the activities across apps activate one another, just the launch mode

[android-developers] Re: conversion to dalvik format failed with error 1

2009-05-02 Thread Raphael
For the record, I generally get the Conversion to Dalvik format failed with error 1 error when I do a checkout of an existing project in a new workspace. Doing Project Clean fixes it. R/ On Tue, Apr 28, 2009 at 3:57 PM, chris.cap...@gmail.com chris.cap...@gmail.com wrote: Hi, I just

[android-developers] Re: AppWidget issues

2009-05-02 Thread AndroidApp
'won't be able to fix' for 1.5 SDK, what about on the cupcake update? Dont really care about whether it's fixed for the SDK. On Apr 23, 2:02 pm, Jeff Sharkey jeffrey.shar...@gmail.com wrote: So just a heads up that we won't be able to fix the onDeleted() bug for the 1.5 SDK.  Here is a quick

[android-developers] How to change background on a Spinner?

2009-05-02 Thread craiget
I'm trying to figure out how to change the default white background from a spinner. I've tried a couple of things and looked around on this newsgroup and elsewhere online. There have been a few related questions, but I haven't deduced the answer yet (maybe I just didn't understand what I've

[android-developers] Re: AppWidget issues

2009-05-02 Thread Romain Guy
Same thing, won't be fixed in the cupcake update. On Sat, May 2, 2009 at 6:02 PM, AndroidApp zl25dre...@gmail.com wrote: 'won't be able to fix' for 1.5 SDK, what about on the cupcake update? Dont really care about whether it's fixed for the SDK. On Apr 23, 2:02 pm, Jeff Sharkey

[android-developers] Re: URGENT - Retrieve User Data

2009-05-02 Thread Carter
This is an Android bug which has been discussed on this forum before. Unfortunately, you are screwed. The only workaround is for your users to uninstall and reinstall the app. - Carter On May 2, 5:55 pm, havexz bali.param...@gmail.com wrote: Thanks for reply but I m still looking for a

[android-developers] Re: Android 1.5 Early look problems

2009-05-02 Thread EboMike
Jeff, is there a list of classes that are prohibited? Looks like TableLayout is also on the no-fly list. On Apr 17, 1:17 pm, Jeff Sharkey jshar...@android.com wrote: Yes, that's working as intended. There are unsolved issues with how to get EditText content back across PendingIntent

[android-developers] Re: AudioFlinger - many write blocked for log WARN messages

2009-05-02 Thread Mark Carter
I see that AudioFlinger is some native base C++ library. Does anyone know what can be done about all these messages? Having hundreds/thousands of these messages is making the logcat very difficult to use... On May 1, 9:20 am, Mark Carter m...@carter.name wrote: I'm using the MediaPlayer to

[android-developers] MediaRecorder setCamera function

2009-05-02 Thread bra...@gmail.com
Ok posted this several days ago but it appears to have been deleted. I am looking for clarification on the setCamera function. One would have assumed you could open a camera device and set it as the input device of the MediaRecorder. However this causes a crash because no matter what I do it

[android-developers] Re: Android 1.5 Early look problems

2009-05-02 Thread Jeff Sharkey
Here ya go: http://groups.google.com/group/android-developers/msg/a5247467151f5e3a j 2009/5/2 EboMike ebom...@gmail.com: Jeff, is there a list of classes that are prohibited? Looks like TableLayout is also on the no-fly list. -- Jeff Sharkey jshar...@google.com

[android-developers] Re: Android v. 1.5 = FAIL #2: Directly Manipulating Settings

2009-05-02 Thread schwiz
this suuucks I can understand googles reasoning behind this but this is way to extreme. Why not make it so the user can decide if they want an app to be able to access these settings or not. Sure there are some apps out there that switched things on and off without the user knowing. But

[android-developers] Re: Trouble migrating apps to 1.5

2009-05-02 Thread Teo
Sorry, i forgot about it: Windows Vista (Eclipse Ganymede) On Sat, May 2, 2009 at 10:13 PM, Raphael r...@android.com wrote: Let's start by that simple question: What OS are you using? Windows, Linux, MacOS? R/ On Sat, May 2, 2009 at 3:46 AM, Teo teomina...@gmail.com wrote: Hmm, the