[android-developers] Re: how to check if the current thread is in the ui thread?

2010-07-15 Thread DanH
I mean Java. Along about 1.4 they reduced the number of exceptions by maybe a factor of 10, but that still only brought it down from hundreds to tens. On Jul 14, 7:48 am, TreKing treking...@gmail.com wrote: On Tue, Jul 13, 2010 at 9:58 PM, DanH danhi...@ieee.org wrote: You'd be amazed how

[android-developers] Re: how to check if the current thread is in the ui thread?

2010-07-15 Thread Matt Kanninen
Yeah I don't bother ever checking if I'm in the UI thread or not, whenever it's an issue I just either spawn a new thread (for things I don't want on the UI thread), or I explicitly start the execution onto the UI thread. It's simpler to put it on the path you want then to check if you are

[android-developers] recent activity list

2010-07-15 Thread ecforu
When I run my app, it works fine but if I switch back to home or another application, I want to go back to my app quickly by using the recent activity list (on my phone this is done by holding down the home button). For whatever reason, I never see my application in this list of apps. All other

Re: [android-developers] recent activity list

2010-07-15 Thread TreKing
On Thu, Jul 15, 2010 at 1:38 PM, ecforu ecforus...@gmail.com wrote: Why doesn't my app show up on this list? Maybe you've set this flag? http://developer.android.com/guide/topics/manifest/activity-element.html#exclude Is this something you need to do programmatically? Don't think so. It

[android-developers] Re: ListView problem - items are shrank when while scrolling the view

2010-07-15 Thread marmor
Hi, I've been having the same issue, using GridView with a BaseAdapter. My items are always the same type (a linearlayout of an image and a textview), so the above solution didn't help me. I get shrunk items every once in a while, after playing a few seconds scrolling up and down, and the

[android-developers] problems installing ADT plugin Cannot connect to keystore. This trust engine is read only.

2010-07-15 Thread Anil
Trying to install ADT plugin, I get this error: Cannot connect to keystore. This trust engine is read only. (Windows 7, Eclipse 3.5.2, Java 1.6.21) I tried using http and got the same error. The error message: An error occurred while installing the items session context was:(profile=SDKProfile,

[android-developers] Re: App Inventor to Market

2010-07-15 Thread mah
I don't see any reason why Google would prohibit (or even want to prohibit) AppInventor-based apps. More applications is a good thing for the proliferation of Android -- at least, if they can provide a way to filter out the crapps better. (I'd really like it if the market app let me filter out all

[android-developers] Decent Android reference book?

2010-07-15 Thread DanH
Is there one? I have Professional Android 2 Application Development by Meier and Teach Yourself Android Application Development in 24 Hours by Darcy/Conder. Both are mediocre at best. Neither is a decent REFERENCE, but rather they are basically structured as tutorials, without nothing in the

[android-developers] Re: LG-debug

2010-07-15 Thread DanH
http://www.lg.com/us/support/mc-support/mobile-phone-support.jsp On Jul 15, 10:46 am, ranjan ar ranjan@gmail.com wrote: Hello all, I am trying to Deploy my code from Eclipse to LG Ally mobile, I need to test it on LG Ally. My laptop wouldn't recognize the device, I need to test my code,

Re: [android-developers] Re: App Inventor to Market

2010-07-15 Thread Greg Donald
On Thu, Jul 15, 2010 at 2:31 PM, mah m...@heilpern.com wrote: at least, if they can provide a way to filter out the crapps better. There is already a filter in place. Bad apps get low star ratings. -- Greg Donald destiney.com | gregdonald.com -- You received this message because you are

Re: [android-developers] Re: App Inventor to Market

2010-07-15 Thread Dan Sherman
Unfortunately, thats more of a sort, and less of a filter... Now, if we could only say Only items 4 stars and above, thats a different story.. On Thu, Jul 15, 2010 at 3:52 PM, Greg Donald gdon...@gmail.com wrote: On Thu, Jul 15, 2010 at 2:31 PM, mah m...@heilpern.com wrote: at least, if they

[android-developers] Re: How to know whether bluetooth is enabled/disabled

2010-07-15 Thread Arjun
Thanks Don. On Jul 9, 11:50 am, DonFrench dcfre...@gmail.com wrote: This is the way I do it.  I also want to know if the app is running in the emulator so I first check if there is a default adapter. BluetoothAdapter sBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); if

[android-developers] Image viewers on android phones not always the best experience?

2010-07-15 Thread Mark Wyszomierski
Hi, I'm trying to use an image-display intent to..display an image: Uri uri = ...; Intent intent = new Intent(android.content.Intent.ACTION_VIEW); intent.setDataAndType(uri, image/ + extension); startActivity(intent); this works well, but some devices have image viewers that

Re: [android-developers] Re: App Inventor to Market

2010-07-15 Thread TreKing
On Thu, Jul 15, 2010 at 2:52 PM, Greg Donald gdon...@gmail.com wrote: There is already a filter in place. Bad apps get low star ratings. Your definition of filter confuses me. - TreKing

Re: [android-developers] Re: How to delete directory from SD card on uninstall?

2010-07-15 Thread Mark Murphy
On Thu, Jul 15, 2010 at 10:13 AM, Tina tina...@gmail.com wrote: Does in means that on any devices with API Level 7 or lower I can not delete my directory form SD card on uninstall, only user can do it? Correct. -- Mark Murphy (a Commons Guy) http://commonsware.com |

[android-developers] Re: 2.2 Camera Orientation Problem

2010-07-15 Thread Dave Sparks
See android.hardware.Camera.setDisplayOrientation (int degrees) This is the approved way to set the camera orientation as of V2.2. Please note that this only works for still images, videos will still record in landscape orientation. On Jul 15, 5:00 am, Vincent y.ikeda.asa...@gmail.com wrote:

[android-developers] Re: RTSP Example

2010-07-15 Thread Dave Sparks
Try m.youtube.com, this works on other Android devices. I don't have a Hero to test with. On Jul 14, 12:18 pm, Anthoni anthoni.gard...@gmail.com wrote: Hello, I am trying to find a URL that conforms to the proper RTSP protocol that Android will understand. I've various ones and added them

Re: [android-developers] Decent Android reference book?

2010-07-15 Thread TreKing
On Thu, Jul 15, 2010 at 2:44 PM, DanH danhi...@ieee.org wrote: Is there one? Highly doubtful. There's hardly a point to making a reference for an API in book form since it will be outdated almost immediately after it goes to print, especially at the speed Android is evolving. On top of the

[android-developers] Re: HTTP progressive streaming

2010-07-15 Thread Dave Sparks
Progressive streaming is like progressive download except that the media file is partially cached in memory rather than writing to permanent storage. On Jul 13, 1:21 pm, Michel m.co...@nfb.ca wrote: On top of that my question is what is HTTP progressive streaming standing for? Is that a nick

[android-developers] Re: progressive video play over https

2010-07-15 Thread Dave Sparks
The media player currently does not support https. On Jul 13, 7:18 pm, zhao zhaoyang...@gmail.com wrote: I am trying to stream video over https from Android browser. If the video url is http, everything works fine. But when I switch the url to https, no video can be played. I tried 2 methods

[android-developers] No measured width and height for inlfated layout

2010-07-15 Thread Pepi
Hello to all, I need to hide/show a Button whether a ScrollView needs to scroll or not. (The same behavior as the ScrollView's ScrollBar). I've done this working with the ScrollView's computeScroll() method, in order to compare it's height, with the child's one, then according to that condition

[android-developers] No measured width and height for inflated layout

2010-07-15 Thread Pepi
Hello to all, I need to hide/show a Button whether a ScrollView needs to scroll or not. (The same behavior as the ScrollView's ScrollBar). I've done this working with the ScrollView's computeScroll() method, in order to compare it's height, with the child's one, then according to that condition

[android-developers] Where is source code (or git file) for ContactsContract.QuickContact

2010-07-15 Thread Agus
Hi all, What is the .git file corresponding to ContactsContract.QuickContact class? Agus. -- 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

[android-developers] Re: Start ACTION_CALL activity from service on Motorola Milestone

2010-07-15 Thread alex.tchumel
Hi! I'm sorry, looks like the problem is not related with activity or service. I have this problem if I have a running MediaRecorder in my service or some binded service. The ACTION_CALL activity doesn't appear while the MediaRecorder is running! The ACTION_CALL activity appears right after that

Re: [android-developers] Re: App Inventor to Market

2010-07-15 Thread Greg Donald
On Thu, Jul 15, 2010 at 3:39 PM, TreKing treking...@gmail.com wrote: Your definition of filter confuses me. I apologize for the confusion. I meant it in the sense of sorting more than filtering. Low quality Android apps appear near the bottom of the lists while higher quality apps appear

[android-developers] Re: Activity Stack Problem

2010-07-15 Thread brucko
I suspect you are leaking instances of your Activities. At one stage, I had similar problems, but they magically went away when my practices improved and I started using MAT for Eclipse. Watch out for anything that may have a reference to your Activities and callbacks. Listeners, drawables,

Re: [android-developers] Re: App Inventor to Market

2010-07-15 Thread Wayne Wenthin
This is not entirely correct. I have an app rated at 3.5 + stars and there are tons of crapware above me because I have less downloads. (and probably because I'm not ripping off disney either but that was in another thread) On Thu, Jul 15, 2010 at 2:53 PM, Greg Donald gdon...@gmail.com wrote:

[android-developers] android.view.InflateException ONLY in android 1.5

2010-07-15 Thread QR
Hello, I am having trouble with with getting my application to function on android 1.5. It works fine in 1.6, 2.1, and 2.2 but whenever I attempt to run it in 1.5, I get an immediate force close with the LogCat output: java.lang.RuntimeException: Unable to start activity

[android-developers] Re: Android market hiding apps with bluetooth permissions from Android 1.5 and 1.6

2010-07-15 Thread Robert Green
Thank you guys for posting this! I dropped my first game with bluetooth controller support which is designed to go back to 1.5 and I freaked out for a minute when it didn't show up. All is well now. On Jul 15, 9:31 am, Pent tas...@dinglisch.net wrote: Of course make sure you test on the the

Re: [android-developers] Re: App Inventor to Market

2010-07-15 Thread Jonas Petersson
On 07/16/2010 12:25 AM, Wayne Wenthin wrote: This is not entirely correct. I have an app rated at 3.5 + stars and there are tons of crapware above me because I have less downloads. (and probably because I'm not ripping off disney either but that was in another thread) I would tend to agree

[android-developers] Re: Why doesn't this discussion list function properly on Android phones?

2010-07-15 Thread gosh
Hasn't worked on my HTC Magic either for 12 months now. I've just assumed it is just part of the Android 'User Experience'. ... at least you get an error message;) Luxury! On Jul 15, 4:52 am, DonFrench dcfre...@gmail.com wrote: A little off topic, but it is about Android phones and this

[android-developers] video encoding on device

2010-07-15 Thread berliner
Hi, I'm working on a project whose objective is to show synthesized video messages to the user. The first approach was to do the video / image processing directly on the device. But I'm not sure anymore that this is good idea. The basic workflow for the service (and the activity that shows the

[android-developers] video encoding on device

2010-07-15 Thread berliner
Hi, I'm working on a project whose objective is to show synthesized video messages to the user. The first approach was to do the video / image processing directly on the device. But I'm not sure anymore that this is good idea. The basic workflow for the service (and the activity that shows the

[android-developers] Re: App Inventor to Market

2010-07-15 Thread Maps.Huge.Info (Maps API Guru)
One thing that mitigates the occasional unhappy and misinformed user is time. Once your app has been on the market for a while, those comments won't affect your overall rating nor your position in the popularity rankings. All you have to be is patient and keep working to improve your app. Our app

[android-developers] Re: Image viewers on android phones not always the best experience?

2010-07-15 Thread Maps.Huge.Info (Maps API Guru)
You can always use a webview. It's pretty easy to write your own method or use the default. Images in webview seem to work quite well and start fairly fast. -John Coryat -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Decent Android reference book?

2010-07-15 Thread Maps.Huge.Info (Maps API Guru)
The best reference is the documentation supplied with the sdk. If you want a better instructional book, I suggest looking at Mark Murphy's set of books, they're fairly inexpensive and he constantly updates them. You can also purchase some (all?) as physical books as well, but using them as PDF's

Re: [android-developers] Re: Decent Android reference book?

2010-07-15 Thread Mark Murphy
On Thu, Jul 15, 2010 at 7:35 PM, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: The best reference is the documentation supplied with the sdk. If you want a better instructional book, I suggest looking at Mark Murphy's set of books, they're fairly inexpensive and he constantly updates

Re: [android-developers] Re: App Inventor to Market

2010-07-15 Thread Jonas Petersson
On 07/16/2010 01:31 AM, Maps.Huge.Info (Maps API Guru) wrote: One thing that mitigates the occasional unhappy and misinformed user is time. Once your app has been on the market for a while, those comments won't affect your overall rating nor your position in the popularity rankings. All you have

Re: [android-developers] Re: App Inventor to Market

2010-07-15 Thread Wayne Wenthin
I think another thing that is missing is the ability to see the ratings of users that rated it but didn't comment. But then we have hijacked this thread so I'm gonna be quiet now. On Thu, Jul 15, 2010 at 5:12 PM, Jonas Petersson jonas.peters...@xms.sewrote: On 07/16/2010 01:31 AM,

[android-developers] Re: android.view.InflateException ONLY in android 1.5

2010-07-15 Thread Quinn Rohlf
I figured it out - I hadn't realized that the 1.5 platform doesn't support localized resources. Duplicated all of the referenced resources in /drawable-mdpi into /drawable and it worked like a charm. On Thu, Jul 15, 2010 at 3:28 PM, QR qro...@gmail.com wrote: Hello, I am having trouble

[android-developers] Re: the emulator doesnt show up

2010-07-15 Thread Harsha
Can anyone suggest something i changed the DEP but its not working. I cant disable the antivirus as its work place Laptop. On Jul 15, 10:44 am, Harsha harsha.bl...@gmail.com wrote: Ya the antivirus was updated, do you think that might be the issue. On Jul 15, 10:27 am, Harsha

[android-developers] Re: Why doesn't this discussion list function properly on Android phones?

2010-07-15 Thread Zsolt Vasvari
So that this is a GMail bug, is there hope for GMail be updated before another OS build is released? I guess I am trying to understand the release cycle of GMail and the other preinstalled Google apps. On Jul 15, 5:28 pm, jamesc jame...@gmail.com wrote: It's a known

[android-developers] Re: Suggestions to remove on boot Service (aimed to detect incoming calls) and others

2010-07-15 Thread Garibay
Thanks a lot Mark, ACTION_PHONE_STATE_CHANGED worked very well I am glad I was able to get ride of that on boot service! Regards, Garibay On Jul 15, 6:17 am, Mark Murphy mmur...@commonsware.com wrote: On Wed, Jul 14, 2010 at 11:20 PM, Garibay jgaribay...@hotmail.com wrote: In my strategy I am

<    1   2