[android-developers] Setting/Passing values

2010-09-30 Thread rb
How do you set/pass values from one screen (activity) to another? What I have in the R.layout.main view labeled Calculator contains the code for doing calculations. The main.xml contains the layout (view) of the main screen. I have created an options menu which has another screen which shows you

Re: [android-developers] Setting/Passing values

2010-09-30 Thread Mark Murphy
On Thu, Sep 30, 2010 at 6:09 PM, rb rbs...@gmail.com wrote: How do you set/pass values from one screen (activity) to another? That depends on the nature of the values. When you press the menu button, you get the options menu.  If you select Setup, then it will display the setup screen.  Now

[android-developers] No access to Errors reports for unpublished apps?

2010-09-30 Thread { Devdroid }
Hi, I noticed that when I unpublish app for which I see fresh error reports in Market console I no longer can access these error reports as long as app is unpublised. When I publish it back, Errors reappears. Is is it me, or Market sucks there too? -- You received this message because you are

[android-developers] New countries !!!!

2010-09-30 Thread Yahel
Effective today, developers from 20 additional countries (Argentina, Australia, Belgium, Brazil, Canada, Denmark, Finland, Hong Kong, Ireland, Israel, Mexico, New Zealand, Norway, Portugal, Russia, Singapore, South Korea, Sweden, Switzerland and Taiwan) can now sell paid apps on Android Market.

[android-developers] Re: scrollbarAlwaysDrawVerticalTrack doesn't work with ListView

2010-09-30 Thread jlopeznava...@gmail.com
Ok, thanks for the tip. On Sep 30, 6:50 pm, Romain Guy romain...@android.com wrote: The track is not the scrollbar, the track is what the scrollbar slides into. The default theme does not have a track anymore. The track is normally shown only when the view can scroll and this attribute can be

[android-developers] Re: Setting/Passing values

2010-09-30 Thread rb
Thanks for shedding some light on this issue. Here's some of my code: --- Main -- package com.calculator; import android.app.Activity; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import

Re: [android-developers] New countries !!!!

2010-09-30 Thread { Devdroid }
On 1 October 2010 00:37, Yahel kaye...@gmail.com wrote: Effective today, developers from 20 additional countries (Argentina, Australia, Belgium, Brazil, Canada, Denmark, Finland, Hong Kong, Ireland, Israel, Mexico, New Zealand, Norway, Portugal, Russia, Singapore, South Korea, Sweden,

Re: [android-developers] Re: Setting/Passing values

2010-09-30 Thread Mark Murphy
On Thu, Sep 30, 2010 at 6:51 PM, rb rbs...@gmail.com wrote: Thanks for shedding some light on this issue. Here's some of my code: :: snip :: I was going to save and read the data from a file which would be stored in the phones default applications directory as one file. All the more

[android-developers] Re: VerifyError reloaded

2010-09-30 Thread DanH
Of course, the real problem is that the verifier is mis-designed. I'm guessing it uses reference chains. I redid the one for iSeries to use sparse bit vectors and cut the heap requirements by about a factor of 100, and made it much faster as well. On Sep 30, 12:29 pm, fadden fad...@android.com

[android-developers] Re: Settings.Secure.ANDROID_ID not unique on DROID2?

2010-09-30 Thread JonFHancock
The last update from Google/Verzion was half a month ago. Is there any progress to report? On Sep 13, 11:48 am, suzanne.alexandra suzanne.alexan...@motorola.com wrote: Motorola is working on a fix for the ANDROID_ID issue on DROID 2. Any fix that becomes available will be upgraded to devices

Re: [android-developers] New countries !!!!

2010-09-30 Thread { Devdroid }
On 1 October 2010 00:55, { Devdroid } webnet.andr...@gmail.com wrote: (namely South Korea and Poland) I meant Czech Republic and Poland of course -- 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: New countries !!!!

2010-09-30 Thread Craigo
I registered an account in the United States (gave up waiting), and now I would like to switch the country to my actual country, however, it doesn't let me. Anyone know if this is possible? On Sep 30, 5:37 pm, Yahel kaye...@gmail.com wrote: Effective today, developers from 20 additional

[android-developers] Re: New countries !!!!

2010-09-30 Thread William Ferguson
Hey its definitely a step in the right direction. And should hold out hope that it will be rolled out further. Its certainly opened up the type of apps that I will consider developing now that I can sell into the market. On Oct 1, 8:55 am, { Devdroid } webnet.andr...@gmail.com wrote: On 1

[android-developers] scaleType=fitXY works scaleType=centerInside doesnt

2010-09-30 Thread Shawn Brown
Hi, If you know or can guess please tell me why: In the FrameLayout below, scaleType=fitXY will adjust the image to fit the screen but scaleType=centerInside doesn't. I need the aspect ratio preserved which fitXY doesn't do. Please look at the - below. ?xml version=1.0

[android-developers] Re: Problem with reading contacts on Samsung Galaxy Europa

2010-09-30 Thread mikedroid
actually it does show me a list (calling ACTION_VIEW or ACTION_PICK) using ContactsContract.Contacts.CONTENT_URI. but we wanted to call the samsung's native contacts activity which is named something like PhoneBookTopMenuActivity. Also i noticed that instead of the two actions i;ve mentions they

[android-developers] Re: Setting/Passing values

2010-09-30 Thread rb
I looked at the URL's that you provided and tried some coding with it, but I am failing to understand the proper coding methods. In the main, I have the options menu as: // options menu // Called only the first time the options menu is displayed. // Create the menu entries.

[android-developers] Re: What is the URI for the Contacts content provider on Samsung phones? ActivityNotFoundException:

2010-09-30 Thread mikedroid
still not Contacts.UI.LIST_ALL_CONTACTS_ACTION , tried it On Aug 5, 12:21 am, Dmitri Plotnikov dplotni...@google.com wrote: You are right - I forgot that this intent is hidden API. Ironically, the deprecated equivalent Contacts.UI.LIST_ALL_CONTACTS_ACTION is public and therefore is supposed

Re: [android-developers] Re: Setting/Passing values

2010-09-30 Thread Mark Murphy
On Thu, Sep 30, 2010 at 9:15 PM, rb rbs...@gmail.com wrote: I believe that I need this to read the preferences still in the main and set a textview as such:        public void onResume() {                super.onResume();                SharedPreferences prefs=PreferenceManager            

[android-developers] WebView - Documentation of JavaScript and Java Interaction

2010-09-30 Thread Dan
Hello Developers, I have found that there is a significant lack of documentation of WebView's ability to communicate with Java via WebView.addJavaScript() method. First, the debug document http://developer.android.com/guide/developing/debug-tasks.html#DebuggingWebPages appears to no longer work.

Re: [android-developers] Re: Setting/Passing values

2010-09-30 Thread Mark Murphy
On Thu, Sep 30, 2010 at 9:15 PM, rb rbs...@gmail.com wrote: I looked at the URL's that you provided and tried some coding with it, but I am failing to understand the proper coding methods. BTW, the preference chapter in my book has not changed that much from earlier editions, so you're welcome

Re: [android-developers] WebView - Documentation of JavaScript and Java Interaction

2010-09-30 Thread Mark Murphy
On Thu, Sep 30, 2010 at 9:34 PM, Dan king...@gmail.com wrote:  Second, what object types should we expect when going to and from JavaScript. I have done some trial and error and it appears that complex types can cross the boundary, for example java.util.Vector. However when a Java method

[android-developers] Re: Problem with interecepting outgoing calls on HTC Desire

2010-09-30 Thread Denis Souza
Anyone had any progress or ideas with this? It's a bit hard to test it when you don't have the device. Anyway, I got two reports from Motorola users with the same problem... but the interesting thing is they only started having any problems after upgrading to my app's latest version. It occurred

[android-developers] Forum Real Slow last couple of days?

2010-09-30 Thread BobG
Is this slowdown due to lots of new traffic from the new customers in the new countries? -- 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,

[android-developers] Re: Anyway to pre allocate memory for a Bitmap?

2010-09-30 Thread Brian
bump On Sep 27, 5:58 pm, Brian zootsuitbr...@gmail.com wrote: and how would I reload them with the contents of png from the SD card? On Sep 27, 4:31 pm, Yahel kaye...@gmail.com wrote: Hello is there any way to pre allocate the memory required for a bitmap.  Android's memory model

[android-developers] Re: New countries !!!!

2010-09-30 Thread Denis Souza
I just registered here in Brazil. It links to your AdSense account so you can receive the payments. I thought it was a pretty clever way to do it, using the existing AdSense system so they wouldn't have to implement payment systems for every country. Maybe the restrictions to Czech Republic and

[android-developers] Re: Setting/Passing values

2010-09-30 Thread davemac
You should also check out this handy method: PreferenceManager.setDefaultValues(Context context, int resId, boolean readAgain) Assuming you've defined default values for preferences in your preferences.xml file, this method will use those to initialize your saved preferences file. Which means

[android-developers] Problem in using Document Builder parser on Device

2010-09-30 Thread Mrid
Hello All, I am using document builder parser for parsing xml response from the server. It works fine on emulator (SDK 1.6 and 2.2 both) but when I tried to use that on LG Moment (SDK 2.1), it failed. Found out that it is not able to load the xml response as a whole document. Also, XML response

[android-developers] Re: New countries !!!!

2010-09-30 Thread metal mikey
G'day Google, Thank you!! -- 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-developers] Re: New countries !!!!

2010-09-30 Thread gjs
Many many thanks Google This has been a long long time coming, glad the day has finally arrived ( I was thinking Australia was still too small a market would likely miss out again... ) Look forward to you bringing the rest of the world in as well. Regards :-) On Oct 1, 2:00 pm, metal

[android-developers] Re: Setting/Passing values

2010-09-30 Thread rb
Thanks for the link to your book. I have tried your examples from it and now I get the app forcing to close. Perhaps you can shed some light on this? Here's my code: -- Calculator.java-- package com.calculator; import android.app.Activity; import android.content.Intent; import

[android-developers] Re: Setting/Passing values

2010-09-30 Thread rb
Thanks for the handy method. First of all, I have to get this working, then I may try this out. Good thing to know.. :RB On Sep 30, 9:03 pm, davemac davemac...@gmail.com wrote: You should also check out this handy method: PreferenceManager.setDefaultValues(Context context, int resId,

[android-developers] Implement seek bar for playing videos

2010-09-30 Thread Ashok Jeevan
Hi, I am using seekBar to show the progress of the video which I implemented using Media Player / Video View. But as the thumb of the seekBar is moved back and forth, the video is not starting correspondingly from the position of the thumb. Is there any way to locate the position of the thumb

[android-developers] Re: New countries !!!!

2010-09-30 Thread Kumar Bibek
Pretty disappointed for not having India in the list. But congrats to others. Go make some money. I guess, it will be another year that the next set of countries are announced, and I really hope the see India in that list. On Oct 1, 9:20 am, gjs garyjamessi...@gmail.com wrote: Many many thanks

[android-developers] Re: Problem with reading contacts on Samsung Galaxy Europa

2010-09-30 Thread Zarah Dominguez
I was also able to insert a contact into the address book. So far it looks like the only action not supported is viewing the whole contacts list. Pasted the stacktrace I got in StackOverflow: http://stackoverflow.com/questions/3547118/accessing-the-phonebook-on-galaxy-s-crashes-the-app I guess

[android-developers] Re: Tablet programming

2010-09-30 Thread pramod.deore
Thanks Devdroid for your reply, any other suggestions? On Sep 30, 4:11 pm, { Devdroid } webnet.andr...@gmail.com wrote: On 30 September 2010 06:28, pramod.deore deore.pramo...@gmail.com wrote: Hi, everybody           I want to develop application for Android Tablets, Please let me know

[android-developers] Re: Launching application in Market

2010-09-30 Thread pramod.deore
Thanks to all your responses. On Sep 30, 9:32 pm, Brion Emde brione2...@gmail.com wrote: I created a blog on blogspot.com and write about my apps there and embed screencast video demonstrations, and stuff like that. Then I put the address of the blog in field on the Marketplace. On Sep 30,

<    1   2