[android-developers] Re: Android Source Code Now Available
Maps is not a part of the platform, it is Google's own code. This is why it is considered to be an optional part of the platform -- since the source is not open, we can not guarantee it will be on every phone. In the future we should make a stronger distinction between the platform code and proprietary things like the maps API; these have been separated in the docs since the start, but that is probably not enough. (And the open sourcing of the code is going to force this too, since the standard docs are built from the source, and there is no source for the maps APIs.) On Oct 22, 11:35 pm, "Zhihong GUO" <[EMAIL PROTECTED]> wrote: > So where is the maps code in sdk package com.google.android.maps ? > > 2008/10/23 Romain Guy <[EMAIL PROTECTED]> > > > > > The Maps application is not open sourced. > > > On Wed, Oct 22, 2008 at 11:22 PM, Zhihong GUO <[EMAIL PROTECTED]> wrote: > > > can anyone tell me where is the maps source code? > > > > 2008/10/21 Al Sutton <[EMAIL PROTECTED]> > > > >>http://source.android.com/ > > > >> For those that missed the announcements. > > > >> Al. > > >>http://andappstore.com/ > > > -- > > Romain Guy > >www.curious-creature.org --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: What's the Cost ??
I don't understand the $400 deal though - You can buy the phone itself for $400 but without a plan? Then how would you get any data service? I'd like to buy a phone + just a data plan, is that possible? Thanks On Oct 23, 12:58 am, Mast3rpyr0 <[EMAIL PROTECTED]> wrote: > its still locked to t-mobile tho.. > > On Oct 23, 12:54 am, Easan <[EMAIL PROTECTED]> wrote: > > > If you can find a store with inventory they will sell you one for $399 > > without a contract. If they have to ship it to you, they only sell with > > contract. T mobile will unlock the phone if you call customer service after > > 90 days. > > > Or you can buy this one right now: > > >http://cgi.ebay.com/New-G1-Tmobile-Unlocked_W0QQitemZ250310678463QQcm...66%3A2|65%3A12|240%3A1308&_trksid=p3286.c0.m14 > > > I am interested in the mechanism of the upload of our programs to the G1 > > > On Wed, Oct 22, 2008 at 9:41 PM, Rob Franz <[EMAIL PROTECTED]> wrote: > > > -$179 for 2 yr contract > > > -$200 (I think - if not it's $150) for early termination fee of the > > > contract-$399 retail > > > > Question here is whether the phone comes unlocked or not? > > > > On Thu, Oct 23, 2008 at 12:02 AM, Pulkit Arora <[EMAIL PROTECTED]>wrote: > > > >> Ohkk.. Thank you so much Josh.. :-) > > > >> On Thu, Oct 23, 2008 at 9:28 AM, Josh Roesslein <[EMAIL PROTECTED]>wrote: > > > >>> I believe the $179 is the price if you sign the 2 yr contract. > > >>> If you don't plan on keeping the 2yr contract it's probably going to > > >>> cost > > >>> you more > > >>> to terminate the contract then it would to just pay the full $399. > > > >>> On Wed, Oct 22, 2008 at 10:56 PM, Pulkit Arora <[EMAIL PROTECTED]>wrote: > > > Hi, > > Can anyone please tell me how much does the G1 cost, if i want to buy > > it for some other carrier ?? On the site, it says, $399 - $220 = $179 > > { as an instant discount, or the subsidization }. > > Can i buy the phone for $399 and use it with AT&T ? > > Also, what is the cost of breaking the 2 year contract ?? > > > >> -- > > >> Pulkit Arora > > > --http://www.easankatir.com/ --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: is voip a nightmare on android?
I'd just like to point out in a friendly manner that non-carrier- requiring VOIP apps have been said to be restricted from the Android Marketplace. (afaik, iSkoot is being touted as VOIP, but requires utilization of voice and data plan of a carrier to get hooked into Skype's voip system... ie 'normal carrier charges apply') http://blog.wired.com/business/2008/09/three-years-and.html article quote: '[they] "worked with Google" to make sure Android couldn't run VOIP' I'm not sure about distribution outside the marketplace, and I'm generally not an expert. This is mostly my impression, so others, please correct where I'm wrong. Cheers! On Oct 18, 1:21 am, gs_cmans <[EMAIL PROTECTED]> wrote: > hi >i am new to android platform. i am interested in porting ourvoip > client application to Android. But i am wondering about the technical > feasibility with Android(as OHA having given up on developers making > performance intensive apps by making Java as language for SDK). > > We face issues on Blackberry platform on this. > > afaik there is no commercial software codec[duplex capable] seems to > be available for java mobile sdks. We were talking to companies who > specialise in audio codec stuff, and they seems to have given up the > effort in developing java codecs for devices. > > a. what are the codecs that comes along on the onboard dsp codec? > b. and do we have acces to hardware codec with recorder/player > interface? > c. does sdk apis support full duplex audio? [remember blackberry > public apis has problem with this] > > as G1 doesn't yet support calls on gtalk and no onboard SIP stack we > are worried whether the usual NT-op catch will be there on android > platform too; !!!if its the case i promise its gonna be a dump > platform just pretending to be developer friendly.!!! > > regs > -g --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Source Code Now Available
It is not available. Like I said, the Maps application is not Open Sourced. On Wed, Oct 22, 2008 at 11:35 PM, Zhihong GUO <[EMAIL PROTECTED]> wrote: > So where is the maps code in sdk package com.google.android.maps ? > > 2008/10/23 Romain Guy <[EMAIL PROTECTED]> >> >> The Maps application is not open sourced. >> >> On Wed, Oct 22, 2008 at 11:22 PM, Zhihong GUO <[EMAIL PROTECTED]> wrote: >> > can anyone tell me where is the maps source code? >> > >> > 2008/10/21 Al Sutton <[EMAIL PROTECTED]> >> >> >> >> http://source.android.com/ >> >> >> >> For those that missed the announcements. >> >> >> >> Al. >> >> http://andappstore.com/ >> >> >> >> >> > >> > >> > > >> > >> >> >> >> -- >> Romain Guy >> www.curious-creature.org >> >> > > > > > -- Romain Guy www.curious-creature.org --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Source Code Now Available
So where is the maps code in sdk package com.google.android.maps ? 2008/10/23 Romain Guy <[EMAIL PROTECTED]> > > The Maps application is not open sourced. > > On Wed, Oct 22, 2008 at 11:22 PM, Zhihong GUO <[EMAIL PROTECTED]> wrote: > > can anyone tell me where is the maps source code? > > > > 2008/10/21 Al Sutton <[EMAIL PROTECTED]> > >> > >> http://source.android.com/ > >> > >> For those that missed the announcements. > >> > >> Al. > >> http://andappstore.com/ > >> > >> > > > > > > > > > > > > > -- > Romain Guy > www.curious-creature.org > > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Source Code Now Available
The Maps application is not open sourced. On Wed, Oct 22, 2008 at 11:22 PM, Zhihong GUO <[EMAIL PROTECTED]> wrote: > can anyone tell me where is the maps source code? > > 2008/10/21 Al Sutton <[EMAIL PROTECTED]> >> >> http://source.android.com/ >> >> For those that missed the announcements. >> >> Al. >> http://andappstore.com/ >> >> > > > > > -- Romain Guy www.curious-creature.org --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Source Code Now Available
can anyone tell me where is the maps source code? 2008/10/21 Al Sutton <[EMAIL PROTECTED]> > > http://source.android.com/ > > For those that missed the announcements. > > Al. > http://andappstore.com/ > > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: What's the Cost ??
Yeah I am confused on this too. I'm already an iPhone user, but I wanted to just get a GPhone to test my Android app. So I'd be one for $00 with no TMobile plan, then unlock it somehow - then can I use my AT&T data plan? Or if the thing has wifi that's good enough for me. On Oct 23, 2:13 am, "Pulkit Arora" <[EMAIL PROTECTED]> wrote: > Ohkk, I wanted to use the phone in INDIA. So i need an unlocked G1. Will > they be providing the UNLOCKED phone @ $399 , if i buy from the store ?? > > On Thu, Oct 23, 2008 at 11:34 AM, Mark Wyszomierski <[EMAIL PROTECTED]>wrote: > > > > > > > I don't understand the $400 deal though - > > > You can buy the phone itself for $400 but without a plan? Then how > > would you get any data service? > > > I'd like to buy a phone + just a data plan, is that possible? > > > Thanks > > > On Oct 23, 12:58 am, Mast3rpyr0 <[EMAIL PROTECTED]> wrote: > > > its still locked to t-mobile tho.. > > > > On Oct 23, 12:54 am, Easan <[EMAIL PROTECTED]> wrote: > > > > > If you can find a store with inventory they will sell you one for $399 > > > > without a contract. If they have to ship it to you, they only sell > > with > > > > contract. T mobile will unlock the phone if you call customer service > > after > > > > 90 days. > > > > > Or you can buy this one right now: > > >http://cgi.ebay.com/New-G1-Tmobile-Unlocked_W0QQitemZ250310678463QQcm...65%3A12|240%3A1308&_trksid=p3286.c0.m14 > > > > > I am interested in the mechanism of the upload of our programs to the > > G1 > > > > > On Wed, Oct 22, 2008 at 9:41 PM, Rob Franz <[EMAIL PROTECTED]> > > wrote: > > > > > -$179 for 2 yr contract > > > > > -$200 (I think - if not it's $150) for early termination fee of the > > > > > contract-$399 retail > > > > > > Question here is whether the phone comes unlocked or not? > > > > > > On Thu, Oct 23, 2008 at 12:02 AM, Pulkit Arora <[EMAIL PROTECTED] > > >wrote: > > > > > >> Ohkk.. Thank you so much Josh.. :-) > > > > > >> On Thu, Oct 23, 2008 at 9:28 AM, Josh Roesslein < > > [EMAIL PROTECTED]>wrote: > > > > > >>> I believe the $179 is the price if you sign the 2 yr contract. > > > > >>> If you don't plan on keeping the 2yr contract it's probably going > > to cost > > > > >>> you more > > > > >>> to terminate the contract then it would to just pay the full $399. > > > > > >>> On Wed, Oct 22, 2008 at 10:56 PM, Pulkit Arora < > > [EMAIL PROTECTED]>wrote: > > > > > Hi, > > > > Can anyone please tell me how much does the G1 cost, if i want to > > buy > > > > it for some other carrier ?? On the site, it says, $399 - $220 = > > $179 > > > > { as an instant discount, or the subsidization }. > > > > Can i buy the phone for $399 and use it with AT&T ? > > > > Also, what is the cost of breaking the 2 year contract ?? > > > > > >> -- > > > > >> Pulkit Arora > > > > > --http://www.easankatir.com/ > > -- > Pulkit Arora --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: What's the Cost ??
Ohkk, I wanted to use the phone in INDIA. So i need an unlocked G1. Will they be providing the UNLOCKED phone @ $399 , if i buy from the store ?? On Thu, Oct 23, 2008 at 11:34 AM, Mark Wyszomierski <[EMAIL PROTECTED]>wrote: > > I don't understand the $400 deal though - > > You can buy the phone itself for $400 but without a plan? Then how > would you get any data service? > > I'd like to buy a phone + just a data plan, is that possible? > > Thanks > > On Oct 23, 12:58 am, Mast3rpyr0 <[EMAIL PROTECTED]> wrote: > > its still locked to t-mobile tho.. > > > > On Oct 23, 12:54 am, Easan <[EMAIL PROTECTED]> wrote: > > > > > If you can find a store with inventory they will sell you one for $399 > > > without a contract. If they have to ship it to you, they only sell > with > > > contract. T mobile will unlock the phone if you call customer service > after > > > 90 days. > > > > > Or you can buy this one right now: > > > > > > http://cgi.ebay.com/New-G1-Tmobile-Unlocked_W0QQitemZ250310678463QQcm...66%3A2|65%3A12|240%3A1308&_trksid=p3286.c0.m14 > > > > > I am interested in the mechanism of the upload of our programs to the > G1 > > > > > On Wed, Oct 22, 2008 at 9:41 PM, Rob Franz <[EMAIL PROTECTED]> > wrote: > > > > -$179 for 2 yr contract > > > > -$200 (I think - if not it's $150) for early termination fee of the > > > > contract-$399 retail > > > > > > Question here is whether the phone comes unlocked or not? > > > > > > On Thu, Oct 23, 2008 at 12:02 AM, Pulkit Arora <[EMAIL PROTECTED] > >wrote: > > > > > >> Ohkk.. Thank you so much Josh.. :-) > > > > > >> On Thu, Oct 23, 2008 at 9:28 AM, Josh Roesslein < > [EMAIL PROTECTED]>wrote: > > > > > >>> I believe the $179 is the price if you sign the 2 yr contract. > > > >>> If you don't plan on keeping the 2yr contract it's probably going > to cost > > > >>> you more > > > >>> to terminate the contract then it would to just pay the full $399. > > > > > >>> On Wed, Oct 22, 2008 at 10:56 PM, Pulkit Arora < > [EMAIL PROTECTED]>wrote: > > > > > Hi, > > > Can anyone please tell me how much does the G1 cost, if i want to > buy > > > it for some other carrier ?? On the site, it says, $399 - $220 = > $179 > > > { as an instant discount, or the subsidization }. > > > Can i buy the phone for $399 and use it with AT&T ? > > > Also, what is the cost of breaking the 2 year contract ?? > > > > > >> -- > > > >> Pulkit Arora > > > > > --http://www.easankatir.com/ > > > -- Pulkit Arora --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: RingTone Picker in Rings Extend application
We're working on better documenting the possible intents. We deliberately don't put everything in the Intent class because that is just not scalable. On Oct 22, 7:52 pm, Arron <[EMAIL PROTECTED]> wrote: > thanks. it's kinda strange that the RingTonePicker intent is placed > in a totally different class. It's hard to find all of them this > way. Is there a location that lists all of them? > > but ya now everything makes sense. > > On Oct 23, 2:19 am, hackbod <[EMAIL PROTECTED]> wrote: > > > On Oct 22, 5:47 pm, Arron <[EMAIL PROTECTED]> wrote: > > > > Sorry I am still a novice at this but I don't understand how the Rings > > > Extend application is able to use the intent > > > "android.intent.action.RINGTONE_PICKER" to intercept picking > > > ringtones. I don't see that intent anywhere in the released SDK > > > documentation. > > >http://code.google.com/android/reference/android/media/RingtoneManage... > > > > Is that a hidden intent? Am I completely misunderstanding this? > > > Looking at the list of intents and the intent class, I don't see many > > > intents to replace or add to core functionality of the phone. > > > The Intent class only lists the generic Android platform intents. > > Subsystem- and application-specific intents are associated with those > > pieces of code. > > > > Like how was the Home Sweet Home application able to replace the Home > > > screen? Which intent did it register to? > > > This is a system level Intent: > > >http://code.google.com/android/reference/android/content/Intent.html#... --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: onActivityResult failing to fire
You'll receive the result immediately prior to onResume(). On Oct 22, 7:41 pm, Alvin Yates <[EMAIL PROTECTED]> wrote: > Under what conditions is onActivityResult() supposed to be called? > I'm trying to debug this issue I am having with my app which is a > normal "press button to save and return" thing and it seems like that > never happens. For example: > > Activity sequence: A -> B -> C. Each app goes to the new one by > startActivityForResult(thisActivity, nextActivity.class) on a button > press. > > I'm trying to make C such that saving data on C sends me to A, then to > another activity. What instead happens is when I "setResult()/ > finish()", the onActivityResult for B is completely ignored. I feel > like it's something simple I'm missing, but don't see what it is at > all. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: onSaveInstanceState / onRestoreInstanceState Called on First Application Run
I don't know enough to help, but you can use this to see what is happening with activities in the system: adb logcat -b events Also try this to see the activities stacks (at the top, followed by a bunch of process information that will require you to scroll back in the terminal to find the activity info); adb shell dumpsys activity On Oct 22, 7:26 pm, Mark Hansen <[EMAIL PROTECTED]> wrote: > Fast day today.. hoping someone else might know about this? > > Mark > > On Oct 22, 10:10 am, Mark Hansen <[EMAIL PROTECTED]> wrote: > > > I'm not sure if this is intended or not, but I had some compalints > > from users about my application failing on the first run after the > > install. > > > After wiping the data on the emulator I notice when I debug that > > onRestoreInstanceState and onSaveInstanceState are called. This is > > not the case when an application is already installed. > > > Can someone shed some light on why this happens? Is it initializing > > something, perhaps default values from my preferences? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Attaching the Eclipse debugger to actual device
I've put together a list of instructions to debug from eclipse right on the G1 (for Windows): > http://href.to/eIM Regards, plusminus http://anddev.org # Worlds largest Android Development Community / Tutorials On 23 Okt., 01:35, marstein <[EMAIL PROTECTED]> wrote: > Great news - thanks! It works on my Vista machine. Installed, > restarted and bingo. That means I can start programs. Debugging does > not seem to work. The G1 displays a message "Waiting for Debugger" and > it keeps waiting for a long time. Nothing happens. I am trying to run > the Sudoku example from the Practical Programmers upcoming "Hello > Android" book. It debugs in the emulator. > > The console is saying: > [2008-10-22 22:31:11 - Sodoku] Android Launch! > [2008-10-22 22:31:11 - Sodoku] adb is running normally. > [2008-10-22 22:31:11 - Sodoku] Launching: org.example.sudoku.Sudoku > [2008-10-22 22:31:11 - Sodoku] Automatic Target Mode: using existing > device: HT840GZ04945 > [2008-10-22 22:31:11 - Sodoku] Uploading Sodoku.apk onto device > 'HT840GZ04945' > [2008-10-22 22:31:11 - Sodoku] Installing Sodoku.apk... > [2008-10-22 22:31:13 - Sodoku] Application already exists. Attempting > to re-install instead... > [2008-10-22 22:31:15 - Sodoku] Success! > [2008-10-22 22:31:15 - Sodoku] Starting activity > org.example.sudoku.Sudoku on device > [2008-10-22 22:31:17 - Sodoku] ActivityManager: Starting: Intent > { comp={org.example.sudoku/org.example.sudoku.Sudoku} } > > The log is saying: > 10-22 22:31:18.371: DEBUG/PackageManager(58): New package installed > in /data/app/org.example.sudoku.apk > 10-22 22:31:18.571: DEBUG/AndroidRuntime(3815): Shutting down VM > 10-22 22:31:18.571: DEBUG/dalvikvm(3815): DestroyJavaVM waiting for > non-daemon threads to exit > 10-22 22:31:18.591: INFO/dalvikvm(3815): DestroyJavaVM shutting VM > down > 10-22 22:31:18.591: ERROR/AndroidRuntime(3815): ERROR: thread attach > failed > 10-22 22:31:18.591: DEBUG/dalvikvm(3815): HeapWorker thread shutting > down > 10-22 22:31:18.591: DEBUG/dalvikvm(3815): HeapWorker thread has shut > down > 10-22 22:31:18.591: DEBUG/jdwp(3815): JDWP shutting down net... > 10-22 22:31:18.591: DEBUG/jdwp(3815): +++ peer disconnected > 10-22 22:31:18.591: INFO/dalvikvm(3815): Debugger has detached; object > registry had 1 entries > 10-22 22:31:18.601: DEBUG/dalvikvm(3815): VM cleaning up > 10-22 22:31:18.631: DEBUG/ActivityManager(58): Uninstalling process > org.example.sudoku > 10-22 22:31:18.641: DEBUG/dalvikvm(3815): LinearAlloc 0x0 used 529492 > of 4194304 (12%) > 10-22 22:31:19.291: DEBUG/dalvikvm(58): GC freed 6521 objects / 306912 > bytes in 332ms > 10-22 22:31:19.371: DEBUG/AndroidRuntime(3827): >> > AndroidRuntime START << > 10-22 22:31:19.371: DEBUG/AndroidRuntime(3827): CheckJNI is OFF > 10-22 22:31:19.621: DEBUG/dalvikvm(131): GC freed 516 objects / 30064 > bytes in 317ms > 10-22 22:31:19.771: DEBUG/AndroidRuntime(3827): --- registering native > functions --- > 10-22 22:31:19.791: INFO/jdwp(3827): received file descriptor 16 from > ADB > 10-22 22:31:20.671: DEBUG/ActivityManager(58): Uninstalling process > org.example.sudoku > 10-22 22:31:20.681: INFO/ActivityManager(58): Starting activity: > Intent { flags=0x1000 comp={org.example.sudoku/ > org.example.sudoku.Sudoku} } > 10-22 22:31:20.731: DEBUG/AndroidRuntime(3827): Shutting down VM > 10-22 22:31:20.731: DEBUG/dalvikvm(3827): DestroyJavaVM waiting for > non-daemon threads to exit > 10-22 22:31:20.761: INFO/dalvikvm(3827): DestroyJavaVM shutting VM > down > 10-22 22:31:20.771: ERROR/AndroidRuntime(3827): ERROR: thread attach > failed > 10-22 22:31:20.771: DEBUG/dalvikvm(3827): HeapWorker thread shutting > down > > On Oct 22, 12:02 pm, "Xavier Ducrohet" <[EMAIL PROTECTED]> wrote: > > > We just updated the documentation. > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Attaching the Eclipse debugger to actual device
You have to add android:debuggable="true" to the tag in your AndroidManifest.xml. On Wed, Oct 22, 2008 at 10:35 PM, marstein <[EMAIL PROTECTED]> wrote: > > Great news - thanks! It works on my Vista machine. Installed, > restarted and bingo. That means I can start programs. Debugging does > not seem to work. The G1 displays a message "Waiting for Debugger" and > it keeps waiting for a long time. Nothing happens. I am trying to run > the Sudoku example from the Practical Programmers upcoming "Hello > Android" book. It debugs in the emulator. > > The console is saying: > [2008-10-22 22:31:11 - Sodoku] Android Launch! > [2008-10-22 22:31:11 - Sodoku] adb is running normally. > [2008-10-22 22:31:11 - Sodoku] Launching: org.example.sudoku.Sudoku > [2008-10-22 22:31:11 - Sodoku] Automatic Target Mode: using existing > device: HT840GZ04945 > [2008-10-22 22:31:11 - Sodoku] Uploading Sodoku.apk onto device > 'HT840GZ04945' > [2008-10-22 22:31:11 - Sodoku] Installing Sodoku.apk... > [2008-10-22 22:31:13 - Sodoku] Application already exists. Attempting > to re-install instead... > [2008-10-22 22:31:15 - Sodoku] Success! > [2008-10-22 22:31:15 - Sodoku] Starting activity > org.example.sudoku.Sudoku on device > [2008-10-22 22:31:17 - Sodoku] ActivityManager: Starting: Intent > { comp={org.example.sudoku/org.example.sudoku.Sudoku} } > > > The log is saying: > 10-22 22:31:18.371: DEBUG/PackageManager(58): New package installed > in /data/app/org.example.sudoku.apk > 10-22 22:31:18.571: DEBUG/AndroidRuntime(3815): Shutting down VM > 10-22 22:31:18.571: DEBUG/dalvikvm(3815): DestroyJavaVM waiting for > non-daemon threads to exit > 10-22 22:31:18.591: INFO/dalvikvm(3815): DestroyJavaVM shutting VM > down > 10-22 22:31:18.591: ERROR/AndroidRuntime(3815): ERROR: thread attach > failed > 10-22 22:31:18.591: DEBUG/dalvikvm(3815): HeapWorker thread shutting > down > 10-22 22:31:18.591: DEBUG/dalvikvm(3815): HeapWorker thread has shut > down > 10-22 22:31:18.591: DEBUG/jdwp(3815): JDWP shutting down net... > 10-22 22:31:18.591: DEBUG/jdwp(3815): +++ peer disconnected > 10-22 22:31:18.591: INFO/dalvikvm(3815): Debugger has detached; object > registry had 1 entries > 10-22 22:31:18.601: DEBUG/dalvikvm(3815): VM cleaning up > 10-22 22:31:18.631: DEBUG/ActivityManager(58): Uninstalling process > org.example.sudoku > 10-22 22:31:18.641: DEBUG/dalvikvm(3815): LinearAlloc 0x0 used 529492 > of 4194304 (12%) > 10-22 22:31:19.291: DEBUG/dalvikvm(58): GC freed 6521 objects / 306912 > bytes in 332ms > 10-22 22:31:19.371: DEBUG/AndroidRuntime(3827): >> > AndroidRuntime START << > 10-22 22:31:19.371: DEBUG/AndroidRuntime(3827): CheckJNI is OFF > 10-22 22:31:19.621: DEBUG/dalvikvm(131): GC freed 516 objects / 30064 > bytes in 317ms > 10-22 22:31:19.771: DEBUG/AndroidRuntime(3827): --- registering native > functions --- > 10-22 22:31:19.791: INFO/jdwp(3827): received file descriptor 16 from > ADB > 10-22 22:31:20.671: DEBUG/ActivityManager(58): Uninstalling process > org.example.sudoku > 10-22 22:31:20.681: INFO/ActivityManager(58): Starting activity: > Intent { flags=0x1000 comp={org.example.sudoku/ > org.example.sudoku.Sudoku} } > 10-22 22:31:20.731: DEBUG/AndroidRuntime(3827): Shutting down VM > 10-22 22:31:20.731: DEBUG/dalvikvm(3827): DestroyJavaVM waiting for > non-daemon threads to exit > 10-22 22:31:20.761: INFO/dalvikvm(3827): DestroyJavaVM shutting VM > down > 10-22 22:31:20.771: ERROR/AndroidRuntime(3827): ERROR: thread attach > failed > 10-22 22:31:20.771: DEBUG/dalvikvm(3827): HeapWorker thread shutting > down > > > > On Oct 22, 12:02 pm, "Xavier Ducrohet" <[EMAIL PROTECTED]> wrote: >> We just updated the documentation. > > > > -- Romain Guy www.curious-creature.org --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Attaching the Eclipse debugger to actual device
Great news - thanks! It works on my Vista machine. Installed, restarted and bingo. That means I can start programs. Debugging does not seem to work. The G1 displays a message "Waiting for Debugger" and it keeps waiting for a long time. Nothing happens. I am trying to run the Sudoku example from the Practical Programmers upcoming "Hello Android" book. It debugs in the emulator. The console is saying: [2008-10-22 22:31:11 - Sodoku] Android Launch! [2008-10-22 22:31:11 - Sodoku] adb is running normally. [2008-10-22 22:31:11 - Sodoku] Launching: org.example.sudoku.Sudoku [2008-10-22 22:31:11 - Sodoku] Automatic Target Mode: using existing device: HT840GZ04945 [2008-10-22 22:31:11 - Sodoku] Uploading Sodoku.apk onto device 'HT840GZ04945' [2008-10-22 22:31:11 - Sodoku] Installing Sodoku.apk... [2008-10-22 22:31:13 - Sodoku] Application already exists. Attempting to re-install instead... [2008-10-22 22:31:15 - Sodoku] Success! [2008-10-22 22:31:15 - Sodoku] Starting activity org.example.sudoku.Sudoku on device [2008-10-22 22:31:17 - Sodoku] ActivityManager: Starting: Intent { comp={org.example.sudoku/org.example.sudoku.Sudoku} } The log is saying: 10-22 22:31:18.371: DEBUG/PackageManager(58): New package installed in /data/app/org.example.sudoku.apk 10-22 22:31:18.571: DEBUG/AndroidRuntime(3815): Shutting down VM 10-22 22:31:18.571: DEBUG/dalvikvm(3815): DestroyJavaVM waiting for non-daemon threads to exit 10-22 22:31:18.591: INFO/dalvikvm(3815): DestroyJavaVM shutting VM down 10-22 22:31:18.591: ERROR/AndroidRuntime(3815): ERROR: thread attach failed 10-22 22:31:18.591: DEBUG/dalvikvm(3815): HeapWorker thread shutting down 10-22 22:31:18.591: DEBUG/dalvikvm(3815): HeapWorker thread has shut down 10-22 22:31:18.591: DEBUG/jdwp(3815): JDWP shutting down net... 10-22 22:31:18.591: DEBUG/jdwp(3815): +++ peer disconnected 10-22 22:31:18.591: INFO/dalvikvm(3815): Debugger has detached; object registry had 1 entries 10-22 22:31:18.601: DEBUG/dalvikvm(3815): VM cleaning up 10-22 22:31:18.631: DEBUG/ActivityManager(58): Uninstalling process org.example.sudoku 10-22 22:31:18.641: DEBUG/dalvikvm(3815): LinearAlloc 0x0 used 529492 of 4194304 (12%) 10-22 22:31:19.291: DEBUG/dalvikvm(58): GC freed 6521 objects / 306912 bytes in 332ms 10-22 22:31:19.371: DEBUG/AndroidRuntime(3827): >> AndroidRuntime START << 10-22 22:31:19.371: DEBUG/AndroidRuntime(3827): CheckJNI is OFF 10-22 22:31:19.621: DEBUG/dalvikvm(131): GC freed 516 objects / 30064 bytes in 317ms 10-22 22:31:19.771: DEBUG/AndroidRuntime(3827): --- registering native functions --- 10-22 22:31:19.791: INFO/jdwp(3827): received file descriptor 16 from ADB 10-22 22:31:20.671: DEBUG/ActivityManager(58): Uninstalling process org.example.sudoku 10-22 22:31:20.681: INFO/ActivityManager(58): Starting activity: Intent { flags=0x1000 comp={org.example.sudoku/ org.example.sudoku.Sudoku} } 10-22 22:31:20.731: DEBUG/AndroidRuntime(3827): Shutting down VM 10-22 22:31:20.731: DEBUG/dalvikvm(3827): DestroyJavaVM waiting for non-daemon threads to exit 10-22 22:31:20.761: INFO/dalvikvm(3827): DestroyJavaVM shutting VM down 10-22 22:31:20.771: ERROR/AndroidRuntime(3827): ERROR: thread attach failed 10-22 22:31:20.771: DEBUG/dalvikvm(3827): HeapWorker thread shutting down On Oct 22, 12:02 pm, "Xavier Ducrohet" <[EMAIL PROTECTED]> wrote: > We just updated the documentation. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: What's the Cost ??
its still locked to t-mobile tho.. On Oct 23, 12:54 am, Easan <[EMAIL PROTECTED]> wrote: > If you can find a store with inventory they will sell you one for $399 > without a contract. If they have to ship it to you, they only sell with > contract. T mobile will unlock the phone if you call customer service after > 90 days. > > Or you can buy this one right now: > > http://cgi.ebay.com/New-G1-Tmobile-Unlocked_W0QQitemZ250310678463QQcm...39%3A1|66%3A2|65%3A12|240%3A1308&_trksid=p3286.c0.m14 > > I am interested in the mechanism of the upload of our programs to the G1 > > > > On Wed, Oct 22, 2008 at 9:41 PM, Rob Franz <[EMAIL PROTECTED]> wrote: > > -$179 for 2 yr contract > > -$200 (I think - if not it's $150) for early termination fee of the > > contract-$399 retail > > > Question here is whether the phone comes unlocked or not? > > > On Thu, Oct 23, 2008 at 12:02 AM, Pulkit Arora <[EMAIL PROTECTED]>wrote: > > >> Ohkk.. Thank you so much Josh.. :-) > > >> On Thu, Oct 23, 2008 at 9:28 AM, Josh Roesslein <[EMAIL PROTECTED]>wrote: > > >>> I believe the $179 is the price if you sign the 2 yr contract. > >>> If you don't plan on keeping the 2yr contract it's probably going to cost > >>> you more > >>> to terminate the contract then it would to just pay the full $399. > > >>> On Wed, Oct 22, 2008 at 10:56 PM, Pulkit Arora <[EMAIL PROTECTED]>wrote: > > Hi, > Can anyone please tell me how much does the G1 cost, if i want to buy > it for some other carrier ?? On the site, it says, $399 - $220 = $179 > { as an instant discount, or the subsidization }. > Can i buy the phone for $399 and use it with AT&T ? > Also, what is the cost of breaking the 2 year contract ?? > > >> -- > >> Pulkit Arora > > --http://www.easankatir.com/ --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: If delete R.java, how how can recover it?
It does :) On Wed, Oct 22, 2008 at 9:39 PM, Declan Shanaghy <[EMAIL PROTECTED]> wrote: > > If you build the app through ant rather than the eclipse UI does it > recreate R.java? > > > On Oct 22, 2008, at 10:11 AM, misbell wrote: > >> >> >> No one answered this question. >> >> Build Automatically is checked in Eclipse. Still doesn't regenerate >> R.java. (Ganymede). >> >> Also, whenit existed, I made a change to main.xml, r.java was NOT >> regenerated. >> >> There is nothing whatsoever wrong with my manifest file. The app ran >> perfectly before I dared to alter the XML. >> >> This is flakey beyond belief. >> >> > > > > > > -- Romain Guy www.curious-creature.org --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: What's the Cost ??
If you can find a store with inventory they will sell you one for $399 without a contract. If they have to ship it to you, they only sell with contract. T mobile will unlock the phone if you call customer service after 90 days. Or you can buy this one right now: http://cgi.ebay.com/New-G1-Tmobile-Unlocked_W0QQitemZ250310678463QQcmdZViewItem?hash=item250310678463&_trkparms=72%3A1205|39%3A1|66%3A2|65%3A12|240%3A1308&_trksid=p3286.c0.m14 I am interested in the mechanism of the upload of our programs to the G1 On Wed, Oct 22, 2008 at 9:41 PM, Rob Franz <[EMAIL PROTECTED]> wrote: > -$179 for 2 yr contract > -$200 (I think - if not it's $150) for early termination fee of the > contract-$399 retail > > Question here is whether the phone comes unlocked or not? > > On Thu, Oct 23, 2008 at 12:02 AM, Pulkit Arora <[EMAIL PROTECTED]>wrote: > >> Ohkk.. Thank you so much Josh.. :-) >> >> On Thu, Oct 23, 2008 at 9:28 AM, Josh Roesslein <[EMAIL PROTECTED]>wrote: >> >>> I believe the $179 is the price if you sign the 2 yr contract. >>> If you don't plan on keeping the 2yr contract it's probably going to cost >>> you more >>> to terminate the contract then it would to just pay the full $399. >>> >>> >>> >>> On Wed, Oct 22, 2008 at 10:56 PM, Pulkit Arora <[EMAIL PROTECTED]>wrote: >>> Hi, Can anyone please tell me how much does the G1 cost, if i want to buy it for some other carrier ?? On the site, it says, $399 - $220 = $179 { as an instant discount, or the subsidization }. Can i buy the phone for $399 and use it with AT&T ? Also, what is the cost of breaking the 2 year contract ?? >>> >>> >>> >> >> >> -- >> Pulkit Arora >> >> >> >> > > > > -- http://www.easankatir.com/ --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: What's the Cost ??
-$179 for 2 yr contract -$200 (I think - if not it's $150) for early termination fee of the contract-$399 retail Question here is whether the phone comes unlocked or not? On Thu, Oct 23, 2008 at 12:02 AM, Pulkit Arora <[EMAIL PROTECTED]> wrote: > Ohkk.. Thank you so much Josh.. :-) > > On Thu, Oct 23, 2008 at 9:28 AM, Josh Roesslein <[EMAIL PROTECTED]>wrote: > >> I believe the $179 is the price if you sign the 2 yr contract. >> If you don't plan on keeping the 2yr contract it's probably going to cost >> you more >> to terminate the contract then it would to just pay the full $399. >> >> >> >> On Wed, Oct 22, 2008 at 10:56 PM, Pulkit Arora <[EMAIL PROTECTED]>wrote: >> >>> >>> Hi, >>> Can anyone please tell me how much does the G1 cost, if i want to buy >>> it for some other carrier ?? On the site, it says, $399 - $220 = $179 >>> { as an instant discount, or the subsidization }. >>> Can i buy the phone for $399 and use it with AT&T ? >>> Also, what is the cost of breaking the 2 year contract ?? >>> >>> >> >> >> > > > -- > Pulkit Arora > > > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: If delete R.java, how how can recover it?
If you build the app through ant rather than the eclipse UI does it recreate R.java? On Oct 22, 2008, at 10:11 AM, misbell wrote: > > > No one answered this question. > > Build Automatically is checked in Eclipse. Still doesn't regenerate > R.java. (Ganymede). > > Also, whenit existed, I made a change to main.xml, r.java was NOT > regenerated. > > There is nothing whatsoever wrong with my manifest file. The app ran > perfectly before I dared to alter the XML. > > This is flakey beyond belief. > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] MediaStore.Images.ImageColumns.IS_PRIVATE
The API docs describe this field as: "Whether the video should be published as public or private" Can anyone provide more detail on what this column is intended for and how it gets set? I am thinking of capturing camera shutter events to send notifications which ask the user whether they wish an image to be private or not. But im not sure if it is appropriate to use (hijack) this column. If it is not appropriate to use this column is there any possibilty to add to the image columns or would i need to maintain my own database which ties an image id to my own privacy flag? Thanks, Declan --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: What's the Cost ??
Ohkk.. Thank you so much Josh.. :-) On Thu, Oct 23, 2008 at 9:28 AM, Josh Roesslein <[EMAIL PROTECTED]>wrote: > I believe the $179 is the price if you sign the 2 yr contract. > If you don't plan on keeping the 2yr contract it's probably going to cost > you more > to terminate the contract then it would to just pay the full $399. > > > > On Wed, Oct 22, 2008 at 10:56 PM, Pulkit Arora <[EMAIL PROTECTED]>wrote: > >> >> Hi, >> Can anyone please tell me how much does the G1 cost, if i want to buy >> it for some other carrier ?? On the site, it says, $399 - $220 = $179 >> { as an instant discount, or the subsidization }. >> Can i buy the phone for $399 and use it with AT&T ? >> Also, what is the cost of breaking the 2 year contract ?? >> >> > > > > -- Pulkit Arora --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: What's the Cost ??
I believe the $179 is the price if you sign the 2 yr contract. If you don't plan on keeping the 2yr contract it's probably going to cost you more to terminate the contract then it would to just pay the full $399. On Wed, Oct 22, 2008 at 10:56 PM, Pulkit Arora <[EMAIL PROTECTED]> wrote: > > Hi, > Can anyone please tell me how much does the G1 cost, if i want to buy > it for some other carrier ?? On the site, it says, $399 - $220 = $179 > { as an instant discount, or the subsidization }. > Can i buy the phone for $399 and use it with AT&T ? > Also, what is the cost of breaking the 2 year contract ?? > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] What's the Cost ??
Hi, Can anyone please tell me how much does the G1 cost, if i want to buy it for some other carrier ?? On the site, it says, $399 - $220 = $179 { as an instant discount, or the subsidization }. Can i buy the phone for $399 and use it with AT&T ? Also, what is the cost of breaking the 2 year contract ?? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: ListView Choices: What the devil is happening?
Ok so the issue is what I noticed: you are mixing index and positions. A ListView contains only as many items as it needs to fill the screen. For instance, you can see 8 items on screens, there are 8 children in the ListView, numbered from 0 to 7 (the index.) However, your adapter can have many more items, for instance 400. The position (arg2 in your code) indicates the index of an item *in the adapter*. This means that the View of index 2 is not necessarily the adapter's item of position 2. To do the conversion, you can use ListView.getFirstVisiblePosition(). Here is your code with the fix: if (i==arg2) becomes if (getListView().getFirstVisiblePosition() + i == arg2) and all the getChildAt(arg2) become getChildAt(arg2 - getListView().getFirstVisiblePosition()) On Wed, Oct 22, 2008 at 8:20 PM, kingkung <[EMAIL PROTECTED]> wrote: > > I just sent you an email explaining the problem to your google > account. :) > > On Oct 22, 7:51 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote: >> Could you please explain what you are witnessing? (I work on ListView, >> I'd like to help... :) >> >> There's another issue in your code. In the for loop, you are comparing >> a position (arg2) with an index (i). These are different and mixing >> them will cause tons of "weird" issues. >> >> >> >> On Wed, Oct 22, 2008 at 7:49 PM, kingkung <[EMAIL PROTECTED]> wrote: >> >> > I kind of wanted people to try it and find out :) I can try that, but >> > it doesn't look like it's a race condition (like something gets called >> > too early or something) of any kind... it's a very distinct pattern of >> > behavior that's happening, though it's not what I would consider the >> > expected behavior... >> >> > On Oct 22, 7:40 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote: >> >> You haven't explained what the crazy behavior is :) My bet is that you >> >> call isChecked() too early. Try to postpone everything you do in the >> >> OnItemClickListener by posting a Runnable into a Handler (or with >> >> getListView().post()). >> >> >> On Wed, Oct 22, 2008 at 7:31 PM, kingkung <[EMAIL PROTECTED]> wrote: >> >> >> > I wrote a small activity which illustrates some crazy behavior I found >> >> > while implementing ListView and choices. Feel free to plug this in >> >> > and try it yourselves (and be sure to check logcat as well): >> >> >> > public class TestActivity extends ListActivity { >> >> >> >public String[] strings = { >> >> > "What","the","devil","is","happening?" }; >> >> >> >@Override >> >> >public void onCreate(Bundle icicle) { >> >> >super.onCreate(icicle); >> >> >setContentView(R.layout.listview); >> >> >getListView().setChoiceMode(ListView.CHOICE_MODE_SINGLE); >> >> >getListView().setAdapter(new >> >> > ArrayAdapter(this,R.layout.main,strings)); >> >> >getListView().setOnItemClickListener(new OnItemClickListener() >> >> > { >> >> >public void onItemClick(AdapterView arg0, >> >> > View arg1, int arg2, >> >> >long arg3) { >> >> >Log.d("test","Checked: "+ >> >> > ((TextView)getListView().getChildAt(arg2)).getText().toString()); >> >> >if >> >> > (getListView().isItemChecked(arg2)) >> >> >{ >> >> >for (int i=0; >> >> > i> >> >{ >> >> >if (i==arg2) >> >> > >> >> > getListView().getChildAt(i).setBackgroundColor(Color.MAGENTA); >> >> >else >> >> >> > getListView().getChildAt(i).setBackgroundColor(Color.TRANSPARENT); >> >> >} >> >> >} >> >> >else >> >> >> > getListView().getChildAt(arg2).setBackgroundColor(Color.TRANSPARENT); >> >> >> >} >> >> >}); >> >> >} >> >> > } >> >> >> > The R.layout.main is just your standard default TextView when you >> >> > create a new project in Eclipse. The R.layout.listview is the >> >> > standard LinearLayout with embedded ListView for ListActivities shown >> >> > below: >> >> >> > >> >> > http://schemas.android.com/apk/res/ >> >> > android" >> >> > android:layout_width="fill_parent" >> >> >android:layout_height="fill_parent" >> >> >android:orientation="vertical" >> >> >> >> >> >android:layout_width="fill_parent" >> >> >android:layout_height="wrap_content" >> >> >/> >> >> > >> >> >> > Can anyone explain rationally what is causing this to happen? >> >> >> -- >> >> Romain Guywww.curious-creature.org >> >> -- >> Romain Guywww.curious-creature.org > > > -- Romain Guy www.curious-creature.org --~--
[android-developers] Re: ListView Choices: What the devil is happening?
I just sent you an email explaining the problem to your google account. :) On Oct 22, 7:51 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote: > Could you please explain what you are witnessing? (I work on ListView, > I'd like to help... :) > > There's another issue in your code. In the for loop, you are comparing > a position (arg2) with an index (i). These are different and mixing > them will cause tons of "weird" issues. > > > > On Wed, Oct 22, 2008 at 7:49 PM, kingkung <[EMAIL PROTECTED]> wrote: > > > I kind of wanted people to try it and find out :) I can try that, but > > it doesn't look like it's a race condition (like something gets called > > too early or something) of any kind... it's a very distinct pattern of > > behavior that's happening, though it's not what I would consider the > > expected behavior... > > > On Oct 22, 7:40 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote: > >> You haven't explained what the crazy behavior is :) My bet is that you > >> call isChecked() too early. Try to postpone everything you do in the > >> OnItemClickListener by posting a Runnable into a Handler (or with > >> getListView().post()). > > >> On Wed, Oct 22, 2008 at 7:31 PM, kingkung <[EMAIL PROTECTED]> wrote: > > >> > I wrote a small activity which illustrates some crazy behavior I found > >> > while implementing ListView and choices. Feel free to plug this in > >> > and try it yourselves (and be sure to check logcat as well): > > >> > public class TestActivity extends ListActivity { > > >> > public String[] strings = { > >> > "What","the","devil","is","happening?" }; > > >> > [EMAIL PROTECTED] > >> > public void onCreate(Bundle icicle) { > >> > super.onCreate(icicle); > >> > setContentView(R.layout.listview); > >> > getListView().setChoiceMode(ListView.CHOICE_MODE_SINGLE); > >> > getListView().setAdapter(new > >> > ArrayAdapter(this,R.layout.main,strings)); > >> > getListView().setOnItemClickListener(new OnItemClickListener() > >> > { > >> > public void onItemClick(AdapterView arg0, View > >> > arg1, int arg2, > >> > long arg3) { > >> > Log.d("test","Checked: "+ > >> > ((TextView)getListView().getChildAt(arg2)).getText().toString()); > >> > if > >> > (getListView().isItemChecked(arg2)) > >> > { > >> > for (int i=0; > >> > i >> > { > >> > if (i==arg2) > >> > > >> > getListView().getChildAt(i).setBackgroundColor(Color.MAGENTA); > >> > else > > >> > getListView().getChildAt(i).setBackgroundColor(Color.TRANSPARENT); > >> > } > >> > } > >> > else > > >> > getListView().getChildAt(arg2).setBackgroundColor(Color.TRANSPARENT); > > >> > } > >> > }); > >> > } > >> > } > > >> > The R.layout.main is just your standard default TextView when you > >> > create a new project in Eclipse. The R.layout.listview is the > >> > standard LinearLayout with embedded ListView for ListActivities shown > >> > below: > > >> > > >> > http://schemas.android.com/apk/res/ > >> > android" > >> > android:layout_width="fill_parent" > >> > android:layout_height="fill_parent" > >> > android:orientation="vertical" > > >> > >> > android:layout_width="fill_parent" > >> > android:layout_height="wrap_content" > >> > /> > >> > > > >> > Can anyone explain rationally what is causing this to happen? > > >> -- > >> Romain Guywww.curious-creature.org > > -- > Romain Guywww.curious-creature.org --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Attaching the Eclipse debugger to actual device
I was able to write the following udev rule, but running "adb devices" does not show any device. What does adb look for when its scanning for devices? Here is my rule in /etc/udev/rules.d/11-android.rules SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="0c02", MODE="0666", NAME="android" When I connect the device the /dev/android link is created. So my rule works with the device, but I still don't get why adb devices returns nothing... little help here? -Marc On Oct 22, 7:33 pm, Wanted unique nickname <[EMAIL PROTECTED]> wrote: > Does anyone know how to perform Step 3 for developing on Suse Linux? > When I run dmesg I get some relevant info, but I don't know enough > about udev to make this work on Suse... > > usb 1-10: new high speed USB device using ehci_hcd and address 10 > usb 1-10: new device found, idVendor=0bb4, idProduct=0c02 > usb 1-10: new device strings: Mfr=3, Product=2, SerialNumber=1 > usb 1-10: Product: Android Phone > usb 1-10: Manufacturer: HTC > usb 1-10: SerialNumber: HT840GZ14538 > usb 1-10: configuration #1 chosen from 1 choice > scsi18 : SCSI emulation for USB Mass Storage devices > usb-storage: device found at 10 > usb-storage: waiting for device to settle before scanning > scsi 18:0:0:0: Direct-Access HTC Android Phone 0100 PQ: 0 > ANSI: 2 > sd 18:0:0:0: [sdc] Attached SCSI removable disk > sd 18:0:0:0: Attached scsi generic sg4 type 0 > usb-storage: device scan complete > > -Marc > > On Oct 22, 12:02 pm, "Xavier Ducrohet" <[EMAIL PROTECTED]> wrote: > > > We just updated the documentation. > > > Developing on devices is explained > > here:http://code.google.com/android/intro/develop-and-debug.html#developin... > > > On Tue, Oct 21, 2008 at 11:45 PM, bhines <[EMAIL PROTECTED]> wrote: > > > > this sounds like my problem as well. > > > > This really should be mentioned > > > onhttp://code.google.com/android/intro/develop-and-debug.html > > > > thanks, > > > > -Ben > > > > On Oct 21, 8:42 pm, nkijak <[EMAIL PROTECTED]> wrote: > > >> That possibly did the trick. I had to restart the phone. Maybe for > > >> the "Debug when USB" thing to take effect? > > > >> Thanks > > > >> On Oct 21, 11:33 pm, "Xavier Ducrohet" <[EMAIL PROTECTED]> wrote: > > > >> > To debug on devices you need to set the 'debuggable' attribute of the > > >> > application node to true (in AndroidManifest.xml). > > > >> > Make sure to set it back to false before releasing your application. > > > >> > Xav > > > >> > On Tue, Oct 21, 2008 at 8:24 PM, nkijak <[EMAIL PROTECTED]> wrote: > > > >> > > I can't seem to get the eclipse debugger to attach to the G1. I can > > >> > > select "Debug" from the run menu and it will compile and launch the > > >> > > app on the phone but eclipse never enters the debug perspective (or > > >> > > even asks to). The phone sits with a "Waiting for Debugger" message > > >> > > dialog. > > >> > > When I enter the Android perspective I can see the device attached, > > >> > > see log entries, take screenshots but I cannot see process listings > > >> > > and "restarting adb" results in 11 failed attempts to connect. > > >> > > Is there some other configuration I need to adjust in eclipse, > > >> > > perhaps > > >> > > a port number? > > > >> > > Thanks, > > >> > > Nick --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: DDMS & 64bit Windows
I apologize for the repeat -- I didn't think my original message actually got through. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] DDMS & 64bit Windows
Hello folks, I'm on Windows Vista Business x64, and have trouble running DDMS.bat from the 1.0 r1 release of the Android SDK. I get the following Exception: 05:23 E/ddms: shutting down due to uncaught exception 05:23 E/ddms: java.lang.UnsatisfiedLinkError: C:\Users\Chris\Projects \android-sdk-windows-1.0_r1\tools\lib\swt-win32-3236.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1660) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1030) at org.eclipse.swt.internal.Library.loadLibrary(Library.java: 123) at org.eclipse.swt.internal.win32.OS.(OS.java:18) at org.eclipse.swt.graphics.FontData.(FontData.java:259) at com.android.ddms.PrefsDialog.setDefaults(PrefsDialog.java: 198) at com.android.ddms.PrefsDialog.init(PrefsDialog.java:140) at com.android.ddms.Main.main(Main.java:74) Judging from the exception I've noticed two things: It appears this is x32 only and there isn't anything available for x64, and I'm screwed until there is an offering for x86. I have two computers which are both running different versions of Windows Vista x64 and this will prevent me from using DDMS, and doing any direct debugging on my phone from my computer. Is there any chance that an x64 version will be included in the future, or am I resulted to developing strictly emulator and figuring out some magical process for uploading applications to my phone (not that DDMS appears to do this, but I have a feeling it might)? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: RingTone Picker in Rings Extend application
thanks. it's kinda strange that the RingTonePicker intent is placed in a totally different class. It's hard to find all of them this way. Is there a location that lists all of them? but ya now everything makes sense. On Oct 23, 2:19 am, hackbod <[EMAIL PROTECTED]> wrote: > On Oct 22, 5:47 pm, Arron <[EMAIL PROTECTED]> wrote: > > > Sorry I am still a novice at this but I don't understand how the Rings > > Extend application is able to use the intent > > "android.intent.action.RINGTONE_PICKER" to intercept picking > > ringtones. I don't see that intent anywhere in the released SDK > > documentation. > > http://code.google.com/android/reference/android/media/RingtoneManage... > > > Is that a hidden intent? Am I completely misunderstanding this? > > Looking at the list of intents and the intent class, I don't see many > > intents to replace or add to core functionality of the phone. > > The Intent class only lists the generic Android platform intents. > Subsystem- and application-specific intents are associated with those > pieces of code. > > > Like how was the Home Sweet Home application able to replace the Home > > screen? Which intent did it register to? > > This is a system level Intent: > > http://code.google.com/android/reference/android/content/Intent.html#... --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: ListView Choices: What the devil is happening?
Could you please explain what you are witnessing? (I work on ListView, I'd like to help... :) There's another issue in your code. In the for loop, you are comparing a position (arg2) with an index (i). These are different and mixing them will cause tons of "weird" issues. On Wed, Oct 22, 2008 at 7:49 PM, kingkung <[EMAIL PROTECTED]> wrote: > > I kind of wanted people to try it and find out :) I can try that, but > it doesn't look like it's a race condition (like something gets called > too early or something) of any kind... it's a very distinct pattern of > behavior that's happening, though it's not what I would consider the > expected behavior... > > On Oct 22, 7:40 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote: >> You haven't explained what the crazy behavior is :) My bet is that you >> call isChecked() too early. Try to postpone everything you do in the >> OnItemClickListener by posting a Runnable into a Handler (or with >> getListView().post()). >> >> >> >> On Wed, Oct 22, 2008 at 7:31 PM, kingkung <[EMAIL PROTECTED]> wrote: >> >> > I wrote a small activity which illustrates some crazy behavior I found >> > while implementing ListView and choices. Feel free to plug this in >> > and try it yourselves (and be sure to check logcat as well): >> >> > public class TestActivity extends ListActivity { >> >> >public String[] strings = { "What","the","devil","is","happening?" >> > }; >> >> >@Override >> >public void onCreate(Bundle icicle) { >> >super.onCreate(icicle); >> >setContentView(R.layout.listview); >> >getListView().setChoiceMode(ListView.CHOICE_MODE_SINGLE); >> >getListView().setAdapter(new >> > ArrayAdapter(this,R.layout.main,strings)); >> >getListView().setOnItemClickListener(new OnItemClickListener() >> > { >> >public void onItemClick(AdapterView arg0, View >> > arg1, int arg2, >> >long arg3) { >> >Log.d("test","Checked: "+ >> > ((TextView)getListView().getChildAt(arg2)).getText().toString()); >> >if >> > (getListView().isItemChecked(arg2)) >> >{ >> >for (int i=0; >> > i> >{ >> >if (i==arg2) >> > >> > getListView().getChildAt(i).setBackgroundColor(Color.MAGENTA); >> >else >> >> > getListView().getChildAt(i).setBackgroundColor(Color.TRANSPARENT); >> >} >> >} >> >else >> >> > getListView().getChildAt(arg2).setBackgroundColor(Color.TRANSPARENT); >> >> >} >> >}); >> >} >> > } >> >> > The R.layout.main is just your standard default TextView when you >> > create a new project in Eclipse. The R.layout.listview is the >> > standard LinearLayout with embedded ListView for ListActivities shown >> > below: >> >> > >> > http://schemas.android.com/apk/res/ >> > android" >> > android:layout_width="fill_parent" >> >android:layout_height="fill_parent" >> >android:orientation="vertical" >> >> >> >android:layout_width="fill_parent" >> >android:layout_height="wrap_content" >> >/> >> > >> >> > Can anyone explain rationally what is causing this to happen? >> >> -- >> Romain Guywww.curious-creature.org > > > -- Romain Guy www.curious-creature.org --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: ListView Choices: What the devil is happening?
I kind of wanted people to try it and find out :) I can try that, but it doesn't look like it's a race condition (like something gets called too early or something) of any kind... it's a very distinct pattern of behavior that's happening, though it's not what I would consider the expected behavior... On Oct 22, 7:40 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote: > You haven't explained what the crazy behavior is :) My bet is that you > call isChecked() too early. Try to postpone everything you do in the > OnItemClickListener by posting a Runnable into a Handler (or with > getListView().post()). > > > > On Wed, Oct 22, 2008 at 7:31 PM, kingkung <[EMAIL PROTECTED]> wrote: > > > I wrote a small activity which illustrates some crazy behavior I found > > while implementing ListView and choices. Feel free to plug this in > > and try it yourselves (and be sure to check logcat as well): > > > public class TestActivity extends ListActivity { > > > public String[] strings = { "What","the","devil","is","happening?" }; > > > [EMAIL PROTECTED] > > public void onCreate(Bundle icicle) { > > super.onCreate(icicle); > > setContentView(R.layout.listview); > > getListView().setChoiceMode(ListView.CHOICE_MODE_SINGLE); > > getListView().setAdapter(new > > ArrayAdapter(this,R.layout.main,strings)); > > getListView().setOnItemClickListener(new OnItemClickListener() > > { > > public void onItemClick(AdapterView arg0, View > > arg1, int arg2, > > long arg3) { > > Log.d("test","Checked: "+ > > ((TextView)getListView().getChildAt(arg2)).getText().toString()); > > if > > (getListView().isItemChecked(arg2)) > > { > > for (int i=0; > > i > { > > if (i==arg2) > > > > getListView().getChildAt(i).setBackgroundColor(Color.MAGENTA); > > else > > > getListView().getChildAt(i).setBackgroundColor(Color.TRANSPARENT); > > } > > } > > else > > > getListView().getChildAt(arg2).setBackgroundColor(Color.TRANSPARENT); > > > } > > }); > > } > > } > > > The R.layout.main is just your standard default TextView when you > > create a new project in Eclipse. The R.layout.listview is the > > standard LinearLayout with embedded ListView for ListActivities shown > > below: > > > > > http://schemas.android.com/apk/res/ > > android" > > android:layout_width="fill_parent" > > android:layout_height="fill_parent" > > android:orientation="vertical" > > > > android:layout_width="fill_parent" > > android:layout_height="wrap_content" > > /> > > > > > Can anyone explain rationally what is causing this to happen? > > -- > Romain Guywww.curious-creature.org --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Market Place and Trial Software?
Hackbod, You and Romain Guy seem a little oblivious to the general mood of the list today. It's been fairly obnoxious to listen to the endless marketing about Android's openness while simultaneously dealing with the reality of internal APIs and preferred applications. Now that the source is out, that can be rectified. All day, I've seen people talk about using the internal APIs, and you guys keep telling people not to use them. Strangely, though, you never once suggested my solution, i.e. import the source. I naturally concluded that you just didn't want people using that code. On Oct 22, 2008 7:25 PM, "hackbod" <[EMAIL PROTECTED]> wrote: On Oct 22, 1:50 pm, Xolotl Loki <[EMAIL PROTECTED]> wrote: > You're assuming that I plan on *linking... Oh sure, you are absolutely free to copy whatever code you want out of the platform code and use it however you want. As long as your app is linking against the SDK APIs, we don't care what you do like that. > Welcome to the world of open source. Gosh, it never crossed my mind people would use the source we released. Romain was confused because you seemed to be expressing great glee in doing something that is, well, standard operating procedure. --~--~-~--~~~---~--~~ You received this message because you are sub... --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] onActivityResult failing to fire
Under what conditions is onActivityResult() supposed to be called? I'm trying to debug this issue I am having with my app which is a normal "press button to save and return" thing and it seems like that never happens. For example: Activity sequence: A -> B -> C. Each app goes to the new one by startActivityForResult(thisActivity, nextActivity.class) on a button press. I'm trying to make C such that saving data on C sends me to A, then to another activity. What instead happens is when I "setResult()/ finish()", the onActivityResult for B is completely ignored. I feel like it's something simple I'm missing, but don't see what it is at all. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: ListView Choices: What the devil is happening?
You haven't explained what the crazy behavior is :) My bet is that you call isChecked() too early. Try to postpone everything you do in the OnItemClickListener by posting a Runnable into a Handler (or with getListView().post()). On Wed, Oct 22, 2008 at 7:31 PM, kingkung <[EMAIL PROTECTED]> wrote: > > I wrote a small activity which illustrates some crazy behavior I found > while implementing ListView and choices. Feel free to plug this in > and try it yourselves (and be sure to check logcat as well): > > public class TestActivity extends ListActivity { > >public String[] strings = { "What","the","devil","is","happening?" }; > >@Override >public void onCreate(Bundle icicle) { >super.onCreate(icicle); >setContentView(R.layout.listview); >getListView().setChoiceMode(ListView.CHOICE_MODE_SINGLE); >getListView().setAdapter(new > ArrayAdapter(this,R.layout.main,strings)); >getListView().setOnItemClickListener(new OnItemClickListener() > { >public void onItemClick(AdapterView arg0, View > arg1, int arg2, >long arg3) { >Log.d("test","Checked: "+ > ((TextView)getListView().getChildAt(arg2)).getText().toString()); >if (getListView().isItemChecked(arg2)) >{ >for (int i=0; > i{ >if (i==arg2) > > getListView().getChildAt(i).setBackgroundColor(Color.MAGENTA); >else > > getListView().getChildAt(i).setBackgroundColor(Color.TRANSPARENT); >} >} >else > > getListView().getChildAt(arg2).setBackgroundColor(Color.TRANSPARENT); > >} >}); >} > } > > The R.layout.main is just your standard default TextView when you > create a new project in Eclipse. The R.layout.listview is the > standard LinearLayout with embedded ListView for ListActivities shown > below: > > > http://schemas.android.com/apk/res/ > android" > android:layout_width="fill_parent" >android:layout_height="fill_parent" >android:orientation="vertical" >> >android:layout_width="fill_parent" >android:layout_height="wrap_content" >/> > > > Can anyone explain rationally what is causing this to happen? > > > -- Romain Guy www.curious-creature.org --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Attaching the Eclipse debugger to actual device
Does anyone know how to perform Step 3 for developing on Suse Linux? When I run dmesg I get some relevant info, but I don't know enough about udev to make this work on Suse... usb 1-10: new high speed USB device using ehci_hcd and address 10 usb 1-10: new device found, idVendor=0bb4, idProduct=0c02 usb 1-10: new device strings: Mfr=3, Product=2, SerialNumber=1 usb 1-10: Product: Android Phone usb 1-10: Manufacturer: HTC usb 1-10: SerialNumber: HT840GZ14538 usb 1-10: configuration #1 chosen from 1 choice scsi18 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 10 usb-storage: waiting for device to settle before scanning scsi 18:0:0:0: Direct-Access HTC Android Phone0100 PQ: 0 ANSI: 2 sd 18:0:0:0: [sdc] Attached SCSI removable disk sd 18:0:0:0: Attached scsi generic sg4 type 0 usb-storage: device scan complete -Marc On Oct 22, 12:02 pm, "Xavier Ducrohet" <[EMAIL PROTECTED]> wrote: > We just updated the documentation. > > Developing on devices is explained > here:http://code.google.com/android/intro/develop-and-debug.html#developin... > > On Tue, Oct 21, 2008 at 11:45 PM, bhines <[EMAIL PROTECTED]> wrote: > > > this sounds like my problem as well. > > > This really should be mentioned > > onhttp://code.google.com/android/intro/develop-and-debug.html > > > thanks, > > > -Ben > > > On Oct 21, 8:42 pm, nkijak <[EMAIL PROTECTED]> wrote: > >> That possibly did the trick. I had to restart the phone. Maybe for > >> the "Debug when USB" thing to take effect? > > >> Thanks > > >> On Oct 21, 11:33 pm, "Xavier Ducrohet" <[EMAIL PROTECTED]> wrote: > > >> > To debug on devices you need to set the 'debuggable' attribute of the > >> > application node to true (in AndroidManifest.xml). > > >> > Make sure to set it back to false before releasing your application. > > >> > Xav > > >> > On Tue, Oct 21, 2008 at 8:24 PM, nkijak <[EMAIL PROTECTED]> wrote: > > >> > > I can't seem to get the eclipse debugger to attach to the G1. I can > >> > > select "Debug" from the run menu and it will compile and launch the > >> > > app on the phone but eclipse never enters the debug perspective (or > >> > > even asks to). The phone sits with a "Waiting for Debugger" message > >> > > dialog. > >> > > When I enter the Android perspective I can see the device attached, > >> > > see log entries, take screenshots but I cannot see process listings > >> > > and "restarting adb" results in 11 failed attempts to connect. > >> > > Is there some other configuration I need to adjust in eclipse, perhaps > >> > > a port number? > > >> > > Thanks, > >> > > Nick --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] ListView Choices: What the devil is happening?
I wrote a small activity which illustrates some crazy behavior I found while implementing ListView and choices. Feel free to plug this in and try it yourselves (and be sure to check logcat as well): public class TestActivity extends ListActivity { public String[] strings = { "What","the","devil","is","happening?" }; @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.listview); getListView().setChoiceMode(ListView.CHOICE_MODE_SINGLE); getListView().setAdapter(new ArrayAdapter(this,R.layout.main,strings)); getListView().setOnItemClickListener(new OnItemClickListener() { public void onItemClick(AdapterView arg0, View arg1, int arg2, long arg3) { Log.d("test","Checked: "+ ((TextView)getListView().getChildAt(arg2)).getText().toString()); if (getListView().isItemChecked(arg2)) { for (int i=0; i http://schemas.android.com/apk/res/ android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > Can anyone explain rationally what is causing this to happen? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: onSaveInstanceState / onRestoreInstanceState Called on First Application Run
Fast day today.. hoping someone else might know about this? Mark On Oct 22, 10:10 am, Mark Hansen <[EMAIL PROTECTED]> wrote: > I'm not sure if this is intended or not, but I had some compalints > from users about my application failing on the first run after the > install. > > After wiping the data on the emulator I notice when I debug that > onRestoreInstanceState and onSaveInstanceState are called. This is > not the case when an application is already installed. > > Can someone shed some light on why this happens? Is it initializing > something, perhaps default values from my preferences? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Market Place and Trial Software?
On Oct 22, 1:50 pm, Xolotl Loki <[EMAIL PROTECTED]> wrote: > You're assuming that I plan on *linking* to the *binary* internal APIs. > I clearly stated that I plan on *ripping* them out of the *source*, at > which point *I* assume control over how they move/change/disappear. Oh sure, you are absolutely free to copy whatever code you want out of the platform code and use it however you want. As long as your app is linking against the SDK APIs, we don't care what you do like that. > Welcome to the world of open source. Gosh, it never crossed my mind people would use the source we released. Romain was confused because you seemed to be expressing great glee in doing something that is, well, standard operating procedure. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: obtaining an IPhone.Stub
These are not public APIs. The telephony APIs are here: http://code.google.com/android/reference/android/telephony/package-summary.html On Oct 22, 1:38 pm, dreamerBoy <[EMAIL PROTECTED]> wrote: > Hi - > > I need to be able to place outgoing calls and interact with IPhone. > This apparently, ~was~ the way to get it: > > private static IPhone getPhoneInterface() throws DeadObjectException { > IServiceManager sm = ServiceManagerNative.getDefault(); > IPhone phoneService = > IPhone.Stub.asInterface(sm.getService("phone")); > return phoneService; > > } > > However, my eclipse project does not accept: > > import android.os.ServiceManagerNative; > > and there is no longer a ServiceManagerNative class in the android > javadoc. > > The API must have changed. Does anyone know the new way to do this? > > Much obliged. > > Paul --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: RingTone Picker in Rings Extend application
On Oct 22, 5:47 pm, Arron <[EMAIL PROTECTED]> wrote: > Sorry I am still a novice at this but I don't understand how the Rings > Extend application is able to use the intent > "android.intent.action.RINGTONE_PICKER" to intercept picking > ringtones. I don't see that intent anywhere in the released SDK > documentation. http://code.google.com/android/reference/android/media/RingtoneManager.html#ACTION_RINGTONE_PICKER > Is that a hidden intent? Am I completely misunderstanding this? > Looking at the list of intents and the intent class, I don't see many > intents to replace or add to core functionality of the phone. The Intent class only lists the generic Android platform intents. Subsystem- and application-specific intents are associated with those pieces of code. > Like how was the Home Sweet Home application able to replace the Home > screen? Which intent did it register to? This is a system level Intent: http://code.google.com/android/reference/android/content/Intent.html#CATEGORY_HOME --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Does Android have a timeout callback?
Please don't use java.util.Timer, use android.os.Handler instead, it is much more efficient. On Oct 22, 6:05 am, Charlie Collins <[EMAIL PROTECTED]> wrote: > Android has java.util.Timer and > related.http://code.google.com/android/reference/java/util/Timer.html > > Use that on a background thread and call back into the UI via a > Handler and Message. But be careful about updating every second, make > sure you really need to do that. > > On Oct 22, 3:36 am, "cH3Lu eu" <[EMAIL PROTECTED]> wrote: > > > Hi All, > > > Does anybody knows if I can register a function to be called at every second > > within an activity? if not, what do you suggest to do if I need a widget to > > refresh at every 1 second? > > > Thanks a lot. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: If your wondering if users are out there...
On Oct 22, 5:56 pm, Eric <[EMAIL PROTECTED]> wrote: > Isn't there a restriction on G1 like 1.0 SDK that prevents user from > installing apk from anywhere but Android market? > and give them some error? No. There is a bug in the current 1.0 software that causes it to fail for applications that request non-system permissions, which mostly means the Google service permissions. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: how import org.apache.commons.httpclient ?
FYI: Early versions of the Android SDK used Jakarta Commons HttpClient 3.1 The library HttpClient 3.1 package name is org.apache.commons.httpclient The Android 1.0 SDK uses HttpClient 4. In HttpClient 4, the package name is org.apache.http.client Sean On Oct 19, 3:44 am, jphdsn <[EMAIL PROTECTED]> wrote: > Anyone has imported the package org.apache.commons.httpclient? > > Is there a special mnipulation? If someone could give me a response it > will be fine. > > thank's --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Yet another HTTPS problem with HttpClient in Android SDK v1.0r1
Have you tried using org.apache.http.conn.ssl.AllowAllHostnameVerifier ? http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/ssl/AllowAllHostnameVerifier.java?view=markup Sean On Oct 17, 7:07 am, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > On android 1.0 I tried to connect to my https server which uses a self- > signed certificate: > Here is my code, which uses a custom hostname verifier: > /* Create and initialize HTTP parameters */ > HttpParams params = new BasicHttpParams(); > ConnManagerParams.setMaxTotalConnections(params, 2); > HttpProtocolParams.setVersion(params, HttpVersion.HTTP_1_1); > > /* Create and initialize scheme registry */ > SchemeRegistry schemeRegistry = new SchemeRegistry(); > schemeRegistry.register(new Scheme("http", PlainSocketFactory > .getSocketFactory(), 80)); > SSLSocketFactory sslSocketFactory = > SSLSocketFactory.getSocketFactory(); > sslSocketFactory.setHostnameVerifier(new X509HostnameVerifier() > { > @Override > public boolean verify(String host, SSLSession session) > { > return true; > } > > @Override > public void verify(String host, SSLSocket ssl) throws > IOException > { > /* Nothing to do */ > } > > @Override > public void verify(String host, X509Certificate cert) throws > SSLException > { > /* Nothing to do */ > } > > @Override > public void verify(String host, String[] cns, String[] > subjectAlts) > throws SSLException > { > /* Nothing to do */ > } > }); > schemeRegistry.register(new Scheme("https", sslSocketFactory, > 443)); > > /* Allow multiple threads (two in our case) to access the HTTP > client */ > ClientConnectionManager cm = new > ThreadSafeClientConnManager(params, > schemeRegistry); > mHttpClient = new DefaultHttpClient(cm, params); > > try > { > HttpGet ping = new HttpGet(mConnectionManagerURL); > HttpResponse response = mHttpClient.execute(ping); > HttpEntity entity = response.getEntity(); > if (entity != null) > entity.consumeContent(); > } > catch (IOException ioe) > { > ioe.printStackTrace(); > shutdown(); > throw ioe; > } > catch (Exception e) > { > e.printStackTrace(); > shutdown(); > throw new IOException(e.getMessage()); > } > > I have the following exception in stack trace: > > 10-17 13:46:23.484: ERROR/ubikim-streams(783): > javax.net.ssl.SSLException: Not trusted server certificate > 10-17 13:46:23.554: ERROR/ubikim-streams(783): at > org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java: > 353) > 10-17 13:46:23.654: ERROR/ubikim-streams(783): at > org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl > $SSLInputStream.(OpenSSLSocketImpl.java:491) > 10-17 13:46:23.704: ERROR/ubikim-streams(783): at > org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.getInputStream(OpenSSLSocketImpl.java: > 432) > 10-17 13:46:23.784: ERROR/ubikim-streams(783): at > org.apache.http.impl.io.SocketInputBuffer.(SocketInputBuffer.java: > 93) > 10-17 13:46:23.844: ERROR/ubikim-streams(783): at > org.apache.http.impl.SocketHttpClientConnection.createSessionInputBuffer(SocketHttpClientConnection.java: > 83) > 10-17 13:46:23.894: ERROR/ubikim-streams(783): at > org.apache.http.impl.conn.DefaultClientConnection.createSessionInputBuffer(DefaultClientConnection.java: > 170) > 10-17 13:46:23.944: ERROR/ubikim-streams(783): at > org.apache.http.impl.SocketHttpClientConnection.bind(SocketHttpClientConnection.java: > 106) > 10-17 13:46:24.035: ERROR/ubikim-streams(783): at > org.apache.http.impl.conn.DefaultClientConnection.openCompleted(DefaultClientConnection.java: > 129) > 10-17 13:46:24.085: ERROR/ubikim-streams(783): at > org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java: > 136) > 10-17 13:46:24.135: ERROR/ubikim-streams(783): at > org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java: > 164) > 10-17 13:46:24.185: ERROR/ubikim-streams(783): at > org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java: > 119) > 10-17 13:46:24.275: ERROR/ubikim-streams(783): at > org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java: > 348) > 10-17 13:46:24.325: ERROR/ubikim-streams(783): at > org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: > 555) > 10-17 13:46:24.375: ERROR/ubikim-streams(783): at > org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: > 487) > 10-17 13:46:24.425: ERROR/ubikim-streams(783): at > org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: > 465) > 10-17 13:46:24.504: ERROR
[android-developers] Android source build on Gentoo Linux works
Hi For anyone who is using Gentoo and wants to build Android - If you refer to the directions provided at http://source.android.com/download: Linux To build the Android source under Linux, you will need Ubuntu. The Android build is routinely tested on recent versions of Ubuntu (6.06 and later), but reports of successes or failures on other distributions are welcome. To set up your Linux development environment, make sure you have the following: Git 1.5.4 or newer. Instructions for how to install and configure Git are below. Python 2.4, which you can download from python.org . JDK 5.0, update 12 or higher, which you can download from java.sun.com . The following packages: flex, bison, gperf, libsdl-dev, libesd0-dev, libwxgtk2.6-dev (optional), build-essential. To make sure you have all these packages, run $ sudo apt-get install flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl You might also want Valgrind, a tool that will help you find memory leaks, stack corruption, array bounds overflows, etc. To install it, run $ sudo apt-get install valgrind Obviously we don't have apt-get here. Git, python, java, flex, bison, gperf, zip, curl have packages that can be emerged if you don't have them already. For libsdl-dev, I emerged package libsdl. For libwxgtk2.6-dev, I emerged package wxGTK. And for libesd0-dev, I emerged media-libs/audiofile-0.2.6-r3, media- libs/alsa-lib, and media-sound/esound-0.2.38-r1. The first two packages may be unnecessary but the last one should cover it. I'm not sure what build-essential is - I think it's ubuntu-specific. Valgrind has its own package so I emerged that with no problems. I also had to emerge unzip because the build process complained about unzip missing; I reran the build and didn't get any further complaints. So I was able to complete the build with no errors regarding missing symbols, etc - hopefully nothing comes up in further testing. Just passing this on to people not using Ubuntu... -Rob --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: If your wondering if users are out there...
Interesting..but how does the user install the apk from other sites? Isn't there a restriction on G1 like 1.0 SDK that prevents user from installing apk from anywhere but Android market? and give them some error? Eric Portable Electronics Ltd www.hdmp4.com On Oct 22, 5:57 pm, Al Sutton <[EMAIL PROTECTED]> wrote: > AndAppStore.com saw a 300% increase in total traffic yesterday (with a > 577% increase in traffic from G1s). Downloads of apks was up over 200% > with 35% of all apk downloads being done by G1s (so if you're publishing > an app, please don't assume everyone is going to download it to a PC > first, you need to get you're MIME type right and an apk available). > > 60% of the hits were direct to site, 20% via Googles search page, and > the remaining was mostly made up from links from androidguys.com, the > T-Mobile forum, androidforums.com, and androidcommunity.com. > > They're here... > > Al.http://andappstore.com/ --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] feature requests/ bug reports from user perspective
Hello, I would like to know what the proper channel for feature requests and/ or bug reports from an end-users perspective is. I looked at the android issue tracker, and it seems that is mostly for developers. For example, I noticed today that the gmail client on Android can't handle Outlook meeting requests, which the gmail web client does handle. That would be a great feature! Where would I report something like this? I'm very excited to get into Android development and hope some day down the road I can contribute as a developer. I've been doing development/ sys architecture in .NET/SQL server for about 5 years now, did QA and testing before that, and I am looking forward to something new and exciting! Thanks, Richard L. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Bug: Automatic typing/Key Stuck?
I'm not really sure how to reproduce it, but sometimes my phone just starts typing '1' repeatedly. It will keep typing them, as many as it can, unless I stop it (hitting backspace, or backing out of it). It's really annoying, I'll be typing a URL, or a text message, and a bunch of 1s I didn't type myself will be inserted. I haven't read anywhere else with someone having this problem; perhaps I wasn't searching properly. Either way, the problem is out there :D --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] RingTone Picker in Rings Extend application
Sorry I am still a novice at this but I don't understand how the Rings Extend application is able to use the intent "android.intent.action.RINGTONE_PICKER" to intercept picking ringtones. I don't see that intent anywhere in the released SDK documentation. Is that a hidden intent? Am I completely misunderstanding this? Looking at the list of intents and the intent class, I don't see many intents to replace or add to core functionality of the phone. Like how was the Home Sweet Home application able to replace the Home screen? Which intent did it register to? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Detecting new media
Is there any elegant way in the API for detecting new media when it is written to the device? I'm mainly interested in photos taken by the camera, video taken by the camera and audio recorded from the mic. My current thinking is to periodically scan each media content provider and filter based on last scan time. I'm just wondering if there is some service I can hook into to get realtime notifications. Thanks for any hints, Declan --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Problem download source code in linux (ubuntu 8.04)
same as dpleiss here :( On 22 oct, 19:38, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > me too .. on my Mac I always get: > > $ repo sync > git.webkit.org[0: 74.86.47.130]: errno=Connection refused > fatal: unable to connect a socket (Connection refused) > error: Cannot fetch platform/external/webkit > > too bad .. didn't find a solution yet, other than retrying .. without > success so far :-( > > On Oct 22, 6:19 pm, "Rob Franz" <[EMAIL PROTECTED]> wrote: > > > I see this one too - I posted about this earlier. If you find out the > > cause, please share! > > > On Wed, Oct 22, 2008 at 2:41 AM, FERjon <[EMAIL PROTECTED]> wrote: > > > > I am having this problem when doing "repo sync" to get the source > > > code. > > > > :~$repo sync > > > fatal: The remote end hung up unexpectedly > > > error: Cannot fetch platform/bootloader/legacy > > > > I get this error as the download progresses. How can I solve this > > > problem? > > > > FerJon --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Market Place and Trial Software?
I was thinking along those lines too. However, not ruling out the other marketplaces which currently support a payment system. There's also the option of providing a paypal button on your own website (granted it will be less accessible) And it should be easy to tie an automatically emailed unlock code to a paypal payment to unlock extra features. Not that this couldn’t be easily defeated but if people are actively circumventing this then you're probably already laughing all the way to the bank anyway. -Original Message- From: android-developers@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of atrus123 Sent: Wednesday, October 22, 2008 1:26 PM To: Android Developers Subject: [android-developers] Re: Market Place and Trial Software? Another thing I was wondering if it would be possible to simply start charging for the app once that becomes an option. So we'd post our stuff now... free... and then go in and edit the price later on. It might be a good option; by then we'd have feedback, and any popularity might drive future revenue. I'd love to hear from a Google employee about how they expect this to work. On Oct 22, 4:07 pm, cyntacks <[EMAIL PROTECTED]> wrote: > Hi Al, > > Great stuuf, to be honest I'm not as adept at licensing as I should > be, given my job description and all! But there is def. a need for > licensing of some sort. I'm really surprised we have to wait until Q1 > (which, as we all know could mean as late as March 31!). It just > really puts a damper on the whole thing and is going to create > headaches for most of us. > > Time-to-Market is huge in this industry, and those of us who worked > very long days for too long toiling in the dark will not be able to > benefit (read "$") from the vacuum created when the new store goes > live on Monday. Just a shame, that's all... But then again, I guess we > could use the opportunity to perfect our products, or create more > apps. > > Keep on coding, and def. let me know about the licensing idea, very > interested. > > Kevin > > On Oct 22, 3:57 pm, Al Sutton <[EMAIL PROTECTED]> wrote: > > > Hi Kevin, > > > I think you'll end up with two apps initially. I'm looking at working on > > a licensing solution because there seems to be a need. Do you have any > > tips as to what you'd like to see? > > > Al. > > > cyntacks wrote: > > > Hi Al, > > > > I guess that is the question. Does Android support this type of > > > transaction (i.e. "lite" version)? I don't recall seeing anything in > > > the API about this. Of course I can just disable parts of the app, but > > > how would the user "upgrade" to the full version? > > > > Am I making to much out of this, will it all make sense come Monday > > > morning? > > > > Kevin > > > > On Oct 22, 3:44 pm, Al Sutton <[EMAIL PROTECTED]> wrote: > > > >> Can you not ship a cut down "lite" version with an option to pay for a > > >> fuller version? > > > >> Al. > > > >> atrus123 wrote: > > > >>> I'm disappointed that we won't be able to charge until next quarter, > > >>> and it does put a slight dent in my plans. I guess I'll just sigh and > > >>> deploy. > > > >>> On Oct 22, 1:56 pm, cyntacks <[EMAIL PROTECTED]> wrote: > > > Ok, so the Market Place will be live on Monday, AWESOME! AWESOME! > > AWESOME! > > > But here is a question for all you developers like us who are hoping > > to make some revenue off months of hard work. > > > Does the API currently support a way to make our applications "trial > > software"? That is, making them free until "March 1st" or some other > > date, at which time the user will have to pay? > > > Obviously getting on the phone and receiving user reviews is extremely > > important, but giving away all of our hard work "just seems wrong". I > > have read that over 1 million people have pre-ordered the phone, that > > is a lot of free software giveaways.. > > > What is everyone else doing? Waiting? Sayhing the heck with it and > > deploying? Just looking for some advice. > > > Kevin --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Problem with Handler and messages
You keep overriding your s variable. You should make the String part of the message you send. On Oct 22, 2008 3:12 PM, "Al_R" <[EMAIL PROTECTED]> wrote: Hi, I have an app which makes a new server thread. This server thread connects and parses data received from the irc server and uses a handler inside the main class to update the textview. The problem I'm having is most of the times, the message is not seen by the handler. I know for sure it exists, I can see it in LogCat. My classes are laid out like this: class main: public handler h; public string s; oncreate() { //declare my textview (tv) here //do the layout and stuff here Thread t = new Thread(new Server()); t.start(); handler = new handler() { @override public void handleMessage(Message m) () { tv.append(s); } }; Server class: public void run() { //connect to server and set up my buffered read/writer here String msg = reader.ReadLine(); mainClass.s = msg + "\n"; mainClass.h.sendEmptyMessage(0); } I'm not sure why it keeps on missing some messages. Maybe there is a better way to update the textview? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Does Android have a timeout callback?
SeekBar is an extension of ProgressBar, so all the update logic is already built in for you. See the ProgressBar docs (which have an example right in them): http://code.google.com/android/reference/android/widget/ProgressBar.html. On Oct 22, 9:30 am, "cH3Lu eu" <[EMAIL PROTECTED]> wrote: > well it's a SeekBar which should increment its progress at every second, do > you know how can i do that? :) > Thanks. > > 2008/10/22 Charlie Collins <[EMAIL PROTECTED]> > > > > > Android has java.util.Timer and related. > >http://code.google.com/android/reference/java/util/Timer.html > > > Use that on a background thread and call back into the UI via a > > Handler and Message. But be careful about updating every second, make > > sure you really need to do that. > > > On Oct 22, 3:36 am, "cH3Lu eu" <[EMAIL PROTECTED]> wrote: > > > Hi All, > > > > Does anybody knows if I can register a function to be called at every > > second > > > within an activity? if not, what do you suggest to do if I need a widget > > to > > > refresh at every 1 second? > > > > Thanks a lot. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] SIP for Android.
Hi all, Does anyone work on SIP phone for Android. I think it is really interesting topic. Moreover, it could be P2PSIP or somethings like that. -- Minh Nguyen, iPeering Tech. * http://www.ipeering.com * --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: FTP?
disappearedng wrote: > 1) Does android have its own FTP client? Not that I am aware of. > 2) Does android use TCP by default to establish a connection? That would depend on what you are trying to do. > 3) Does Android have its own TCP library? It supports Java sockets. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] obtaining an IPhone.Stub
Hi - I need to be able to place outgoing calls and interact with IPhone. This apparently, ~was~ the way to get it: private static IPhone getPhoneInterface() throws DeadObjectException { IServiceManager sm = ServiceManagerNative.getDefault(); IPhone phoneService = IPhone.Stub.asInterface(sm.getService("phone")); return phoneService; } However, my eclipse project does not accept: import android.os.ServiceManagerNative; and there is no longer a ServiceManagerNative class in the android javadoc. The API must have changed. Does anyone know the new way to do this? Much obliged. Paul --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] FTP?
Hi everyone, 1) Does android have its own FTP client? 2) Does android use TCP by default to establish a connection? 3) Does Android have its own TCP library? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Problem with Handler and messages
Hi, I have an app which makes a new server thread. This server thread connects and parses data received from the irc server and uses a handler inside the main class to update the textview. The problem I'm having is most of the times, the message is not seen by the handler. I know for sure it exists, I can see it in LogCat. My classes are laid out like this: class main: public handler h; public string s; oncreate() { //declare my textview (tv) here //do the layout and stuff here Thread t = new Thread(new Server()); t.start(); handler = new handler() { @override public void handleMessage(Message m) () { tv.append(s); } }; Server class: public void run() { //connect to server and set up my buffered read/writer here String msg = reader.ReadLine(); mainClass.s = msg + "\n"; mainClass.h.sendEmptyMessage(0); } I'm not sure why it keeps on missing some messages. Maybe there is a better way to update the textview? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Problem with Handler and messages
Hi, I have an app which makes a new server thread. This server thread connects and parses data received from the irc server and uses a handler inside the main class to update the textview. The problem I'm having is most of the times, the message is not seen by the handler. I know for sure it exists, I can see it in LogCat. My classes are laid out like this: class main: public handler h; public string s; oncreate() { //declare my textview (tv) here //do the layout and stuff here Thread t = new Thread(new Server()); t.start(); handler = new handler() { @override public void handleMessage(Message m) () { tv.append(s); } }; Server class: public void run() { //connect to server and set up my buffered read/writer here String msg = reader.ReadLine(); mainClass.s = msg + "\n"; mainClass.h.sendEmptyMessage(0); } I'm not sure why it keeps on missing some messages. Maybe there is a better way to update the textview? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Making a background app like the clock?
Ah. I tried looking around for references to this topic but couldn't find any. Thanks for the info. On Oct 22, 2:36 pm, "Casey Borders" <[EMAIL PROTECTED]> wrote: > They have said this isn't going to be supported in 1.0 of the SDK. > > On Wed, Oct 22, 2008 at 5:30 PM, songs <[EMAIL PROTECTED]> wrote: > > > Hi, > > > How do we go about making applications that can run directly on the > > Home screen in their own discreet UI container like the analog clock? > > > Regards, > > Steve --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] getChildrenCursor() JOINs
ExpandableList2.java uses a content provider. I'm using SQLite on it's own. What type of Join should I implement in the getChildrenCursor() method? - Juan 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Simulate key press action.
I have progressed this far.. Using "android.test.InstrumentationTestCase" in a unit test and running from a shell could help simulate key press action. Observe:public void sendKeys(int... keys) Sends a series of key events through instrumentation and waits for idle. For instance: sendKeys(KEYCODE_DPAD_LEFT, KEYCODE_DPAD_CENTER). This is all available on http://code.google.com/android/reference/android/test/InstrumentationTestCase.html My problem now: I do not know how to do unit testing in the Android env. Any clues? Regards On Wed, Oct 22, 2008 at 1:01 PM, hackbod <[EMAIL PROTECTED]> wrote: > > Note that third party apps can't inject input events into other apps. > You can only do this from an app launched from the user's shell (and > so running as the user). > > On Oct 22, 11:25 am, "Declan Shanaghy" <[EMAIL PROTECTED]> wrote: > > The monkey should be able to help here! > http://code.google.com/android/reference/monkey.html > > > > It is configurable but im not sure if it meets your needs 100%. > > You could enhance it, but at the very least you can copy what it does > into > > an app of your own. > > > > Ah, you just reminded me of good the ole Code Monkey song! > :-Dhttp://www.youtube.com/watch?v=v4Wy7gRGgeA > > > > -Original Message- > > From: android-developers@googlegroups.com > > > > [mailto:[EMAIL PROTECTED] On Behalf Of BeeScreen > > Sent: Wednesday, October 22, 2008 11:15 AM > > To: Android Developers > > Subject: [android-developers] Simulate key press action. > > > > Hi, > > I am new to Android dev. > > Just been asked to research if I can simulate the key press action. > > Boss wants me to write a program that can press the phone keys instead > > of me > > pressing them. Is this possible in Android. Please point me to any > > clues. > > Thanks in advance. > > > > Regards > > Beescreen > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Making a background app like the clock?
They have said this isn't going to be supported in 1.0 of the SDK. On Wed, Oct 22, 2008 at 5:30 PM, songs <[EMAIL PROTECTED]> wrote: > > Hi, > > How do we go about making applications that can run directly on the > Home screen in their own discreet UI container like the analog clock? > > Regards, > Steve > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Making a background app like the clock?
Hi, How do we go about making applications that can run directly on the Home screen in their own discreet UI container like the analog clock? Regards, Steve --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: ADB via USB
I work in Gentoo, and I don't automount any USB device. Oddly, accessing the G1 was surprisingly easy. I created a directory in my home and mounted: sudo mount /dev/sdb ~/g1 ls ~/g1 showed the folders on the SD card. I found it odd that the mountpoint was actually sdb as opposed to sdb1 or something like that. Using adb to list devices showed the G1 connected. From there, I could interface with it just as I would the emulator. Not sure if this will help anyone using other distros or Windows, but I figure I'll drop it here anyway just in case. On Oct 22, 4:20 pm, Ed Burnette <[EMAIL PROTECTED]> wrote: > It's not working for me. The device driver won't install, and I get > this error from Vista64: > > Description: > Windows detected a new device attached to your computer, but could > not find the driver software it needs to make the device usable. Each > device manufacturer typically includes driver software of a CD that > comes with the device, or as a download from its website. The hardware > ID of your device is USB\VID_0BB4&PID_0C02&REV_0100&MI_01. > > Problem signature: > Problem Event Name: PnPDriverNotFound > Architecture: x64 > Hardware Id: USB\VID_0BB4&PID_0C02&REV_0100&MI_01 > OS Version: 6.0.6001.2.1.0.256.4 > Locale ID: 1033 > > On Oct 22, 3:03 pm, "Xavier Ducrohet" <[EMAIL PROTECTED]> wrote: > > > Hi Mark, > > > We just updated the doc regarding developing on devices, for all platforms. > > >http://code.google.com/android/intro/develop-and-debug.html#developin... > > > Xav --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Market Place and Trial Software?
Hey Joey, Thanks! I actually read this feed every day and even was discussing "slideme" earlier, I should have mentioned that. I'm just not so keen on a non-google solution at this point, but I guess if it means selling apps or not, what choice do we have? :) Thanks again for the post, Kevin On Oct 22, 4:14 pm, Joey Yandle <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > Great stuuf, to be honest I'm not as adept at licensing as I should > > be, given my job description and all! But there is def. a need for > > licensing of some sort. I'm really surprised we have to wait until Q1 > > (which, as we all know could mean as late as March 31!). It just > > really puts a damper on the whole thing and is going to create > > headaches for most of us. > > If you'd been paying attention to this list, you would have seen that > the SlideME people are planning on having their payment system up and > running next week. Here's their FAQ page concerning payouts: > > http://slideme.org/Payouts > > Hopefully they will have some more concrete dates posted soon, but > you should be able to sell your app there in the very near future, long > before the Google Marketplace is ready. > > cheers, > > Joey > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.5 (GNU/Linux) > Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org > > iD8DBQFI/4m5Nig/07RbnEsRAg2BAJ9+RuqKLj0Bhl81yFkkzMlljDf+lQCfZO6w > WDsT6wqnXY4ZrewRPcnBg6Y= > =akex > -END PGP SIGNATURE- --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How do you compile the bundled apps that comes with the Android source code
I downloaded the source code for the Android Open Source Project. In it are apps such as the dialer app , IM app, and the email app. I want to build them and install them to my G1 as some of these apps seem to have added features than the versions the G1 come with.. However, these apps use APIs which are not in the SDK so they are not readily compilable. How do I generate the apk's ? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Market Place and Trial Software?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> I will also take a special joy in >> ripping their internal APIs out of their source distribution, and using >> them wherever I desire... > > We can't prevent you from doing this but you are really doing yourself > and your *paying* customers a disservice. The internal APIs are > internal because they are very likely to move/change/disappear in a > future update, which will in turn break your application binaries and > source code. With no guarantee that the feature you were using are > still present. > You're assuming that I plan on *linking* to the *binary* internal APIs. I clearly stated that I plan on *ripping* them out of the *source*, at which point *I* assume control over how they move/change/disappear. Welcome to the world of open source. - -- ᛏᚠᛖᚾᚱᛁᛊᚢᛚᚠᚱᛏ ᛏᚢᛚᚠᛊᛚᛖᛁᚠᚨᚱᛏ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI/5IyNig/07RbnEsRAunGAJ4nJ1+zFWqWyTIty8qVXjABQThYXgCeNNji mZfgwbkMt7l1AFgJHOD1+z8= =ax6H -END PGP SIGNATURE- --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Padding Not Working in XML but does in Java
I know this because I work on android.widget and android.view :) Anyway, you could simply set the padding programmatically but define all the padding values in an XML file, like a dimens.xml, and extra these values. This is not perfect but at least you don't hardcode your padding. The reason why setting an image resets the padding is because 9-patch images can encode padding. If missing, we assume a padding of 0. On Wed, Oct 22, 2008 at 12:40 PM, cyntacks <[EMAIL PROTECTED]> wrote: > > Romain, > > Awesome! Yes, I am setting the button image from within the code. I > will have to do this programmatically since my design requires I set > the image from the code. For example, my application has a "home" > screen with 20 buttons on it. Each button represents a "category" and > the user can select which categories they want to appear on the home > screen from a set of 40. So, I can't hard code the images in the XML, > they must be dynamic. > > BUT, knowing this now makes me feel much better about keeping this in > Java, since there is no other way!!! > > Thanks so much for the reply, > > Kevin > > PS: Did you just know this, or was this documented somewhere that I > missed? > > > > Oct 22, 3:14 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote: >> Are you setting the background and/or button image from your code? If >> yes, this will override the padding. >> >> >> >> On Wed, Oct 22, 2008 at 12:12 PM, cyntacks <[EMAIL PROTECTED]> wrote: >> >> > Hi everyone, just wanted to give this a bump. Anyone have this >> > problem? I really would like to include the padding in the XML so that >> > the correct padding is loaded with the correct layout auto-magically. >> > But without this I have to have this in the source >> >> > On Oct 21, 8:02 pm, cyntacks <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> >> This is a strange issue and I can't seem to figure out why it is >> >> happening. I have a set of ImageButtons in my xml Layout (inside of a >> >> Table/Row) which require padding. Here is a sample button: >> >> >> [code] >> >> >> >> [/code] >> >> >> I attempt to add padding to all 4 edges, like so: >> >> >> [code] >> >> >> >> [/code] >> >> >> But it doesn't work. BUT, if I add the padding to the button >> >> dynamically in the source, it does work. Like so: >> >> >> [code] >> >> button.setPadding(5, 2, 5, 2); >> >> [/code] >> >> >> Any ideas what is going on here? This is killing me because the last >> >> thing I want to do is have the padding configured in the source, then >> >> it would have to be the same for each layout or I would have to add >> >> overhead into the code... >> >> >> As always, thanks for the help, >> >> >> Kevin >> >> -- >> Romain Guywww.curious-creature.org > > > -- Romain Guy www.curious-creature.org --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Market Place and Trial Software?
Hi Al, Great stuuf, to be honest I'm not as adept at licensing as I should be, given my job description and all! But there is def. a need for licensing of some sort. I'm really surprised we have to wait until Q1 (which, as we all know could mean as late as March 31!). It just really puts a damper on the whole thing and is going to create headaches for most of us. Time-to-Market is huge in this industry, and those of us who worked very long days for too long toiling in the dark will not be able to benefit (read "$") from the vacuum created when the new store goes live on Monday. Just a shame, that's all... But then again, I guess we could use the opportunity to perfect our products, or create more apps. Keep on coding, and def. let me know about the licensing idea, very interested. Kevin On Oct 22, 3:57 pm, Al Sutton <[EMAIL PROTECTED]> wrote: > Hi Kevin, > > I think you'll end up with two apps initially. I'm looking at working on > a licensing solution because there seems to be a need. Do you have any > tips as to what you'd like to see? > > Al. > > cyntacks wrote: > > Hi Al, > > > I guess that is the question. Does Android support this type of > > transaction (i.e. "lite" version)? I don't recall seeing anything in > > the API about this. Of course I can just disable parts of the app, but > > how would the user "upgrade" to the full version? > > > Am I making to much out of this, will it all make sense come Monday > > morning? > > > Kevin > > > On Oct 22, 3:44 pm, Al Sutton <[EMAIL PROTECTED]> wrote: > > >> Can you not ship a cut down "lite" version with an option to pay for a > >> fuller version? > > >> Al. > > >> atrus123 wrote: > > >>> I'm disappointed that we won't be able to charge until next quarter, > >>> and it does put a slight dent in my plans. I guess I'll just sigh and > >>> deploy. > > >>> On Oct 22, 1:56 pm, cyntacks <[EMAIL PROTECTED]> wrote: > > Ok, so the Market Place will be live on Monday, AWESOME! AWESOME! > AWESOME! > > But here is a question for all you developers like us who are hoping > to make some revenue off months of hard work. > > Does the API currently support a way to make our applications "trial > software"? That is, making them free until "March 1st" or some other > date, at which time the user will have to pay? > > Obviously getting on the phone and receiving user reviews is extremely > important, but giving away all of our hard work "just seems wrong". I > have read that over 1 million people have pre-ordered the phone, that > is a lot of free software giveaways.. > > What is everyone else doing? Waiting? Sayhing the heck with it and > deploying? Just looking for some advice. > > Kevin --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Source Code Now Available
On Oct 22, 1:34 pm, Al Sutton <[EMAIL PROTECTED]> wrote: > So what exactly is the restriction you mentioned on applications dialing > emergency services numbers? What I'm talking about is everything handled > within the UI of a third party dialler, is that possible? You can't directly start them yourself, you need to go through the dialer for the user to confirm. > Didn't you say earlier that Marketplace has a different permission UI?, > so isn't Marketplace able to alter it's UI based on user feedback > whereas SlideME is study with whatever the system provides? They both use the same permission UI, market just shows it before downloading the app. > If you want another example; the kill list. How could SlideME offer a > similar level of protection from harmful apps without the ability to > uninstall apps without user intervention. In this case, you'd need to have the user confirm to remove the app. We have some ideas for how to allow others to better manage which apps can be installed on a particular device, but didn't have time to do anything for 1.0. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Market Place and Trial Software?
> I will also take a special joy in > ripping their internal APIs out of their source distribution, and using > them wherever I desire... We can't prevent you from doing this but you are really doing yourself and your *paying* customers a disservice. The internal APIs are internal because they are very likely to move/change/disappear in a future update, which will in turn break your application binaries and source code. With no guarantee that the feature you were using are still present. -- Romain Guy www.curious-creature.org --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Market Place and Trial Software?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Kevin, I totally agree that it would be better to use the Google market, but at this point I'm more than a little tired of Google's foot-dragging, general lack of communication, and the growing disconnect between what their marketing and technical people say about their Android plans. So I will happily use SlideME, AndoidAppStore, and/or anyone else who gets a payment system up and running. I will also take a special joy in ripping their internal APIs out of their source distribution, and using them wherever I desire... cheers, Joey -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI/46VNig/07RbnEsRAs0FAJ4geI4gk3bFxD4nKcy7sMk86LzBngCg9spc SEtdfGsEMh42BnzkeA/Nv2o= =d1oY -END PGP SIGNATURE- --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Source Code Now Available
hackbod wrote: > On Oct 22, 12:02 pm, Al Sutton <[EMAIL PROTECTED]> wrote: > >> In the case of the emergency services dialling, this shouldn't be an >> outright block on apps dialling the number, the OS should limit the >> behaviour (e.g. The OS pops up a system dialogue asking the user for >> confirmation if the emergency service number is dialled). >> > > You can absolutely do this. Just launch the dialer with the desired > number, to let the user confirm the call. > > So what exactly is the restriction you mentioned on applications dialing emergency services numbers? What I'm talking about is everything handled within the UI of a third party dialler, is that possible? >> Users love customisation. There are companies that survive purely on >> selling ring tones and wallpapers to phone users. And most phone users >> don't want to get involved in technical issues, so they aren't going to >> install a James Bond dialler and say "OK, if I need emergency services >> I'll switch my dialler app", they're just going to say "The built in >> dialler lets me dial 911, this dialler must be shoddy if it doesn't". >> Similarly they aren't going to go "The SlideME app is doing the best it >> can with it's limited UI flow", they're going to say "Market place is >> far slicker than SlideME, so I'm going to stick with that?" >> > > The ONLY difference between the two is the SlideME needs to download > the app first... so it can go through the OS's install confirmation > dialog (which needs to have the .apk already downloaded to verify with > the user what is being installed)... which seems to be exactly what > you are advocating. So what is the big deal? > Didn't you say earlier that Marketplace has a different permission UI?, so isn't Marketplace able to alter it's UI based on user feedback whereas SlideME is study with whatever the system provides? If you want another example; the kill list. How could SlideME offer a similar level of protection from harmful apps without the ability to uninstall apps without user intervention. Al. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: BouncyCastle PKCS12 - dead?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Program fragment that works as expected in J2SE with both BC and SUN > JCE providers: > The Android security implementation appears to be lacking multiple encryption and hashing algorithms (e.g. RIPEMD160) that one would normally expect to be present. I have no idea what the rationale was for which algorithms made the cut and which didn't. This hasn't stopped me from writing a fully featured encryption program, but it did force me to use some specific algorithms that I wasn't planning on using (e.g. AES). cheers, Joey -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI/4w/Nig/07RbnEsRAgKeAJ903Ji8g3Z4QnhPYSoY3E0Z7g55BwCfRbQE 8M1kKwzeDVNP0+gAKl9kYvE= =JihO -END PGP SIGNATURE- --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Market Place and Trial Software?
Another thing I was wondering if it would be possible to simply start charging for the app once that becomes an option. So we'd post our stuff now... free... and then go in and edit the price later on. It might be a good option; by then we'd have feedback, and any popularity might drive future revenue. I'd love to hear from a Google employee about how they expect this to work. On Oct 22, 4:07 pm, cyntacks <[EMAIL PROTECTED]> wrote: > Hi Al, > > Great stuuf, to be honest I'm not as adept at licensing as I should > be, given my job description and all! But there is def. a need for > licensing of some sort. I'm really surprised we have to wait until Q1 > (which, as we all know could mean as late as March 31!). It just > really puts a damper on the whole thing and is going to create > headaches for most of us. > > Time-to-Market is huge in this industry, and those of us who worked > very long days for too long toiling in the dark will not be able to > benefit (read "$") from the vacuum created when the new store goes > live on Monday. Just a shame, that's all... But then again, I guess we > could use the opportunity to perfect our products, or create more > apps. > > Keep on coding, and def. let me know about the licensing idea, very > interested. > > Kevin > > On Oct 22, 3:57 pm, Al Sutton <[EMAIL PROTECTED]> wrote: > > > Hi Kevin, > > > I think you'll end up with two apps initially. I'm looking at working on > > a licensing solution because there seems to be a need. Do you have any > > tips as to what you'd like to see? > > > Al. > > > cyntacks wrote: > > > Hi Al, > > > > I guess that is the question. Does Android support this type of > > > transaction (i.e. "lite" version)? I don't recall seeing anything in > > > the API about this. Of course I can just disable parts of the app, but > > > how would the user "upgrade" to the full version? > > > > Am I making to much out of this, will it all make sense come Monday > > > morning? > > > > Kevin > > > > On Oct 22, 3:44 pm, Al Sutton <[EMAIL PROTECTED]> wrote: > > > >> Can you not ship a cut down "lite" version with an option to pay for a > > >> fuller version? > > > >> Al. > > > >> atrus123 wrote: > > > >>> I'm disappointed that we won't be able to charge until next quarter, > > >>> and it does put a slight dent in my plans. I guess I'll just sigh and > > >>> deploy. > > > >>> On Oct 22, 1:56 pm, cyntacks <[EMAIL PROTECTED]> wrote: > > > Ok, so the Market Place will be live on Monday, AWESOME! AWESOME! > > AWESOME! > > > But here is a question for all you developers like us who are hoping > > to make some revenue off months of hard work. > > > Does the API currently support a way to make our applications "trial > > software"? That is, making them free until "March 1st" or some other > > date, at which time the user will have to pay? > > > Obviously getting on the phone and receiving user reviews is extremely > > important, but giving away all of our hard work "just seems wrong". I > > have read that over 1 million people have pre-ordered the phone, that > > is a lot of free software giveaways.. > > > What is everyone else doing? Waiting? Sayhing the heck with it and > > deploying? Just looking for some advice. > > > Kevin --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: ADB via USB
It's not working for me. The device driver won't install, and I get this error from Vista64: Description: Windows detected a new device attached to your computer, but could not find the driver software it needs to make the device usable. Each device manufacturer typically includes driver software of a CD that comes with the device, or as a download from its website. The hardware ID of your device is USB\VID_0BB4&PID_0C02&REV_0100&MI_01. Problem signature: Problem Event Name: PnPDriverNotFound Architecture: x64 Hardware Id: USB\VID_0BB4&PID_0C02&REV_0100&MI_01 OS Version: 6.0.6001.2.1.0.256.4 Locale ID:1033 On Oct 22, 3:03 pm, "Xavier Ducrohet" <[EMAIL PROTECTED]> wrote: > Hi Mark, > > We just updated the doc regarding developing on devices, for all platforms. > > http://code.google.com/android/intro/develop-and-debug.html#developin... > > Xav > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Market Place and Trial Software?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Great stuuf, to be honest I'm not as adept at licensing as I should > be, given my job description and all! But there is def. a need for > licensing of some sort. I'm really surprised we have to wait until Q1 > (which, as we all know could mean as late as March 31!). It just > really puts a damper on the whole thing and is going to create > headaches for most of us. > If you'd been paying attention to this list, you would have seen that the SlideME people are planning on having their payment system up and running next week. Here's their FAQ page concerning payouts: http://slideme.org/Payouts Hopefully they will have some more concrete dates posted soon, but you should be able to sell your app there in the very near future, long before the Google Marketplace is ready. cheers, Joey -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI/4m5Nig/07RbnEsRAg2BAJ9+RuqKLj0Bhl81yFkkzMlljDf+lQCfZO6w WDsT6wqnXY4ZrewRPcnBg6Y= =akex -END PGP SIGNATURE- --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Padding Not Working in XML but does in Java
That totally makes sense (the 9 patch image) And good idea about using the XML for the padding, why didn't I think of that? :) Thanks again, Going to get going on this now... Kevin On Oct 22, 3:59 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote: > I know this because I work on android.widget and android.view :) > > Anyway, you could simply set the padding programmatically but define > all the padding values in an XML file, like a dimens.xml, and extra > these values. This is not perfect but at least you don't hardcode your > padding. > > The reason why setting an image resets the padding is because 9-patch > images can encode padding. If missing, we assume a padding of 0. > > > > On Wed, Oct 22, 2008 at 12:40 PM, cyntacks <[EMAIL PROTECTED]> wrote: > > > Romain, > > > Awesome! Yes, I am setting the button image from within the code. I > > will have to do this programmatically since my design requires I set > > the image from the code. For example, my application has a "home" > > screen with 20 buttons on it. Each button represents a "category" and > > the user can select which categories they want to appear on the home > > screen from a set of 40. So, I can't hard code the images in the XML, > > they must be dynamic. > > > BUT, knowing this now makes me feel much better about keeping this in > > Java, since there is no other way!!! > > > Thanks so much for the reply, > > > Kevin > > > PS: Did you just know this, or was this documented somewhere that I > > missed? > > > Oct 22, 3:14 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote: > >> Are you setting the background and/or button image from your code? If > >> yes, this will override the padding. > > >> On Wed, Oct 22, 2008 at 12:12 PM, cyntacks <[EMAIL PROTECTED]> wrote: > > >> > Hi everyone, just wanted to give this a bump. Anyone have this > >> > problem? I really would like to include the padding in the XML so that > >> > the correct padding is loaded with the correct layout auto-magically. > >> > But without this I have to have this in the source > > >> > On Oct 21, 8:02 pm, cyntacks <[EMAIL PROTECTED]> wrote: > >> >> Hi, > > >> >> This is a strange issue and I can't seem to figure out why it is > >> >> happening. I have a set of ImageButtons in my xml Layout (inside of a > >> >> Table/Row) which require padding. Here is a sample button: > > >> >> [code] > >> >> > >> >> [/code] > > >> >> I attempt to add padding to all 4 edges, like so: > > >> >> [code] > >> >> > >> >> [/code] > > >> >> But it doesn't work. BUT, if I add the padding to the button > >> >> dynamically in the source, it does work. Like so: > > >> >> [code] > >> >> button.setPadding(5, 2, 5, 2); > >> >> [/code] > > >> >> Any ideas what is going on here? This is killing me because the last > >> >> thing I want to do is have the padding configured in the source, then > >> >> it would have to be the same for each layout or I would have to add > >> >> overhead into the code... > > >> >> As always, thanks for the help, > > >> >> Kevin > > >> -- > >> Romain Guywww.curious-creature.org > > -- > Romain Guywww.curious-creature.org --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] BouncyCastle PKCS12 - dead?
Program fragment that works as expected in J2SE with both BC and SUN JCE providers: public static void main (String arg[]) throws Exception { KeyStore store = KeyStore.getInstance("PKCS12"); store.load (new FileInputStream (new File (arg[0])), arg[1].toCharArray ()); } Tested in Android: dalvikvm -cp app/com.example.android.lunarlander.apk com.example.android.lunarla nder.LunarLander android.p12 test java.io.IOException: exception unwrapping private key - java.security.NoSuchAlgo rithmException: SecretKeyFactory 1.2.840.113549.1.12.1.3 implementation not foun d at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.unwrapKey(JDKPKCS12Ke yStore.java:582) at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.engineLoad(JDKPKCS12K eyStore.java:841) at java.security.KeyStore.load(KeyStore.java:456) at com.example.android.lunarlander.LunarLander.main(LunarLander.java:241 ) at dalvik.system.NativeStart.main(Native Method) # Sorry for clobbering the LunarLander sample but it is really cool using command-line sometimes :-) Anders --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Simulate key press action.
Note that third party apps can't inject input events into other apps. You can only do this from an app launched from the user's shell (and so running as the user). On Oct 22, 11:25 am, "Declan Shanaghy" <[EMAIL PROTECTED]> wrote: > The monkey should be able to help > here!http://code.google.com/android/reference/monkey.html > > It is configurable but im not sure if it meets your needs 100%. > You could enhance it, but at the very least you can copy what it does into > an app of your own. > > Ah, you just reminded me of good the ole Code Monkey song! > :-Dhttp://www.youtube.com/watch?v=v4Wy7gRGgeA > > -Original Message- > From: android-developers@googlegroups.com > > [mailto:[EMAIL PROTECTED] On Behalf Of BeeScreen > Sent: Wednesday, October 22, 2008 11:15 AM > To: Android Developers > Subject: [android-developers] Simulate key press action. > > Hi, > I am new to Android dev. > Just been asked to research if I can simulate the key press action. > Boss wants me to write a program that can press the phone keys instead > of me > pressing them. Is this possible in Android. Please point me to any > clues. > Thanks in advance. > > Regards > Beescreen --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Source Code Now Available
On Oct 22, 12:02 pm, Al Sutton <[EMAIL PROTECTED]> wrote: > In the case of the emergency services dialling, this shouldn't be an > outright block on apps dialling the number, the OS should limit the > behaviour (e.g. The OS pops up a system dialogue asking the user for > confirmation if the emergency service number is dialled). You can absolutely do this. Just launch the dialer with the desired number, to let the user confirm the call. > Users love customisation. There are companies that survive purely on > selling ring tones and wallpapers to phone users. And most phone users > don't want to get involved in technical issues, so they aren't going to > install a James Bond dialler and say "OK, if I need emergency services > I'll switch my dialler app", they're just going to say "The built in > dialler lets me dial 911, this dialler must be shoddy if it doesn't". > Similarly they aren't going to go "The SlideME app is doing the best it > can with it's limited UI flow", they're going to say "Market place is > far slicker than SlideME, so I'm going to stick with that?" The ONLY difference between the two is the SlideME needs to download the app first... so it can go through the OS's install confirmation dialog (which needs to have the .apk already downloaded to verify with the user what is being installed)... which seems to be exactly what you are advocating. So what is the big deal? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Market Place and Trial Software?
Hi Kevin, I think you'll end up with two apps initially. I'm looking at working on a licensing solution because there seems to be a need. Do you have any tips as to what you'd like to see? Al. cyntacks wrote: > Hi Al, > > I guess that is the question. Does Android support this type of > transaction (i.e. "lite" version)? I don't recall seeing anything in > the API about this. Of course I can just disable parts of the app, but > how would the user "upgrade" to the full version? > > Am I making to much out of this, will it all make sense come Monday > morning? > > Kevin > > > > On Oct 22, 3:44 pm, Al Sutton <[EMAIL PROTECTED]> wrote: > >> Can you not ship a cut down "lite" version with an option to pay for a >> fuller version? >> >> Al. >> >> atrus123 wrote: >> >>> I'm disappointed that we won't be able to charge until next quarter, >>> and it does put a slight dent in my plans. I guess I'll just sigh and >>> deploy. >>> >>> On Oct 22, 1:56 pm, cyntacks <[EMAIL PROTECTED]> wrote: >>> Ok, so the Market Place will be live on Monday, AWESOME! AWESOME! AWESOME! But here is a question for all you developers like us who are hoping to make some revenue off months of hard work. Does the API currently support a way to make our applications "trial software"? That is, making them free until "March 1st" or some other date, at which time the user will have to pay? Obviously getting on the phone and receiving user reviews is extremely important, but giving away all of our hard work "just seems wrong". I have read that over 1 million people have pre-ordered the phone, that is a lot of free software giveaways.. What is everyone else doing? Waiting? Sayhing the heck with it and deploying? Just looking for some advice. Kevin > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Market Place and Trial Software?
Hi Al, I guess that is the question. Does Android support this type of transaction (i.e. "lite" version)? I don't recall seeing anything in the API about this. Of course I can just disable parts of the app, but how would the user "upgrade" to the full version? Am I making to much out of this, will it all make sense come Monday morning? Kevin On Oct 22, 3:44 pm, Al Sutton <[EMAIL PROTECTED]> wrote: > Can you not ship a cut down "lite" version with an option to pay for a > fuller version? > > Al. > > atrus123 wrote: > > I'm disappointed that we won't be able to charge until next quarter, > > and it does put a slight dent in my plans. I guess I'll just sigh and > > deploy. > > > On Oct 22, 1:56 pm, cyntacks <[EMAIL PROTECTED]> wrote: > > >> Ok, so the Market Place will be live on Monday, AWESOME! AWESOME! > >> AWESOME! > > >> But here is a question for all you developers like us who are hoping > >> to make some revenue off months of hard work. > > >> Does the API currently support a way to make our applications "trial > >> software"? That is, making them free until "March 1st" or some other > >> date, at which time the user will have to pay? > > >> Obviously getting on the phone and receiving user reviews is extremely > >> important, but giving away all of our hard work "just seems wrong". I > >> have read that over 1 million people have pre-ordered the phone, that > >> is a lot of free software giveaways.. > > >> What is everyone else doing? Waiting? Sayhing the heck with it and > >> deploying? Just looking for some advice. > > >> Kevin --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Market Place and Trial Software?
Can you not ship a cut down "lite" version with an option to pay for a fuller version? Al. atrus123 wrote: > I'm disappointed that we won't be able to charge until next quarter, > and it does put a slight dent in my plans. I guess I'll just sigh and > deploy. > > > On Oct 22, 1:56 pm, cyntacks <[EMAIL PROTECTED]> wrote: > >> Ok, so the Market Place will be live on Monday, AWESOME! AWESOME! >> AWESOME! >> >> But here is a question for all you developers like us who are hoping >> to make some revenue off months of hard work. >> >> Does the API currently support a way to make our applications "trial >> software"? That is, making them free until "March 1st" or some other >> date, at which time the user will have to pay? >> >> Obviously getting on the phone and receiving user reviews is extremely >> important, but giving away all of our hard work "just seems wrong". I >> have read that over 1 million people have pre-ordered the phone, that >> is a lot of free software giveaways.. >> >> What is everyone else doing? Waiting? Sayhing the heck with it and >> deploying? Just looking for some advice. >> >> Kevin >> > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Padding Not Working in XML but does in Java
Romain, Awesome! Yes, I am setting the button image from within the code. I will have to do this programmatically since my design requires I set the image from the code. For example, my application has a "home" screen with 20 buttons on it. Each button represents a "category" and the user can select which categories they want to appear on the home screen from a set of 40. So, I can't hard code the images in the XML, they must be dynamic. BUT, knowing this now makes me feel much better about keeping this in Java, since there is no other way!!! Thanks so much for the reply, Kevin PS: Did you just know this, or was this documented somewhere that I missed? Oct 22, 3:14 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote: > Are you setting the background and/or button image from your code? If > yes, this will override the padding. > > > > On Wed, Oct 22, 2008 at 12:12 PM, cyntacks <[EMAIL PROTECTED]> wrote: > > > Hi everyone, just wanted to give this a bump. Anyone have this > > problem? I really would like to include the padding in the XML so that > > the correct padding is loaded with the correct layout auto-magically. > > But without this I have to have this in the source > > > On Oct 21, 8:02 pm, cyntacks <[EMAIL PROTECTED]> wrote: > >> Hi, > > >> This is a strange issue and I can't seem to figure out why it is > >> happening. I have a set of ImageButtons in my xml Layout (inside of a > >> Table/Row) which require padding. Here is a sample button: > > >> [code] > >> > >> [/code] > > >> I attempt to add padding to all 4 edges, like so: > > >> [code] > >> > >> [/code] > > >> But it doesn't work. BUT, if I add the padding to the button > >> dynamically in the source, it does work. Like so: > > >> [code] > >> button.setPadding(5, 2, 5, 2); > >> [/code] > > >> Any ideas what is going on here? This is killing me because the last > >> thing I want to do is have the padding configured in the source, then > >> it would have to be the same for each layout or I would have to add > >> overhead into the code... > > >> As always, thanks for the help, > > >> Kevin > > -- > Romain Guywww.curious-creature.org --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Market Place and Trial Software?
I'm disappointed that we won't be able to charge until next quarter, and it does put a slight dent in my plans. I guess I'll just sigh and deploy. On Oct 22, 1:56 pm, cyntacks <[EMAIL PROTECTED]> wrote: > Ok, so the Market Place will be live on Monday, AWESOME! AWESOME! > AWESOME! > > But here is a question for all you developers like us who are hoping > to make some revenue off months of hard work. > > Does the API currently support a way to make our applications "trial > software"? That is, making them free until "March 1st" or some other > date, at which time the user will have to pay? > > Obviously getting on the phone and receiving user reviews is extremely > important, but giving away all of our hard work "just seems wrong". I > have read that over 1 million people have pre-ordered the phone, that > is a lot of free software giveaways.. > > What is everyone else doing? Waiting? Sayhing the heck with it and > deploying? Just looking for some advice. > > Kevin --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: If delete R.java, how how can recover it?
The only reason R.java would not be generated is if there are errors in your XML resources. Check the Console view in Eclipse (make sure to switch to Android, as the plugin creates 2 consoles: DDMS and Android) to see if there is any output. Also check the Problems view and/or the Package Explorer for errors. On Wed, Oct 22, 2008 at 10:11 AM, misbell <[EMAIL PROTECTED]> wrote: > > > No one answered this question. > > Build Automatically is checked in Eclipse. Still doesn't regenerate > R.java. (Ganymede). > > Also, whenit existed, I made a change to main.xml, r.java was NOT > regenerated. > > There is nothing whatsoever wrong with my manifest file. The app ran > perfectly before I dared to alter the XML. > > This is flakey beyond belief. > > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: ADB via USB
Hi Mark, We just updated the doc regarding developing on devices, for all platforms. http://code.google.com/android/intro/develop-and-debug.html#developingondevicehardware Xav On Wed, Oct 22, 2008 at 9:16 AM, Mark Murphy <[EMAIL PROTECTED]> wrote: > > Xavier Ducrohet wrote: >> Developing on a device is very similar to using the emulator. >> Once you have enabled USB debugging in your device, it'll just work, >> as adb and DDMS will see your device. > > I'm in the same boat as the OP. Here are details: > > On the G1, I have "USB debugging" and "Stay awake" both checked. I also > have the "Use for USB storage" option unchecked, though I've tried it > both ways. > > I plug the G1 into my Ubuntu 8.04 machine via a powered USB hub, and it > is recognized: > > Oct 22 12:07:51 nc8000 kernel: [1073867.494452] usb 4-1.4.3: new high > speed USB device using ehci_hcd and address 19 > Oct 22 12:07:51 nc8000 kernel: [1073867.627427] usb 4-1.4.3: > configuration #1 chosen from 1 choice > Oct 22 12:07:51 nc8000 kernel: [378864.537868] scsi9 : SCSI emulation > for USB Mass Storage devices > Oct 22 12:07:56 nc8000 kernel: [1073876.329063] scsi 9:0:0:0: > Direct-Access HTC Android Phone0100 PQ: 0 ANSI: 2 > Oct 22 12:07:57 nc8000 kernel: [1073876.345904] sd 9:0:0:0: [sdc] > Attached SCSI removable disk > Oct 22 12:07:57 nc8000 kernel: [1073876.346023] sd 9:0:0:0: Attached > scsi generic sg3 type 0 > > But I get no love from adb: > > [EMAIL PROTECTED]:~$ adb devices > List of devices attached > emulator-5554 device > > It shows my running emulator instance and nothing else. > > If I close up the emulator and try the steps all over again: > > [EMAIL PROTECTED]:~$ adb devices > List of devices attached > > What's curious is that I don't get "no device" per the instructions. I > also see no sign of it via lspci -v or lspci -vv. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com > > Android Training on the Ranch! -- Mar 16-20, 2009 > http://www.bignerdranch.com/schedule.shtml > > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Loading application to actual device through Eclipse?
Cool, that would answer the question then... thanks! On Wed, Oct 22, 2008 at 3:25 PM, Xavier Ducrohet <[EMAIL PROTECTED]> wrote: > > There is no need for an Eclipse extension. > > The Eclipse plugin works on top of adb which handles communication > with emulators and devices. As long as adb is able to see your G1, all > the tools with work with the G1. > > To develop on hardware, please look at: > > http://code.google.com/android/intro/develop-and-debug.html#developingondevicehardware > > Xav > > On Wed, Oct 22, 2008 at 11:27 AM, Rob Franz <[EMAIL PROTECTED]> wrote: > > As far as loading over USB from your machine to your phone, I don't know. > > THat would be great as an extension to Eclipse - perhaps as an option to > > the 'Export' menu (deploy to phone...) > > But from what I'm reading, the easiest way is to post it to a web server > and > > download it to your phone. > > > > On Wed, Oct 22, 2008 at 1:58 PM, Danny <[EMAIL PROTECTED]> wrote: > >> > >> I have created an application and would like to know how to load the > >> application onto an actual device through Eclipse. > >> > > > > > > > > > > > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Loading application to actual device through Eclipse?
There is no need for an Eclipse extension. The Eclipse plugin works on top of adb which handles communication with emulators and devices. As long as adb is able to see your G1, all the tools with work with the G1. To develop on hardware, please look at: http://code.google.com/android/intro/develop-and-debug.html#developingondevicehardware Xav On Wed, Oct 22, 2008 at 11:27 AM, Rob Franz <[EMAIL PROTECTED]> wrote: > As far as loading over USB from your machine to your phone, I don't know. > THat would be great as an extension to Eclipse - perhaps as an option to > the 'Export' menu (deploy to phone...) > But from what I'm reading, the easiest way is to post it to a web server and > download it to your phone. > > On Wed, Oct 22, 2008 at 1:58 PM, Danny <[EMAIL PROTECTED]> wrote: >> >> I have created an application and would like to know how to load the >> application onto an actual device through Eclipse. >> > > > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Padding Not Working in XML but does in Java
Are you setting the background and/or button image from your code? If yes, this will override the padding. On Wed, Oct 22, 2008 at 12:12 PM, cyntacks <[EMAIL PROTECTED]> wrote: > > Hi everyone, just wanted to give this a bump. Anyone have this > problem? I really would like to include the padding in the XML so that > the correct padding is loaded with the correct layout auto-magically. > But without this I have to have this in the source > > > > On Oct 21, 8:02 pm, cyntacks <[EMAIL PROTECTED]> wrote: >> Hi, >> >> This is a strange issue and I can't seem to figure out why it is >> happening. I have a set of ImageButtons in my xml Layout (inside of a >> Table/Row) which require padding. Here is a sample button: >> >> [code] >> >> [/code] >> >> I attempt to add padding to all 4 edges, like so: >> >> [code] >> >> [/code] >> >> But it doesn't work. BUT, if I add the padding to the button >> dynamically in the source, it does work. Like so: >> >> [code] >> button.setPadding(5, 2, 5, 2); >> [/code] >> >> Any ideas what is going on here? This is killing me because the last >> thing I want to do is have the padding configured in the source, then >> it would have to be the same for each layout or I would have to add >> overhead into the code... >> >> As always, thanks for the help, >> >> Kevin > > > -- Romain Guy www.curious-creature.org --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Source Code Now Available
I'm familiar with the needs of the user, carrier and developers and have written code for devices ranging from set top boxes through to some J2ME stuff for other phones, but my point here is the functionality blocks don't offer the user any real advantage, all it does is get in the way of developers offering users the customisations they want to have. In the case of the emergency services dialling, this shouldn't be an outright block on apps dialling the number, the OS should limit the behaviour (e.g. The OS pops up a system dialogue asking the user for confirmation if the emergency service number is dialled). In the case of Marketplace, it should be the same thing. Marketplace shouldn't be able to have a different UI flow, it should be restricted to the same functionality sandbox as any other third party application manager. Users love customisation. There are companies that survive purely on selling ring tones and wallpapers to phone users. And most phone users don't want to get involved in technical issues, so they aren't going to install a James Bond dialler and say "OK, if I need emergency services I'll switch my dialler app", they're just going to say "The built in dialler lets me dial 911, this dialler must be shoddy if it doesn't". Similarly they aren't going to go "The SlideME app is doing the best it can with it's limited UI flow", they're going to say "Market place is far slicker than SlideME, so I'm going to stick with that?" Yes, there are security issues, Yes they need to be dealt with, but only allowing functionality to a select few approved applications is definitely not an "open platform" approach to it. Al. hackbod wrote: > On Oct 22, 11:14 am, tomgibara <[EMAIL PROTECTED]> wrote: > >> Android requires three (extrinsic) things: users, carriers and >> developers. Any particular feature/restriction may be independently >> regarded as good or bad by the members of these three groups. >> >> Seeing particular security related restrictions only within the narrow >> context of what suits developers and some users, ignores the >> importance of carriers in cementing Android as a widely deployed >> mobile platform. >> > > Also it is very important to keep in mind that it ignores the > importance of -most- users as well. All through the design of > Android, we have had to ask over and over again how open we can make > things for developers while at the same time protecting users who > can't and shouldn't need to care much about how to keep their phone > secure. For example, this is the incentive behind requiring that the > user explicitly enable side-loading of applications before they can > download things directly from a web page. > > We have ideas for how to improve many of these things in the future, > but what is in 1.0 is what we had time to do and what we though were > the best overall choices for all involved. > > > > -- Al Sutton W: www.alsutton.com B: alsutton.wordpress.com T: twitter.com/alsutton --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Padding Not Working in XML but does in Java
Hi everyone, just wanted to give this a bump. Anyone have this problem? I really would like to include the padding in the XML so that the correct padding is loaded with the correct layout auto-magically. But without this I have to have this in the source On Oct 21, 8:02 pm, cyntacks <[EMAIL PROTECTED]> wrote: > Hi, > > This is a strange issue and I can't seem to figure out why it is > happening. I have a set of ImageButtons in my xml Layout (inside of a > Table/Row) which require padding. Here is a sample button: > > [code] > > [/code] > > I attempt to add padding to all 4 edges, like so: > > [code] > > [/code] > > But it doesn't work. BUT, if I add the padding to the button > dynamically in the source, it does work. Like so: > > [code] > button.setPadding(5, 2, 5, 2); > [/code] > > Any ideas what is going on here? This is killing me because the last > thing I want to do is have the padding configured in the source, then > it would have to be the same for each layout or I would have to add > overhead into the code... > > As always, thanks for the help, > > Kevin --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Attaching the Eclipse debugger to actual device
We just updated the documentation. Developing on devices is explained here: http://code.google.com/android/intro/develop-and-debug.html#developingondevicehardware On Tue, Oct 21, 2008 at 11:45 PM, bhines <[EMAIL PROTECTED]> wrote: > > this sounds like my problem as well. > > This really should be mentioned on > http://code.google.com/android/intro/develop-and-debug.html > > thanks, > > -Ben > > On Oct 21, 8:42 pm, nkijak <[EMAIL PROTECTED]> wrote: >> That possibly did the trick. I had to restart the phone. Maybe for >> the "Debug when USB" thing to take effect? >> >> Thanks >> >> On Oct 21, 11:33 pm, "Xavier Ducrohet" <[EMAIL PROTECTED]> wrote: >> >> > To debug on devices you need to set the 'debuggable' attribute of the >> > application node to true (in AndroidManifest.xml). >> >> > Make sure to set it back to false before releasing your application. >> >> > Xav >> >> > On Tue, Oct 21, 2008 at 8:24 PM, nkijak <[EMAIL PROTECTED]> wrote: >> >> > > I can't seem to get the eclipse debugger to attach to the G1. I can >> > > select "Debug" from the run menu and it will compile and launch the >> > > app on the phone but eclipse never enters the debug perspective (or >> > > even asks to). The phone sits with a "Waiting for Debugger" message >> > > dialog. >> > > When I enter the Android perspective I can see the device attached, >> > > see log entries, take screenshots but I cannot see process listings >> > > and "restarting adb" results in 11 failed attempts to connect. >> > > Is there some other configuration I need to adjust in eclipse, perhaps >> > > a port number? >> >> > > Thanks, >> > > Nick > > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Loading application to actual device through Eclipse?
The driver is for Windows only. Settings are in the Menu on the home screen. 2008/10/22 Danny <[EMAIL PROTECTED]> > > I have just found out how, there is a new driver out that you will > need to use before Eclipse can see your device.. more info is located > at this link > > http://groups.google.com/group/android-developers/browse_thread/thread/af53210a9c41ec37/dc899a42705b0a79?show_docid=dc899a42705b0a79 > > > On Oct 22, 11:43 am, "B Sreen" <[EMAIL PROTECTED]> wrote: > > Thanks for writing.. great help. > > But I can find "Settings > Applications > Development." > > I do not know what I am missing. Please help. - Thanks > > > > On Wed, Oct 22, 2008 at 11:39 AM, Rob Franz <[EMAIL PROTECTED]> wrote: > > > That would make sense. I don't have the G1 yet (not available in my > non-3G > > > area at the moment) so i can't test. > > > > > On Wed, Oct 22, 2008 at 2:29 PM, Romain Guy <[EMAIL PROTECTED]> > wrote: > > > > >> You can deploy your application to your phone using the Android > > >> Eclipse plugin. All you need is the phone plugged in USB (make sure > > >> you have enabled USB debugging in Settings > Applications > > > >> Development.) When you "run" your application, it will send it to the > > >> phone, or ask you what target you want if you already have an emulator > > >> running. > > > > >> On Wed, Oct 22, 2008 at 11:27 AM, Rob Franz <[EMAIL PROTECTED]> > wrote: > > >> > As far as loading over USB from your machine to your phone, I don't > > >> know. > > >> > THat would be great as an extension to Eclipse - perhaps as an > option > > >> to > > >> > the 'Export' menu (deploy to phone...) > > >> > But from what I'm reading, the easiest way is to post it to a web > server > > >> and > > >> > download it to your phone. > > > > >> > On Wed, Oct 22, 2008 at 1:58 PM, Danny <[EMAIL PROTECTED]> wrote: > > > > >> >> I have created an application and would like to know how to load > the > > >> >> application onto an actual device through Eclipse. > > > > >> -- > > >> Romain Guy > > >>www.curious-creature.org > > > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: OAuth, HttpClient, Android 1.0
As of today (October 22nd), the OAuth Java library now supports HttpClient 4 and Android. You'll need to checkout the trunk code from SVN and build the code yourself. http://code.google.com/p/oauth/source/checkout To use the OAuth library on Android, use the classes in the net.oauth.client.httpclient4 package. Sean On Oct 11, 11:04 pm, Sean Sullivan <[EMAIL PROTECTED]> wrote: > I am trying to use oauth-1.3.jar in my Android application. As far as > I can tell,oauth-1.3.jar is > dependent upon Apache HttpClient 3.1 > > Has anybody been able to make this work? (I'm aware that the > Android platform uses the HttpClient 4 API) > > I opened an issue in the OAuth tracker: > > http://code.google.com/p/oauth/issues/detail?id=50 > > http://code.google.com/p/oauth/ > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Loading application to actual device through Eclipse?
I have just found out how, there is a new driver out that you will need to use before Eclipse can see your device.. more info is located at this link http://groups.google.com/group/android-developers/browse_thread/thread/af53210a9c41ec37/dc899a42705b0a79?show_docid=dc899a42705b0a79 On Oct 22, 11:43 am, "B Sreen" <[EMAIL PROTECTED]> wrote: > Thanks for writing.. great help. > But I can find "Settings > Applications > Development." > I do not know what I am missing. Please help. - Thanks > > On Wed, Oct 22, 2008 at 11:39 AM, Rob Franz <[EMAIL PROTECTED]> wrote: > > That would make sense. I don't have the G1 yet (not available in my non-3G > > area at the moment) so i can't test. > > > On Wed, Oct 22, 2008 at 2:29 PM, Romain Guy <[EMAIL PROTECTED]> wrote: > > >> You can deploy your application to your phone using the Android > >> Eclipse plugin. All you need is the phone plugged in USB (make sure > >> you have enabled USB debugging in Settings > Applications > > >> Development.) When you "run" your application, it will send it to the > >> phone, or ask you what target you want if you already have an emulator > >> running. > > >> On Wed, Oct 22, 2008 at 11:27 AM, Rob Franz <[EMAIL PROTECTED]> wrote: > >> > As far as loading over USB from your machine to your phone, I don't > >> know. > >> > THat would be great as an extension to Eclipse - perhaps as an option > >> to > >> > the 'Export' menu (deploy to phone...) > >> > But from what I'm reading, the easiest way is to post it to a web server > >> and > >> > download it to your phone. > > >> > On Wed, Oct 22, 2008 at 1:58 PM, Danny <[EMAIL PROTECTED]> wrote: > > >> >> I have created an application and would like to know how to load the > >> >> application onto an actual device through Eclipse. > > >> -- > >> Romain Guy > >>www.curious-creature.org --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---