Re: 答复: [android-developers] Where is the source project location of YouTube in Eclair?

2010-03-11 Thread a a
Dear kumar, David what's to invoke the yutube only, and invoke it directly, not like you gave he method that list all of the activity and let user to choose.. Dear David, i'm harvey, you konw me..hahaDo you know how to translate the 放長線調大魚 with english? -- You received this

[android-developers] Re: what is the detailed relation between contacts and raw_contacts?

2010-03-11 Thread Jerome Deng
A row in the ContactsContract.Contacts table represents an aggregate of one or more RawContacts presumably describing the same person. I think my question is resolved. That is, one contact may be mapping with one or many rawcontacts. This is dependent on whether aggregate is adopted. On 3月11日,

[android-developers] Forward activity resultCode?

2010-03-11 Thread Mark Wyszomierski
Hi, Is it possible to forward a result like the following?: ActivityA startActivityForResult(intentB, 22); ActivityB startActivityForResult(intentC, 22); finish(); ActivityC setResult(99); finish(); is it possible to get A's onActivityResult() to fire here and catch the value

Re: [android-developers] Forward activity resultCode?

2010-03-11 Thread Dianne Hackborn
In B, set this flag in the Intent you are starting: http://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_FORWARD_RESULT On Thu, Mar 11, 2010 at 12:04 AM, Mark Wyszomierski mar...@gmail.comwrote: Hi, Is it possible to forward a result like the following?:

Re: [android-developers] Re: Which API Level to target

2010-03-11 Thread Dianne Hackborn
The most recent official version distribution (worldwide) is here: http://developer.android.com/resources/dashboard/platform-versions.html On Wed, Mar 10, 2010 at 11:47 PM, Kaj Bjurman kaj.bjur...@gmail.com wrote: Really nice to see some statistics, but I don't think that they are applicable

Re: 答复: [android-developers] Where is the source project location of YouTube in Eclair?

2010-03-11 Thread a a
Dear Bibek, As like you mentioned, pen a Resolver activity. it will show you video results for Android,Can you change the sort of the activity list? like youtube is at the bottom in the list, but i wan't to list the youtube at the front of the list? What to do?? -- You received this message

Re: [android-developers] Re: Device Seeding Program for Top Contributors to Community Forums

2010-03-11 Thread Dianne Hackborn
On Wed, Mar 10, 2010 at 11:30 PM, Robert Green rbgrn@gmail.com wrote: Also, I get reports of people running my live wallpaper off of G1s and other devices. Oh good lord. The G1 hardware does not at all support multiple GL contexts. This is almost certainly going to cause bugs in

[android-developers] calendar sync up with google

2010-03-11 Thread Saikat
Hi, I am using Android 1.6 emulator. I have setup internet successfully in it. But I can't launch calendar. I came to know that it needs to be synced up with google. Please let me know how can I do this. I tried using google login service(in dev tools). But it is crashing if I select any option

[android-developers] Re: How to get result from Activity

2010-03-11 Thread Bob Kerns
Why not? Post a notification, give it a PendingIntent pointing to your login activity: Intent intent = new Intent(this, MyLoginActivity.class); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); PendingIntent pintent = PendingIntent.getActivity(getApplicationContext(), 0,

答复: 答复: [android-developers] Where is the so urce project location of YouTube in Eclair?

2010-03-11 Thread David
Actually, I tried like this: Intent intent = new Intent(Intent.ACTION_SEARCH); intent.setClassName(com.google.android.youtube, com.google.android.youtube.QueryActivity); intent.putExtra(query, Susan, American);

[android-developers] Re: Forward activity resultCode?

2010-03-11 Thread Mark Wyszomierski
That's perfect, thanks Dianne. This is how it looks now for reference: ActivityA startActivityForResult(intentB, 22); ActivityB intentC.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT); startActivity(intentC); finish(); ActivityC setResult(99); finish(); I just had to modify

[android-developers] Re: Using MediaPlayer - multiple sound files

2010-03-11 Thread Neilz
Yes this is exactly my problem... SoundPool either cuts off the sample after about 5 seconds, or complains that it's too big. I'll try your suggestion, though I can't have delays so I may have to stick with lots of MP objects. Thanks. On Mar 11, 7:08 am, Nightwolf mikh...@gmail.com wrote:

[android-developers] ViewFlipper caching issue

2010-03-11 Thread Farha Ansari
The views are not cached in a ViewFlipper. Is there a way wherein we can get an image of the view and show it to user so that he sees the Ui as we see on Home scrren(when we swipe the previous view also moves along and when we lift our finger, only then the next view is shown completely.) What I

[android-developers] RIL - Info

2010-03-11 Thread Pratibha
Hi, Check these links http://androidapps.org.ua/i_sect18_d1e18369.html http://www.kandroid.org/android_pdk/telephony.html Thanks Pratibha -- 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: How to detect when android kill my process?

2010-03-11 Thread Bob Kerns
The *potential* problem with this approach is that it *potentially* distributes a whole lot of initialization code throughout your application in various Activities, Services, etc. One advantage of subclassing Application is it allows you to centralize a lot of common logic. If you have this bit

[android-developers] Re: How to reset the price of application

2010-03-11 Thread Rootko
Carlo, I think you are using different Android Market than the rest of us do. :D Reason why I tried to set Free price to paid app was exactly what they have in AppStore - to promote your paid app you give it for free for 24 hours. Now all my buyers are screwed, because I had to unpublish the app

[android-developers] Remove attention box while activating softkeyboard

2010-03-11 Thread andu
How are you all I am developing android applications. currently I have customized the sample softkeyAndroid project to include amharic language (Ethiopian language). The keyboard works well. But when I try to activate it from the setting (Local Text) option, it displays some warning message that

[android-developers] Re: Android MYSQL

2010-03-11 Thread Bob Kerns
I would very explicitly NOT develop a MySQL App on the Android. While you could perhaps get the JDBC driver to run on Android, this is the wrong approach from a architectural standpoint. You won't get the performance, scalability, maintainability, reliability, nor security characteristics you'd

[android-developers] Re: on configuration change landscape to portrait it always start activity from beginning.

2010-03-11 Thread a2ronus
Maybe you can use the information in http://android-developers.blogspot.com/2009/02/faster-screen-orientation-change.html to save the current image information (but not the current image)? Good luck, Aaron Jansen On Mar 10, 8:23 am, nomi nomeshga...@gmail.com wrote: hi , i have written code

[android-developers] Re: Which API Level to target

2010-03-11 Thread Kaj Bjurman
Thanks for that link. Really appreciate it. On 11 mar, 09:12, Dianne Hackborn hack...@android.com wrote: The most recent official version distribution (worldwide) is here: http://developer.android.com/resources/dashboard/platform-versions.html On Wed, Mar 10, 2010 at 11:47 PM, Kaj

[android-developers] Re: Android MYSQL

2010-03-11 Thread Bob Kerns
SQLlite is a very different animal -- it's a local embedded database for local storage. It's OK for a client to use SQL to basically talk to itself. But that's not what he's trying to do. On Mar 10, 8:50 pm, saru sarucs...@gmail.com wrote: Who told to develop mysql application in android.

[android-developers] Re: Disable keyboard in DatePicker ?

2010-03-11 Thread djdamage06
Your code works fine, but when I click +/- for month for example, the textfield month becomes editable (but the others not), when I click +/- for day the textfield day becomes editable (but month and year not) There is a possibility to block this, no possibilité to edit any textfield in the

[android-developers] Re: Custom Spinner

2010-03-11 Thread Bob Kerns
I was trying to do the same thing about 24 hours ago. I finally gave up, and made what I wanted to coexist with the Spinner be part of the view inside the spinner. I could find no combination of things that allowed the layout to both size the text to the left, and left-align the text within the

[android-developers] ActivityInstrumentationTestCase2 issue

2010-03-11 Thread perrot
Hi, I am writing a Instrumnetation using the AvtivityInstrumnetationTestCase class and a test case about play music. When I execute the test case, it is work fine. But there the problem is the application play nothing. The Activity appear one moment then back to HOME screen. Reference my code:

[android-developers] Re: How to use phone internal memory to store user data......

2010-03-11 Thread grace
absolutely.. if you store your data with in your application package then other applications can't access that data. you can go for a content provider if you want to share data between applications. On Mar 11, 11:19 am, Girish girishprasa...@gmail.com wrote: Hi all..           I want to access

[android-developers] updating app on android market using different name

2010-03-11 Thread Yorgos
hi i have an app on the android market that currently has a Trial postfix in its name. I would like to update this app with one that doesnt have Trial in its name. Can i do this by only keeping the same package in the new app, thus by updating with using a different app name? Or do i

[android-developers] Re: Windows Phone and XNA. Nightmare is real. What we do with that ?

2010-03-11 Thread Piotr
Looks great ! I hope, Google will work on native NDK framework like XNA, because even for 2d games, java implementation is too slow. Such framework could help in development beginners and others, who don't want to create advanced 3d games. It is still problem, because if you want to create rpg

[android-developers] setting an icon in the application.

2010-03-11 Thread NewDev
Hi, I want to write an android application, that should have a homepage or home screen and having many utilities. Each utility should have an icon with the name. So clicking on each utility or the icon, the corresponding next screen should be displayed. It should be similar to the android home

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-11 Thread Arnon
Does anyone (that got the confirmation mail) know what hours are they working? are they in European time or US time ? (To know what to expect ... it at all( On 11 מרץ, 08:01, Tako Au tak...@gmail.com wrote: It's already 9 days from my submission of form :'(.  I've sent an email 2 days ago but

[android-developers] Re: Custom content provider(java.lang.VerifyError)

2010-03-11 Thread Musafir
Thanks for ur reply...i tried what u said ..i made a jar for whole custom content povider and imported to my second application but got java.lang.NoClassDefFoundError:com.mypack.android.mycontentprovider.MyProvider what might be the cause? Thanks u -- You received this message because you are

[android-developers] Re: No View key event called back when BACK key is pressed while IME is shown?

2010-03-11 Thread mariush
Did you solve this? Anyone knows solution to this problem? On 8 Lut, 19:35, jamesc jame...@gmail.com wrote: If theBACKbutton is pressed when the soft keyboard is being displayed, noBACKkeycode event is generated (when it's not shown, andBACKis pressed, then my View's onKeyDown()/onKeyUp()

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-11 Thread Thomas Riley
I got the emails in the early hours of the morning (UK) so I guess they are being sent from mountain view time. On Mar 11, 10:12 am, Arnon arnonse...@gmail.com wrote: Does anyone (that got the confirmation mail) know what hours are they working? are they in European time or US time ? (To know

[android-developers] Re: Questions to comic contents developer

2010-03-11 Thread Yahel
It's a tough but interesting one. I think Bob is right. If your content can be consumed in less than the 24 hours cancellation policy, then you have to rethink your app, not necessarily your content. Make your app the comic store and not the comic and fill it with new comics on a weekly-monthly

[android-developers] Re: reply soon

2010-03-11 Thread Yahel
Hi, Mike is right, you need to be more specific. Take a look at WebViews or depending on what you want to do at the org.apache.http package. http://groups.google.com/group/android-beginners/browse_thread/thread/6db38705d3530769 Yahel On 10 mar, 11:21, student alsharewit...@gmail.com wrote:

[android-developers] Re: How to reset the price of application

2010-03-11 Thread Yahel
Yep, no more development on android market.  It is perfect how it is. Now we can go see a movie. I begin to understand why politics must never joke or actually say something significant. As an Android framework engineer, you do know every word that comes out of you will be torn and shredded

[android-developers] Re: How to reset the price of application

2010-03-11 Thread Carlo
Ohh do i ? :P Well, i recognize that you really had a nasty experience, i guess you did not get any warning like if you set the price of this application to free then you won't be able to revert it to its original price or something similar ? If not, maybe this kind of warning should be

[android-developers] Re: Query Loop!?

2010-03-11 Thread James Wang
Sorry, how about SQLiteDatabase.rowQuery? -- 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] Unit Testing : Who uses it ?

2010-03-11 Thread Yahel
Hi everyone, Not really Android specific but : I've just read Bob Kern's answer to a vaillant 14 years old programmer who wants to write a game for Android. Bob's advice is good as always and he states : Learn how to test effectively. Use unit tests for as much of your system as you can. Go to

[android-developers] Re: updating app on android market using different name

2010-03-11 Thread Yahel
Hi, I believe only the package name have a significance. You can just change the name of your app (eg. /res/strings.xml/ appname), and resubmit it. Beside in the market you have a field for the AppName, which I believe is the name used when browsing the market. Anyway, the submit process won't

[android-developers] Re: How to launch YouTube with specified keywords?

2010-03-11 Thread Kumar Bibek
This works Intent intent = new Intent(Intent.ACTION_SEARCH); intent.setPackage(com.google.android.youtube); intent.putExtra(query, Android); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent); Thanks and Regards, Kumar Bibek. On Mar 11, 10:13 am, Kumar Bibek

Re: 答复: 答复: [android-developers] Where is th e source project location of YouTube in Eclair?

2010-03-11 Thread Kumar Bibek
This works Intent intent = new Intent(Intent.ACTION_SEARCH); intent.setPackage(com.google.android.youtube); intent.putExtra(query, Android); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent); Thanks and Regards, Kumar Bibek. On Mar 11, 1:21 pm, David

[android-developers] Re: setting an icon in the application.

2010-03-11 Thread James Wang
Please download android source and study packages/apps/Launcher -- 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: How to launch YouTube with specified keywords?

2010-03-11 Thread Kumar Bibek
Check this link http://tech-droid.blogspot.com/2010/03/youtube-intent-for-search-in-android.html Thanks and Regards, Kumar Bibek On Mar 11, 5:01 pm, Kumar Bibek coomar@gmail.com wrote: This works Intent intent = new Intent(Intent.ACTION_SEARCH);

Re: 答复: 答复: [android-developers] Where is th e source project location of YouTube in Eclair?

2010-03-11 Thread Kumar Bibek
Check this link http://tech-droid.blogspot.com/2010/03/youtube-intent-for-search-in-android.html Thanks and Regards, Kumar Bibek On Mar 11, 5:01 pm, Kumar Bibek coomar@gmail.com wrote: This works Intent intent = new Intent(Intent.ACTION_SEARCH);

[android-developers] Re: updating app on android market using different name

2010-03-11 Thread Kumar Bibek
I think you can just make the change. It should work. Thanks and Regards, Kumar Bibek On Mar 11, 4:51 pm, Yahel kaye...@gmail.com wrote: Hi, I believe only the package name have a significance. You can just change the name of your app (eg. /res/strings.xml/ appname), and resubmit it.

[android-developers] Re: Remove attention box while activating softkeyboard

2010-03-11 Thread James Wang
I this it is there on purpose. Because you have made one IME and it can record user inputs. However, I did not take look at the android source. -- 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: Call processing

2010-03-11 Thread James Wang
I do not believe Android call BroadcastReceiver.onReceive synchronously. -- 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: Does eclair run on ADP2

2010-03-11 Thread Natanael Arndt
Am 10.03.10 18:39, schrieb Mike dg: There is not an official developer rom available. And I don't think you can build it yourself without massive modifications yet. (Could be wrong on that account) You should be able to find a handful of unofficial roms based on 2.0/2.1 that will run on an ADP2.

[android-developers] Re: Creating Simple Serial Output:

2010-03-11 Thread joshbeck
Thanks for the response. I've got an arduino board that has serial output via 4 pins. Pin 1: ground Pin 2: transmit Pin 3: Receive Pin 4: reset I plug a usb adapter into it and that allows me to upload code to the microprocessor and monitor the output locally. To answer your question: -I'm

[android-developers] How to use built in email application to send email from my application

2010-03-11 Thread Satish
Hello, I want is to automatically compose an e-mail with a subject line, recipient address and an image attachment, and an e-mail app should then pop up with this automatically composed message, to let the user decide whether to send, edit or discard the message. Thanks -- You

[android-developers] Re: Custom content provider(java.lang.VerifyError)

2010-03-11 Thread Musafir
hi grace i solved the issue and my custom content provider is working fine..but by importing content provider class to our application its more or similar to write content provider in same application..what my intentation is to create a content provider like contact content provider so it can be

[android-developers] Custom content provider(like contact content provider)

2010-03-11 Thread Musafir
hi friends, can anyone say how can i create a custom content provider like contact content provider? i know how to create custom content providers but i want to integarte to device such a way that it canbe accessed by all application installed in that device... Thanks and regards -- You

[android-developers] Re: Error adding a contact

2010-03-11 Thread LeGeNDuS
UP On 3 mar, 11:44, LeGeNDuS legen...@gmail.com wrote: Hello, I'm trying toadda contact on the phone memory. The code I'm using is:         ContentValues values = new ContentValues();         values.put(Contacts.People.NAME, Dummy Contact);         Uri myUri =

Re: [android-developers] Unit Testing : Who uses it ?

2010-03-11 Thread Ralf Schneider
Hi Yahel, Well, I'm programming since 25 Years in various languages. I have written demos for the demoscene on 8 and 16 bit Computers. Have written two small succesfull computer games. I have programmed as a freelances in different (big) companies. In my current job I'm still a developer by heart

[android-developers] Re: How to use built in email application to send email from my application

2010-03-11 Thread Kumar Bibek
Use this code. Intent intent = new Intent(Intent.ACTION_SENDTO); intent.setData(Uri.parse(mailto:t...@gmail.com;)); intent.putExtra(Intent.EXTRA_SUBJECT, Subject); intent.putExtra(Intent.EXTRA_TEXT, this is the body of the mail);

[android-developers] Re: AlarmManager on droids

2010-03-11 Thread mot12
I am the developer of Gentle Alarm and I can confirm that several phones have issues with the sleep mode and non-firing alarms. Unfortunately, there is no sure-fire way to reproduce this so I can't tell you do A, then B, and the alarm won't ring. It typically happens though if the device has been

Re: [android-developers] Re: Number of ratings decreased??

2010-03-11 Thread Justin Giles
Yeah, I noticed that, but it was just very strange that I lost 6 in one day when I hadn't lost any in 5 months. On Thu, Mar 11, 2010 at 12:08 AM, Farproc farp...@gmail.com wrote: Do you notice the Clear my review option menu of Market app? On Mar 11, 11:10 am, Justin jtgi...@gmail.com

[android-developers] What is the contract for constructing SlidingDrawer widget ?

2010-03-11 Thread Pavel Lahoda
I tried to construct SlidingDrawer widget programmatically, but had no luck. The JavaDoc says the constructor needs AttributeSet attrs parameter, which is a specified set of attributes defined in XML. I provided my own implementation of AttributeSet interface, with all the attributes mentioned in

Re: [android-developers] Re: Which API Level to target

2010-03-11 Thread TreKing
On Thu, Mar 11, 2010 at 2:12 AM, Dianne Hackborn hack...@android.comwrote: The most recent official version distribution (worldwide) is here: http://developer.android.com/resources/dashboard/platform-versions.html This is now over 2 months old and does not include 2.1. Are there any plans to

[android-developers] Invalid Task Affinity name ... must have at least one '.' separator

2010-03-11 Thread GDroid
One of my users failed to install my application, when checking the log this error is shown: Invalid taskAffinity name XXX in package XXX: must have at least one '.' separator Anyone seen this before? I've searched the SDK documentation and it doesn't mention anything like that.. Anyone can

[android-developers] Re: Custom content provider(java.lang.VerifyError)

2010-03-11 Thread Brion Emde
I think that if you do not enforce any permissions in your ContentProvider, it is, by default, open to all applications that know about it and wish to interact with it. On Mar 11, 5:50 am, Musafir musafir4frie...@gmail.com wrote: hi grace i solved the issue and my custom content provider is

[android-developers] Re: Custom content provider(like contact content provider)

2010-03-11 Thread Brion Emde
I think that if your content provider does not enforce any permissions, it is by default open to all applications. On Mar 11, 5:53 am, Musafir musafir4frie...@gmail.com wrote: hi friends, can anyone say how can i create a custom content provider like contact content provider? i know how to

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-11 Thread C.Versieux
Should I cry? Just have a look on what I get yesterday morning... So, no N1 for me :-( -- 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] using KeyguardManager for presenting unlock screen

2010-03-11 Thread devi prasad
Hi, In my application I want to use KeyguardManager to present the unlock screen at required places. I wrote the following code and tested it on Google IO phone (Android 1.6) and a Nexus One phone. Although this works decently on Nexus one, its behavior is odd at times. Sometimes the unlock screen

[android-developers] What phone to buy for development?

2010-03-11 Thread Natanael Arndt
Hello, I want to start developing an application for android and want to buy a phone for this task. But I don't really know, which one would be the best. I've heard of the ADP2 from Google, which is nearly the same as the HTC Magic. But what exactly are the differences? Is it possible to

Re: [android-developers] What phone to buy for development?

2010-03-11 Thread Mark Murphy
Natanael Arndt wrote: Hello, I want to start developing an application for android and want to buy a phone for this task. But I don't really know, which one would be the best. I've heard of the ADP2 from Google, which is nearly the same as the HTC Magic. But what exactly are the

Re: [android-developers] Re: How to use built in email application to send email from my application

2010-03-11 Thread $atish kolawale
Thanks for your reply Kumar, This code used but that action is not On Thu, Mar 11, 2010 at 6:28 PM, Kumar Bibek coomar@gmail.com wrote: Use this code. Intent intent = new Intent(Intent.ACTION_SENDTO); intent.setData(Uri.parse(mailto:t...@gmail.com;));

Re: [android-developers] Re: How to use built in email application to send email from my application

2010-03-11 Thread $atish kolawale
Thanks for your reply Kumar, This code used but error is that action is not currently supported Thanks Satish On Thu, Mar 11, 2010 at 6:28 PM, Kumar Bibek coomar@gmail.com wrote: Use this code. Intent intent = new Intent(Intent.ACTION_SENDTO);

Re: [android-developers] What phone to buy for development?

2010-03-11 Thread Justin Giles
Just wanted to chime in and say that before you go off and buy an actual device, I'd recommend using the emulator that comes with the SDK to get you started and make sure you enjoy developing for the platform. The emulator goes a long way and is nearly identical to testing on an actual device.

Re: [android-developers] Re: How to use built in email application to send email from my application

2010-03-11 Thread Mark Murphy
$atish kolawale wrote: Thanks for your reply Kumar, This code used but that action is not Try this: http://www.androidguys.com/2009/11/02/a-call-to-action-action_send-that-is/ -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in US:

[android-developers] Re: What phone to buy for development?

2010-03-11 Thread Natanael Arndt
Am 11.03.10 15:24, schrieb Mark Murphy: Natanael Arndt wrote: Hello, I want to start developing an application for android and want to buy a phone for this task. But I don't really know, which one would be the best. I've heard of the ADP2 from Google, which is nearly the same as the HTC Magic.

Re: [android-developers] Re: What phone to buy for development?

2010-03-11 Thread Mark Murphy
Natanael Arndt wrote: is it also possible to install an other Android version on a consumer phone, e.g the version from here[1] if I don't want the vodafone branding on the HTC Magic? Not usually. You can root some phones and install alternative firmware (e.g., OpenEclair.com). -- Mark

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-11 Thread ratson
what should that be? On márc. 11, 14:56, C.Versieux christophe.versi...@gmail.com wrote: Should I cry? Just have a look on what I get yesterday morning... So, no N1 for me :-( -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Service restarting for no reason?

2010-03-11 Thread DCheeseman
While debugging one of my apps (one that sits in the background and logs accelerometer data), I noticed that it would randomly and without any prompt reset itself. It would be running it's normal timer task and suddenly it would stop, the create function would be called and any running task would

[android-developers] Re: What phone to buy for development?

2010-03-11 Thread Natanael Arndt
Am 11.03.10 15:42, schrieb Mark Murphy: Natanael Arndt wrote: is it also possible to install an other Android version on a consumer phone, e.g the version from here[1] if I don't want the vodafone branding on the HTC Magic? Not usually. You can root some phones and install alternative

[android-developers] How to manage orientation dependent activities?

2010-03-11 Thread ailinykh
Hello, everybody! I have two activities, one per orientation - PortraitActivity and LandscapeActivity. They are pretty much different, I can't use one Activity with different layouts. If user changed orientation I have to shutdown one of them and start another. What is the best way to manage them?

[android-developers] Best practice for downloading a file - URLConnection, HttpClient, Intent, ...

2010-03-11 Thread westmeadboy
If an app needs to download some critical data (without the data it cannot function) of several MB, what is the best practice? The app would start, a prompt would be shown to confirm download, download would commence, and the user would be prevented from going further until the download

[android-developers] Re: android.speech.action.RECOGNIZE_SPEECH activity not found

2010-03-11 Thread Moto
You might have to download the speech recognition? I know google maps requires downloading voice app or something... On Feb 24, 4:34 am, Mukesh kumar mukesh.j...@gmail.com wrote: how the emulator get activity:   android.speech.action.RECOGNIZE_SPEECH when we use code : Intent intent = new

Re: [android-developers] Re: No View key event called back when BACK key is pressed while IME is shown?

2010-03-11 Thread Sean Hodges
I believe the back button event is intercepted by the keyboard app, so it knows to hide. Once focus is returned to your app, the event has already been processed. I'm not aware of any way to intercept the events of another app (like the soft keyboard). You could write your own keyboard app that

[android-developers] Re: How to reset the price of application

2010-03-11 Thread dadical
Grokking, parsing, compiling... Ahhh... the real question is which movie are we all going to see? How about a charming low-budget sci fi winner such as http://www.imdb.com/title/tt0083557/ ? That seems appropriate. On Mar 11, 12:57 am, Dianne Hackborn hack...@android.com wrote: On Wed, Mar

[android-developers] Supplying a different background drawable for a dialog?

2010-03-11 Thread Mark Wyszomierski
Hi, I'm trying to supply my own background drawable for a dialog. It works fine on 1.6+, on 1.5 though instead of a transparent dimmed background around the dialog, I just get opaque black. I defined the style like this in my styles.xml file: style name=CustomDlg

[android-developers] Re: No View key event called back when BACK key is pressed while IME is shown?

2010-03-11 Thread jamesc
It appears (the endBatchEdit() didn't work out) that the correct way has been stated before by Dianne: http://groups.google.com/group/android-developers/browse_thread/thread/9d1681a01f05e782 On Mar 11, 3:14 pm, Sean Hodges seanhodge...@googlemail.com wrote: I believe the back button event is

[android-developers] Re: Which API Level to target

2010-03-11 Thread jb
Thanks for the stats. Very helpful. jb On Mar 10, 9:00 pm, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: Check out one of my app's companion site: http://www.radarnow.net Click on the stats link. You'll see the percentage for each version, also the devices that are being used.

[android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-11 Thread webmonkey
The document provided by Adobe does not mention how you should read the returned Uri. For compatibility with future versions and other image editors, you should not assume that it is a 'file:' scheme Uri, it could also be a 'content:' scheme Uri. The ContentResolver will handle it. here is the

Re: [android-developers] Service restarting for no reason?

2010-03-11 Thread Mark Murphy
DCheeseman wrote: While debugging one of my apps (one that sits in the background and logs accelerometer data), I noticed that it would randomly and without any prompt reset itself. It would be running it's normal timer task and suddenly it would stop, the create function would be called and

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-11 Thread Arnon
Post the mail you got here On Mar 11, 3:56 pm, C.Versieux christophe.versi...@gmail.com wrote: Should I cry? Just have a look on what I get yesterday morning... So, no N1 for me :-( -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Windows Phone and XNA. Nightmare is real. What we do with that ?

2010-03-11 Thread Bob Kerns
This comment is perhaps a bit off your main topic, and I don't mean it to derail your efforts or to criticize. But I have a bit of a problem with your statement Java is just too slow..., taken as a general statement. Perhaps you have benchmark data showing specific performance problems, and found

[android-developers] G1 Upgrade to 1.6???

2010-03-11 Thread Rud
Somewhat off topic since it isn't development per se, but this group is most knowledgeable on Android. Yesterday my G1 upgraded to version 1.6. Now I am pretty sure that it did this last fall when the official release occurred. Did anyone else see this upgrade? I may be having problems with my

[android-developers] Re: Possible to Detect if OnResume is because Back button was hit?

2010-03-11 Thread Sam
A) I do some logging of information if a user goes back to a page from a back button versus some other way of accessing the page. B) I had tried the startActivityForResults but was curious what other way people have done it. On Mar 11, 12:02 am, TreKing treking...@gmail.com wrote: On Wed, Mar

[android-developers] Anyway to detect if Broadcast Receiver is registered?

2010-03-11 Thread Sam
Hi, I'm using more than 1 instance of MapActivity in an application that look different from each other. I'm running into an issue sometimes when leaving a MapActivity doesn't unregister it's BroadcastReceiver and going Back to resume the MapActivity page it tries to re-register the receiver

[android-developers] Android Market updating in error

2010-03-11 Thread Ken H
Has anyone had users complain that their app is being updated too much? I issued an update to one of my apps January 17th, and saw a comment from a user a couple days ago complaining that he gets update notifications every week. I had this complaint a couple months back but just ignored it. Just

[android-developers] Re: to get/generate nonce. error in random, getBytes Options

2010-03-11 Thread Bob Kerns
The author meant to say 'nextBytes(byte[])' instead of 'getBytes(byte[])' It's called nextBytes instead of getBytes because you can call it repeatedly, getting additional random bytes each time. On Mar 8, 6:19 pm, sebby zml sebby@gmail.com wrote: thanks a lot for letting me know that the

Re: [android-developers] Re: No View key event called back when BACK key is pressed while IME is shown?

2010-03-11 Thread Sean Hodges
And is that the approach you are planning to go for? On Thu, Mar 11, 2010 at 3:38 PM, jamesc jame...@gmail.com wrote: It appears (the endBatchEdit() didn't work out) that the correct way has been stated before by Dianne:

[android-developers] Re: Android Market updating in error

2010-03-11 Thread Michael
I got a user leave a comment saying that he has uninstalled my app and is still getting update notifications for it. I think I also got my own app to repeadly prompt to be updated on my own phone when it was intstalled through the market, but this may have been it getting confused with version

Re: [android-developers] Market apps Ranking rules

2010-03-11 Thread Joshua Frank
I hope it doesn't have anything to do with active installs. One of my paid apps active user stats dropped by over a 1000 users in one day on December 18th because of Google losing the market stats. It's been 3 months now and they still have not restored them. On Wed, Mar 10, 2010 at 6:12 AM,

[android-developers] Re: android.speech.action.RECOGNIZE_SPEECH activity not found

2010-03-11 Thread John
You should probably be adding some code to verify if the speech recognition library is available on the device. Generally this is a good practice for any external intent. Here is a code segment that can help you out. // Check to see if a recognition activity is present PackageManager

[android-developers] Re: What phone to buy for development?

2010-03-11 Thread Yahel
Just to add a nuance here, any phone will do but some are noticibly more prone to weird behaviors like the Motorola Droid for example which for a lot of us is a nightmare but is one of the most used in the US according to the statistics of Radar Now. So I'm not sure how to handle that, you should

Re: [android-developers] How to manage orientation dependent activities?

2010-03-11 Thread TreKing
On Thu, Mar 11, 2010 at 9:02 AM, ailinykh ailin...@gmail.com wrote: I have two activities, one per orientation Why? Haven't played with it myself yet, but I'm pretty sure you can create two different layouts for each orientation that will automatically be set for you based on the orientation.

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-11 Thread f_heft
I don't get it ... ?! On 11 Mrz., 14:56, C.Versieux christophe.versi...@gmail.com wrote: Should I cry? Just have a look on what I get yesterday morning... So, no N1 for me :-( -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: What is the deal with the android: namespace?

2010-03-11 Thread Bob Kerns
Well, he and I could have a fine discussion sometime. But the key thing is that he managed to navigate the whole standards morass and come out the other side with a standard which is both extremely widely adopted and extensible enough to survive into the future. Given the difficulties of doing

  1   2   3   >