[android-developers] Re: startService SecurityException

2009-12-25 Thread jotobjects
Found the answer - Since there were no intent filters specified in the manifest for this Service the default for android:exported was false. When I set android:exported="true" the other application was able to start the Service. http://developer.android.com/intl/zh-CN/guide/topics/manifest/servi

[android-developers] Re: draw bitmap fastest mode

2009-12-25 Thread Robert Green
Under most circumstances, the fastest would be: 1) OpenGL rendering orthographic 2) SurfaceView drawing an RGB565 bitmap On Dec 25, 3:31 am, fala70 wrote: > What 's the fastest way to display a bitmap? > Now I am using Bitmap.setPixels and ImageView.setImageBitmap all time > that this change.

[android-developers] Re: ProgressDialog during location tasks either won't show or force closes - I have tried everything!

2009-12-25 Thread Chander Pechetty
post your stack trace on force close ... On Dec 25, 11:41 pm, Wayne Wenthin wrote: > When you find out let me know.   I've had no luck either. > > On Fri, Dec 25, 2009 at 6:50 AM, andrew android wrote: > > > > > ProgressDialog during location tasks either won't show or force closes > > - I have t

[android-developers] Re: Accessing character data (CDATA) of XML element

2009-12-25 Thread estivenrpo
Hello Frank, Thanks for your answer my problem is exactly that.. i'm get data from the db and the data are encode in latin-1 but int the xml generated don't say that. So my problem is solved. jotobjects and Frank thanks for all. Greetings, Estiven Restrepo On Dec 26, 12:34 am, Frank Weiss wro

[android-developers] Re: Regarding SharedPreferences and my use-case.

2009-12-25 Thread Android Development
PS: forgot to add one more question to the trailing mail: 4. Shared Preferences data becomes persistent once committed. What is the persistence scope ? Is the data persistent across application re-start ? On Sat, Dec 26, 2009 at 11:44 AM, Android Development wrote: > Hello, > > Shared Preference

[android-developers] Regarding SharedPreferences and my use-case.

2009-12-25 Thread Android Development
Hello, Shared Preferences are accessible to all clients (a single instance of the preferences). I wanted to understand the following: 1. Are these preferences shared across android applications or only within the given application ? I saw a note in the documentation that read: Note: currently t

[android-developers] Re: Accessing character data (CDATA) of XML element

2009-12-25 Thread jotobjects
On Dec 25, 9:14 pm, estivenrpo wrote: > Ok, perfect, thanks for the answer, but this option is needed to parse > character data (CDATA), or not? Probably not. Validating parser should have nothing to do with reading characters > > I have an application and it use a RSS in spanish, so when the p

Re: [android-developers] A question regarding AsyncTasks

2009-12-25 Thread Android Development
"instance" here is the magic word. On Tue, Dec 22, 2009 at 12:49 AM, Frank Weiss wrote: > It was clear to me that the documentation meant the instance of AsyncTask > cannot be executed again. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developer

[android-developers] Is there any way to let the app know whenever any media file is inserted into the sdcard?

2009-12-25 Thread manoj
Hi all, is there any way to let my app know whenever a media file is inserted or deleted from the sdcard. Thanks, Manoj. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.

Re: [android-developers] Re: Accessing character data (CDATA) of XML element

2009-12-25 Thread Frank Weiss
Could you be more specific about how the program crashes? I can give two possible causes for you to investigate. Is the document you are trying to parse encoded in Latin-1 (same as ISO-8859-1) or in UTF-8? This must also be specified in the HTTP header (Content-type: text/xml; charset=UTF-8) or in

[android-developers] problem in AutoCompleteTextView

2009-12-25 Thread Nemat
Hi Friends I am working on AutoCompleteTextView.Its working fine and doen't give any error.Now the problem I am facing is,suppose we have 3 words starting from "A",when I start typing the letter "A",It shows all the three words.If we have three words like "An","Am","Az",when I type "n" after "

[android-developers] Re: Accessing character data (CDATA) of XML element

2009-12-25 Thread estivenrpo
Ok, perfect, thanks for the answer, but this option is needed to parse character data (CDATA), or not? I have an application and it use a RSS in spanish, so when the program read a no standard character the program crash, so I'm trying to fix it.. any idea? Thanks, On Dec 25, 8:42 pm, jotobjec

[android-developers] Re: Accessing character data (CDATA) of XML element

2009-12-25 Thread jotobjects
That error says that Android does not support a validating SAX parser (does not validate documents with DTD). So you have to remove the "spf.setValidating(true); " statement. I went looking for the source for javax.xml.parsers.SAXParserFactory.java but don't know where in android.git to find the

[android-developers] Re: Send Manual Broadcast

2009-12-25 Thread rezar
I gave both BT permission in my manifest file, but still it doesn't work On Dec 23, 10:44 am, Donal Rafferty wrote: > I presume you have any bluetooth permisiions required in the manifest? > > On Wed, Dec 23, 2009 at 9:41 AM, rezar wrote: > > I created an intend which manually calls BT broadcast

[android-developers] Accessing character data (CDATA) of XML element

2009-12-25 Thread estivenrpo
Hi I'm try to parse character data (CDATA) whit SAX Parser. I support in this code for that: http://www.java2s.com/Code/Java/XML/AccessingcharacterdataCDATAofXMLelement.htm but when i use it in android (SDK 1.5) I get the next message: W/System.err( 482): javax.xml.parsers.ParserConfiguration

[android-developers] How to check available RAM storage inside an application?

2009-12-25 Thread Agus
How to check available RAM storage inside an application? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-develop

Re: [android-developers] ProgressDialog during location tasks either won't show or force closes - I have tried everything!

2009-12-25 Thread Wayne Wenthin
When you find out let me know. I've had no luck either. On Fri, Dec 25, 2009 at 6:50 AM, andrew android wrote: > ProgressDialog during location tasks either won't show or force closes > - I have tried everything! > > I now have it in a Handler with a full 1 second delay (one method > another po

[android-developers] Re: V4L2:"/dev/video0" is not generated when USB Camera is connected

2009-12-25 Thread sachinikam
Hi Madhu, > You are conneceting one Digital camera to your android dev phone(target) > right? Yes. > Are you using which usb driver functinaalities(ex:pictbridge or otg)? uvc that is USB Video Class > I have one doubt whether android is supporting otg ? if its supporting > please can you clarify m

[android-developers] Re: RuntimeException without any linenumber in my code. What could be the error? What can I do?

2009-12-25 Thread jotobjects
Just guessing, but based on method names it looks like the main activity loop is starting the Activity. On Dec 24, 2:49 pm, Frank Weiss wrote: > I've had similar issues. In my case, it was a result of trying to manipulate > the UI from the wrong thread. Once I used AsyncTask correctly, the > exce

[android-developers] ProgressDialog during location tasks either won't show or force closes - I have tried everything!

2009-12-25 Thread andrew android
ProgressDialog during location tasks either won't show or force closes - I have tried everything! I now have it in a Handler with a full 1 second delay (one method another post suggested) but it doesn't show. I simply am stuck. Threads are usually force closing when I use those methods. What oth

[android-developers] Re: Which one is more efficient, ImageView.setImageBitmap(bitmap) or ImageView.setImageDrawable(drawable)?

2009-12-25 Thread Guillaume Perrot
When using a drawable backed by a bitmap (BitmapDrawable), it makes no difference (just some abstraction). If you use a bitmap resource (R.drawable. ) it may be wise to use setImageDrawable rather than managing the bitmap decompression yourself. According to me setImageBitmap is to use when you loa

[android-developers] AudioTrack stop/release

2009-12-25 Thread Business Talk
I keep posting this message hoping that maybe somebody from google (media group in particular) monitors the group. I need to stop the AudioTrack, regardless what's in the buffer, immediately when executing the stop/release. The AudioTrack plays in the STREAM mode. It appears that the AudioTrack fi

[android-developers] Translate Animation from Left To Right Infinite Times

2009-12-25 Thread Revanth kumar
Hi All, I like translate animation from left to right infinite times. I have three images in my application ...i need to translate the images from left to right of screen. when the first image passed out of the screen, it should start again from left side. It should look like it is rotating ci

[android-developers] draw bitmap fastest mode

2009-12-25 Thread fala70
What 's the fastest way to display a bitmap? Now I am using Bitmap.setPixels and ImageView.setImageBitmap all time that this change. It has a refresh of 15 fps. It work good, but I am not sure that is the best method to get best performance. Is better use Canvas.drawBitmap with a SurfaceView ? or o