[android-developers] Re: Depth buffer issue: Advice for anyone experiencing problem

2011-01-16 Thread Andrew Smith
genpfault on StackOverflow.com pointed out that you need to use a value of 65536 with glClearDepthx to get the result you expect from a value of 1. I have confirmed that this is correct. So this is more a case of incorrect documentation, rather than a bug as such. -- You received this message

[android-developers] Re: two list selectors or new state for the current selector

2011-01-16 Thread poohtbear
Hi Kostya. 1. i know how to add a new attribute to the selector, i can do it programatically using the original list's selector and save me some work. 2. in StateListDrawable you have a protected method that acts on those states, and it's stated specifically that you need to override it to act on

Re: [android-developers] Re: BOOT_COMPLETED not being heard

2011-01-16 Thread Kevin Duffey
Curious, too late for 2.3.. but is there any reason the boot notification cant be sent out AFTER the sdcard is mounted? Does it take that long to mount it? Would have thought a flash memory card, much like SSD, would be pretty darn fast to mount. On Sat, Jan 15, 2011 at 10:49 PM, Dianne Hackborn

Re: [android-developers] Re: two list selectors or new state for the current selector

2011-01-16 Thread Kostya Vasilyev
2 - I haven't had to override StateListDrawable when adding a new state for my drawables. I only had to override getDrawableState in the view (subclass) to make sure that my new state gets propageted into the drawable's state array. 3 - No, I don't. I just know there is a separate drawable for

Re: [android-developers] Re: BOOT_COMPLETED not being heard

2011-01-16 Thread Marcin Orlowski
On 16 January 2011 07:49, Dianne Hackborn hack...@android.com wrote: Sorry, you can point them to that documentation if you want.  This is a pretty fundamental aspect of the behavior of the SD card. Are you kidding? I'd say that forseeing such user behaviour is pretty fundamental when you

[android-developers] Re: BOOT_COMPLETED not being heard

2011-01-16 Thread Zsolt Vasvari
I agree. A smart user wouldn't complain in the first place about not having the Move to SD card option for a 1MB app. On Jan 16, 6:12 pm, Marcin Orlowski webnet.andr...@gmail.com wrote: On 16 January 2011 07:49, Dianne Hackborn hack...@android.com wrote: Sorry, you can point them to that

Re: [android-developers] Sliding Drawer question

2011-01-16 Thread Mark Murphy
SlidingDrawer definitely exists. It may be there is a problem with it and the Eclipse UI builder. Try adding it to your XML manually. Here is a trivial sample project showing the use of a SlidingDrawer: https://github.com/commonsguy/cw-android/tree/master/Fancy/DrawerDemo On Sat, Jan 15, 2011

Re: [android-developers] Re: BOOT_COMPLETED not being heard

2011-01-16 Thread Jonas Petersson
On 01/16/2011 12:21 PM, Zsolt Vasvari wrote: I agree. A smart user wouldn't complain in the first place about not having the Move to SD card option for a 1MB app. Opinion: It would be nice if the Move to SD card-function could detect that the application requests for instance BOOT_COMPLETED

Re: [android-developers] Re: BOOT_COMPLETED not being heard

2011-01-16 Thread Kostya Vasilyev
Agreed. The intended use case for move to sd was for games or multimedia applications, but I see users wanting to move even small applications. It's actually a valid case for applications that have large code, or use a large amount of data / cache storage (so move to sd makes sense), and also

Re: [android-developers] Re: BOOT_COMPLETED not being heard

2011-01-16 Thread Mark Murphy
On Sun, Jan 16, 2011 at 8:24 AM, Kostya Vasilyev kmans...@gmail.com wrote: It's actually a valid case for applications that have large code Bear in mind that a copy of the large code will also be on the on-board storage. or use a large amount of data / cache storage (so move to sd makes

Re: [android-developers] Re: BOOT_COMPLETED not being heard

2011-01-16 Thread Kostya Vasilyev
2011/1/16 Mark Murphy mmur...@commonsware.com On Sun, Jan 16, 2011 at 8:24 AM, Kostya Vasilyev kmans...@gmail.com wrote: It's actually a valid case for applications that have large code Bear in mind that a copy of the large code will also be on the on-board storage. Thanks for the link -

[android-developers] Re: Camera properties

2011-01-16 Thread Joe McCann
Fairly certain you'll have to include the permissions declaration. The other parts would require some hackery, I suppose. On Jan 15, 4:15 am, b_t bartata...@gmail.com wrote: Hi, is there any way to get camera properties without open it? I want to display camera properties but don't want to

[android-developers] WebView does not restoreState

2011-01-16 Thread Bost
Hallo, my App uses a WebView. If the Webview is laoded by: mwebView.loadData(htmlString, text/html,utf-8); all worked fine, including saveState and restoreState in onSaveInstanceState () and onRestoreInstanceState(). I added images to htmlString. Therefore I had to replace loadData by

[android-developers] Re: ImageView, no scaling and gravity

2011-01-16 Thread Henrik Lindqvist
I've already tried that. It works if the bitmap is smaller than the ImageView, it aligns to the right edge correctly. But, if the bitmap is larger, its cropped at both left and right side. Seems like an ImageView can't expand to be larger than it's parent, even inside an FrameLayout. Any trick to

Re: [android-developers] Re: ImageView, no scaling and gravity

2011-01-16 Thread Mark Murphy
On Sun, Jan 16, 2011 at 11:02 AM, Henrik Lindqvist henrik.lindqv...@gmail.com wrote: I've already tried that. It works if the bitmap is smaller than the ImageView, it aligns to the right edge correctly. But, if the bitmap is larger, its cropped at both left and right side. Seems like an

Re: [android-developers] Re: ImageView, no scaling and gravity

2011-01-16 Thread Kostya Vasilyev
I think it should work to put it inside a frame layout with exact values for width/height (specifying maximum image size before cropping occurs). Then on the image view, specify layout_gravity=right, and width/height as wrap_content. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 16.01.2011

Re: [android-developers] Re: Depth buffer issue: Advice for anyone experiencing problem

2011-01-16 Thread Kostya Vasilyev
Sounds like the parameter is a 16:16 fixed point number, and that's what the method name suffix is hinting at. It's glClearDepthx, not glClearDepthi for a reason. http://www.opengl.org/registry/specs/OES/OES_fixed_point.txt -- Kostya Vasilyev -- http://kmansoft.wordpress.com 16.01.2011 11:09

[android-developers] Re: ImageView, no scaling and gravity

2011-01-16 Thread Henrik Lindqvist
On Jan 16, 5:04 pm, Mark Murphy mmur...@commonsware.com wrote: On Sun, Jan 16, 2011 at 11:02 AM, Henrik Lindqvist henrik.lindqv...@gmail.com wrote: I've already tried that. It works if the bitmap is smaller than the ImageView, it aligns to the right edge correctly. But, if the bitmap is

[android-developers] Re: ImageView, no scaling and gravity

2011-01-16 Thread Henrik Lindqvist
On Jan 16, 5:19 pm, Kostya Vasilyev kmans...@gmail.com wrote: I think it should work to put it inside a frame layout with exact values for width/height (specifying maximum image size before cropping occurs). Then on the image view, specify layout_gravity=right, and width/height as

[android-developers] Mystery device missing style attributes?

2011-01-16 Thread Brill Pappin
I'm getting this exception: java.lang.ArrayIndexOutOfBoundsException at android.content.res.TypedArray.getDimensionPixelSize(TypedArray.java:455) from this code: TypedArray array = context.getTheme().obtainStyledAttributes(style, new int[] { android.R.attr.textSize }); int

[android-developers] Re: getExternalStorageDirectory()

2011-01-16 Thread Bob Kerns
Actually, use: File pathDir = Environment.getExternalStorageDirectory(); That is, don't use toString() unless and until you actually need it. A File object is more useful. Don't perform string operations to construct file paths. For example, write File logDir = new File(pathDir, logg);

Re: [android-developers] Re: getExternalStorageDirectory()

2011-01-16 Thread Kumar Bibek
Yup, thats better. :) Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Sun, Jan 16, 2011 at 11:15 PM, Bob Kerns r...@acm.org wrote: Actually, use: File pathDir = Environment.getExternalStorageDirectory(); That is, don't use toString() unless and until you actually need

[android-developers] adb works, ddms shows nothing

2011-01-16 Thread neuron
adb works, I use it a lot. adb devices shows the device (a nexus one), shell/pull/push everything seems to work. eclipse screws up, often. ddms shows no devices connected, and in console I only get a few gtk window warnings. Half the time when I start eclipse it keeps a neverending process

Re: [android-developers] adb works, ddms shows nothing

2011-01-16 Thread Anders Aagaard
I just left this running, and after about 2 minutes it works! However, it'd be awsome to not have to wait for minutes every time I start ddms. On Sun, Jan 16, 2011 at 6:58 PM, neuron aagaa...@gmail.com wrote: adb works, I use it a lot. adb devices shows the device (a nexus one),

[android-developers] Re: How to change width of a SeekBar?

2011-01-16 Thread mark w
Hi guys appreciate the work on Vidtry. Have been playing with it to see if I can get a customized look going on a media player for some mp4 that I have. Was not having much luck trying to override the VideoView methods to get it to look how I wanted. Is it right that the seek bar is the

[android-developers] Re: Need help with sporadic exception ( SSL shutdown failed )

2011-01-16 Thread Dustin
Here's what I've learned in dealing with this particular problem on Android. SSL connections are costly to set up. Once set-up, the overhead of SSL isn't too bad. To get around this issue, clients and servers can elect to keep a connection open, with the assumption that additional requests

Re: [android-developers] Re: ImageView, no scaling and gravity

2011-01-16 Thread Mark Murphy
On Sun, Jan 16, 2011 at 11:48 AM, Henrik Lindqvist henrik.lindqv...@gmail.com wrote: Of course. That's a rule for any container/child relationship in Android. If a child view can't be larger than it's parent, how does a ScrollView work? The visible bounds of the child are still not bigger

[android-developers] Tracking someone else using Latitude (Android Tutorial Wanted)

2011-01-16 Thread Chris Grant
I have searched hard for a simple tutorial or example app that allows a user to track the real-time location of someone else using Google Latitude. My goal is to track my wife while she runs and then build up her stats and coarses using Latitude. I can track myself no problem via the many great

[android-developers] Re: HttpURLConnection gives UnknownHostException

2011-01-16 Thread Paul Turchenko
Define INTRNET permossion in your manifest :) On Jan 16, 9:47 am, Dan king...@gmail.com wrote: Thanks for the tips guys but none of these have solved the issue. On Jan 13, 10:39 pm, Rohan Dhamal rohandha...@gmail.com wrote: Hi,    Please check once, if there is any timeout

Re: [android-developers] Mystery device missing style attributes?

2011-01-16 Thread Dianne Hackborn
textSize is not defined in the platform's base theme. These are the text size-related attributes in the theme: !-- Default appearance of text: color, typeface, size, and style. -- attr name=textAppearance format=reference / !-- Default appearance of text against an

[android-developers] Hey guys i need some help With Install apps in memory card

2011-01-16 Thread Azzurra.com
I try many ways to install apps on my SD Card but not sucess. Can somebody help me? I have an HTC Magic with 2.1 android oficial of Brand inside -- 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] Re: ImageView, no scaling and gravity

2011-01-16 Thread Henrik Lindqvist
Wow, thanks. Your suggestion with a larger FrameLayout fixed it! ...LinearLayout etc... FrameLayout android:layout_width=1000px android:layout_height=wrap_content android:layout_gravity=right ImageView android:id=@+id/image android:layout_width=wrap_content

Re: [android-developers] Hey guys i need some help With Install apps in memory card

2011-01-16 Thread Dianne Hackborn
2.1 doesn't support installing apps on the SD card. On Sun, Jan 16, 2011 at 2:05 PM, Azzurra.com zeus@gmail.com wrote: I try many ways to install apps on my SD Card but not sucess. Can somebody help me? I have an HTC Magic with 2.1 android oficial of Brand inside -- You received this

[android-developers] Sharing files between apps

2011-01-16 Thread John Gaby
I have two applications which can access each others files. To get a path to a file in the other app, I am using the context.getDir(...) function to get a path to the file for the running app, and then changing the package name component of that path to the package name of the other app. This

Re: [android-developers] Sharing files between apps

2011-01-16 Thread TreKing
On Sun, Jan 16, 2011 at 4:27 PM, John Gaby jg...@gabysoft.com wrote: This seems to work, but I am wondering if this is a reliable way of doing this, or if there is another more appropriate way. Don't know how reliable that is (seems a little hacky) but the more appropriate way would probably

Re: [android-developers] Sharing files between apps

2011-01-16 Thread Dianne Hackborn
That can break, there is no guarantee the apps are installed the same place, for example if one is on the SD card and one isn't. If you want to find out about an application, use Context.createPackageContext() to create a Context configured for another application. (I assume you are doing tricks

Re: [android-developers] Tracking someone else using Latitude (Android Tutorial Wanted)

2011-01-16 Thread Marcin Orlowski
On 16 January 2011 21:12, Chris Grant cwg...@gmail.com wrote: Does anyone out there have a snippet of code that shows how to do this in an Android app?  Or can you point me to a real example? Not the answer you expect, but IMHO dedicated runner apps would serve the purpose better and there're

[android-developers] Re: Sharing files between apps

2011-01-16 Thread John Gaby
If you want to find out about an application, use Context.createPackageContext() to create a Context configured for another application. This seems to be what I am looking for, however, when I call it with the package name of the other app, it returns null (I get nothing from logCat either).

Re: [android-developers] Re: Sharing files between apps

2011-01-16 Thread Dianne Hackborn
On Sun, Jan 16, 2011 at 4:21 PM, John Gaby jg...@gabysoft.com wrote: This seems to be what I am looking for, however, when I call it with the package name of the other app, it returns null (I get nothing from logCat either). I can use the PackageManager and retrieve the info for that same

[android-developers] Solution: Android INSTALL_FAILED_INSUFFICIENT_STORAGE error

2011-01-16 Thread Andrew Smith
The INSTALL_FAILED_INSUFFICIENT_STORAGE error is the bane of every Android developer's life. It happens regardless of app size, or how much storage is available. Rebooting the target device fixes the problem briefly, but it soon comes back. There are hundreds (if not thousands) of message board

[android-developers] Re: Preventing the search button from closing an AlertDialog?

2011-01-16 Thread Zsolt Vasvari
Just to bump this (as this is important for me), this close on the Search press behavior is happening even if the dialog is set to non- cancelable. I think that's a flat out bug and may create a bug report for it. On Jan 16, 10:49 am, Zsolt Vasvari zvasv...@gmail.com wrote: I have to add that

[android-developers] Re: Solution: Android INSTALL_FAILED_INSUFFICIENT_STORAGE error

2011-01-16 Thread Zsolt Vasvari
That not a solution or even a band aid: I absolutely wouldn't want my app to be installed on the SD card by default due to its use of widgets and it being a BOOT_COMPLETED receiver. On Jan 17, 8:55 am, Andrew Smith meeja...@gmail.com wrote: The INSTALL_FAILED_INSUFFICIENT_STORAGE error is the

[android-developers] Re: Sharing files between apps

2011-01-16 Thread John Gaby
Well no idea from just your paragraph description there. :) This API certainly works -- it is used a lot, for things like inflating the UI of app widgets. The following is the routine that I wrote to test the function. The call to manager.getPackageInfo works, but the call to

[android-developers] Re: Mystery device missing style attributes?

2011-01-16 Thread Zsolt Vasvari
This is a bit off-topic, but perhaphs not so much: The single most confusing aspect of the Android platform, in my opinion, this whole business with Themes/Styles/Stylable/Attributes. Does anybody have a link to a good write-up on how this really works? I know it's in the docs, but I find it a

[android-developers] Re: Tracking someone else using Latitude (Android Tutorial Wanted)

2011-01-16 Thread Chris Grant
Hmmm... not even sure what a runner app is. Do I buy this? How is it integrated in to my app so that i can get a friends location? It is ashame that Latitude for all its hype, is this hard to use and so unreliable. Anyone else have ideas on the easiest and most reliable way to get a friends

Re: [android-developers] Blinking Images

2011-01-16 Thread Felix long
在 2011年1月15日星期六,Kostya Vasilyev kmans...@gmail.com 写道: Braco, You are using a Java Timer, which invokes your TimerTask on a background thread. In Android, only the original (UI) thread is allowed to touch the UI. Touching the UI from a background thread, like your code does, produces

[android-developers] Re: Solution: Android INSTALL_FAILED_INSUFFICIENT_STORAGE error

2011-01-16 Thread Andrew Smith
I'm sure there will be other apps like yours for which this is unsuitable. But it is helpful for someone developing an app such as a game, news reader, email client, video player, etc. Perhaps you can suggest a solution suitable for apps such as yours? On Jan 17, 1:17 am, Zsolt Vasvari

[android-developers] Re: Solution: Android INSTALL_FAILED_INSUFFICIENT_STORAGE error

2011-01-16 Thread Zsolt Vasvari
Perhaps you can suggest a solution suitable for apps such as yours? Wish I could... I only spoke in the context of my app, I understand it's a reasonable workaround for some apps. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] Re: Sharing files between apps

2011-01-16 Thread Dianne Hackborn
On Sun, Jan 16, 2011 at 5:19 PM, John Gaby jg...@gabysoft.com wrote: The following is the routine that I wrote to test the function. The call to manager.getPackageInfo works, but the call to GetPackageContents returns null. What is GetPackageContext in your code? Is that just a typo and

Re: [android-developers] Re: Preventing the search button from closing an AlertDialog?

2011-01-16 Thread Dianne Hackborn
You could try attaching a key listener that consumes the search key. I agree it is dumb for it to be dismissing itself when the key is pressed. I think this is left-over from when the search key used to always to a global search, so it would be a switch into the search UI and dialogs would

[android-developers] Re: Preventing the search button from closing an AlertDialog?

2011-01-16 Thread Zsolt Vasvari
Thanks, Dianne! You could try attaching a key listener that consumes the search key. Could you point me in the right direction? How can I attach a key listener to a dialog returned from AlertDialog.Builder? As, obviously,I have access to the parent Activity, can I do something there?

[android-developers] Re: Sharing files between apps

2011-01-16 Thread John Gaby
What is GetPackageContext in your code? Is that just a typo and should be getPackageContext? Well, now don't I feel sheepish! It was indeed a typo, and the ever so helpful editor created a GetPackageContext for me and returned null. Sorry about wasting your time. As for your other

[android-developers] How to have your app overlayed on top of any other app?

2011-01-16 Thread pcm2a
That subject may sound crazy and before today I thought it was impossible. There is a free app called Super Manager on the market. This app gives you a little button to press that is overlayed everywhere. No matter if you are on your home screen, gmail or the browser that icon is overlayed.

[android-developers] Re: How to have your app overlayed on top of any other app?

2011-01-16 Thread Hari Edo
Another program called SoftKeys does this by way of a running Service. It offers access to the usually-mandated hardware keys like MENU, BACK, HOME, SEARCH, even for those few oddball devices like NOOKcolor that do not include those keys. An IME keyboard is also a form of this kind of UI

[android-developers] Re: change permission to /data/data/package name/databases

2011-01-16 Thread tstanly
beacuse I want to change a database file in /data/data/package/ databases I need permission for apps to copy .db file from a folder to /data/data/Native app package/databases, so I need to change permission, is somebody have suggestion? thanks On 1月14日, 上午2時12分, TreKing treking...@gmail.com

[android-developers] poor state of webkit transforms in Android

2011-01-16 Thread devi prasad
Hi, I'm finding out that Android has either disabled or broken Webkit's -webkit-transform features. I couldn't locate an authentic documentation from Google about android.webkit and its (broken) status. Can someone who knows it all throw light and save immense time that I'm spending testing these

[android-developers] Re: AnimationSet - Scaling and moving at the same time

2011-01-16 Thread Hari Edo
It seems like whenever a scale is done as a part of an animset, the starting or ending scale is computed incorrectly, as the reciprocal of the ending scale. I think they're calculating the anti-transform for each element, and doing it badly, messing up compound animations. Thanks for posting

[android-developers] Re: Mystery device missing style attributes?

2011-01-16 Thread Brill Pappin
Nice! Lots of good tidbits on style in that response :) I'll try rewriting it as suggested and see if that helps. Unfortunately I'm unable to reproduce locally, so ill have to through it out in the wild again. - Brill Pappin On Jan 16, 3:39 pm, Dianne Hackborn hack...@android.com wrote:

[android-developers] Re: Mystery device missing style attributes?

2011-01-16 Thread Brill Pappin
Oh yah, I have trouble with styles all the time :) An expert I am not... - Brill On Jan 16, 8:35 pm, Zsolt Vasvari zvasv...@gmail.com wrote: This is a bit off-topic, but perhaphs not so much: The single most confusing aspect of the Android platform, in my opinion, this whole business with

Re: [android-developers] Re: change permission to /data/data/package name/databases

2011-01-16 Thread Dianne Hackborn
If it isn't your app, you can't. On Sun, Jan 16, 2011 at 6:51 PM, tstanly tsai.sta...@gmail.com wrote: beacuse I want to change a database file in /data/data/package/ databases I need permission for apps to copy .db file from a folder to /data/data/Native app package/databases, so I need

[android-developers] Re: Tracking someone else using Latitude (Android Tutorial Wanted)

2011-01-16 Thread Zsolt Vasvari
Try the free open-source Google app called My Tracks. I've used it before and it's good. On Jan 17, 9:37 am, Chris Grant cwg...@gmail.com wrote: Hmmm... not even sure what a runner app is.  Do I buy this?  How is it integrated in to my app so that i can get a friends location?  It is ashame

[android-developers] [Contacts]How to copy contacts in phone to another account ?

2011-01-16 Thread Shawn_Chiu
Hi, all I'm developing an android contacts sync application. It would create a new account after successfully login. But there are multiple accounts in an android phone, no contacts in this new account. If a user wants to sync with server, he/she should copy contacts into the funambol account

[android-developers] Re: How to have your app overlayed on top of any other app?

2011-01-16 Thread pcm2a
Hopefully someone can hit us up with some open source examples. This would be amazing as an optional feature in application. Just cause some users would not want to use the option isn't a reason to never have it! On Jan 16, 8:48 pm, Hari Edo hari@gmail.com wrote: Another program called

Re: [android-developers] DRM for Android

2011-01-16 Thread 苗忠良
Hi: you can download source code, you will find android.drm.mobile1 in framework, I need know that android.drm.mobile1 not exported in app level. 2010/12/14 Henry henry@zed.com Hi, We want to use DRM (very minimal, like forward lock) to protect media file, we are using Android 1.5, I

Re: [android-developers] Re: Mystery device missing style attributes?

2011-01-16 Thread Dianne Hackborn
Yeah the documentation is really sub-par on this area. I want to write up some more, but I've been wanting to do that for 2 years now. :/ On Sun, Jan 16, 2011 at 5:35 PM, Zsolt Vasvari zvasv...@gmail.com wrote: This is a bit off-topic, but perhaphs not so much: The single most confusing

[android-developers] Re: Accessing Disk memroy from Application

2011-01-16 Thread Bob Kerns
On top of that, even applications with permission don't have control to write into the same *physical* location, because of wear leveling. Basically, every time you write to an flash memory card location, the card actually places this data into a *different* physical location. This is because

[android-developers] How to clear activity stack

2011-01-16 Thread Subba
My application has two activities A, B. Initially application launches with A activity(root activity), and then it launches the B activity and finishes A activity. Now B activity on the foreground. User pressed Home Button on B activity it launches HOME Screen, user launches the application it

[android-developers] Re: Mystery device missing style attributes?

2011-01-16 Thread Streets Of Boston
Amen to that! :) A How-To in this area would be very very welcome. On Jan 16, 8:35 pm, Zsolt Vasvari zvasv...@gmail.com wrote: This is a bit off-topic, but perhaphs not so much: The single most confusing aspect of the Android platform, in my opinion, this whole business with

[android-developers] Re: Compatibility across versions

2011-01-16 Thread kypriakos
I agree - in fact I added the last two versions in the Android SDK installation and I am working on testing the baseline on them. Thanks. On Jan 15, 2:35 pm, TreKing treking...@gmail.com wrote: On Sat, Jan 15, 2011 at 11:50 AM, kypriakos demet...@ece.neu.edu wrote: Exactly - and we are not ..

[android-developers] Progress Bar without a dialog box

2011-01-16 Thread cool.manish
Hi, In my application, I am fetching data from server. During fetching response and parsing it, I want to display a progress bar(Like spinner) but without a dialog box. If I am using ProgressDialog then it is also displaying Dialog box. I had also tried Progress Bar but I have to include it in

Re: [android-developers] Progress Bar without a dialog box

2011-01-16 Thread TreKing
On Sun, Jan 16, 2011 at 10:49 PM, cool.manish mannishga...@gmail.comwrote: I had also tried Progress Bar but I have to include it in the XML. No you don't. Did you even try creating it programmatically?

Re: [android-developers] How to clear activity stack

2011-01-16 Thread TreKing
On Sun, Jan 16, 2011 at 10:06 PM, Subba raochoud...@gmail.com wrote: Is there any way to clear the activity stack trace when application launches again i want to clear the B activity from activity stack if it exists. Any suggestions please...? Play with the activity launch flags defined in

[android-developers] Does Android provide API to enable my IME

2011-01-16 Thread xeagle
Hi, I'd like my IME is enabled when settings of my IME is launched so that user do not need go to Lanuage Keyboard settings. Does Android provide this kind of API? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] SDK Samples - API Level 6 and below: Where to find them?

2011-01-16 Thread Zarah
Hi guys, I need to take a look at some of the sample apps for SDK level 6 and below, but they are not available from the SDK manager. I only see samples for API levels 7, 8 and 9. I don't see a link to the older samples from the developer site either. I am looking for older samples since I want

Re: [android-developers] SDK Samples - API Level 6 and below: Where to find them?

2011-01-16 Thread Xavier Ducrohet
older samples are inside the platform component. We started separating them in their own component in api 7. On Sun, Jan 16, 2011 at 9:11 PM, Zarah zarahj...@gmail.com wrote: Hi guys, I need to take a look at some of the sample apps for SDK level 6 and below, but they are not available from

Re: [android-developers] Re: Tracking someone else using Latitude (Android Tutorial Wanted)

2011-01-16 Thread Kevin Duffey
I was going to suggest My Tracks as well. But I think what the OP wants is the ability for his wife's phone to update his phone on her progress. I would guess it's possible, but you'd have two components to the app. The app that runs on her phone that updates some service of her progress.. maybe

[android-developers] Re: REQUEST

2011-01-16 Thread metal mikey
On Jan 15, 12:12 pm, TreKing treking...@gmail.com wrote: On Fri, Jan 7, 2011 at 2:21 AM, Harshit Agrawal soft.ready@gmail.comwrote: Please send me the complete code HELLO SIR/MADAM Please do your own damn work. WITH REGARDS: TreKing Developer LOL. Alternatively you could post on

[android-developers] Re: SDK Samples - API Level 6 and below: Where to find them?

2011-01-16 Thread Zarah
Thanks for the quick reply Xavier! :) On Jan 17, 1:40 pm, Xavier Ducrohet x...@android.com wrote: older samples are inside the platform component. We started separating them in their own component in api 7. On Sun, Jan 16, 2011 at 9:11 PM, Zarah zarahj...@gmail.com wrote: Hi guys,

[android-developers] Re: Anyone know how to calculate speed WITHOUT GPS?

2011-01-16 Thread metal mikey
Will this still work as the car approaches and quite potentially breaches the speed of sound??? On Jan 15, 4:59 am, DanH danhi...@ieee.org wrote: It only takes one phone:  You have the phone generate a tone and detect the shifted tone off of whatever object reflects it, like radar.  ;) --

Re: [android-developers] Re: Anyone know how to calculate speed WITHOUT GPS?

2011-01-16 Thread Kumar Bibek
In that case, it's an obvious NO. Then, you probably have to rely on the camera's flash, and it's Doppler shift. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Mon, Jan 17, 2011 at 11:35 AM, metal mikey coref...@gmail.com wrote: Will this still work as the car approaches

Re: [android-developers] Re: Anyone know how to calculate speed WITHOUT GPS?

2011-01-16 Thread Kumar Bibek
Ah, I forgot, the phones don't yet have a light sensor. Too bad.. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Mon, Jan 17, 2011 at 11:44 AM, Kumar Bibek coomar@gmail.com wrote: In that case, it's an obvious NO. Then, you probably have to rely on the camera's

[android-developers] Re: How to clear activity stack

2011-01-16 Thread Doug
On Jan 16, 8:06 pm, Subba raochoud...@gmail.com wrote: My application has two activities A, B. Initially application launches with A activity(root activity), and then it launches the B activity and finishes A activity.  Now B activity on the foreground. User pressed Home Button on B activity

[android-developers] Re: Anyone know how to calculate speed WITHOUT GPS?

2011-01-16 Thread ko5tik
On Jan 12, 7:16 am, keyboardr keyboa...@gmail.com wrote: You could also try integrating the readings from the accelerometers, but I suspect this would give you even worse accuracy and you'd have to have some way to calibrate the zero point. INS also requires gyroscopes. But quality of those

[android-developers] Re: XML layout vs. programmatic

2011-01-16 Thread MerlinBG
I think this the XML layout is introduced mostly in order to facilitate GUI generators, like http://droiddraw.org/ If they generate Java, which is editable for the developers, switching between code and modeling becomes rather error-prone. The good thing is that you are not bound to it, you can

[android-developers] Version code being displayed instead of Version Name in Samsung Galaxy S - GT I9000 device?

2011-01-16 Thread javame_android
Hi, I do not know what is the reason of this but I just installed one Android app in Samsung Galaxy S - GT I9000 device and its displaying Version code in App info screen. Whereas the Nexus One is displaying the proper Version Name and not Version code. Has anyone faced a similar issue and is

[android-developers] How to have a Service, un-killed by any task killer

2011-01-16 Thread Jawwad Farooq
Hi, I want to have a service that will not be killed by any task killer. Can you please give some code snippet for that Regards, Jawwad Farooq -- 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] [beginner] Analysis of the engadget app

2011-01-16 Thread JPS
Hello all, I want to make an application with tabbed panes, with different views in each pane. I would like to know if there is a standard component/ way for doing this. An example of what I'm trying to do is the engadget android app. Screen shot :

[android-developers] GPS turned on automatically on some devices?

2011-01-16 Thread Stephan Wiesner
Hi, my HTC users keep complaining that i don't turn off the GPS when they exit my Google Maps app. The emulator shows the GPS symbol when I start my app, but none of my test devices do (Samsung Galaxy S, SE Xperia Mini Pro). I don't turn on the gps in the first place. And understood that I am not

[android-developers] about KeyStore

2011-01-16 Thread tangke
hi all, I want to use the keystore to fix issue of the install package. but I read the source code, that I can not found the source code of KeyStore.PrivateKeyEntry ?? but I read the api/xml file and can get the information of KeyStore.PrivateKeyEntry. thanks in advance. -- You received this

[android-developers] Re: disable hard Search button while contextmenu is on.

2011-01-16 Thread TreKing
On Mon, Jan 17, 2011 at 12:43 AM, Amritesh amriteshmad...@gmail.com wrote: Thanks for replying Because that is the requirement of the UI spec of my project i have done similar thing on dialog box and progress dialog ... but not able to find a way for context menu ... is there any

Re: [android-developers] How to have a Service, un-killed by any task killer

2011-01-16 Thread TreKing
On Mon, Jan 17, 2011 at 1:04 AM, Jawwad Farooq jawwad.far...@gmail.comwrote: I want to have a service that will not be killed by any task killer. Don't we all. Can you please give some code snippet for that No.

Re: [android-developers] [beginner] Analysis of the engadget app

2011-01-16 Thread TreKing
On Mon, Jan 17, 2011 at 1:17 AM, JPS jpsa...@gmail.com wrote: I want to make an application with tabbed panes, with different views in each pane. I would like to know if there is a standard component/ way for doing this. Standard way of doing tabs would be TabActivity and TabView. Though I

Re: [android-developers] about KeyStore

2011-01-16 Thread TreKing
I'm sorry but your post makes no sense. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because

[android-developers] Re: [beginner] Analysis of the engadget app

2011-01-16 Thread Zsolt Vasvari
Another guy who wants to code an iPhone copy app on Android :( On Jan 17, 3:46 pm, TreKing treking...@gmail.com wrote: On Mon, Jan 17, 2011 at 1:17 AM, JPS jpsa...@gmail.com wrote: I want to make an application with tabbed panes, with different views in each pane. I would like to know if