[android-developers] Use sqlite in AsyncTask freeze all

2009-07-21 Thread barbapapaz
Hello I execute this async task in my application, I don't understand why my progress dialog and all application freeze. Insert in doInBackground put one hundred or so entity in database. In other case (but it's fisrt time with sqlite), I use AsyncTask and I have no problem. Do you have an

[android-developers] Thumbnails query ok but how to get thumb?

2009-04-21 Thread barbapapaz
Hello I use ImageGallery2 of application camera to select an image. The result is an uri of image. The last segment of path is the image id in database. baseImageId in query is the last segment of previous uri I execute this query to get thumb of my image (and query is sucess) private static

[android-developers] More than one package in my project on pre 1.5 sdk

2009-04-16 Thread barbapapaz
Hello I have a problem since sdk update first it's aidl I'm not sure if it works, see my response here: http://groups.google.com/group/android-developers/browse_thread/thread/3f0117114ee7c0f8/3d4f3789850430fc?lnk=gstq=aidl#3d4f3789850430fc But I have another problem with an error message who

[android-developers] Re: allocation in loop each 1s

2008-09-03 Thread barbapapaz
. On Sep 3, 2:20 am, barbapapaz [EMAIL PROTECTED] wrote: Hello I have question about efficiency in loop. In my app I have loop called with sceduler each second. In this loop I launch request with httpclient, I must cronstruct an entity with MultipartEntity. this procedure explain here (http

[android-developers] Re: allocation in loop each 1s

2008-09-03 Thread barbapapaz
, barbapapaz [EMAIL PROTECTED] wrote: Hello it's for a map application you can see a video herehttp://www.youtube.com/watch?v=3cHyRdLi1D8 What are rational framerate for this type of application? For example when you use google map or google earth what is methodology? Thanks for your interest

[android-developers] Create a tmp file

2008-08-29 Thread barbapapaz
Hello in my application to download file I create a tmp file. Before sdk 0.9 used : File temp = File.createTempFile(spherencyfile, ); now in sdk 0.9 this line caght an exception and I have this line in logcat 08-29 18:43:49.018: ERROR/FileDownload(7040): error: Cannot create: /

[android-developers] Re: Multipart Messages - Is there an example how to get them work now. (Uploading to a web API)

2008-08-26 Thread barbapapaz
How does you resolve this error? Thanks On 22 août, 07:16, shotwave [EMAIL PROTECTED] wrote: I also have problems with multipart entities, so I have followed the recomendations given here and added mime4j and httpmime as the libraries to my eclipse project, however once I have started the

[android-developers] Re: Multipart Messages - Is there an example how to get them work now. (Uploading to a web API)

2008-08-22 Thread barbapapaz
Hello I has the same problem and your post resolt it! thanks On 22 août, 09:01, code_android_festival_way [EMAIL PROTECTED] wrote: Hello! I have done it the following way: http://paste.pocoo.org/show/GwHe8LrG9DCnq4zuphmK/ (note that this is just a sample code the HttpClient needs some

[android-developers] Re: Streaming video with m5 SDK

2008-04-21 Thread barbapapaz
Hello you can find explanation on streaming here: http://groups.google.com/group/android-challenge/msg/114f11e31351840d You have an example source code on homepage of this group. I have test two converter to generate streamable content: Yamb with mp4box and quicktime pro Video generate with