[android-developers] How to set permission in content providers

2010-09-20 Thread Sohan badaya
Hi All, I have a doubt regarding content provider.My doubt is I create a app1 that creates ContentProvider and in second application(app2) i am using app1's contentprovider methods(like insert, update etc). It's working fine but i want to set some permissions in app1, so that if any other app want

[android-developers] Using a different layout depending on parent dimensions

2010-09-20 Thread Mark Carter
Imagine a View filling the width and the top half of the screen. The height varies depending on whether the IME is shown or not (and whether the screen is in landscape/portrait mode). The IME itself has variable height. Now imagine that View has a child LinearLayout (vertical) showing a couple of

[android-developers] Re: ExpandableListView question

2010-09-20 Thread dashman
thanks for the response. in my getChildView() method of my adapter, i have: View v; if (convertView == null) { v = newChildView(isLastChild, parent); } else { v = convertView; } 1. i would imagine newChil

[android-developers] Download Files via Android Browser an https not possible

2010-09-20 Thread Markus
Hello! I want to try to download some file about the android browser. But every time I start the download via https the download manager show only the download with the message "Waiting for data...". I tried different host, but the problem ist always the same. I used a Milestone with 2.1 and a Sa

[android-developers] how to send data to server while recording

2010-09-20 Thread cindy
Hi all, My application needs to record audio and send audio data to server while recording. If User stops audio input, we will stop sending. How could I implement such feature in Android? Thanks! April -- You received this message because you are subscribed to the Google Groups "Android Devel

[android-developers] Apps running cuncurrently

2010-09-20 Thread parag
hi folks, i have a situation, i want to know that following, suppose I have opened 9 apps, i want to open the 10th one, The previous opened apps are in background, if there is less memory available, will some of the earlier opened app be closed without notification or the state will be saved ,

[android-developers] How to access contact and account database

2010-09-20 Thread adhavan jeyachandran
hi, how can i access the contact and account manager with the help of sqlite3 code? can u please explain me about contact application? -- ADHAVAN.J -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andr

[android-developers] How to get the ListView item as web

2010-09-20 Thread RKJ (Android developer)
Hi All, I've list view item as a object, I want to fetch item details as web to show. --RKJ -- 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: Is anyone's active install % dropping like a rock lately?

2010-09-20 Thread ko5tik
My downloads stagnate and go sometimes back one count ;) I think this is a policy to keep my app from going over 1 ( it was at 9975, dropped to 8700 one day, climbed back to 9975 and stagnates there despite known downloads throigh recommender function) On Aug 26, 4:47 pm, Fabrizio Giudici

[android-developers] Re: I need complete code of "http and php for file upload" from android to php server please help me!!!

2010-09-20 Thread Hotouch
Kumar, its almost done now and i will post my code shortly :) Thanks!!! On Sep 20, 2:11 pm, Kumar Bibek wrote: > Again, the same question, Where are you stuck > > -Kumar Bibekhttp://techdroid.kbeanie.com > > On Sep 20, 10:57 am, Hotouch wrote: > > > Kumar, > > > basically i got code from a

[android-developers] what is the default value of account name and type in contact?

2010-09-20 Thread adhavan jeyachandran
hi all, what is the default value for the account name and account type in contacts. when i tried the code Account[] accounts = AccountManager.*get*(*this*).getAccounts(); *for* (Account account : accounts) { String possibleEmail = account.name; Toast.*makeText*(getApplicationContext(), possi

[android-developers] Re: Getting a View to redraw when parameters change

2010-09-20 Thread Bret Foreman
Specifically, these are TableRows and I've changed setMinimumHeight. I want the rows to redraw with new heights. On Sep 20, 9:28 pm, TreKing wrote: > On Mon, Sep 20, 2010 at 10:27 PM, Bret > Foremanbegin_of_the_skype_highlighting end_of_the_skype_highlightingwrote: > > > I want to get a set

Re: [android-developers] Re: Navigate up activity stack

2010-09-20 Thread TreKing
On Mon, Sep 20, 2010 at 9:22 PM, ls02 wrote: > I need to call finish() on all activities up to the root, but I don't know > how to vavigate actities up activity stack. > Assuming you control all activities, you can start them all using startActivityForResult() then pass back an "exit" code of so

Re: [android-developers] Getting a View to redraw when parameters change

2010-09-20 Thread TreKing
On Mon, Sep 20, 2010 at 10:27 PM, Bret Foreman wrote: > I want to get a set of Views to redraw after I change some drawing > parameters. > What are "drawing parameters"? - TreKing

Re: [android-developers] Re: map can't load at specific places

2010-09-20 Thread TreKing
On Mon, Sep 20, 2010 at 10:34 PM, dadada wrote: > It only happen at home. When i go to my office, it will work fine. That sounds like you simply have bad coverage in your home. Are you on 3G or Wifi? Does other internet-related functionality work at home (like your browser)? --

[android-developers] Re: How can I track down a crash in a .so without a stack trace?

2010-09-20 Thread Nightwolf
What is your game? I could try it on G1 with 1.6. On Sep 20, 9:42 pm, Leigh McRae wrote: > My game is crashing on the HTC Hero and I have managed to get a user > to send me their log.  I don't see a Java stack trace at all.  It > looks like it's crashing in the OpenGL driver.  I was wondering how

Re: [android-developers] Error parsing Android SDK on linux

2010-09-20 Thread Aman Bhardwaj
Creating an empty folder didn't help either, I actually installed previous version of sdk and that made it happy and then I updated it. On Fri, Sep 17, 2010 at 2:12 PM, Xavier Ducrohet wrote: > btw I just checked and the tools r7 package for linux does include the > empty platforms folder. > > O

Re: [android-developers] Re: Navigate up activity stack

2010-09-20 Thread Frank Weiss
OK. There's no way to quit the app because such an event doesn't exist in Android. The best answer, given by the Android gurus is: let the Android OS exit the process when it decides to do so. -- You received this message because you are subscribed to the Google Groups "Android Developers" group

[android-developers] Re: Anyone else ever submitted to Motorola Shop4Apps? I did and so far it seems dismal - share your experience?

2010-09-20 Thread Bret Foreman
The real point of Shop4Apps is to sell localization services and then sell the localized apps in regions that are not covered by the Marketplace. It only makes sense if you are looking for someone to localize your app (for a fee) in one of their big markets, China or Brazil, and then sell it there.

Re: [android-developers] Re: map can't load at specific places

2010-09-20 Thread Frank Weiss
Is that just one map tile or all the map tiles? Would the overlay be drawn if there was no network connectivity? -- 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 uns

[android-developers] Re: Navigate up activity stack

2010-09-20 Thread ls02
Can you please answer my question if you know the answer. I am not asking why I want to do this. I asked specific question. On Sep 20, 11:52 pm, Frank Weiss wrote: > Let's try it a different way. What happens if you don't? -- You received this message because you are subscribed to the Google Gr

Re: [android-developers] Re: Navigate up activity stack

2010-09-20 Thread Frank Weiss
Let's try it a different way. What happens if you don't? -- 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-develope

[android-developers] Trying to track a webkit/Browser fix

2010-09-20 Thread droid-newbie
Hi, I see bug in eclair browser trying to load some websites, which have an image as a hyperlink, that is "unclickable" or does not take effect. I connected Wireshark and noticed no packets left the device, implying the webkit/browser didn't like it. This issue is fixed on froyo. How do I locate t

[android-developers] Re: Navigate up activity stack

2010-09-20 Thread ls02
I need to be able to quit the app. Many apps Pandora for instance do this so it is cleary possible. On Sep 20, 11:24 pm, Frank Weiss wrote: > It does matter why. The process only holds a Dalvik VM to run activities and > services of an app. Why do you need to kill the VM? -- You received this m

[android-developers] Re: map can't load at specific places

2010-09-20 Thread dadada
The map tile doesn't load. However, the overlay ( some path and control) is drawn. with the default enabled-compass drawn too. It only happen at home. When i go to my office, it will work fine. On Sep 21, 12:51 am, TreKing wrote: > On Mon, Sep 20, 2010 at 11:24 AM, dadada wrote: > > can some a

[android-developers] Re: A ListView that acts like RadioButtons

2010-09-20 Thread Bret Foreman
I tired setting the single-choice mode in my XML description of the ListView and it didn't change the behavior at all. On Sep 20, 8:10 pm, Zarah Dominguez wrote: > What about using the choiceMode attribute for a ListView? > > http://developer.android.com/reference/android/widget/ListView.html#s..

[android-developers] Getting a View to redraw when parameters change

2010-09-20 Thread Bret Foreman
I want to get a set of Views to redraw after I change some drawing parameters. I'm calling invalidate() and forceLayout() on the parent of the Views but nothing happens. If I rotate the screen then the Views redraw correctly using the new parameters, as you would expect. What else do I need to do t

Re: [android-developers] Re: Navigate up activity stack

2010-09-20 Thread Frank Weiss
It does matter why. The process only holds a Dalvik VM to run activities and services of an app. Why do you need to kill the VM? -- 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@googleg

[android-developers] Re: A ListView that acts like RadioButtons

2010-09-20 Thread Zarah Dominguez
What about using the choiceMode attribute for a ListView? http://developer.android.com/reference/android/widget/ListView.html#setChoiceMode(int) I have tried using CHOICE_MODE_MULTIPLE and it works. I am guessing CHOICE_MODE_SINGLE would act like an ACTION_PICK. -Zarah. On Sep 21, 5:47 am,

[android-developers] Re: Navigate up activity stack

2010-09-20 Thread ls02
I need to be able quit the app (exit process completely), does not matter why. I am trying to figure out how to do this best. On Sep 20, 11:00 pm, Frank Weiss wrote: > I have to ask, why do you want to "quit the app". Why do you think that is > something you need to do? -- You received this mes

Re: [android-developers] Re: Navigate up activity stack

2010-09-20 Thread Frank Weiss
I have to ask, why do you want to "quit the app". Why do you think that is something you need to do? -- 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 fro

[android-developers] Re: Navigate up activity stack

2010-09-20 Thread ls02
Calling finihs() on current activity will not quit the app (process). I need to call finish() on all activities up to the root, but I don't know how to vavigate actities up activity stack. On Sep 20, 10:05 pm, TreKing wrote: > On Mon, Sep 20, 2010 at 9:02 PM, ls02 wrote: > > My understanding is

[android-developers] Re: Anyone else ever submitted to Motorola Shop4Apps? I did and so far it seems dismal - share your experience?

2010-09-20 Thread Doug
I ignore pretty much all the ads that get sent to me to put my app on other stores because I have no idea if they'll pay off. The only other store I use is SlideME, and sometimes I wish I hadn't even done that. The app has netted less in its lifetime on SlideME (about a year) than it makes on an

[android-developers] Re: Audio Record problem (urgent)

2010-09-20 Thread melo
sorry~ forget to show logcat output. DEBUG/AudioHardware(31): AudioStreamInGeneric::set(0xae88, 7, 1, 16, 8000) DEBUG/audioRecorder(231): Is speakerphone on? : true DEBUG/AudioHardware(31): AudioStreamInGeneric::read(0x40407380, 320) from fd 7 ERROR/AudioFlinger(31): Error reading audio input WARN

[android-developers] Re: Android pattern for waiting on event

2010-09-20 Thread DanH
> (to avoid synchronization overhead for the message queue) That's kind of odd -- synchronization between threads takes microseconds (or should) -- far cheaper than even the simplest UI operation. On Sep 20, 8:51 pm, Mark Murphy wrote: > On Mon, Sep 20, 2010 at 9:33 PM, DanH wrote: > > Odd, in

Re: [android-developers] Navigate up activity stack

2010-09-20 Thread TreKing
On Mon, Sep 20, 2010 at 9:02 PM, ls02 wrote: > My understanding is to quit the app I need to call finish() on all > activities up to the root activity. > Most people will tell you you don't need to "quit the app" in the first place, but that's another topic ... > However, how do I navigate up

[android-developers] Navigate up activity stack

2010-09-20 Thread ls02
My understanding is to quit the app I need to call finish() on all activities up to the root activity. However, how do I navigate up activities in app activity stack from current active activity? -- You received this message because you are subscribed to the Google Groups "Android Developers" gro

Re: [android-developers] ExpandableListView question

2010-09-20 Thread TreKing
On Mon, Sep 20, 2010 at 8:17 PM, dashman wrote: > is that possible - i.e. a ELV with different layouts for a group view. > Sure. The View returned for a group (or it's children) is determined by you in the adapter. You can return whatever you want depending on your current needs. --

Re: [android-developers] Re: Android pattern for waiting on event

2010-09-20 Thread Mark Murphy
On Mon, Sep 20, 2010 at 9:33 PM, DanH wrote: > Odd, in a true multi-threading environment if one thread waits (using, > say, a wait on semaphore) then others continue executing.  So in spite > of the dialog being "asynchronous", it really isn't -- it's just > hijacking the requesting thread? Not

[android-developers] Re: Android pattern for waiting on event

2010-09-20 Thread DanH
Odd, in a true multi-threading environment if one thread waits (using, say, a wait on semaphore) then others continue executing. So in spite of the dialog being "asynchronous", it really isn't -- it's just hijacking the requesting thread? On Sep 20, 8:24 pm, Mark Murphy wrote: > On Mon, Sep 20,

Re: [android-developers] Re: Android pattern for waiting on event

2010-09-20 Thread Mark Murphy
On Mon, Sep 20, 2010 at 9:16 PM, DanH wrote: > No sort of "wait on event" at all?? None you would want to use for your targeted use case. There are, of course, lots of classes that implement wait logic in java.util.concurrent, such as Semaphore. However, those are for managing thread-based inter

[android-developers] ExpandableListView question

2010-09-20 Thread dashman
i've got an ExpandableListView with my own layouts for the group and child views. a certain group-type will require a different layout. is that possible - i.e. a ELV with different layouts for a group view. i've got my own sub-class of SimpleExpandableListAdapter. -- You received this message

[android-developers] Re: Android pattern for waiting on event

2010-09-20 Thread DanH
No sort of "wait on event" at all?? On Sep 20, 7:49 pm, Mark Murphy wrote: > On Mon, Sep 20, 2010 at 8:35 PM, DanH wrote: > > I'm just learning -- no particular task in mind -- but I'm thinking of > > a case where, for the sake of argument, I'd put up three successive > > dialogs, to gain pieces

Re: [android-developers] Re: Android pattern for waiting on event

2010-09-20 Thread Mark Murphy
On Mon, Sep 20, 2010 at 8:35 PM, DanH wrote: > I'm just learning -- no particular task in mind -- but I'm thinking of > a case where, for the sake of argument, I'd put up three successive > dialogs, to gain pieces of information to be returned to the main > activity.  I can see how you could do it

[android-developers] Re: Android pattern for waiting on event

2010-09-20 Thread DanH
I'm just learning -- no particular task in mind -- but I'm thinking of a case where, for the sake of argument, I'd put up three successive dialogs, to gain pieces of information to be returned to the main activity. I can see how you could do it by having the onClicked from one dialog kick off the

[android-developers] Re: Anyone else ever submitted to Motorola Shop4Apps? I did and so far it seems dismal - share your experience?

2010-09-20 Thread Flying Coder
I posted one of my most popular apps on Shop4Apps China a few months ago. Sadly, I have yet to make even 1 sale. Granted, the app is in English so I would not expect it to be anywhere near as popular in China as it is here, but I did expect to sell at least a few. Shop4Apps, as well as Motorola

[android-developers] Best Practice for selling app in non-Market approved countries?

2010-09-20 Thread GJTorikian
The title more or less says it all. Google Checkout, as you may be acutely aware, only supports ~9 countries. Some apps use PayPal to receive payment, then send out an "activation code" to the user. How can this be done to ensure that a single user receives a single activation code? Once the app v

Re: [android-developers] Recycle Message object

2010-09-20 Thread Dianne Hackborn
When in doubt, don't call Message.recycle(). It is just an optimization. The platform does this for you when it is done dispatching a message. And yes: the platform does this for you when done dispatching a message, so when you handler, you no longer own the message and should not touch that obj

RE: [android-developers] Exact Layout that fits a background image

2010-09-20 Thread Peter Carpenter
You can create your own class that extends ViewGroup and override the layout/onMeasure functions to explicitly define your own layout. Not sure of how to do this via xml though. -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On B

[android-developers] Two problems with SeekBars, one with ListViews, and one inside a PreferenceActivity

2010-09-20 Thread Andrew Brampton
Hi, I've identified a problem with a SeekBar being inside a ListView, and a problem with a SeekBar being inside a Preference on Android 2.2. I'm trying to figure out if I'm doing something wrong, or this is a limitation/bug of Android. The first problem with the ListView is that I am unable to use

[android-developers] Recycle Message object

2010-09-20 Thread doug
Hello, When does a Message object get recycled? Is calling Message.recycle() necessary? What does the error "message is in use" mean? Thanks, doug -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andr

[android-developers] Re: Should Plurals and Quantity Strings be used?

2010-09-20 Thread Greg Giacovelli
I assume cz has a similar requirement although I don't know, all I have seen are these rules. en does "one" or "other" cz does just like you described. using "few" and what not However I find this functionality somewhat arbitrary and at the same time useless, or am I just missing something? I thou

Re: [android-developers] Should Plurals and Quantity Strings be used?

2010-09-20 Thread Kostya Vasilyev
I recently used this mechanism in my app. It's localized for Russian, where plurals conjugate (or is it congregate?) depending on the quantity: 2 through 4 have one ending, 5 and greater have another. Quantities like 22, 32, 123..2 are the same as just 2, except for 12 through 20. Quantities ending

[android-developers] Should Plurals and Quantity Strings be used?

2010-09-20 Thread Greg Giacovelli
This feature has been around since cupcake, however it has always been broken. Bugs like, http://code.google.com/p/android/issues/detail?id=8287, have been posted. The things I am finding wrong with this is that it's completely undocumented, and only works for english and czech in undefined ways.

Re: [android-developers] Android pattern for waiting on event

2010-09-20 Thread TreKing
On Mon, Sep 20, 2010 at 4:52 PM, DanH wrote: > What is the Android technique/pattern for effectively waiting on an event > in another thread? Eg, waiting for an onClicked in a dialog? > In general, I'd say you really don't want to "wait" as much as you want to "respond". This will also vary bas

[android-developers] Re: projecting the Android screen

2010-09-20 Thread joebowbeer
I don't think the Moto Droid does this, but if you have one of the Samsung Galaxy S handsets (Vibrant, Captivate, etc) you can get composite video out (and stereo audio) using a camcorder cable. The HTC Evo has HDMI out. On Sep 20, 10:32 am, DanH wrote: > Some Nokia phones let you plug a special

[android-developers] Re: Android Market the Google I/O 2010 features

2010-09-20 Thread Maps.Huge.Info (Maps API Guru)
I like "The 32nd of Never" better. It almost sounds like a real date. -John Coryat -- 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, sen

[android-developers] Exact Layout that fits a background image

2010-09-20 Thread Martin
Hi! I have a background image (full screen) and want to create an exact layout, which fits this background-image. The buttons and labels have to be at an exact place of the background-image. How can I do this? The absolute-layout is deprecated. If I use relative layout, I can use margins, but the

[android-developers] Re: projecting the Android screen

2010-09-20 Thread DanH
It was said elsewhere that there's no way in Android to get a full screen shot, for "integrity/security" reasons. Is this not true? On Sep 20, 4:46 pm, Chris Stratton wrote: > I think there is a tool for doing this via the pc based on the ddms > screenshot capability, but the update rate isn't g

[android-developers] Android pattern for waiting on event

2010-09-20 Thread DanH
What is the Android technique/pattern for effectively waiting on an event in another thread? Eg, waiting for an onClicked in a dialog? (I'm sure someone's going to tell me "Don't do that!!", so let's skip over that discussion entirely and instead discuss the ways of synchronizing between threads,

Re: [android-developers] Android Market the Google I/O 2010 features

2010-09-20 Thread TreKing
On Mon, Sep 20, 2010 at 3:37 PM, oriharel wrote: > Anyone know when will the features introduced in Google I/O about > installing apps from the market via the website and etc be released? > This has not been announced, AFAIK, but I'm just assuming "never". Then, if and when it does happen, it's

Re: [android-developers] A ListView that acts like RadioButtons

2010-09-20 Thread TreKing
On Mon, Sep 20, 2010 at 3:48 PM, Bret Foreman wrote: > I'd like the ListView to act just like RadioButtons - one item in the list > is highlighted and if a different item is picked then that item is > highlighted and the previous choice is unhighlighted. Can this be done? > http://developer.andro

[android-developers] Re: A ListView that acts like RadioButtons

2010-09-20 Thread Bret Foreman
Perhaps, but if I'm going to do that, I'd just as well have a SrollView with a LinearLayout with a RadioGroup with RadioButtons added on the fly. The behavior would then be almost identical, except I would lose the convenience of using an adapter for the data. On Sep 20, 2:23 pm, Kostya Vasilyev

[android-developers] Re: projecting the Android screen

2010-09-20 Thread Chris Stratton
I think there is a tool for doing this via the pc based on the ddms screenshot capability, but the update rate isn't great. You can also run in the emulator. On Sep 20, 1:32 pm, DanH wrote: > Some Nokia phones let you plug a special adapter into the audio port > and get a VGA output.  I suppose

Re: [android-developers] A ListView that acts like RadioButtons

2010-09-20 Thread Kostya Vasilyev
Perhaps it would make sense then to put radio buttons into your ListView? You'd have to manage their state changes yourself, but then the UI would be instantly familiar to your users... -- Kostya Vasilyev -- http://kmansoft.wordpress.com 21.09.2010 0:53 пользователь "Bret Foreman" написал: I g

[android-developers] Re: TextView resets its location after an animation

2010-09-20 Thread ClarkBattle
The answer is that it needs to have animation.setFillAfter( true ); in order to persist the animation after its end. Strange that this is not true by default. On Sep 17, 3:09 pm, ClarkBattle wrote: > Ive tried several interpolators and many different values.  It always > resets.  RELATIVE_TO_PAR

[android-developers] Re: TextView resets its location after an animation

2010-09-20 Thread ClarkBattle
The answer is that it needs to have animation.setFillAfter( true ); in order to persist the animation after its end. Strange that this is not true by default. On Sep 17, 3:09 pm, ClarkBattle wrote: > Ive tried several interpolators and many different values.  It always > resets.  RELATIVE_TO_PAR

[android-developers] Re: Droidcon uk

2010-09-20 Thread String
I'm going... Via train rather than plane, but my travel time from rural Wales might well equal yours from Italy. ;^) String On Sep 20, 9:49 pm, Federico Paolinelli wrote: > Who's coming? I am gonna be there, but I am alone and I am flying from > Italy. > > Regards, > >    Federico -- You recei

[android-developers] How to access internal storage on htc incredible

2010-09-20 Thread Tabman
Hello, How do I access photos/videos on htc incredible ? Will INTERNAL_CONTENT_URI work? I don't have the phone to actually test it. I designed my whole app around EXTERNAL_CONTENT_URI and just today came to know about htc incredible internal storage issues. Has anyone address this problem ? Than

[android-developers] Droidcon uk

2010-09-20 Thread Federico Paolinelli
Who's coming? I am gonna be there, but I am alone and I am flying from Italy. Regards, Federico -- 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 fro

[android-developers] A ListView that acts like RadioButtons

2010-09-20 Thread Bret Foreman
I get a list of choices from an external server. Sometimes this list is long so using actual radio buttons is ugly. The user can only pick one item from the list. I'd like the ListView to act just like RadioButtons - one item in the list is highlighted and if a different item is picked then that it

[android-developers] Re: Screen rotation and ProgressDialog

2010-09-20 Thread Bret Foreman
Yeah, I read this first but was pretty confused. Now I've read it again after the discussion here and it makes more sense. I've got it working now. On Sep 20, 1:05 pm, TreKing wrote: > On Mon, Sep 20, 2010 at 2:37 PM, Bret > Foremanbegin_of_the_skype_highlighting end_of_the_skype_highlightin

[android-developers] Android Market the Google I/O 2010 features

2010-09-20 Thread oriharel
Anyone know when will the features introduced in Google I/O about installing apps from the market via the website and etc be released? -- 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@g

[android-developers] Re: Quick Contact Window integration like Facebook and Twitter

2010-09-20 Thread Nik Bhattacharya
I am guessing from the lack of response, either nobody is interested or nobody really knows. Well, I made some progress on figuring out this seemingly undocumented feature. Here are some of the findings/relevant links to the relevant information: When creating RawContacts, the Sync Service provi

Re: [android-developers] Re: Screen rotation and ProgressDialog

2010-09-20 Thread TreKing
On Mon, Sep 20, 2010 at 2:37 PM, Bret Foreman wrote: > But a ProgressDialog object does not have a setId method. So how would I > identify the dialog? > I think you should review this: http://developer.android.com/guide/topics/ui/dialogs.html -

[android-developers] Re: Matching TextView heights

2010-09-20 Thread Bret Foreman
I wish it was that simple but I need to scroll the R-L and R-R columns independently. Back to the original question, how can I discover the final height of R-R? On Sep 20, 11:39 am, Kostya Vasilyev wrote: > You can put your graphics into the table instead - instead of a table row. > > -- -- You

[android-developers] Re: Screen rotation and ProgressDialog

2010-09-20 Thread Bret Foreman
But a ProgressDialog object does not have a setId method. So how would I identify the dialog? On Sep 20, 12:27 pm, TreKing wrote: > On Mon, Sep 20, 2010 at 2:18 PM, Bret > Foremanbegin_of_the_skype_highlighting end_of_the_skype_highlightingwrote: > > > But showDialog takes a resource ID > >

Re: [android-developers] Re: Screen rotation and ProgressDialog

2010-09-20 Thread TreKing
On Mon, Sep 20, 2010 at 2:18 PM, Bret Foreman wrote: > But showDialog takes a resource ID It's not a resource ID. That id is to ID the dialog itself. It can be whatever you need it to be to ID that particular dialog. --

[android-developers] Re: How wrong is this?

2010-09-20 Thread DanH
Well, they MIGHT be legit. Their Ts&Cs appear to be fairly "normal" (if a little ragged in places) -- no worse than your average credit card agreement. They have a valid address listed in the Chicago area, but it appears (from nearby real estate listings) to be a townhome in the $200-350K range (

[android-developers] Any way to display a TIFF image?

2010-09-20 Thread paladin
I'm thinking that BitmapFactory.decode... only handles JPEG (and maybe PNG) images? Is there some way to decode a TIFF file? -- 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@googlegroup

[android-developers] Re: Screen rotation and ProgressDialog

2010-09-20 Thread Bret Foreman
But showDialog takes a resource ID and I'm creating my progress dialog on the fly. Perhaps it's a better idea to create it statically? On Sep 20, 12:07 pm, TreKing wrote: > On Mon, Sep 20, 2010 at 2:01 PM, Bret > Foremanbegin_of_the_skype_highlighting end_of_the_skype_highlightingwrote: > >

Re: [android-developers] Screen rotation and ProgressDialog

2010-09-20 Thread TreKing
On Mon, Sep 20, 2010 at 2:01 PM, Bret Foreman wrote: > How should I handle an active ProgressDialog when the screen is rotated? > If you use showDialog(), it gets managed for you. - TreKing

Re: [android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-09-20 Thread Fabrizio Giudici
On 9/18/10 12:59 , Brad Gies wrote: Actually, I am very impressed with the response, and I hope you thanked them. It would be good to encourage the Market people to respond to this kind of stuff :). For sure I personally thank people at Google working on the issue and bugs happen, so not a

[android-developers] Screen rotation and ProgressDialog

2010-09-20 Thread Bret Foreman
How should I handle an active ProgressDialog when the screen is rotated? Perhaps I should cancel the dialog in onDestroy and restart it in response to a SavedInstanceState flag? I'm getting an exception and the following message in logcat: E/WindowManager( 4240): Activity com.quickdroid.MainActiv

[android-developers] Re: Getting the right highlighting behavior in a ListView

2010-09-20 Thread Bret Foreman
This could just as well be a big list of radio buttons, but there's a lot of choices so I think a ListView makes more sense. -- 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@googlegroup

Re: [android-developers] Re: Matching TextView heights

2010-09-20 Thread Kostya Vasilyev
You can put your graphics into the table instead - instead of a table row. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 20.09.2010 22:30 пользователь "Bret Foreman" написал: Yes, I'm using TableLayouts, two of them in fact. The two columnar TableLayouts cannot be merged into one because

Re: [android-developers] How wrong is this?

2010-09-20 Thread Kostya Vasilyev
Yeah, I've gotten emails from them too. I actually had some questions for them, which they quite nicely answered, and created my account only after I ok'd it. But... same as with your application, mine is in the Windows Mobile section. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 20.09.201

[android-developers] Re: Matching TextView heights

2010-09-20 Thread Bret Foreman
Yes, I'm using TableLayouts, two of them in fact. The two columnar TableLayouts cannot be merged into one because of the graphics in between. On Sep 20, 10:52 am, Mike dg wrote: > Have you looked into table layout? How do you want the R-L text to > flow if it's not the same height as R-R. Maybe a

[android-developers] How wrong is this?

2010-09-20 Thread Bilthon
This might be somewhat similar to what people have been discussing in the AppBucket thread. But well, the thing is I made a really simple app that tracks your supermarket expenses, and impatient to test how the android market works I released a beta version of my app with limited capabilities, for

[android-developers] Re: Getting the right highlighting behavior in a ListView

2010-09-20 Thread Bret Foreman
I'd like the user to know which choice they selected without exiting the ListView. As you can see from the OP, I'm in singleChoice mode, just expecting one choice. On Sep 20, 10:49 am, Mike dg wrote: > I dont think cacheColorHint is what you are looking for. What you are > asking for seems to go

Re: [android-developers] Exception Logging

2010-09-20 Thread Brad Gies
Ok... I said I would have this ready by the end of the weekend, and it might still be the weekend somewhere :). Sleep got in the way of finishing it last night. I have just packaged the API and uploaded it to my server. You can either download just the documentation or the entire .zip file (

[android-developers] Re: Matching TextView heights

2010-09-20 Thread Mike dg
Have you looked into table layout? How do you want the R-L text to flow if it's not the same height as R-R. Maybe an image would better explain what you need. On Sep 20, 12:48 pm, Bret Foreman wrote: > I have two vertical TableLayouts containing rows of TextViews > separated by some graphics. Som

[android-developers] Re: Getting the right highlighting behavior in a ListView

2010-09-20 Thread Mike dg
I dont think cacheColorHint is what you are looking for. What you are asking for seems to go against established UI principles on Android. Are you trying to do multi-selection? What is the use case for this functionality? On Sep 20, 1:14 pm, Stephen Lau wrote: > Bret Foreman wrote: > > I have a L

[android-developers] How can I track down a crash in a .so without a stack trace?

2010-09-20 Thread Leigh McRae
My game is crashing on the HTC Hero and I have managed to get a user to send me their log. I don't see a Java stack trace at all. It looks like it's crashing in the OpenGL driver. I was wondering how I could go about trying to determine the problem. I was thinking of adding that acra project th

[android-developers] Re: Application checksum at runtime

2010-09-20 Thread DanH
(I have to confess that I don't understand why Android allows self- signed apps anyway. If apps had to be signed by a traceable certificate it would be a lot easier to control piracy.) On Sep 20, 11:18 am, Bret Foreman wrote: > This is why I want to do the checksum at runtime. If the pirate > pa

[android-developers] Re: Application checksum at runtime

2010-09-20 Thread DanH
But if the pirate patches the code he can't install it with the same checksum, since the phone will cry foul when the app is loaded and the checksums don't match. Now certainly he could patch out the code that fetches the checksum, but he could do the same with code that calculates the checksum dy

[android-developers] Re: projecting the Android screen

2010-09-20 Thread DanH
Some Nokia phones let you plug a special adapter into the audio port and get a VGA output. I suppose it's purely a matter of the phone mfgr being motivated to provide the facility. On Sep 20, 11:20 am, Bret Foreman wrote: > I have a Motorola Droid phone and I want to demo an app on it. The > dem

[android-developers] Re: Application checksum at runtime

2010-09-20 Thread niko20
Really a waste of time here. Spend your time making good features, and you will get good customers. Don't risk screwing a real customer over when something goes wrong in your "protection" -niko On Sep 20, 11:18 am, Bret Foreman wrote: > This is why I want to do the checksum at runtime. If the pi

Re: [android-developers] Re: Possibility of a curved Gallery

2010-09-20 Thread Dianne Hackborn
I mean that there is nothing about the implementation of the gallery widget that requires it be in the framework. You can implement the exact same thing in your app, and make it behave however you want. You can start by copying the code from the framework (though this will probably require some t

[android-developers] Keyboard layout different languages. Android Tablets Keyboard Layout.

2010-09-20 Thread AlreadyAMember
HI I am trying to find the keyboard layout. However i saw a few posts where resources are mentioned to find QWERTY This is simply not enough for what I am working on. I like to know which english keyboard is present on the device. I suspect that android is not going to give me this option on java

  1   2   >