[android-developers] Folding animation on Android 3.0+

2012-02-28 Thread Chris Stewart
I'm wondering if anyone has seen an animation tutorial that demonstrates 
how you'd fold a view vertically with the middle being the fold point.  An 
example being if you took a piece of paper, put it flat on a table, then 
took the top of the paper and pulled it down to the bottom and made a 
crease in the middle of it.  I'd like to do that with a View in Android and 
I'm curious if that's possible.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: What's a solid accuracy measurement from LocationManager?

2012-02-14 Thread Chris Stewart
Wow, not sure how I read it _that_ wrong.  Thanks for pointing that out.

-- 
Chris Stewart
Locomo Labs
http://locomolabs.com



On Tuesday, February 14, 2012 at 1:41 AM, gjs wrote:

 Hi,
 
 It returns meters not %
 
 public float getAccuracy ()
 
 Since: API Level 1
 Returns the accuracy of the fix in meters. If hasAccuracy() is false,
 0.0 is returned.
 
 Regards
 
 On Feb 14, 1:05 pm, Chris Stewart cstewart...@gmail.com (http://gmail.com) 
 wrote:
  30% is from the getAccuracy call on the Location returned.
  
  Chris Stewart
  Founder, Locomo Labshttp://locomolabs.com
  On Feb 13, 2012 8:53 PM, gjs garyjamessi...@gmail.com 
  (http://gmail.com) wrote:
  
  
  
  
  
  
  
   Hi,
  
   30% of what ?, percentage seem meaningless to me.
  
   Try examining
   http://developer.android.com/reference/android/location/Location.html...()
   
  
  
   And yes you can often get GPS fix ok on Android devices indoors near
   to window, helps if there is good sunny weather outside.
   
  
  
   Regards
  
   On Feb 14, 4:35 am, Chris Stewart cstewart...@gmail.com 
   (http://gmail.com) wrote:
Sure, that makes sense.  I would assume that walking directions means
they're outside, in which case I would expect GPS to be available.  I'm
trying to tell what business someone is in, so some level of accuracy is
required.  I'm plugging the coordinates being returned into Google Maps

   
   and
it's finding me just fine.  However, simply seeing 30% is concerning.
   
   
  
  
   --
   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 
   (mailto:android-developers@googlegroups.com)
   To unsubscribe from this group, send email to
   android-developers+unsubscr...@googlegroups.com 
   (mailto:android-developers+unsubscr...@googlegroups.com)
   For more options, visit this group at
   http://groups.google.com/group/android-developers?hl=en
   
  
  
 
 
 -- 
 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 
 (mailto:android-developers@googlegroups.com)
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com 
 (mailto:android-developers+unsubscr...@googlegroups.com)
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 
 


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] What's a solid accuracy measurement from LocationManager?

2012-02-13 Thread Chris Stewart
I'm working with LocationManager to grab a users current location and I've 
noticed the highest accuracy I've gotten is ~36%.  I'm indoors currently, 
as will most of the users of my application, and I have yet to get a GPS 
result.  I'm only able to obtain a result from the network provider.  I'm 
not completely surprised by that, but I was thinking GPS might be possible 
considering how close I am to a window.

More importantly, I'm curious what baseline for accuracy others are using. 
 Is greater than 30% sufficient?  I imagine GPS would yield far better 
accuracy but it looks like that's not a likely option in my scenario, even 
though I'll look for both network and GPS as available.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] What's a solid accuracy measurement from LocationManager?

2012-02-13 Thread Chris Stewart
Sure, that makes sense.  I would assume that walking directions means 
they're outside, in which case I would expect GPS to be available.  I'm 
trying to tell what business someone is in, so some level of accuracy is 
required.  I'm plugging the coordinates being returned into Google Maps and 
it's finding me just fine.  However, simply seeing 30% is concerning.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: What's a solid accuracy measurement from LocationManager?

2012-02-13 Thread Chris Stewart
30% is from the getAccuracy call on the Location returned.

Chris Stewart
Founder, Locomo Labs
http://locomolabs.com
On Feb 13, 2012 8:53 PM, gjs garyjamessi...@gmail.com wrote:

 Hi,

 30% of what ?, percentage seem meaningless to me.

 Try examining
 http://developer.android.com/reference/android/location/Location.html#getAccuracy()

 And yes you can often get GPS fix ok on Android devices indoors near
 to window, helps if there is good sunny weather outside.

 Regards

 On Feb 14, 4:35 am, Chris Stewart cstewart...@gmail.com wrote:
  Sure, that makes sense.  I would assume that walking directions means
  they're outside, in which case I would expect GPS to be available.  I'm
  trying to tell what business someone is in, so some level of accuracy is
  required.  I'm plugging the coordinates being returned into Google Maps
 and
  it's finding me just fine.  However, simply seeing 30% is concerning.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Understanding the lifecycle of ViewPager

2011-11-28 Thread Chris Stewart
It seems like the Loader is now a replacement for AsyncTask, but does it
also replace the use of a Runnable/Thread scenario?  The AsyncTask is more
difficult to set up, so I understand why a Loader makes sense there (
http://stackoverflow.com/questions/5603504/android-3-0-what-are-the-advantages-of-using-loadermanager-instances-exactly).
 In my scenarios, I have data being loaded from a web service but there's a
progress dialog and action only needs to be taken after the process is
completed.  So for this I've always created a runnable, started a new
thread from that, and have an on UI runnable that's called after the
processing is completed.  Should I instead be looking at using Loaders for
this moving forward?

--
Chris Stewart


On Wed, Nov 9, 2011 at 7:03 AM, Mark Murphy mmur...@commonsware.com wrote:

 On Tue, Nov 8, 2011 at 10:51 PM, Chris Stewart cstewart...@gmail.com
 wrote:
  Thanks for the reply Dianne.  I'm not completely sure what you mean by
  custom loader, are you referring to what was introduced in 3.2?  If so,
 is
  it available in the support library for pre-3.2?

 The Loader framework is in the Android support package / compatibility
 library / thingy. :-)

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 Warescription: Three Android Books, Plus Updates, One Low Price!

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Understanding the lifecycle of ViewPager

2011-11-28 Thread Chris Stewart
I see, and that makes more sense.  Thanks for the explanation.  While using
an AsyncTaskLoader wasn't completely necessary for what I'm doing, I have
it all working and it wasn't complicated to get going.  So I'll call that a
win-win.

I did manage to solve the original intent of this question today by
creating an AsyncTaskLoader that understands how to load in all of the data
the fragments in my ViewPager need.  Thanks for the direction, the app is
behaving exactly how I'd like now.

--
Chris Stewart



On Mon, Nov 28, 2011 at 3:11 PM, Dianne Hackborn hack...@android.comwrote:

 Loader is not a replacement for AsyncTask.  In fact, Loader itself does
 nothing, it is just the hook into interacting with the lifecycle of
 LoaderManager/Activity/Fragment.

 AsyncTaskLoader is a Loader that uses an AsyncTask to do its loading on a
 separate thread.  This also is not a replacement for AsyncTask; it is a
 convenience for doing background operations via AsyncTask that is managed
 on conjunction with the lifecycle of the LoaderManager/Activity/Fragment.

 If AsyncTaskLoader makes it easy to do what you want, then great use that.
  If not, then use whatever works best for you -- AsyncTask, a Thread, etc.


 On Mon, Nov 28, 2011 at 8:00 AM, Chris Stewart cstewart...@gmail.comwrote:

 It seems like the Loader is now a replacement for AsyncTask, but does it
 also replace the use of a Runnable/Thread scenario?  The AsyncTask is more
 difficult to set up, so I understand why a Loader makes sense there (
 http://stackoverflow.com/questions/5603504/android-3-0-what-are-the-advantages-of-using-loadermanager-instances-exactly).
  In my scenarios, I have data being loaded from a web service but there's a
 progress dialog and action only needs to be taken after the process is
 completed.  So for this I've always created a runnable, started a new
 thread from that, and have an on UI runnable that's called after the
 processing is completed.  Should I instead be looking at using Loaders for
 this moving forward?

 --
 Chris Stewart


 On Wed, Nov 9, 2011 at 7:03 AM, Mark Murphy mmur...@commonsware.comwrote:

 On Tue, Nov 8, 2011 at 10:51 PM, Chris Stewart cstewart...@gmail.com
 wrote:
  Thanks for the reply Dianne.  I'm not completely sure what you mean by
  custom loader, are you referring to what was introduced in 3.2?  If
 so, is
  it available in the support library for pre-3.2?

 The Loader framework is in the Android support package / compatibility
 library / thingy. :-)

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 Warescription: Three Android Books, Plus Updates, One Low Price!

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Understanding the lifecycle of ViewPager

2011-11-08 Thread Chris Stewart
I'm working on implementing ViewPager and I want to let the host activity
load the background data (from the Internet) instead of each fragment doing
an independent I/O request.  The reason why is because the same data is
being loaded into two fragments, with the only difference being a category.
 I have two instances of ViewPager in my app, where this scenario holds
true (two different types of data, but each being split by only a
category).  If I can let the host activity fetch the data in the
background, I'll be saving 2 API calls every time the app is used.

I want to let the ViewPager and it's fragments know when to update
themselves when the background load is finished so I can fetch the data
once and pass it down into the fragments.  However, I can't seem to find
any examples of this.  I've tried getting the fragments from the adapter
when the data load is complete, but I'm running into various
synchronization problems.  I've tried calling notifyDataSetChanged on the
adapter (subclass of FragmentPagerAdapter), but it doesn't appear to do
anything.

Another piece to this puzzle is that I'm using ViewPagerIndicator to get
the title effect seen in the Android Market and Google+ apps.  I've tried
not initializing the FragmentPagerAdapter, ViewPager,
and TitlePageIndicator until after the data load is complete, but I'm
seeing the TitlePageIndicator attempt to be drawn anyway and failing when
calculating the bounds since it hasn't been given a ViewPager instance just
yet.

Has anyone else tried to use the ViewPager is this scenario?  I think if I
found a nice outline of how the ViewPager's lifecycle works, I would have
better luck in figuring this workflow out.  Every example I can find lets
the fragments self contain everything, which I completely understand the
reasoning behind and will go that route if necessary but would love to cut
the required network I/O requests if possible.

--
Chris Stewart

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: SDK 4, R15, where is the navigation button?

2011-11-08 Thread Chris Stewart
I suspect you mean the menu button.  I believe, and could be very wrong,
but if you're using Android 4.0 and on a display of 720p or better (e.g.,
Galaxy Nexus), you won't see that button.

--
Chris Stewart
http://chriswstewart.com



On Tue, Nov 8, 2011 at 1:56 PM, Kumar Bibek coomar@gmail.com wrote:

 What do you mean by the navigation button?

 On Nov 8, 11:54 pm, sblantipodi perini.dav...@dpsoftware.org wrote:
  bump
 
  On Nov 1, 3:17 pm, sblantipodi perini.dav...@dpsoftware.org wrote:
 
 
 
 
 
 
 
   Bumping the question until I'll get an answer.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] android statistics (android versions and their market share)

2011-11-08 Thread Chris Stewart
http://developer.android.com/resources/dashboard/platform-versions.html

--
Chris Stewart
http://chriswstewart.com



On Tue, Nov 8, 2011 at 4:09 PM, John Goche johngoch...@googlemail.comwrote:

 Hello,

 I wonder if anyone could tell me how long the latest version
 of android (2.3.3) has been out. Where can I find a web page
 with a pie chart of the relative number of phones which have
 been produced for each android version?

 Thanks a lot,

 Many thanks,

 John Goche

 P.S. I am considering making my app available on lower
 versions so as to increase sales but as of now I am unsure
 about how much benefit I could reap from such an increase
 in number of supported phones as I don't have the figures of
 what's out there.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Understanding the lifecycle of ViewPager

2011-11-08 Thread Chris Stewart
Thanks for the reply Dianne.  I'm not completely sure what you mean by
custom loader, are you referring to what was introduced in 3.2?  If so, is
it available in the support library for pre-3.2?

I'm looking for similar functionality found, or at least perceived to be,
in the Google+ app.  You can see the loading image working in the Action
Bar, seemingly showing overall progress for the fragments inside the
ViewPager.

Chris Stewart
http://locomolabs.com
On Nov 8, 2011 6:43 PM, Dianne Hackborn hack...@android.com wrote:

 Off-hand, I think it would be easier to implement a custom loader that
 knows how to load the data once and share it across all requests.

 On Tue, Nov 8, 2011 at 1:06 PM, Chris Stewart cstewart...@gmail.comwrote:

 I'm working on implementing ViewPager and I want to let the host activity
 load the background data (from the Internet) instead of each fragment doing
 an independent I/O request.  The reason why is because the same data is
 being loaded into two fragments, with the only difference being a category.
  I have two instances of ViewPager in my app, where this scenario holds
 true (two different types of data, but each being split by only a
 category).  If I can let the host activity fetch the data in the
 background, I'll be saving 2 API calls every time the app is used.

 I want to let the ViewPager and it's fragments know when to update
 themselves when the background load is finished so I can fetch the data
 once and pass it down into the fragments.  However, I can't seem to find
 any examples of this.  I've tried getting the fragments from the adapter
 when the data load is complete, but I'm running into various
 synchronization problems.  I've tried calling notifyDataSetChanged on the
 adapter (subclass of FragmentPagerAdapter), but it doesn't appear to do
 anything.

 Another piece to this puzzle is that I'm using ViewPagerIndicator to get
 the title effect seen in the Android Market and Google+ apps.  I've tried
 not initializing the FragmentPagerAdapter, ViewPager,
 and TitlePageIndicator until after the data load is complete, but I'm
 seeing the TitlePageIndicator attempt to be drawn anyway and failing when
 calculating the bounds since it hasn't been given a ViewPager instance just
 yet.

 Has anyone else tried to use the ViewPager is this scenario?  I think if
 I found a nice outline of how the ViewPager's lifecycle works, I would have
 better luck in figuring this workflow out.  Every example I can find lets
 the fragments self contain everything, which I completely understand the
 reasoning behind and will go that route if necessary but would love to cut
 the required network I/O requests if possible.

 --
 Chris Stewart

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Where do you aim for design specs?

2011-10-31 Thread Chris Stewart
Thanks a lot for the responses.  I didn't realize such a large number of
devices are categorized into just two buckets.  I suspect normal/xhdpi will
gain share sooner rather than later, as I believe the Galaxy Nexus fits in
that group.  I would imagine the influx of high res/high density displays
will begin soon as well.

--
Chris Stewart
http://chriswstewart.com



On Sun, Oct 30, 2011 at 4:21 PM, B Lyon bradfl...@gmail.com wrote:

 ugh.  Dealing with this exact same issue myself at the moment (iPhone --
 android).  The screens link Mark pointed out is great to see what things
 are out there as of Oct 3 - 90% are apparently Normal/hdpi or Normal/mdpi,
 so you can set up the avd's to take a look at how things look (or buy all
 the devices).Not depicted on the list, of course, is the potential
 increase of Kindle Fires that are to be shipped Nov 15.  Amazon has some
 info on how to configure the emulator for this (
 https://developer.amazon.com/help/faq.html#KindleFire  which I found
 via one of Mark's answers on stackoverflow).


 On Sun, Oct 30, 2011 at 1:20 PM, Mark Murphy mmur...@commonsware.comwrote:

 On Sun, Oct 30, 2011 at 12:56 PM, Chris Stewart cstewart...@gmail.com
 wrote:
  Going from a world where he worried about 3.5
  only, to a world where every size is potentially available, is a
 concern of
  mine.


 http://www.amazon.com/Red-Bull-Energy-Drink-8-4-Ounce/dp/B000MTST70/httpcommonsco-20

 :-)

  So I'm wondering, which screen size, resolution, density, do we aim for
 to
  start with?

 That's like saying do I focus on 800x600, 804x567, or 923x725
 resolution browser windows first?. The answer is all of them,
 because you focus on creating a design that incorporates rules for
 handling resizeable browser windows.

  Certainly we'll need to work on each of the layout/resource
  variations (small, medium, large, xlarge, ldpi, mdpi, hpdi, etc, etc)
 but
  I'm looking for a reference point to get started.  Should we be
 focusing on
  the largest for phones, and largest for tablets, with the expectation
 that
  we can mostly scale down from each of those to the smaller phone and
 tablet
  sizes/resolutions/densities?

 I wouldn't. On a tactical level, it's almost always easier to scale up
 than down.

 Strategically, your first job is to determine what you care about.
 -small screens, for example, are not terribly popular, so you might
 elect to skip those in the interests of reducing development effort.
 See:

 http://developer.android.com/resources/dashboard/screens.html

 Your second job is to come up with the big-ticket designs for your UX
 on the remaining screen sizes. For example, where will you use one
 fragment per activity in -normal devices and use multiple fragments
 per activity in -large and/or -xlarge? See:

 http://developer.android.com/guide/practices/tablets-and-handsets.html

 Your third job is, within a fragment, to design layouts that can
 handle the variations in screen size the fragment will be expected to
 cope with. For some fragments, they will have minor variations in size
 (e.g., a phone-sized screen on a phone or a phone-sized portion of a
 tablet screen). For some fragments, they will have much more dramatic
 variations in size (e.g., a case where you will only ever have the
 fragment by itself in an activity, or you have an activity sans
 fragments). Here, your need to teach your GUI designer the basic rules
 for The Big Three Android layouts:

 -- use android:layout_weight with LinearLayout
 -- use android:stretchColumns and android:shrinkColumns with TableLayout
 -- use all the android:layout_* rules with RelativeLayout, to
 stipulate what is attached to what (with whitespace therefore implied)

 Your GUI designer should be able to give you GUI designs that depict
 these rules.

 Densities tend to fall out after the basic design is complete. Either
 stick with a single density for each image (and let Android resample
 it, with varying degrees of quality and performance) or package in one
 copy of the image per density (at the cost of a somewhat larger APK).
 If you have the same image that should appear in different sizes in
 different screen sizes or layouts, again you will need to decide if
 you want Android resizing the image (saves development effort at cost
 of speed/quality) or if you want to package in multiple renditions of
 the image at different sizes (e.g., icon-standard vs. icon-embiggened)
 for each relevant density.

 This would be an approach for a regular app. Games probably come at
 this from a totally different approach vector, for example.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 Android Training in NYC: http://marakana.com/training/android/

 --
 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

Re: [android-developers] Re: The current state of C2DM

2011-10-30 Thread Chris Stewart
Thanks for the feedback.  I spent some time this week getting it set up,
and it works quite well.  I've had some issues with multiple devices
(phones and tablets), unregistering, and re-registering, and all of that
synced up perfectly.  But it definitely looks promising.  I think once I
work through all of the specific scenarios, I'll be good to go.

--
Chris Stewart
http://chriswstewart.com



On Wed, Oct 26, 2011 at 11:49 AM, Studio LFP studio@gmail.com wrote:

 I don't have any battled tested apps using it at the moment, but I have
 been testing it on some internal applications for a company.

 The whole process was fairly simple and seems to be reliable so far.
 Again, I'm in the testing phase so I'm not sending a large amount of
 requests a day.  It took about 30-60 minutes from start to finish for both
 the Android and server side to get working with no previous knowledge of it.

 I'd recommend you test it out for yourself. Just remember that it requires
 the Android Market to function properly, so it will restrict you from some
 hardware.

 Steven
 Studio LFP
 http://www.studio-lfp.com



 On Monday, October 24, 2011 7:43:20 PM UTC-5, Chris Stewart wrote:

 It's been quite awhile since I last looked into C2DM and at that time I
 remember a lot of developers were not recommending it for various reasons,
 although I don't remember those reasons today.  I'm very much in need of
 push notification support for an app I'm building, so I've started looking
 into C2DM again.  I'm curious if the general attitude toward it has changed
 with the developers here and if anyone has trench-level battle stories
 they'd care to share.

 --
 Chris Stewart
 http://chriswstewart.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
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Where do you aim for design specs?

2011-10-30 Thread Chris Stewart
I'm starting the design for an app that spans phones and tablets (2.1 -
4.0, custom action bar pre-3.0, native action bar 3.0+) and working with a
designer used to the iPhone.  Going from a world where he worried about
3.5 only, to a world where every size is potentially available, is a
concern of mine.

So I'm wondering, which screen size, resolution, density, do we aim for to
start with?  Certainly we'll need to work on each of the layout/resource
variations (small, medium, large, xlarge, ldpi, mdpi, hpdi, etc, etc) but
I'm looking for a reference point to get started.  Should we be focusing on
the largest for phones, and largest for tablets, with the expectation that
we can mostly scale down from each of those to the smaller phone and tablet
sizes/resolutions/densities?

Any thoughts on this topic are welcome.

--
Chris Stewart

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] The current state of C2DM

2011-10-24 Thread Chris Stewart
It's been quite awhile since I last looked into C2DM and at that time I
remember a lot of developers were not recommending it for various reasons,
although I don't remember those reasons today.  I'm very much in need of
push notification support for an app I'm building, so I've started looking
into C2DM again.  I'm curious if the general attitude toward it has changed
with the developers here and if anyone has trench-level battle stories
they'd care to share.

--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] news app

2011-10-16 Thread Chris Stewart
What you want are two fragments, one for the article view and one for the 
article detail view.  You then would have an activity (or two) to manage them 
based on phone versus tablet.  The fragments would communicate back to the base 
activity when something happens, say a touch on the article view, and the base 
activity would react as needed based on which type of device it's on.  So if 
it's a tablet, where the base activity is managing both fragments, it would 
simply call a method on the article detail fragment.  If it was on a phone, the 
base activity would use an intent to start the second activity.  Make sense?

Chris Stewart
http://locomolabs.com



On Aug 22, 2011, at 5:30 PM, bob wrote:

 Ok, let's say you are working on a news app.
 
 So, you have a ListView with some article titles.
 
 Then, when an article is clicked you have a TextView that replaces the
 ListView.
 
 What is the best way to do this?
 
 I'm thinking of having the ListView and TextView on top of each other
 in an AbsoluteLayout and showing/hiding as needed.
 
 Or, I can create two XML files and using setContentView as needed.
 
 Any ideas?
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Can't get html5 video working properly -- happy to pay for an answer

2011-08-12 Thread Chris Stewart
I have had problems with this in Honeycomb, and I believe it started with
3.1.  In 3.0, it worked fine.

--
Chris Stewart
http://chriswstewart.com



On Fri, Aug 12, 2011 at 12:27 PM, John john.purc...@medialets.com wrote:

 Has anyone gotten inline video working on Honeycomb? This used to work
 if you had hardware acceleration enabled, but this seems to have been
 broken in 3.1/2 (WebView.isHardwareAccelerated() will always now
 return false and inline video will no longer work).

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Does the in-app billing permission affect region availability?

2011-07-11 Thread Chris Stewart
I have a free application that I'd like to add an AdMob advertisement to.
 I'm planning on adding an in-app purchase option to remove the
advertisement.  If I do that, will my application now only be available to
countries that support purchasing on the Market?  Or, will everyone still be
able to download it but only certain countries can use the in-app purchasing
piece?

--
Chris Stewart

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Anyone developing on the Galaxy Tab and a Mac?

2011-06-15 Thread Chris Stewart
I've been getting reports of a WebView error for the 3.1 update on the Tab.
It worked fine for them on 3.0, and works fine for me with 3.1 on the Xoom.
But that's a whole different issue. :)

Hoping to get confirmation from someone here who develops on the Mac and has
a Tab.
On Jun 11, 2011 1:41 PM, dan raaka danra...@gmail.com wrote:
 adb should be working all fine for development purposes on google i/o
 device.
 Also, 3.1 was OTA'ed to these devices starting yesterday : check this..

 SamsungJohn http://twitter.com/#%21/SamsungJohn John Imah
 Google I/O 3.1 Update is available, see details in link!
 http://ow.ly/5eoTu;

 -Dan


 On Sat, Jun 11, 2011 at 8:53 AM, John Coryat cor...@gmail.com wrote:

 Doesn't show on my mac. All I've done is plug it in though, so there may
be
 a workaround that I'm unaware of. I have four other devices so it's not a
 big deal. I must say that it's an excellent tablet. Once it's running 3.1
it
 will be even better. From what I understand, 3.1 is supposed to ship with
 the commercially available devices.

 -John Coryat

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Anyone developing on the Galaxy Tab and a Mac?

2011-06-11 Thread Chris Stewart
I've been hearing that Mac support for the Galaxy Tab from Google I/O is
very poor.  I've been planning to buy one next week to use as my primary
development device but if this is the case, I may have to stick with the
Xoom.  Can anyone confirm or deny what I've been hearing?

--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Anyone developing on the Galaxy Tab and a Mac?

2011-06-11 Thread Chris Stewart
I hope that changes, quickly. I won't have the Xoom much longer and will
need to purchace something. If I can't do dev on the Tab, I might not have a
choice but to buy a Xoom. :-/

Sent from my Xoom
On Jun 11, 2011 11:54 AM, John Coryat cor...@gmail.com wrote:
 Doesn't show on my mac. All I've done is plug it in though, so there may
be
 a workaround that I'm unaware of. I have four other devices so it's not a
 big deal. I must say that it's an excellent tablet. Once it's running 3.1
it
 will be even better. From what I understand, 3.1 is supposed to ship with
 the commercially available devices.

 -John Coryat

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Android 3.1 is too slow

2011-06-11 Thread Chris Stewart
Use a real device is a good answer, especially when it comes to Honeycomb
as the market stands today.  It will likely fragment some over time but I
highly doubt it will turn into what the phone market has.

Frankly, I'd rather pay $400 for a tablet than even fire up the emulator
once. If you expect to release your app and support the platform in a
first-class way, you'll need one eventually anyway.

Chris Stewart
http://locomolabs.com
On Jun 11, 2011 1:40 PM, Glenn Maynard gl...@zewt.org wrote:
 Saying use a real device isn't very helpful or realistic. Android
 apps need to be tested in many screen configurations and in every
 supported SDK level. If the cost of entry to Android development is
 thousands of dollars of test devices, that's just too high.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Want to join this group.

2011-05-19 Thread Chris Stewart
Ok, ok, I'll add you I guess.  There, you're added.

--
Chris Stewart
http://chriswstewart.com



On Thu, May 19, 2011 at 10:12 PM, Zsolt Vasvari zvasv...@gmail.com wrote:

 No can doozie, babydoll, no can doozie.

 On May 19, 3:40 pm, Tushar mototus...@gmail.com wrote:
  Want to join this group. Please add me.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Landscape mode, in either direction

2011-05-18 Thread Chris Stewart
My app is currently locked to landscape mode, but I'd like to enable show as
landscape in either direction (top up, or bottom up).  Is something like
this possible?  I'm on Honeycomb if that helps.

--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Landscape mode, in either direction

2011-05-18 Thread Chris Stewart
Dianne,

Great, thanks!

--
Chris Stewart
http://chriswstewart.com



On Wed, May 18, 2011 at 1:14 PM, Dianne Hackborn hack...@android.comwrote:

 For GB and up: android:screenOrientation=sensorLandscape


 http://developer.android.com/reference/android/R.attr.html#screenOrientation
 http://developer.android.com/reference/android/R.attr.html#screenOrientation
 On Wed, May 18, 2011 at 9:35 AM, Chris Stewart cstewart...@gmail.comwrote:

 My app is currently locked to landscape mode, but I'd like to enable show
 as landscape in either direction (top up, or bottom up).  Is something like
 this possible?  I'm on Honeycomb if that helps.

 --
 Chris Stewart
 http://chriswstewart.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
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: 1380 Paid Applications in One Free Torrent then How to SELL it?

2011-05-05 Thread Chris Stewart
 I 100% agree with nemic. You can put tons and tons of effort in fighting
piracy and maybe get a small return on it. It's better to spend this energy
and effort in  improving/augmenting your app for your paying customers.

+1.  My recent apps have been all over the piracy sites but instead of
focusing any attention on that, I simply work to make my app better.  Not
sure there's a better way to look at the situation.

--
Chris Stewart
http://chriswstewart.com



On Thu, May 5, 2011 at 10:28 AM, Streets Of Boston
flyingdutc...@gmail.comwrote:

 I 100% agree with nemic. You can put tons and tons of effort in fighting
 piracy and maybe get a small return on it. It's better to spend this energy
 and effort in improving/augmenting your app for your paying customers.

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Using v4 Fragments with v11 ActionBar tabs

2011-04-19 Thread Chris Stewart
As far as I know, you can't use the ActionBar pre-Honeycomb anyway.  So you
wouldn't have a scenario in which you'd be able to use the ActionBar unless
you're targeting Honeycomb.

And to clarify, I don't know much, so I could be completely wrong. :)

--
Chris Stewart
http://chriswstewart.com



On Tue, Apr 19, 2011 at 11:10 AM, Dave Johnston john...@gmail.com wrote:

 I'm having trouble implementing ActionBar tabs whilst also using
 backward-compatible Fragments (with the compatibility package).

 The main issue being that ActionBar.TabListener expects
 android.app.Fragment, and my Fragment classes inherit from
 android.support.v4.app.Fragment. Therefore I can't use my Fragments
 with the ActionBar on 3.0-and-later devices.

 Anyone have any ideas how I can solve or work around this? (besides
 just not using tabs)

 -dave

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Android 3.0 ActionBar, changing colors

2011-04-07 Thread Chris Stewart
How can I change the color of the underline beneath the tabs?  It's
currently the light blue, and I can't find any resources on how to change
this for Android 3.0.  Additionally, I'd like to change the text color for
the menu items that show up on the right of the ActionBar as a result of:
android:showAsAction=ifRoom|withText.

Anyone know how to change these?

--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Android Layouts Are Horrible

2011-04-05 Thread Chris Stewart
 I lol'd...

+1

--
Chris Stewart
http://chriswstewart.com



On Tue, Apr 5, 2011 at 11:30 AM, nation-x shawn.payme...@gmail.com wrote:

 I lol'd...

 On Apr 5, 8:25 am, Craigbtx craig...@austin.rr.com wrote:
  I agree with Dirk and others. After using Microsofts development
  environment, Visual Studio and asp.net for me, there is no reason to
  code database connections, html tables of data etc., sql update,
  delete and insert commands. If you know them that is great and it is
  helpful. But by having a full mature visual development environment
  you can concentrate on the application and not the code, unless
  necessary. I have developed a fully functional asp.net application
  with 53 database driven pages with lists and forms with full insert
  update and delete capabilities, full security with logins, retrieve
  passwords, create new users all in 2 weeks.  No code!
 
  Later we added business rules and error trapping but what a head
  start. If needed then you dig into code but use the built in mature
  tools to the fullest. I had a problem once and got answers of 150
  lines of code. The solution was 1 line of code.
 
  We do not need to reinvent the wheel on every application. Thirty
  years ago we had database application software that didn't require you
  to code database connections, insert, deletes and update statements,
  button clicks etc. I hope we have progressed farther that that.
 
  Eclipse is the best visual environment for Android code but far from
  Microsofts Visual Studio development environment.
 
  Ever seen app_inventor, visual environment from Google? Interesting. I
  wonder if it will ever be released? It may be too visual and maybe no
  as powerful, butinteresting none the less.
 
  On Apr 5, 1:19 am, dirk dhaa...@gmail.com wrote:
 
 
 
 
 
 
 
   Hold on a minute. I really don't care the least bit about underlying
   code, that is, the XML that's generated by a really good design tool.
   Saying you should have to learn the XML (in this case) is like saying
   you have to learn the bytecode that's generated from the java code.
   Sure, you always need understand the structure, but with good tools,
   you can _focus_ on the structure and not worry about the details.
 
   On Apr 4, 7:01 pm, Robert rcope...@gmail.com wrote:
 
Layout is part of development. Having tools to help with that are
 aids
but should not be used as an excuse not to learn the underlying code.
THe designer tools only generate the structures based on the rules
programmed into them. You will always have a more detailed level of
control by going to the lowest level available.  Learn it and it'll
make you a better developer and your programs to be more
efficient. Using the higher level tools makes you only as
efficient at they are.
 
Yes, it takes time and yes you have to learn it but that's what being
a real developer is all about.
Robert- Hide quoted text -
 
   - Show quoted text -

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Android Layouts Are Horrible

2011-04-05 Thread Chris Stewart
At the end of the day, it comes down to an allocation of resources on
Google's part.  I'd much rather have them spending time innovating Android,
it's APIs, the Android Market, and so forth, rather than building a better
GUI editor because people don't want to put in the time to learn how to do
it.  There are beautiful user experiences on the Android platform -- so it's
a matter of putting away the hold my hand mentality of Visual Studio and
learning how it's done.

Would I like a better editor?  Of course.  But not at the expense, or
opportunity cost, of innovating in more compelling areas of Android.

--
Chris Stewart
http://chriswstewart.com



On Tue, Apr 5, 2011 at 11:37 AM, Chris Stewart cstewart...@gmail.comwrote:

  I lol'd...

 +1

 --
 Chris Stewart
 http://chriswstewart.com



 On Tue, Apr 5, 2011 at 11:30 AM, nation-x shawn.payme...@gmail.comwrote:

 I lol'd...

 On Apr 5, 8:25 am, Craigbtx craig...@austin.rr.com wrote:
  I agree with Dirk and others. After using Microsofts development
  environment, Visual Studio and asp.net for me, there is no reason to
  code database connections, html tables of data etc., sql update,
  delete and insert commands. If you know them that is great and it is
  helpful. But by having a full mature visual development environment
  you can concentrate on the application and not the code, unless
  necessary. I have developed a fully functional asp.net application
  with 53 database driven pages with lists and forms with full insert
  update and delete capabilities, full security with logins, retrieve
  passwords, create new users all in 2 weeks.  No code!
 
  Later we added business rules and error trapping but what a head
  start. If needed then you dig into code but use the built in mature
  tools to the fullest. I had a problem once and got answers of 150
  lines of code. The solution was 1 line of code.
 
  We do not need to reinvent the wheel on every application. Thirty
  years ago we had database application software that didn't require you
  to code database connections, insert, deletes and update statements,
  button clicks etc. I hope we have progressed farther that that.
 
  Eclipse is the best visual environment for Android code but far from
  Microsofts Visual Studio development environment.
 
  Ever seen app_inventor, visual environment from Google? Interesting. I
  wonder if it will ever be released? It may be too visual and maybe no
  as powerful, butinteresting none the less.
 
  On Apr 5, 1:19 am, dirk dhaa...@gmail.com wrote:
 
 
 
 
 
 
 
   Hold on a minute. I really don't care the least bit about underlying
   code, that is, the XML that's generated by a really good design tool.
   Saying you should have to learn the XML (in this case) is like saying
   you have to learn the bytecode that's generated from the java code.
   Sure, you always need understand the structure, but with good tools,
   you can _focus_ on the structure and not worry about the details.
 
   On Apr 4, 7:01 pm, Robert rcope...@gmail.com wrote:
 
Layout is part of development. Having tools to help with that are
 aids
but should not be used as an excuse not to learn the underlying
 code.
THe designer tools only generate the structures based on the rules
programmed into them. You will always have a more detailed level of
control by going to the lowest level available.  Learn it and it'll
make you a better developer and your programs to be more
efficient. Using the higher level tools makes you only as
efficient at they are.
 
Yes, it takes time and yes you have to learn it but that's what
 being
a real developer is all about.
Robert- Hide quoted text -
 
   - Show quoted text -

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Android Layouts Are Horrible

2011-04-04 Thread Chris Stewart
I stick to writing my layouts by hand, as it's something that's not terrible
once you spend some time learning how to do it.  I felt overwhelmed at first
too, but the more of it you do the better you get at it.

--
Chris Stewart
http://chriswstewart.com



On Mon, Apr 4, 2011 at 12:51 PM, TreKing treking...@gmail.com wrote:

 On Mon, Apr 4, 2011 at 12:01 AM, grndvl1 grnd...@gmail.com wrote:

 Why is it I spend more time dealing with the layout of items than
 the actual coding of the program?


 Maybe you don't know what you're doing or haven't spent enough time with
 the tool to use it properly?


 The Eclipse Graphical Layout tool really blows as it has a ton of errors
 and can't handle simple things like italic text in textview, scrollviews...


 The ADT developers are pretty active on this list and are very responsive
 useful, valid, constructive criticism. It blows is not really useful.


 -
  TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Layout spacing question

2011-04-01 Thread Chris Stewart
I have a ScrollView, in a fragment, which takes up the remaining width of
the screen.  There are two fragments that proceed this fragment on the left
side of the screen.

What I'd like to do is add another layout to the right of the ScrollView
that only takes up a small amount of width and hugs the right side of the
screen, and effectively lets the ScrollView take up what's left.  I've
done things like set the ScrollView's marginRight to 10dp and similar to
leave some space for the final layout, but it doesn't seem to work.  I've
tried searching for similar scenarios but maybe I just haven't found the
right keyword combination to yield the results I'm after.

Does this ring any bells for anyone?  Any insight would be helpful, thanks.

--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Layout spacing question

2011-04-01 Thread Chris Stewart
Thanks Mark, I'll give those a shot tonight.

--
Chris Stewart
http://chriswstewart.com



On Fri, Apr 1, 2011 at 2:31 PM, Mark Murphy mmur...@commonsware.com wrote:

 On Fri, Apr 1, 2011 at 2:15 PM, Chris Stewart cstewart...@gmail.com
 wrote:
  I have a ScrollView, in a fragment, which takes up the remaining width of
  the screen.  There are two fragments that proceed this fragment on the
 left
  side of the screen.
  What I'd like to do is add another layout to the right of the ScrollView
  that only takes up a small amount of width and hugs the right side of the
  screen, and effectively lets the ScrollView take up what's left.  I've
  done things like set the ScrollView's marginRight to 10dp and similar to
  leave some space for the final layout, but it doesn't seem to work.  I've
  tried searching for similar scenarios but maybe I just haven't found the
  right keyword combination to yield the results I'm after.
  Does this ring any bells for anyone?  Any insight would be helpful,
 thanks.

 Wrap the ScrollView in a RelativeLayout, anchor your right thingy to
 the right/top/bottom, and anchor your ScrollView to the
 left/top/bottom + the right thingy.

 Or, wrap the ScrollView in a LinearLayout, assign it 0px width but a
 weight of 1, and put the right thingy after it.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 Android Training in London: http://bit.ly/smand1, http://bit.ly/smand2

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Feedback links for each market app

2011-03-29 Thread Chris Stewart
I've had functionality in my app that gives the user an easy way to provide
feedback to the Android Market, and additionally get a button to click for
updates when they're available.  Now that we're support both the Android
Market and the Amazon Appstore, we need to be able to manage both of those
for these scenarios.  My app was rejected by Amazon because the link was
going to the Android Market and not their own.

Besides removing that functionality from my app, which I'd like to avoid, is
there a way to distinguish which app store my app was downloaded from at
runtime?  Or, is there an intent I can fire that both respond to, and if so,
are any of you using that and getting through the Amazon approval process?

--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Feedback links for each market app

2011-03-29 Thread Chris Stewart
 Others accomplish the same thing with a compile-time flag they flip
between generating the two APKs, which works fine too.

Good idea.  I'll go that route.

--
Chris Stewart
http://chriswstewart.com



On Tue, Mar 29, 2011 at 4:45 PM, TreKing treking...@gmail.com wrote:

 On Tue, Mar 29, 2011 at 3:33 PM, String sterling.ud...@googlemail.comwrote:

 Others accomplish the same thing with a compile-time flag they flip
 between generating the two APKs, which works fine too.


 That's what I do. Takes an extra 30 seconds.


 -
  TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Getting a Google Account token to use for Google Reader calls?

2011-03-26 Thread Chris Stewart
I've found various sources online trying to do this but every example I
found hasn't worked for me.  Most simply return 401 errors from the server.

I've gotten the auth token needed to make the calls from the local accounts
on the phone and I've also tried making the ClientLogin call specifically
with my username and password, and either way they're returning 401s.

So, has anyone been successful in getting unread Google Reader posts?  Extra
credit if you're doing it without having to handle a user's Google Account
credentials first hand, but are doing it through allowed permissions.

--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] New tablet-specific area in the Market

2011-03-25 Thread Chris Stewart
I've noticed that the Market now has a tablet-specific section that will
show 48-50 apps if you click into it. I've actually seen the number change
from 48 to 50 throughout today. It leads me to believe that list is being
automatically updated based on apps that are effectively tablet friendly. I
know we're very much left in the dark as to how some of those things work,
but does anyone have any insight as to how this list works?

In my manifest file, I have min and target API level at 11 and the xlarge
screen supported. Although, I didn't go in an explicitly reject the other
sizes which I should probably do. I know there aren't many Honeycomb
specific apps out there yet, so I've been checking to see if my app might
show up on that list at some point.

--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] New tablet-specific area in the Market

2011-03-25 Thread Chris Stewart
Right, and that was my assumption.  If they're actually being picked by a
human, then yeah I wouldn't assume someone would spill how that works.

But, if they're being automatically updated based on apps that are set to be
Honeycomb specific, that's what I was hoping to gain insight to assuming
anyone would know if that's the case.

As far as I can tell, that view is the only way to say show me tablet
apps.  You can't see them by category, or really in any other form, so I
wouldn't be surprised in the least bit if there really are only about 50 of
them available on the Market at this point.  If that's the case, I would
hope there's some automatic way that view is being updated as new
Honeycomb-specific apps are being released.  Until there's enough to justify
the category and hand-picked featured system we see for the phone apps.

--
Chris Stewart
http://chriswstewart.com



On Fri, Mar 25, 2011 at 3:06 PM, TreKing treking...@gmail.com wrote:

 On Fri, Mar 25, 2011 at 1:54 PM, Chris Stewart cstewart...@gmail.comwrote:

 I know we're very much left in the dark as to how some of those things
 work, but does anyone have any insight as to how this list works?


 If you're talking about the Featured Apps for Tablets section on the
 website, then the answer is probably the same as the old Featured section:
 no one here knows how they're picked and the people that do aren't going to
 tell you.


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] New tablet-specific area in the Market

2011-03-25 Thread Chris Stewart
Sadly, very true.

--
Chris Stewart
http://chriswstewart.com



On Fri, Mar 25, 2011 at 3:36 PM, TreKing treking...@gmail.com wrote:

 On Fri, Mar 25, 2011 at 2:18 PM, Chris Stewart cstewart...@gmail.comwrote:

 But, if they're being automatically updated based on apps that are set to
 be Honeycomb specific, that's what I was hoping to gain insight to assuming
 anyone would know if that's the case.


  Just going on the fact that it's called Featured, I'd say they're being
 hand picked. But again, this is one of those Market mysteries that we'll
 never get any insight on so ...



 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Screen Sizes and Densities

2011-03-25 Thread Chris Stewart
 So I guess I'm just imagining all those tablets.

In many ways, you are.  Just ask Motorola... :o

But seriously, I don't know of any concrete numbers.  The best we could do
for you is a Google search or to share statistics from our own apps with
you.  Not sure the latter is what you're after as most of our apps aren't
mega popular and therefore aren't covering the general landscape of the
market.

--
Chris Stewart
http://chriswstewart.com



On Fri, Mar 25, 2011 at 3:41 PM, William Ferguson william.ferguson.au@
gmail.com wrote:

 *Bump*

 Surely there is some more recent info on screen sizing than Aug 2010.
 According to this, it looks like there are no large or extra-large
 screens.
 So I guess I'm just imagining all those tablets.

 This document is referenced in Supporting Screen Sizes in the
 developer doco.
 Which is istelf a little behind the times as it makes no reference to
 the WXGA skin that shipped with the 3.0 emulator update.



 On Mar 14, 8:38 pm, William Ferguson william.ferguson...@gmail.com
 wrote:
  Is there any better data on the ratio ofscreensizesanddensities
  than
   http://developer.android.com/resources/dashboard/screens.html
  which was last updated on 2 August 2010?
 
  William

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Odd behavior with library projects in Eclipse

2011-03-25 Thread Chris Stewart
I have a main library project that I use with two of my apps.  Lately I've
noticed some odd behavior from Eclipse, or possibly my Mercurial plug-in,
where it will delete the src directory from my library project at random.
 The first time that happened I almost fell over, but quickly realized all
of my code is being stored remotely in Mercurial repositories.  I quick
force update gets everything back in order.  This has happened a number of
times in the last few days and I'm just wondering if anyone else on here as
experienced similar.

I've really just had a lot of weird issues lately with Eclipse and my
Android projects.  I tried to open/import an existing Android project and
could never get it to work.  I had to recreate the project from scratch and
copy in the code/files to get it working again.  Just the oddest stuff.

--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Amazon Appmarket is now open!

2011-03-24 Thread Chris Stewart
Is anyone noticing a sales jump from the Amazon store?  I know it's early
and hard to really judge for long term.  However, with the launch getting so
much buzz, I would expect people to be getting decent downloads relative to
their Market numbers.

--
Chris Stewart
http://chriswstewart.com



On Thu, Mar 24, 2011 at 2:18 PM, Gregg Reno gregg.r...@gmail.com wrote:

 Have you all noticed a big discrepancy between the order counts on the
 Amazon AppStore home dashboard and what is shown in the Reports page?
 The counts for me on the home page are about one third of what shows
 in the reports page
 -Gregg

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Releasing a tablet-only application

2011-03-23 Thread Chris Stewart
I'm close to releasing a tablet-only application and I'm wondering what
steps I need to take to ensure it's only available to Android 3.0 devices.
 Is it really a matter of setting the minimum SDK level to 11?  When the
next version of Android comes out that has an SDK level of 12, but it's only
for tablets, how will I need to change my manifest to hide the app from
phones?

--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Releasing a tablet-only application

2011-03-23 Thread Chris Stewart
Thanks for the replies.

--
Chris Stewart
http://chriswstewart.com



On Wed, Mar 23, 2011 at 11:51 AM, TreKing treking...@gmail.com wrote:

 On Wed, Mar 23, 2011 at 10:33 AM, Chris Stewart cstewart...@gmail.comwrote:

 Is it really a matter of setting the minimum SDK level to 11?


 No, that determines the platform you're available on. For now that's
 HoneyComb and for now that's tablets only, but I wouldn't rely on that.

 Use the supports-screens element of the manifest and indicate the screen
 type you want to support (however you define a tablet).


 -
  TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] PHP Support or not

2011-03-23 Thread Chris Stewart
Android runs native code written in the Java language.  If you want to build
web-based apps for Android (and all mobile in that case), I would focus on
building web apps that run on web servers which can be consumed by the
phones and other mobile devices.  You can't run PHP code natively in
Android.

--
Chris Stewart
http://chriswstewart.com



On Wed, Mar 23, 2011 at 2:56 PM, rishabh agrawal
android.rish...@gmail.comwrote:

 In the android O.S,I want develope web bassed apps.i am a beginner in
 this field.so plz suggest me PHP is give me help when i create web
 based apps.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Amazon Appmarket is now open!

2011-03-22 Thread Chris Stewart
I really don't like _how_ you have to get the Appstore app itself.  I
suppose that's because it's an Appstore within the Market itself.  Asking
users to enable unknown sources doesn't seem like a good idea.  I bet my
mom would be confused as hell over this.

--
Chris Stewart
http://chriswstewart.com



On Tue, Mar 22, 2011 at 9:03 AM, Marcin Orlowski
webnet.andr...@gmail.comwrote:



 On 22 March 2011 13:43, Justin Giles jtgi...@gmail.com wrote:

 Awesome!  Or maybe not awesome...they have a Test Drive Now feature that
 opens up a web based emulator to run your app for 30 minutes as a trial.


 Where exactly did you spot that feature?



 Regards,
 Marcin Orlowski

 Tray Agenda http://bit.ly/trayagenda - keep you daily schedule handy...


 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Amazon Appmarket is now open!

2011-03-22 Thread Chris Stewart
I really just wish that Google would bite the bullet and implement some of
the much needed features for the Android Market.  I'm not unhappy with
what's there and I know the individuals are putting in serious effort, so I
don't want my comment to come off as a snub to those developers.  I really
hate the idea of managing two app stores, not only for myself but for
consumers.  If the Android Market was where I think a lot of us believe it
should be, Amazon wouldn't have even seen an opportunity in building their
own market.  Competition is great and all, but in the end it's simply going
to make us spend time thinking about app stores and not our apps.  I think
that's a problem.

--
Chris Stewart
http://chriswstewart.com



On Tue, Mar 22, 2011 at 9:28 AM, Marcin Orlowski
webnet.andr...@gmail.comwrote:


  Awesome!  Or maybe not awesome...they have a Test Drive Now feature
 that opens up a web based emulator to run your app for 30 minutes as a
 trial.


 Where exactly did you spot that feature?



 I just looked up one of my apps Word Mix.  Below the pricing information
 there was a big green button saying Test Drive Now.  I was in Chrome when
 I saw this.  Doesn't look like it is for all apps.  I would say that it is a
 developer feature, but I'm not signed in to my developer Amazon account
 when I see it.  It's pretty slick, but laggy with button presses.


 Hm, I do not see anythink like that for app you named - make sure you
 wasn't logged.


 Regards,
 Marcin Orlowski

 Tray Agenda http://bit.ly/trayagenda - keep you daily schedule handy...


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Amazon Appmarket is now open!

2011-03-22 Thread Chris Stewart
 Do you guy's apps have the original descriptions and bullet points you
submitted? It seems like Amazon just wrote their own marketing descriptions
...

 Wow.  I just noticed that mine was modified as well.  It actually make
it sound more polished, but some of the concepts are wrong.

Unbelievable.  Or, maybe I shouldn't be surprised #iwanttheandroidmarket

--
Chris Stewart
http://chriswstewart.com



On Tue, Mar 22, 2011 at 10:13 AM, Justin Giles jtgi...@gmail.com wrote:



 On Tue, Mar 22, 2011 at 9:09 AM, TreKing treking...@gmail.com wrote:

 Do you guy's apps have the original descriptions and bullet points you
 submitted? It seems like Amazon just wrote their own marketing descriptions
 ...


 Wow.  I just noticed that mine was modified as well.  It actually make it
 sound more polished, but some of the concepts are wrong.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: ideal system configuration for developing Android 3 apps

2011-03-22 Thread Chris Stewart
Honestly, if you have any serious intention of developing for Android 3.0,
you need to forget about the emulator.

--
Chris Stewart
http://chriswstewart.com



On Tue, Mar 22, 2011 at 11:28 AM, j.s. mammen mamm...@gmail.com wrote:

 Ok, here is what I did to make the Android 3 emulator slightly more
 usable:
 - increased emulator vm.heap to 256 from 49
 - reduced the resolution to 1024x768, default was much higher
 - emulator ram to 512 (tried 1024 but it crashed )
 - also increased the eclipse vm to 1024

 Its slightly more faster than before!!!

 On Mar 22, 5:02 pm, j.s. mammen mamm...@gmail.com wrote:
  Thanks Mark for your suggestion.
  According to the API, the default is 96MB RAM which I am not sure
  applies to all versions of API.
 
  I will try your suggestions and other hardware options mentioned in
  API and update this thread.
 
  -jm
 
  On Mar 22, 4:23 pm, Mark Murphy mmur...@commonsware.com wrote:
 
 
 
   Actually, bumping the RAM helps a bit. hw.ramSize (Device RAM size)
   of 1024, if you have enough memory on your development machine, does
   improve performance. It is still fairly dreadful, but I couldn't even
   get it to boot with whatever the default was.
 
   On Tue, Mar 22, 2011 at 7:19 AM, String sterling.ud...@googlemail.com
 wrote:
I think the point is that the Honeycomb emulator is abominable on
 every
configuration that anyone's reported. Even Google has admitted that
 it's
really bad.
AFAIK, nobody's reported any success with improving the situation by
tweaking settings, either. Why don't you do that, and let us know
 what you
find?
String
 
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
   http://groups.google.com/group/android-developers?hl=en
 
   --
   Mark Murphy (a Commons Guy)http://commonsware.com|
 http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
 
   _The Busy Coder's Guide to Android Development_ Version 3.5 Available!-
 Hide quoted text -
 
   - Show quoted text -- Hide quoted text -
 
  - Show quoted text -

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] TextView at the bottom of a Layout, like a status bar of sorts

2011-03-21 Thread Chris Stewart
I'm working on a Honeycomb app and I'd like to have a scrolling ticker at
the bottom of the screen.  I did something similar with a phone app, where I
effectively had a LinearLayout that took up the bottom of the screen and
contained a TextView inside of it.  I attempted to reuse that code in this
situation and couldn't get the Layout or TextView to display.  The only real
differences here are the use of Android 3.0 and fragments in the layout
file.

Unfortunately I'm at work, so I'm unable to post the specific code in
question.  But, I wanted to see if anyone has already encountered this while
working with Android 3.0/fragments or if you've seen an example somewhere
online I can explore for answers.

--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Gmail loading spinner in Honeycomb

2011-03-21 Thread Chris Stewart
In the Gmail client for Honeycomb, I've noticed that when you select an
email there's a brief blue progress circle that spins while the content is
loaded in the content fragment.  I'd like to implement similar functionality
for a WebView fragment in my app.  Is this something available to the rest
of the system, or was it specifically built into the Gmail client?

--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: TextView at the bottom of a Layout, like a status bar of sorts

2011-03-21 Thread Chris Stewart
I wanted to follow up on this question.  I got it working tonight by using
RelativeLayout.  The overall design is as such:

RelativeLayout
 -- LinearLayout
   -- Fragment A
   -- Fragment B
   -- Fragment C
 -- /LinearLayout
 -- RelativeLayout (with android:layout_alignParentBottom=true)
   -- TextView
 -- /RelativeLayout
/RelativeLayout

--
Chris Stewart
http://chriswstewart.com



On Mon, Mar 21, 2011 at 4:07 PM, Chris Stewart cstewart...@gmail.comwrote:

 I'm working on a Honeycomb app and I'd like to have a scrolling ticker at
 the bottom of the screen.  I did something similar with a phone app, where I
 effectively had a LinearLayout that took up the bottom of the screen and
 contained a TextView inside of it.  I attempted to reuse that code in this
 situation and couldn't get the Layout or TextView to display.  The only real
 differences here are the use of Android 3.0 and fragments in the layout
 file.

 Unfortunately I'm at work, so I'm unable to post the specific code in
 question.  But, I wanted to see if anyone has already encountered this while
 working with Android 3.0/fragments or if you've seen an example somewhere
 online I can explore for answers.

 --
 Chris Stewart
 http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Service stops after 10 minutes of standby

2011-03-21 Thread Chris Stewart
As Nick mentioned, you'll want to look into a wake lock.  I would highly
recommend Mark's implementation with WakefulIntentService (
https://github.com/commonsguy/cwac-wakeful).  I'm using it in my app with no
issues at all.

--
Chris Stewart
http://chriswstewart.com



On Mon, Mar 21, 2011 at 11:14 PM, Roger Podacter rogerpodac...@gmail.comwrote:

 I think there is something extra that needs to be added to keep your
 service running in deep sleep standby. Cause my service also stops
 running on my nexus one once the phone goes into deep sleep. My
 service actually takes 2 second sample readings of battery current so
 it would be nice to see standby readings.

 On Mar 21, 8:05 pm, Nick Kulikaev nkulik...@gmail.com wrote:
  Hi,
  You probably need to obtain a wake lock to keep your service running
  if you want to stick to the design you've already made, but i guess
  what you are trying to do could be also done with  alarm manager which
  can wake you up whenever you want. This can save you some battery.
 
  Nick
 
  On Mar 21, 1:56 am, stefan jakober stefan.jako...@gmail.com wrote:
 
 
 
   Hey there,
 
   I've got a wired problem. I've got a tracking service which sends geo-
   data to a server every 5 seconds.
   When I run this service on the HTC Wildfire, there are no problems at
   all (even when the phone goes standby), but when I use the HTC Desire,
   the service seems to stop after 10 minutes standby though there is no
   problem with the service when the phone's active.
 
   I will try to figure out the problem with testing some other phones,
   but you guys might have an idea where the problem is and I would be so
   thankful for every kind of help. I'm stuck on this problem for weeks.
 
   thank you
   stefan

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Can somebody suggest the best book or online resource for beginning android apps development?

2011-03-21 Thread Chris Stewart
I sound like a fanboy, and I suppose it's true in many ways, but I would
recommend Mark's books on Android development: http://commonsware.com.  In
addition to the books, he's here on the list constantly with a number of
other helpful regulars providing great information.

--
Chris Stewart
http://chriswstewart.com



On Mon, Mar 21, 2011 at 10:39 PM, sogan xie soga...@gmail.com wrote:

 http://www.android.com/



 On Mon, Mar 21, 2011 at 7:51 PM, Narendra Padala 
 checksumandr...@gmail.com wrote:

 Hi Flocks,

 Can somebody suggest the best book or online resource for beginning
 android apps development?

 Regard's
 Narendra

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 B.R.
 Sogan.X
 
 Mail:soga...@gmail.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
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Android Application Sold to 100,000 Users

2011-03-21 Thread Chris Stewart
 Individual Developer may not have that much resources as a company
 have.
 not only for marketing but also a work done by individual and a Team
 might result in a concrete application.
 I guess...so

I must interject here... :)

From experience, I can say very confidently that a single developer with a
genuine passion for building apps can do fantastic work if not better than
your typical, or even solid, corporate team can.  Frankly, doing this is
more fun than an average day at work.  These apps line our individual
pockets with customer dollars and we put serious effort into making them the
best they can be.

--
Chris Stewart
http://chriswstewart.com



On Sun, Mar 20, 2011 at 11:59 PM, varinag gold varinagg...@gmail.comwrote:

  What difference does it make?

 Individual Developer may not have that much resources as a company
 have.
 not only for marketing but also a work done by individual and a Team
 might result in a concrete application.
 I guess...so

 On Mar 21, 11:37 am, TreKing treking...@gmail.com wrote:
  On Sun, Mar 20, 2011 at 10:18 PM, varinag gold varinagg...@gmail.com
 wrote:
 
   I'd like to know if any one of you (Individual Developer) have crossed
 this
   limit to sell android application to 100,000 users? If so how long it
 took
   to cross this limit .
 
  What difference does it make?
 
 
 -
  TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
  transit tracking app for Android-powered devices

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Android Development Kit

2011-03-21 Thread Chris Stewart
You'll want to start here for the SDK and tools:
http://developer.android.com/index.html.  This list is a good place for well
thought out questions.  General or vague questions will likely go
unanswered.

--
Chris Stewart
http://chriswstewart.com



On Mon, Mar 21, 2011 at 8:09 AM, Samir Ghodasara
ghodasarasa...@gmail.comwrote:

 Hi ,

 I am a new user of Android and searching for the Android development board
 kit, in Google i can find some names/vendors but not on the Android
 developer website.

 Searching for some info/doc to get the concrete information (which one is
 good ) for Android.basic tutorials for start-up.

 We wanted to build our own Android tablet device with very specific
 application and theme , start-up screen customization.

 Could you tell me the best way to start and which way to proceed on this.

 Thanks in Advance.

 Regards,
 Samir.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: installing sdk

2011-03-21 Thread Chris Stewart
What version of Eclipse are you using?

Did you start with this page (http://developer.android.com/sdk/index.html),
download the package, and follow the steps below?  Then, proceed to the SDK
install page (http://developer.android.com/sdk/installing.html)?  Which step
are you stuck at?

--
Chris Stewart
http://chriswstewart.com



On Mon, Mar 21, 2011 at 12:38 PM, learner1980 vipul.bahug...@gmail.comwrote:

 Hi,

 I have recently downloaded the SDK starter pack 'android-sdk_r10-
 windows' for Android development. I have Windows Vista OS. But now
 when I am starting the SDK Manager to install the Platform tools i am
 getting the below erorrs -

 XML verification failed for
 https://dl-ssl.google.com/android/repository/repository.xml.
 Line -१:-१, Error: org.xml.sax.SAXParseException: schema_reference.4:
 Failed to read schema document 'null', because 1) could not find the
 document; 2) the document could not be read; 3) the root element of
 the document is not .

 XML verification failed for
 https://dl-ssl.google.com/android/repository/addons_list.xml.

 Line -१:-१, Error: org.xml.sax.SAXParseException: schema_reference.4:
 Failed to read schema document 'null', because 1) could not find the
 document; 2) the document could not be read; 3) the root element of
 the document is not .

 I also tried the Force settings in Settings - Misc, but it too didn't
 help.

 Can someone throw some pointers. I am a bit stuck as I have downloaded
 the Starter pack and not able to figure out what could be wrong.

 Thanks in advance.

 On Feb 26, 2:49 am, Marcin Orlowski webnet.andr...@gmail.com wrote:
  On 25 February 2011 14:46, Ashwin Menkudle ashwinmenku...@gmail.com
 wrote:
 
   i am trying to install addon after install of sdk.
   i am behind firewall there is no support for https
 
  See settings Tag, 1st checkbox
 
  --
  Regards,
  Marcin

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: TextView at the bottom of a Layout, like a status bar of sorts

2011-03-21 Thread Chris Stewart
The only point is that's what I've found to work, nothing more.  Perhaps I'm
not doing it correctly, but it's like pulling teeth trying to get layouts to
work like I want them to, so when I find something that works I'm hard
pressed to sit there for hours trying to optimize it 100%.

--
Chris Stewart
http://chriswstewart.com



On Tue, Mar 22, 2011 at 12:42 AM, Justin Anderson magouyaw...@gmail.comwrote:

 Maybe it is just me, but what is the point of putting a LinearLayout inside
 a RelativeLayout?  And for that matter, what is the point of having a
 RelativeLayout inside another RelativeLayout that contains only a single
 view?

 I don't know really know what the requirements of your app, but you should
 be able to achieve the same thing with just a single RelativeLayout and all
 your other fragments/views inside of that...

 One of the big advantages of RelativeLayout is that there is less need for
 nesting layouts...

 Thanks,
 Justin Anderson
 MagouyaWare Developer
 http://sites.google.com/site/magouyaware


 On Mon, Mar 21, 2011 at 9:28 PM, Chris Stewart cstewart...@gmail.comwrote:

 I wanted to follow up on this question.  I got it working tonight by using
 RelativeLayout.  The overall design is as such:

 RelativeLayout
  -- LinearLayout
-- Fragment A
-- Fragment B
-- Fragment C
  -- /LinearLayout
  -- RelativeLayout (with android:layout_alignParentBottom=true)
-- TextView
  -- /RelativeLayout
 /RelativeLayout

 --
 Chris Stewart
 http://chriswstewart.com



 On Mon, Mar 21, 2011 at 4:07 PM, Chris Stewart cstewart...@gmail.comwrote:

 I'm working on a Honeycomb app and I'd like to have a scrolling ticker at
 the bottom of the screen.  I did something similar with a phone app, where I
 effectively had a LinearLayout that took up the bottom of the screen and
 contained a TextView inside of it.  I attempted to reuse that code in this
 situation and couldn't get the Layout or TextView to display.  The only real
 differences here are the use of Android 3.0 and fragments in the layout
 file.

 Unfortunately I'm at work, so I'm unable to post the specific code in
 question.  But, I wanted to see if anyone has already encountered this while
 working with Android 3.0/fragments or if you've seen an example somewhere
 online I can explore for answers.

 --
 Chris Stewart
 http://chriswstewart.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
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] A WebView inside of a fragment

2011-03-20 Thread Chris Stewart
I'm trying to get a hook to a WebView in my layout and it's coming back null
each time.  Can anyone tell me what I'm doing wrong here?

WebViewFragment.java

public class WebViewFragment extends Fragment
{
private View mContentView;

@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState)
{
mContentView = inflater.inflate(R.layout.web_view_fragment, null);

return mContentView;
}

@Override
public void onActivityCreated(Bundle savedInstanceState)
{
super.onActivityCreated(savedInstanceState);

WebView webview = (WebView)mContentView.findViewById(R.id.webview);
// use webview to set url...
}
}


web_view_fragment.xml

?xml version=1.0 encoding=utf-8?

LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;
android:orientation=horizontal
android:layout_width=match_parent
android:layout_height=match_parent

WebView
android:id=@+id/webview
android:layout_width=fill_parent
android:layout_height=fill_parent
android:layout_weight=2 /
/LinearLayout

--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How is your sales model changing with the introduction of Android 3.0 and tablets, or is it?

2011-03-20 Thread Chris Stewart
 Q: What *does* happen to a standard app run on the Xoom? Does it scale
 like on the iPad or does it actually run the app normally, just on a
 much bigger screen so you have a lot more whitespace and UI gaps? Or
 is the issue the added UIs for the new app management/task-switching
 and all that?

It will scale it up to the full screen size of your device, which leads to a
lot of whitespace in most apps including mine.

--
Chris Stewart
http://chriswstewart.com



On Sun, Mar 20, 2011 at 10:18 AM, Riyad Kalla rka...@gmail.com wrote:

 Agree on #1; this is how every iPhone/iPad app does it and so far the
 iOS ecosystem seems to be doing just fine. I've rebought apps on my
 iPad to get the HD versions of them and expected to repay; it was a
 bummer, but I didn't lose sleep over it. I think the analogy to DVD/
 Blu-ray was pretty much spot-on; if you want two copies, go for it.

 Q: What *does* happen to a standard app run on the Xoom? Does it scale
 like on the iPad or does it actually run the app normally, just on a
 much bigger screen so you have a lot more whitespace and UI gaps? Or
 is the issue the added UIs for the new app management/task-switching
 and all that?

 On Mar 19, 2:42 pm, Alessio Grumiro a.grum...@gmail.com wrote:
  Maybe it depends by your application, but i think it is better #1.
  You have to manage 2 different applications: phone version and tablet
  version.
  Consider environments: you can read football news on your mobile phone
 while
  your are on bus. Usually you use tablet in office or at home, so your are
  sitted, no noise, more concentration.
 
  No consider if your user has, already, payed for phone version.
 
  2011/3/19 Chris Stewart cstewart...@gmail.com
 
 
 
 
 
 
 
   In many ways, using the compat framework makes me a little nervous.
  The
   ApiDemo I looked at had an overarching Activity that managed two
 fragments
   and while it was a simple example and only had a few is landscape, do
 two
   fragments, else, do one, I can imagine a real world app being far more
   complicated to migrate to that model.
 
   I'm curious how many have taken the approach of having both modes in
 one
   app.  I would love to hear some experiences from having made this
 migration
   to the compat framework.
   On Mar 19, 2011 4:10 PM, TreKing treking...@gmail.com wrote:
On Sat, Mar 19, 2011 at 12:48 PM, Chris Stewart 
 cstewart...@gmail.com
   wrote:
 
Anyone have any comments on this quote from me?
 
I do think it's important to note that if you follow approach #1,
 users
that purchased your app will still have access to it on the tablet,
 it
   just
won't be tailored to that device's experience. I'm not sure that
 asking
them to pay for the additional work you put into a tablet version is
 a
   bad
thing. It works that way on the iPad, with no issues.
 
I think having a separate tablet version that costs more, if that's
 what
   you
want to do, is fine. It's like selling a DVD and BluRay copy of a
 movie -
same product, different platform, where one costs more because it's
   bigger
and better. If you want both, you have to pay for both.
 
And if user is *really* unhappy about this, you can just refund their
original phone version purchase and have them keep the tablet
 version, so
they're only paying the difference (as was mentioned earlier) for the
upgrade.
 
Do it, go.
 
  
 ---
 --
 TreKing http://sites.google.com/site/rezmobileapps/treking -
 Chicago
 
transit tracking app for Android-powered devices
 
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
   http://groups.google.com/group/android-developers?hl=en
 
   --
   You received this message because you are subscribed to the Google
   Groups Android Developers group.
   To post to this group, send email to
 android-developers@googlegroups.com
   To unsubscribe from this group, send email to
   android-developers+unsubscr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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

Re: [android-developers] A WebView inside of a fragment

2011-03-20 Thread Chris Stewart
Thanks for linking your example.  I'm getting a reference to the WebView now
with:

WebView webview = (WebView)(getView().findViewById(R.id.webview));

It's not loading my web page just yet, but that's next. :o

--
Chris Stewart
http://chriswstewart.com



On Sun, Mar 20, 2011 at 10:57 AM, Mark Murphy mmur...@commonsware.comwrote:

 Well, you can definitely use WebView in fragments:

 https://github.com/commonsguy/cw-android/tree/master/Fragments/EU4You_6

 My best guess is that the fragment is not yet attached to the view
 hierarchy by then. Since you get the same Bundle in both places, you
 may just want to move your loadURL() or whatever call to
 onCreateView().

 On Sun, Mar 20, 2011 at 10:25 AM, Chris Stewart cstewart...@gmail.com
 wrote:
  I'm trying to get a hook to a WebView in my layout and it's coming back
 null
  each time.  Can anyone tell me what I'm doing wrong here?
  WebViewFragment.java
  public class WebViewFragment extends Fragment
  {
  private View mContentView;
 
  @Override
  public View onCreateView(LayoutInflater inflater, ViewGroup
 container,
  Bundle savedInstanceState)
  {
  mContentView = inflater.inflate(R.layout.web_view_fragment,
 null);
  return mContentView;
  }
 
  @Override
  public void onActivityCreated(Bundle savedInstanceState)
  {
  super.onActivityCreated(savedInstanceState);
 
  WebView webview =
 (WebView)mContentView.findViewById(R.id.webview);
  // use webview to set url...
  }
  }
 
  web_view_fragment.xml
  ?xml version=1.0 encoding=utf-8?
  LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;
  android:orientation=horizontal
  android:layout_width=match_parent
  android:layout_height=match_parent
 
  WebView
  android:id=@+id/webview
  android:layout_width=fill_parent
  android:layout_height=fill_parent
  android:layout_weight=2 /
  /LinearLayout

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 Android Training...At Your Office: http://commonsware.com/training

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] A WebView inside of a fragment

2011-03-20 Thread Chris Stewart
So, apparently, having the Internet permission is kind of important for what
I'm trying to do. :o  It's been quite awhile since I've started an Android
project from scratch...

--
Chris Stewart
http://chriswstewart.com



On Sun, Mar 20, 2011 at 11:05 AM, Chris Stewart cstewart...@gmail.comwrote:

 Thanks for linking your example.  I'm getting a reference to the WebView
 now with:

 WebView webview = (WebView)(getView().findViewById(R.id.webview));

 It's not loading my web page just yet, but that's next. :o

 --
 Chris Stewart
 http://chriswstewart.com



 On Sun, Mar 20, 2011 at 10:57 AM, Mark Murphy mmur...@commonsware.comwrote:

 Well, you can definitely use WebView in fragments:

 https://github.com/commonsguy/cw-android/tree/master/Fragments/EU4You_6

 My best guess is that the fragment is not yet attached to the view
 hierarchy by then. Since you get the same Bundle in both places, you
 may just want to move your loadURL() or whatever call to
 onCreateView().

 On Sun, Mar 20, 2011 at 10:25 AM, Chris Stewart cstewart...@gmail.com
 wrote:
  I'm trying to get a hook to a WebView in my layout and it's coming back
 null
  each time.  Can anyone tell me what I'm doing wrong here?
  WebViewFragment.java
  public class WebViewFragment extends Fragment
  {
  private View mContentView;
 
  @Override
  public View onCreateView(LayoutInflater inflater, ViewGroup
 container,
  Bundle savedInstanceState)
  {
  mContentView = inflater.inflate(R.layout.web_view_fragment,
 null);
  return mContentView;
  }
 
  @Override
  public void onActivityCreated(Bundle savedInstanceState)
  {
  super.onActivityCreated(savedInstanceState);
 
  WebView webview =
 (WebView)mContentView.findViewById(R.id.webview);
  // use webview to set url...
  }
  }
 
  web_view_fragment.xml
  ?xml version=1.0 encoding=utf-8?
  LinearLayout xmlns:android=http://schemas.android.com/apk/res/android
 
  android:orientation=horizontal
  android:layout_width=match_parent
  android:layout_height=match_parent
 
  WebView
  android:id=@+id/webview
  android:layout_width=fill_parent
  android:layout_height=fill_parent
  android:layout_weight=2 /
  /LinearLayout

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 Android Training...At Your Office: http://commonsware.com/training

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Self contained ProgressDialog in ListFragment?

2011-03-20 Thread Chris Stewart
I have a ListFragment which loads data in a background thread and shows a
ProgressDialog while it loads. I'm wondering if I can make that dialog
contained to just that fragment so the user can keep doing things in the
other fragments. Is this doable?  Currently, the dialog blocks all
interaction with the UI.

--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How is your sales model changing with the introduction of Android 3.0 and tablets, or is it?

2011-03-19 Thread Chris Stewart
Anyone have any comments on this quote from me?

I do think it's important to note that if you follow approach #1, users
that purchased your app will still have access to it on the tablet, it just
won't be tailored to that device's experience.  I'm not sure that asking
them to pay for the additional work you put into a tablet version is a bad
thing.  It works that way on the iPad, with no issues.

I'm really quite curious.  I think it's a big deal right now as the Android
tablets are in their infancy and this market is just beginning.

--
Chris Stewart
http://chriswstewart.com



On Fri, Mar 18, 2011 at 9:41 AM, Chris Stewart cstewart...@gmail.comwrote:

 Thanks for the replies.  It's interesting to see how different devs are
 handling this.

 I do think it's important to note that if you follow approach #1, users
 that purchased your app will still have access to it on the tablet, it just
 won't be tailored to that device's experience.  I'm not sure that asking
 them to pay for the additional work you put into a tablet version is a bad
 thing.  It works that way on the iPad, with no issues.

 I'm leaning more towards option #2, but I'm a little worried about managing
 the different views in a single application.

 --
 Chris Stewart
 http://chriswstewart.com



 On Fri, Mar 18, 2011 at 5:10 AM, Zsolt Vasvari zvasv...@gmail.com wrote:

 For a game, #1 probably makes more sense.  For a productivity app for
 which the user had already paid $10 for, #2 probably is a better
 option, unless you want to piss off your users.

 On Mar 18, 4:00 pm, Christer Nordvik cnord...@gmail.com wrote:
  I am thinking about #1 since you can always slap on a HD at the end
  like Angry App HD and charge the users more. At least that's the
  standard practice on iPad. But then you have to have some extra
  features (or just better graphics) on the HD version of your app.
 
  My main problem is that the Xoom doesn't give the tablet-only apps
  any special treatment so it will probably be drowned in other apps and
  doesn't take advantage of current rankings of your app.
 
  -Christer
 
  On Mar 18, 5:44 am, Zsolt Vasvari zvasv...@gmail.com wrote:
 
 
 
   I am going with route #2, and I haven't had too many problems up till
   now.  The major stumbling block I see in the business side of things
   is that I cannot charge more for a Tablet version than I can for the
   phone version, even though the usuability can be much greater on the
   tablet version.
 
   Option #1 is not the best, as you pointed out, you cannot force the
   users to pay twice.  I can see forcing them to pay the difference in
   price if they upgrade to a tablet, but to make them buy the app all
   over is a huge no-no and you would end up with some very unhappy users
   -- and rightfully so.
 
   I think there needs to be a way to set price points based on the form
   factor of the device.  Hopefully, the Amazon market will have this
   feature.
 
   On Mar 18, 12:13 pm, Chris Stewart cstewart...@gmail.com wrote:
 
Now that I'm working on a tablet-centric version of my app, I'm
 considering
how it will impact my existing application in the Market.  As far as
 I can
see it, there are two ways this can go:
 
1) Leave your existing app as-is in the Market.  Build a tablet
 version
taking full advantage of Android 3.0, setting your minSdk to 11,
 using your
existing code base (as applicable) as a library to share core code,
 and sell
the apps independent of each other.  Here you'll need to manage two
 code
bases, even if only the UI side which we all know varies greatly
 from app
to app.  You're also requiring users to purchase twice effectively,
 assuming
they want the app on both their phone and the tablet-centric version
 on
their tablet.  I guess the phone version would still work on the
 tablet,
just not optimized for it.
 
2) Integrate fragments into your existing application and bundle in
 the
tablet version along with the phone version.  You'll need to drop
 support
for Android 1.5 for the compatibility library, work around API
 differences
between the phone and tablet APIs at run-time, and handle your UI
 activities
and views differently between platforms.  I'm not sure about that
 last part
-- but it seems like with such a different UI concept behind 3.0
 with the
Action Bar and the general flow of an application can be so
 different, that
you might need to break that apart.  Could be very wrong there
 however and
would love for someone to show me otherwise.
 
There are a few things at play here.  It's the battle on the
 technical side
of dealing with different applications (package names, projects in
 Eclipse,
apks, etc).  It's also bringing into question how you want to manage
 your
app; whether you want to charge for a tablet-optimized version or
 include it
with the phone app someone has already purchased.
 
Depending on what I learn related

Re: [android-developers] Re: How is your sales model changing with the introduction of Android 3.0 and tablets, or is it?

2011-03-19 Thread Chris Stewart
In many ways, using the compat framework makes me a little nervous.  The
ApiDemo I looked at had an overarching Activity that managed two fragments
and while it was a simple example and only had a few is landscape, do two
fragments, else, do one, I can imagine a real world app being far more
complicated to migrate to that model.

I'm curious how many have taken the approach of having both modes in one
app.  I would love to hear some experiences from having made this migration
to the compat framework.
On Mar 19, 2011 4:10 PM, TreKing treking...@gmail.com wrote:
 On Sat, Mar 19, 2011 at 12:48 PM, Chris Stewart cstewart...@gmail.com
wrote:

 Anyone have any comments on this quote from me?

 I do think it's important to note that if you follow approach #1, users
 that purchased your app will still have access to it on the tablet, it
just
 won't be tailored to that device's experience. I'm not sure that asking
 them to pay for the additional work you put into a tablet version is a
bad
 thing. It works that way on the iPad, with no issues.


 I think having a separate tablet version that costs more, if that's what
you
 want to do, is fine. It's like selling a DVD and BluRay copy of a movie -
 same product, different platform, where one costs more because it's bigger
 and better. If you want both, you have to pay for both.

 And if user is *really* unhappy about this, you can just refund their
 original phone version purchase and have them keep the tablet version, so
 they're only paying the difference (as was mentioned earlier) for the
 upgrade.

 Do it, go.


-
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Have you implemented fragments into a pre-3.0 app?

2011-03-19 Thread Chris Stewart
I'm evaluating how to create a tablet-centric app from my existing Android
application, whether I want to use fragments with the existing activities I
have or create two separate apps and go deep into Android 3.0 with the
tablet edition.

I'm curious if any of you have spent time to refactor an existing
application to take advantage of fragments, and also provide a tablet
focused UI for when it's being used on a tablet.  I have a good 25
activities currently and it feels like going through and refactoring
everything will be quite difficult.  I'm hoping I'm wrong and that someone
has had a good experience they'd like to share. :)

--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How is your sales model changing with the introduction of Android 3.0 and tablets, or is it?

2011-03-18 Thread Chris Stewart
Thanks for the replies.  It's interesting to see how different devs are
handling this.

I do think it's important to note that if you follow approach #1, users that
purchased your app will still have access to it on the tablet, it just won't
be tailored to that device's experience.  I'm not sure that asking them to
pay for the additional work you put into a tablet version is a bad thing.
 It works that way on the iPad, with no issues.

I'm leaning more towards option #2, but I'm a little worried about managing
the different views in a single application.

--
Chris Stewart
http://chriswstewart.com



On Fri, Mar 18, 2011 at 5:10 AM, Zsolt Vasvari zvasv...@gmail.com wrote:

 For a game, #1 probably makes more sense.  For a productivity app for
 which the user had already paid $10 for, #2 probably is a better
 option, unless you want to piss off your users.

 On Mar 18, 4:00 pm, Christer Nordvik cnord...@gmail.com wrote:
  I am thinking about #1 since you can always slap on a HD at the end
  like Angry App HD and charge the users more. At least that's the
  standard practice on iPad. But then you have to have some extra
  features (or just better graphics) on the HD version of your app.
 
  My main problem is that the Xoom doesn't give the tablet-only apps
  any special treatment so it will probably be drowned in other apps and
  doesn't take advantage of current rankings of your app.
 
  -Christer
 
  On Mar 18, 5:44 am, Zsolt Vasvari zvasv...@gmail.com wrote:
 
 
 
   I am going with route #2, and I haven't had too many problems up till
   now.  The major stumbling block I see in the business side of things
   is that I cannot charge more for a Tablet version than I can for the
   phone version, even though the usuability can be much greater on the
   tablet version.
 
   Option #1 is not the best, as you pointed out, you cannot force the
   users to pay twice.  I can see forcing them to pay the difference in
   price if they upgrade to a tablet, but to make them buy the app all
   over is a huge no-no and you would end up with some very unhappy users
   -- and rightfully so.
 
   I think there needs to be a way to set price points based on the form
   factor of the device.  Hopefully, the Amazon market will have this
   feature.
 
   On Mar 18, 12:13 pm, Chris Stewart cstewart...@gmail.com wrote:
 
Now that I'm working on a tablet-centric version of my app, I'm
 considering
how it will impact my existing application in the Market.  As far as
 I can
see it, there are two ways this can go:
 
1) Leave your existing app as-is in the Market.  Build a tablet
 version
taking full advantage of Android 3.0, setting your minSdk to 11,
 using your
existing code base (as applicable) as a library to share core code,
 and sell
the apps independent of each other.  Here you'll need to manage two
 code
bases, even if only the UI side which we all know varies greatly
 from app
to app.  You're also requiring users to purchase twice effectively,
 assuming
they want the app on both their phone and the tablet-centric version
 on
their tablet.  I guess the phone version would still work on the
 tablet,
just not optimized for it.
 
2) Integrate fragments into your existing application and bundle in
 the
tablet version along with the phone version.  You'll need to drop
 support
for Android 1.5 for the compatibility library, work around API
 differences
between the phone and tablet APIs at run-time, and handle your UI
 activities
and views differently between platforms.  I'm not sure about that
 last part
-- but it seems like with such a different UI concept behind 3.0 with
 the
Action Bar and the general flow of an application can be so
 different, that
you might need to break that apart.  Could be very wrong there
 however and
would love for someone to show me otherwise.
 
There are a few things at play here.  It's the battle on the
 technical side
of dealing with different applications (package names, projects in
 Eclipse,
apks, etc).  It's also bringing into question how you want to manage
 your
app; whether you want to charge for a tablet-optimized version or
 include it
with the phone app someone has already purchased.
 
Depending on what I learn related to packaging tablet specific
 features to
an existing phone app, I'm quite undecided on which way I'll go.  I
 suspect
many of you have already been thinking about this very subject and
 I'm
curious how you're planning to handle it.  Please do include more
 options as
you see them.  How do the different API versions impact your thinking
 on the
subject?
 
--
Chris Stewarthttp://chriswstewart.com-Hide quoted text -
 
   - Show quoted text -- Hide quoted text -
 
  - Show quoted text -

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android

Re: [android-developers] How many of you are creating promotional videos for your app?

2011-03-17 Thread Chris Stewart
After spending too much time trying to get a video of my app, I wanted to
follow up on this thread.

Last night I spent the better part of the night trying to capture video and
audio from a walk-through of my application.  I used Fraps to capture video
of my desktop and the audio from my headset, which worked out really well.
 I used the emulator to run my application and a web browser beside it as
that has a value for explaining usage.  The emulator was so slow, causing
issues not found while running on real hardware, and simply useless for
these purposes.  I can't imagine trying to do development on the emulator
exclusively.  I've always used my phone to debug and I suspect that if I
didn't have that luxury, I wouldn't have lasted long trying to do Android
development.  It was awful.

I managed to capture about 45 minutes of video which came down to about 20
minutes after editing.  There's still a lot of lag and performance issues
being shown in the video that aren't representative of the experience that
customers have on their phone, so really, I won't be releasing what I've
created so far.  It won't do a lot for promotion if a prospective customer
thinks they'll be waiting a minute for certain screens to show up -- when in
reality they won't be.

Now I need to find a way to capture using my phone directly and walking
through the application that way.  The performance is real, the experience
is a better representation of the actual app, and will be a better showcase
for what a customer is about to purchase.  It sucks I can't use the emulator
to convey that.

--
Chris Stewart
http://chriswstewart.com



On Wed, Mar 9, 2011 at 8:00 PM, TreKing treking...@gmail.com wrote:

 On Tue, Mar 8, 2011 at 10:27 AM, Kunju Vava android...@gmail.com wrote:

 plse give any idea?


 Start your own thread?


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How many of you are creating promotional videos for your app?

2011-03-17 Thread Chris Stewart
Thanks for the replies everyone.  I have a Droid X with the HDMI cable, but
I'm not sure I have anything that can capture that video.  I'll have to look
more into that.  I was thinking I would simply record me using the phone
with a regular video camera that's mounted, as Nathan described.

--
Chris Stewart
http://chriswstewart.com



On Thu, Mar 17, 2011 at 4:06 PM, Marcin Orlowski
webnet.andr...@gmail.comwrote:

 The latest version of Shot Me app features saving videos too. Not fully
 cinematic experience, still better than nothing :) Requires rooted device.

 https://market.android.com/details?id=com.bw.picme.local

 Regards,
 Marcin Orlowski

 Tray Agenda for Android http://bit.ly/trayagenda


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How many of you are creating promotional videos for your app?

2011-03-17 Thread Chris Stewart

 Thanks for the follow up. Could you use the image capture software to speed
 up final video to make it more representative of the on-device experience?


I tried as much video editing magic as I could, and it just won't work.
 Some of it is because I'm capturing audio and video at the same time, not
voicing over later, so I can't edit around both the audio and the video in
certain situations or it doesn't make sense when it all comes together.

--
Chris Stewart
http://chriswstewart.com



On Thu, Mar 17, 2011 at 3:53 PM, TreKing treking...@gmail.com wrote:

 On Thu, Mar 17, 2011 at 2:40 PM, Chris Stewart cstewart...@gmail.comwrote:

 Insight


 Thanks for the follow up. Could you use the image capture software to speed
 up final video to make it more representative of the on-device experience?



 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How many of you are creating promotional videos for your app?

2011-03-17 Thread Chris Stewart
 More importantly, I think the Droid X only supports HDMI out for the
 Gallery (i.e., videos and pictures), not arbitrary stuff.

Even better. :)  I'll have to go old school on this I think.

--
Chris Stewart
http://chriswstewart.com



On Thu, Mar 17, 2011 at 4:21 PM, Mark Murphy mmur...@commonsware.comwrote:

 On Thu, Mar 17, 2011 at 4:18 PM, Chris Stewart cstewart...@gmail.com
 wrote:
  Thanks for the replies everyone.  I have a Droid X with the HDMI cable,
 but
  I'm not sure I have anything that can capture that video.

 More importantly, I think the Droid X only supports HDMI out for the
 Gallery (i.e., videos and pictures), not arbitrary stuff.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 Android Training in Oslo: http://bit.ly/fjBo24

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Dynamically adding fragments at run-time?

2011-03-17 Thread Chris Stewart
I'm starting to think about how to transition my app to work on the Xoom.
 In the UI samples I've seen for Honeycomb, they each include two fragments,
a ListView on the left for navigation and another fragment (I'm not sure
what Layout) on the right that acts on the selection from the left.  Not
that I've seen a lot of Honeycomb UI samples to this point, which will
change tomorrow as my Xoom is scheduled to arrive. :)

What I'm looking for is dynamically setting up fragments based on the
selection from the ListView fragment commonly found on the left of the
screen.  In some situations, I want another ListView beside it and then
another fragment side the second ListView that populates from selections in
the second ListView.  In other situations, I'll want to do what I described
originlly where a second fragment takes up the rest of the screen and shows
some kind of data.  Is it possible to do this?  Any pointers, links, or
articles would be appreciated.

--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] How is your sales model changing with the introduction of Android 3.0 and tablets, or is it?

2011-03-17 Thread Chris Stewart
Now that I'm working on a tablet-centric version of my app, I'm considering
how it will impact my existing application in the Market.  As far as I can
see it, there are two ways this can go:

1) Leave your existing app as-is in the Market.  Build a tablet version
taking full advantage of Android 3.0, setting your minSdk to 11, using your
existing code base (as applicable) as a library to share core code, and sell
the apps independent of each other.  Here you'll need to manage two code
bases, even if only the UI side which we all know varies greatly from app
to app.  You're also requiring users to purchase twice effectively, assuming
they want the app on both their phone and the tablet-centric version on
their tablet.  I guess the phone version would still work on the tablet,
just not optimized for it.

2) Integrate fragments into your existing application and bundle in the
tablet version along with the phone version.  You'll need to drop support
for Android 1.5 for the compatibility library, work around API differences
between the phone and tablet APIs at run-time, and handle your UI activities
and views differently between platforms.  I'm not sure about that last part
-- but it seems like with such a different UI concept behind 3.0 with the
Action Bar and the general flow of an application can be so different, that
you might need to break that apart.  Could be very wrong there however and
would love for someone to show me otherwise.

There are a few things at play here.  It's the battle on the technical side
of dealing with different applications (package names, projects in Eclipse,
apks, etc).  It's also bringing into question how you want to manage your
app; whether you want to charge for a tablet-optimized version or include it
with the phone app someone has already purchased.

Depending on what I learn related to packaging tablet specific features to
an existing phone app, I'm quite undecided on which way I'll go.  I suspect
many of you have already been thinking about this very subject and I'm
curious how you're planning to handle it.  Please do include more options as
you see them.  How do the different API versions impact your thinking on the
subject?

--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Android AVD 3.0 Problem

2011-03-11 Thread Chris Stewart
I have Visual Studio 08 and 10 on my machine, which I also have been doing
development on including using the 3.0 AVD.  I've had no issues.  I know
it's not exactly helpful, but perhaps useful to know.

--
Chris Stewart
http://chriswstewart.com



On Thu, Mar 10, 2011 at 8:23 PM, 曾少彬 forever_ho...@hotmail.com wrote:

  I think Ali was getting this when launching AVD 3.0 on a machine with VS
 installed. He wasn't using VS to develop.  Can you try to launch AVD via CMD
 window and paste the out put from CMD window here?

  Date: Thu, 10 Mar 2011 07:18:07 -0800
  Subject: [android-developers] Re: Android AVD 3.0 Problem
  From: chrys.vie...@gmail.com
  To: android-developers@googlegroups.com

 
  I don't quite understand your problem, are you trying to do Android
  development using Visual Studio??
 
  On Mar 10, 8:16 am, Ali Murtaza mralimurt...@gmail.com wrote:
   Hi All
  
   I have just installed the Android 3.0. I am facing a problem.
  
   I am using Window XP, I have installed the .NET 4.0 version also. As i
   started the AVD 3.0, The visual studio gives me debugging problem of
   Emulator.
  
   Any body now, how to do it.
 
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Best practices for tablet-centric development

2011-03-11 Thread Chris Stewart


 http://blog.radioactiveyak.com/2011/02/strategies-for-honeycomb-and-backwards.html



Thanks for the link TreKing, very helpful.

--
Chris Stewart
http://chriswstewart.com



On Thu, Mar 10, 2011 at 5:21 PM, TreKing treking...@gmail.com wrote:

 On Thu, Mar 10, 2011 at 3:59 PM, Chris Stewart cstewart...@gmail.comwrote:

 You'd then need to maintain two sets of Activities in your code base (one
 for each view, for each Activity), but at least you're simply implementing
 functionality from your service layer in those instead of duplicating
 everything if you happened to go with two completely different applications.
  That was my initial thought at least.  Does this make sense, or am I way
 off in my thinking?



 http://blog.radioactiveyak.com/2011/02/strategies-for-honeycomb-and-backwards.html

  Relates to:
 http://android-developers.blogspot.com/2011/03/fragments-for-all.html

 http://android-developers.blogspot.com/2011/02/android-30-fragments-api.html

 http://android-developers.blogspot.com/2011/02/best-practices-for-honeycomb-and.html


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Best practices for tablet-centric development

2011-03-11 Thread Chris Stewart
Nathan,

Perhaps my use of the word simple was taken a little too literally.  As I
said, I don't really have a grasp on Fragments yet, and if they work as well
as described I'll certainly go that route.  I do have rather simplistic
Activities so maintaining those wouldn't be terribly difficult in my
situation, but the article TreKing linked to provided a lot of insight into
Fragments and really addressed some of the questions I had about them.
 Definitely seems like the path to take.

--
Chris Stewart
http://chriswstewart.com



On Thu, Mar 10, 2011 at 8:26 PM, Nathan critter...@crittermap.com wrote:

 On Mar 10, 1:59 pm, Chris Stewart cstewart...@gmail.com wrote:
 I've always thought that simply maintaining two views
  for each Activity, one for a phone and one for a tablet, would be a good
 way
  to go.  You'd then need to maintain two sets of Activities in your code
 base
  (one for each view, for each Activity), but at least you're simply

 Simple?

 I admire you for having such a thin, easily maintainable Activity. My
 main activity is 3000 lines of code. Sure, it could and should be
 less, but I see it doing a lot of things that should be done in an
 activity - findingviews by id, responding to events, changing the
 state of other views. There are lots of views in the hierarchy, and
 onyl the activity can see them all.

 For me, maintaining two activities would not be small.

 If the fragements API is usable back to 1.6, Is your intention just to
 maintain compatibility with 1.5? All that work for 3% of users when
 you are primarily targeting tablets?

 Nathan

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Best practices for tablet-centric development

2011-03-10 Thread Chris Stewart
I'm beginning to investigate bringing an application to the tablet form
factor, the idea being the tablet is the primary platform of focus.  I
understand that Fragments are the way we should be developing applications
moving forward to accommodate both phones and tablets, but perhaps my
knowledge of them at this point is minimal.  All I really understand about
them to this point is that we can effectively bring a two Activity scenario
from the phone, into a single view with Fragments on 3.0 tablets.  I'm sure
there's more to it, but like I said, my knowledge isn't there yet.

If I wanted to have an optimized view for tablet users, but maintain the
phone user experience, I've always thought that simply maintaining two views
for each Activity, one for a phone and one for a tablet, would be a good way
to go.  You'd then need to maintain two sets of Activities in your code base
(one for each view, for each Activity), but at least you're simply
implementing functionality from your service layer in those instead of
duplicating everything if you happened to go with two completely different
applications.  That was my initial thought at least.  Does this make sense,
or am I way off in my thinking?

I guess what I'm after is understanding how others have approached this,
assuming we're talking about making an optimized view for tablets but also
having a full version for phones.  While I want to target tablets first and
foremost, it would be nice if phones could run the application as well.  I
really want to optimize for the Xoom and devices that come out to compete
with it.  Being able to maintain some functionality for phones would be
nice, but if I simply excluded them and went Xoom only, it wouldn't hurt
my feelings -- just my download numbers. :o

--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Experiences with Application Licensing?

2011-03-09 Thread Chris Stewart
I had initially enabled Copy Protection prior to it being listed as
deprecated and I have a growing concern over piracy when I compare my sales
numbers from Checkout, to what the Android Market shows, and what Flurry is
reporting.  The numbers simply don't add up, and aren't even close really,
so I want to explore measures to keep this more in line.

I'm looking into implementing application licensing and I'm wondering what
experiences people have had with it.  It appears that the physical
implementation will be rather easy.  From what I can gather, StrictPolicy
makes the most sense for my situation.  My application requires an active
Internet connection at all times due to the nature of what it's doing.

If you've evaluated application licensing and have thoughts on how it has
worked out for you, or perhaps why you decided not to implement it, I'd
appreciate hearing them.

--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Experiences with Application Licensing?

2011-03-09 Thread Chris Stewart
Great thread, thanks for posting that.  I guess more than anything the false
positives (or, negatives?) scare me the most.  Last thing I want to do is
piss off a paid customer.  Maybe for now I'll just wait and see how LVL
improves in the future and consider it in the future.

--
Chris Stewart
http://chriswstewart.com



On Wed, Mar 9, 2011 at 12:41 PM, TreKing treking...@gmail.com wrote:

 On Wed, Mar 9, 2011 at 11:33 AM, Chris Stewart cstewart...@gmail.comwrote:

 If you've evaluated application licensing and have thoughts on how it has
 worked out for you, or perhaps why you decided not to implement it, I'd
 appreciate hearing them.



 http://groups.google.com/group/android-discuss/browse_thread/thread/229bbfaa78036f72


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Global Variables

2011-03-09 Thread Chris Stewart
I tend to do what TreKing suggested.  I have a class called CommonVariables
that really holds static strings for Flurry event names, the year parameter
for my app (it's seasonal and changes once a year) which is used all over
the place, and things like that.

--
Chris Stewart
http://chriswstewart.com



On Wed, Mar 9, 2011 at 3:53 PM, TreKing treking...@gmail.com wrote:

 On Wed, Mar 9, 2011 at 2:41 PM, David Williams 
 dwilli...@dtw-consulting.com wrote:

 What is the best way of going about setting up global variables?


 IDK about best, but easy: public static values somewhere that you set
 up in a custom Application class.


 -
  TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] How many of you are creating promotional videos for your app?

2011-03-08 Thread Chris Stewart
Morning everyone,

I'm working on more and more complex features to my main app and I'm
considering putting together a video of my application to walk through all
of the features, highlighting those that are more involved.  Especially with
the addition of this field in the Android Market, it seems like a good idea
to do this.

So, I'm wondering, have any of you done this and want to share the URL to
your video?  I'm finishing up development now for the current version and so
I'll be working on a rough script soon.  I'd love to see how other
developers have approached this.

--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How many of you are creating promotional videos for your app?

2011-03-08 Thread Chris Stewart
That's definitely a concern of mine as well.  That said, I've done a lot
of amateur video work in the past and it's really not all that involved.  I
think if you spend the time to make a decent script of what you're going to
say, how you're going to flow through your app, and stick to that, it's easy
to go back and adjust it as features are added.  I don't think you'd need to
do a new video each time a feature is added, unless it's major, but maybe
every few features to keep it up to date.  I would also stay a little high
level throughout the video unless a specific feature needs more detail.
 Lets face it, most people aren't necessarily interested in watching a 10-20
minute video of an app.  I think if you stay in the 2-5 minute range, you're
in good shape and that's short enough that recording new videos from new
versions of the app wouldn't be too rough to manage.

For recording, I've used Fraps to record and mix gameplay from various games
on my PC and I was thinking about using it for this as well.  I suspect I'll
just use the emulator to run the app, and a web browser to perform actions
that my app would adjust from.  I expect to tie up any loose ends on my app
tonight/tomorrow and have it released shortly thereafter.  So I'll work on
even a rough video of what I'm thinking about once this dev cycle is over.

--
Chris Stewart
http://chriswstewart.com



On Tue, Mar 8, 2011 at 11:18 AM, TreKing treking...@gmail.com wrote:

 I have not and would be interested to hear from those that have as well. My
 biggest issue is spending time to make a video, then going in and adding
 more features that then basically render the video obsolete.


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Looking for a 1-2 years experienced IOS developer

2011-03-08 Thread Chris Stewart
TreKing, don't you know that reading is hard?  Seriously.  /sarcasm

--
Chris Stewart
http://chriswstewart.com



On Tue, Mar 8, 2011 at 1:04 PM, TreKing treking...@gmail.com wrote:

  *[android-developers]* Looking for a 1-2 years experienced *IOS *
 developer


 Really?


 -
  TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] usb driver xoom

2011-03-08 Thread Chris Stewart
While I have nothing to contribute to this conversation, I just wanted to
chime in and express my jealousy that you're developing on a Xoom. :)

--
Chris Stewart
http://chriswstewart.com



On Tue, Mar 8, 2011 at 6:27 PM, J Handal jhand...@gmail.com wrote:

 Kostya,

 I tried from your link:


 ;NVIDIA Tegra
 %SingleAdbInterface% = USB_Install, USB\VID_0955PID_7000
 %CompositeAdbInterface% = USB_Install, USB\VID_0955PID_7100MI_01


 Also this :

 ;Xoom
 %SingleAdbInterface%= USB_Install, USB\VID_22B8PID_70A9

 %CompositeAdbInterface% = USB_Install, USB\VID_22B8PID_70A9MI_01

 Getting closer but not enough,some other idea?

 THX

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Total install numbers

2011-03-06 Thread Chris Stewart
It could also be due to piracy. I've had similar differences and I'm
wondering if my apk is anywhere out there. I need to get around to
implementing the license framework.

--
Chris Stewart
http://chriswstewart.com
On Mar 4, 2011 9:59 AM, TreKing treking...@gmail.com wrote:
 On Wed, Mar 2, 2011 at 5:54 PM, Hendrik Greving fourhend...@gmail.com
wrote:

 Hi! Why is there a big difference of Total installs from the publishers
 website and the number of people who actually bought my app?


 Because the Developer Console does not work. Use it as a *very* rough
 estimate, but don't believe a word it says.


-
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Scrolling the contents of a LinearLayout

2011-03-06 Thread Chris Stewart
I have a somewhat simple home screen, which I'm beginning to out grow.  The
view itself looks like the home screen to the Facebook app, but here's a
screen shot for reference (
http://chriswstewart.com/wp-content/uploads/2010/08/ff-home-60.png).

Essentially what I have is a parent LinearLayout, with three more
LinearLayouts inside of it.  In one of those three contains the core
functionality buttons of my application.  That's the area I want to scroll.
 I've included the layout of this view below.  I have tried adding
android:scrollbars to the LinearLayout in question, but that didn't do the
trick.  Any feedback (on the overall structure of this UI as well!) is
greatly appreciated.  Thanks.


?xml version=1.0 encoding=utf-8?
LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;
android:id=@+id/home_root
android:orientation=vertical
android:layout_width=fill_parent
android:layout_height=fill_parent

LinearLayout style=@style/TitleBar
TextView
 android:id=@+id/txtTitle
 style=@style/TitleBarText /
/LinearLayout

LinearLayout
android:orientation=vertical
android:layout_width=fill_parent
android:layout_height=wrap_content
android:layout_weight=1
android:padding=6dip
android:scrollbars=vertical
LinearLayout
android:orientation=horizontal
android:layout_width=fill_parent
android:layout_height=wrap_content
android:layout_weight=1
Button android:id=@+id/btnMyMfl
style=@style/HomeButton
android:text=My MFL
android:drawableTop=@drawable/icon_mfl /
Button android:id=@+id/btnMflScores
style=@style/HomeButton
android:text=My MFL Scores
android:drawableTop=@drawable/icon_radp /
/LinearLayout

... (more two button groups of LinearLayout elements here)
..
/LinearLayout

LinearLayout
android:id=@+id/mflSpot
android:layout_width=fill_parent
android:layout_height=@dimen/mflSpot_height
android:orientation=horizontal
android:background=#ff
android:gravity=center
ImageView
 android:id=@+id/imgMflSpot
 android:layout_width=wrap_content
android:layout_height=wrap_content
android:background=@drawable/mflspot /
/LinearLayout
/LinearLayout


--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Starting an intent, then pressing the back button, how to resume the Handler that was running?

2011-03-06 Thread Chris Stewart
I was mistakenly using onCreate to restart the background process, instead
of onStart.  Thanks for the refresher. :)

--
Chris Stewart
http://chriswstewart.com



On Sat, Mar 5, 2011 at 8:29 PM, TreKing treking...@gmail.com wrote:

 On Sat, Mar 5, 2011 at 7:26 PM, Chris Stewart cstewart...@gmail.comwrote:

 I tried onResume but that was even called when I visited the initial
 Activity the first time, so I'm guessing there's something else I should be
 doing.


 I usually go with onStart() / onStop() for things that need to happen while
 the user is actively paying attention.


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Starting an intent, then pressing the back button, how to resume the Handler that was running?

2011-03-05 Thread Chris Stewart
Here's the scenario:

- On an Activity I have a Handler that is posting a message every 5 seconds.
- If I click on an item in my ListView, for the above Activity, it starts a
new Activity by way of Intent.
- Clicking back on the phone will take me back to the previous Activity but
my Handler isn't running.  However, all of the data is still present on my
ListView.

What method do I need to implement to start that process up again?  I tried
onResume but that was even called when I visited the initial Activity the
first time, so I'm guessing there's something else I should be doing.

--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Refreshing ListView data within an Activity every 5-10 seconds, which approach to take?

2011-03-04 Thread Chris Stewart
Thanks for the replies.  I should clarify some of the points you both
mentioned.  This server is not in my control at all, so any kind of push
would be out of the question I suppose.  I only want to pull in short
increments if the user is actively using the Activity in question, not if
the phone is locked, or they're in another app, or even in my app but in
another Activity.

I know I could refresh the init method I have which kicks off the thread to
pull new data but given the ProgressDialog it shows, I think it would be
annoying to see that so frequently when the user isn't actively requesting
it.  If I use the small loading icon, I suspect since the UI and data pull
are running on different threads it wouldn't lock up the UI on the end user
but I'll need to test that for performance/responsiveness.  Maybe I'll give
that a shot and see how it goes.

Long term, I would like to do this in longer intervals (30+ minutes) when
the user is not actively in the app or on this Activity and toss up a
notification if something interesting happens with the new data.  While also
retaining the 5-10 second interval when they are actively looking at this
Activity.  Long term... :)

--
Chris Stewart
http://chriswstewart.com



On Fri, Mar 4, 2011 at 4:22 AM, Kostya Vasilyev kmans...@gmail.com wrote:

 It just depends on what kind of server you're dealing with.

 If it's your own, you could implement a simple push scheme by keeping the
 TCP/IP connection open after the initial data download, and having the
 server send new data over this connection. The client would just check every
 few seconds if the socket has readable data, and if so, read it and update
 the UI. A variation of this would use two connections, one for
 notifications, and one for data.

 As far as the UI goes - first, you could display the standard progress
 wheel in the activity's title bar, second, you could add a special footer to
 your list view that says Loading... and is then pushed out of sight by the
 new data item.

 -- Kostya

 04.03.2011 7:14, Chris Stewart пишет:

 I have a service I'm pulling data from and they suggest doing so every
 5-10 seconds it's designed to be a near-real-time experience. I'm currently
 pulling this information down and displaying it in a ListView. During the
 initial load, I toss up a basic ProgressDialog so the user knows information
 is being loaded. However, introducing that automatically in such a short
 increment of time would be an annoying user experience.

 Is there a nice way to approach this problem in Android? I'd like to be
 able to run an update on the data I'm pulling from the web without
 disrupting the end user's experience. Ideally, not even disrupting them if
 they happen to be scrolling the view. The data itself will always be
 additions to data that's already been pulled down, so essentially I'm adding
 records to my Adapter every 5-10 seconds.

 --
 Chris Stewart
 http://chriswstewart.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
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en



 --
 Kostya Vasilyev -- http://kmansoft.wordpress.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
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Announcing: The Android Developers Union

2011-03-03 Thread Chris Stewart
Agree with everything you said TreKing.  While I really appreciate the
effort Dianne shows towards this list, I wish there were more Android
developers putting the same effort out in other areas of the Android
ecosystem.  Having such insight into the Market would be a very welcome
addition.

--
Chris Stewart
http://chriswstewart.com



On Thu, Mar 3, 2011 at 9:52 AM, TreKing treking...@gmail.com wrote:

 On Thu, Mar 3, 2011 at 12:12 AM, Dianne Hackborn hack...@android.com
  wrote:

 Do I not count as a response from Google?


 Of course! Probably more so than most. However, you didn't respond to the
 thread I linked to, so my statement still stands.


 Oh you mean a response answering question about Market?  As I said there,
 nobody from the Market team is on this list, so you shouldn't be surprised
 by not getting responses to questions that people on this list can't answer.


 Oh, I think you mean this thread, concerning being banned from the Market:

 http://groups.google.com/group/android-developers/browse_thread/thread/cf94566a81affbfb

 Of course you are correct - this forum is not about the Market and, as you
 posted, questions should go to the Market Support Forum.
 Fair enough. So let's take a look over there, shall we?

 Here is the same question about the in-app billing not working:

 http://www.google.com/support/forum/p/Android+Market/thread?tid=331d1590e7ae94dbhl=en

 And here is the same question about the content policy that you told the OP
 to post in the support forum:

 http://www.google.com/support/forum/p/Android+Market/thread?fid=6d6cc0380c0b10d500049d3f4f0f3433hl=en

 Now let's count the total number of responses from Google. Zero. In fact,
 the only response to either question is from yours truly telling the poster
 that no one is going to respond to them. Even sadder, my responses are the
 best answer. Unfortunately, I continue to be correct.

 See, the problem is that people go to the official support forum looking
 for help and they get ignored. Then they move over into other
 Android-related forums hoping to get answers. Unfortunately, they are either
 ignored again or are re-directed back to the appropriate forum where they
 were ignored to begin with.

 It is *beyond* frustrating.


 The people here work on the platform, not on Market.  We can't talk about
 what Market is doing.
 I believe all of the people who posted here have posted to other lists.
  Some of them are more likely to post to the open source lists, etc.


 Understood. I meant no offense to any of you and I'm sure the other two
 that I personally have not seen around here before help out elsewhere that
 I'm not aware of.

 My point is simply this: getting actual support or answers for legitimate
 issues relating to the Android Market is nigh impossible - regardless of the
 channel one goes through. Meanwhile a thread with the threat of being
 spammed gets the attention of 4 Googlers. Pathetically, this thread has
 received more Google attention than anything in the Market Support forum,
 whether the responders have anything to do with the Market or not.

 And *that* is what I find so very sad about this situation.


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Paid promotions of my Application on Market

2011-03-03 Thread Chris Stewart
I assume you mean pay Google to feature your app.  If that's the case, no,
there's nothing like that available.  Building the best app you can and
having it spread organically is likely the avenue you'll need to explore,
assuming you don't have deep pockets to advertise on various websites around
the web targeting your app's demographic.

--
Chris Stewart
http://chriswstewart.com



On Thu, Mar 3, 2011 at 9:54 AM, TreKing treking...@gmail.com wrote:

 On Thu, Mar 3, 2011 at 6:36 AM, Amit amitmishr...@gmail.com wrote:

 Is there a possibility in Android Market where I can do some
 PAID promotions of My Application?


 By ad-space in other apps?


 -
  TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Opinions on updating a seasonal app; new app or in-app billing?

2011-03-03 Thread Chris Stewart

 I don't think anyone's implemented this yet - it doesn't work from the
 Market side of things, AFAIK.
 How much of a pain? Well it deals with the Android Market, so probably a
 huge one.


That being the case, I'm glad I didn't spend much time and effort digging
into it. :)

--
Chris Stewart
http://chriswstewart.com



On Thu, Mar 3, 2011 at 11:40 AM, TreKing treking...@gmail.com wrote:

 On Mon, Feb 28, 2011 at 8:40 AM, Chris Stewart cstewart...@gmail.comwrote:

 For those that have implemented in-app billing, how much of a pain is it?


 I don't think anyone's implemented this yet - it doesn't work from the
 Market side of things, AFAIK.
 How much of a pain? Well it deals with the Android Market, so probably a
 huge one.


 How difficult is it to test?


 At the moment, it's impossible.


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Opinions on updating a seasonal app; new app or in-app billing?

2011-03-03 Thread Chris Stewart
Nathan,

Appreciate the feedback.  I ended up putting out a different application and
while I hate to lose the reviews, rating, and placement in the Market, I
also feel it was the right way to go.  I did update the 2010 edition to free
and updated the description to point users to the 2011 edition.  After a
short period of time, I'll remove that app from the Market as to not cause
any confusion -- well before August and the crush of people going to
download their app for season.

I did notice that just over 1,000 people still had the 2010 edition
installed, so what I ended up doing is updating the 2010 edition one final
time with a message that displays when you open it thanking users for their
support, mentioning the 2011 edition being available, and a button that
takes them directly to the new app in the Market.  I've already seen some
conversions from that approach and I suspect more will happen as more and
more of those 1,000 people update their 2010 app.  I'll definitely think
about an opt-in newsletter for 2011 as that would likely even help more on a
conversion for 2012.  Also to note, I figured making the app free might even
encourage users to download who looked at my app in 2010 but didn't want to
pay for it.  They won't get the service for 2011, but they'll see what the
app has in it for 2010 and potentially buy for 2011.

What I also anticipated is getting the well I bought the app last year, why
should I have to pay again? emails and I've already gotten one.  That's
another topic I suspect I'll be dealing with for much of this summer and
early fall. :)

--
Chris Stewart
http://chriswstewart.com



On Thu, Mar 3, 2011 at 1:55 PM, Nathan critter...@crittermap.com wrote:

 I don't see any compelling reason to use in-app purchases in this
 scenario. If the season's over, the app is probably uninstalled for
 that subset of users who know how to uninstall and forgotten for the
 rest.

 Bringing out Fantasy Football app 2011 sounds like the right approach.
 I wouldn't change your last app to free, just clearly label it 2010
 and mention the more awesome 2011 app is available now. In fact, you
 should probably just raise the price to $2010 as a tax on those who
 don't read the title or description. Changing it to free will just
 encourage more people to download it without reading the description,
 and then commenting that the app is out of date, 1 star.

 Hopefully, you have an optin newsletter for your current users, so you
 can announce the new version and encourage them to comment on the 2010
 version saying 'This is awesome, but the 2011 one is even better!'

 Nathan

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Refreshing ListView data within an Activity every 5-10 seconds, which approach to take?

2011-03-03 Thread Chris Stewart
I have a service I'm pulling data from and they suggest doing so every 5-10
seconds it's designed to be a near-real-time experience.  I'm currently
pulling this information down and displaying it in a ListView.  During the
initial load, I toss up a basic ProgressDialog so the user knows information
is being loaded.  However, introducing that automatically in such a short
increment of time would be an annoying user experience.

Is there a nice way to approach this problem in Android?  I'd like to be
able to run an update on the data I'm pulling from the web without
disrupting the end user's experience.  Ideally, not even disrupting them if
they happen to be scrolling the view.  The data itself will always be
additions to data that's already been pulled down, so essentially I'm adding
records to my Adapter every 5-10 seconds.

--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Opinions on updating a seasonal app; new app or in-app billing?

2011-03-02 Thread Chris Stewart
I have a fantasy football app that was active during the 2010 season.  Now
that the season is over, the app is still out there on the market but
wouldn't be of much use considering it's set up for 2010.  I'm in
preparations for a 2011 version and my first thought was to simply upload an
entirely new app while making reference to the 2010 version that I would
update to say thanks for a great 2010 season... and turn from a paid
application to free.  If I go that route, I'd certainly lose the reviews and
rating I've accumulated over the last 5 months and that could lead to some
confusion if both apps stay active in the market.  On the positive, I
wouldn't need to implement in-app billing for an enable 2011 mode, I
suspect I'd have fewer complaints about, well, I bought this last year and
now I have to pay again?, even though that's still effectively the case.
 I'm not really sure which way to take this.  I've gone back and forth a
number of times and can see the positives on both sides.

For those that have implemented in-app billing, how much of a pain is it?
 How difficult is it to test?  Also consider that I'll have people updating
that need to make that in-app purchase, but new purchasers would have that
feature immediately, or perhaps the app would turn free and everyone would
need to do in-app billing for the 2011 mode.

Have any of you gone through something similar... how have you approached
it?  Any feedback on the experience of implementing in-app billing is
appreciated as well.  Thanks.

--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Will Google send out tax forms?

2011-03-02 Thread Chris Stewart
Has anyone received any information from Google regarding income for 2010?
 I thought I might receive a document with the amount they've paid out but
since I haven't I wanted to see if anyone else had.

--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Market package name on Xoom?

2011-03-02 Thread Chris Stewart
Wow, that's certainly not necessary.  Folks are simply trying to help you.

--
Chris Stewart
http://chriswstewart.com



On Mon, Feb 28, 2011 at 3:15 PM, Shane Isbell shane.isb...@gmail.comwrote:



 On Mon, Feb 28, 2011 at 12:00 PM, Dianne Hackborn hack...@android.comwrote:

 Don't hard-code package names.  This is fragile, as you've already found.
  Don't continue doing it.  You'll just break again sometime in the future.

 If there is no public API to do something so simple, then opening with
 market package name way is the only way. I have a hard-requirement to open
 the market (all tested on specific devices and specific firmware
 before-hand). And who are you to tell me not to do it anyway? I understand
 the limitations.

 Shane


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Are you submitting your app to more than just the Android Market?

2011-03-02 Thread Chris Stewart
Now that I'm working on my seasonal app for the 2011 season, I'm wondering
if any of the 3rd party markets are gaining traction with other developers.
 Are any of you submitting to the Amazon market, or any others?  What are
your plans for these 3rd party markets?

--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Setting a wait/sleep on a Service

2011-03-02 Thread Chris Stewart
I'm looking at building a service into my app, and here's what I'm currently
reading:
http://developer.android.com/guide/topics/fundamentals/services.html#ExtendingIntentService.
 It seems to suggest that the way you set a wait, or sleep, is to add it in
the onHandleIntent method.  Is that correct or is that simply for the
purpose of being a sample?

Effectively, I want to go and download a file every 15 minutes, see if it
has changed, and send a status bar notification if it has.  Would the above
be the way to go about implementing that?

--
Chris Stewart
http://chriswstewart.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Market package name on Xoom?

2011-03-02 Thread Chris Stewart
Really interesting to see a little sneak peak behind the scenes of Android's
development.  Would be interesting to see more of that honestly.  Thanks for
all you do Dianne, it's greatly appreciated.

--
Chris Stewart
http://chriswstewart.com



On Tue, Mar 1, 2011 at 1:16 PM, Dianne Hackborn hack...@android.com wrote:

 Hi all,

 I appreciate people jumping to me defense, but this is really not
 necessary.  To be honest, Shane's reply was so tame compared to other
 discussions I've had that it didn't even register to me as rude.  (And to be
 clear, I am not telling people absolutely to not do something, I just try
 when I see someone doing something that will cause problems in the future,
 to tell them don't do this because your code will break.  I can't stop
 people from doing stuff that will break, I just want them to know this going
 in.)

 Anyway to address a few more comments --

 Technically my job is to manage the Android core frameworks.  Whether this
 includes replying to developers on forums is not specified, but personally I
 see that as part of the job.  Whatever the case it is nothing like the main
 part of the job...  so I post on these forums mostly when I am not at work
 (like I am now, before going to work).  This is mostly a matter of
 prioritizing my time -- should I spend that time posting to these forums, or
 working on new versions of Android, or investigating bugs like the
 onStartCommand() that has been discussed elsewhere here?

 The reason I ask people to not send replies directly to me is because that
 does not benefit anyone else, and the time I spend replying to the same
 question twice means one less question I can answer.  I already can't keep
 up with all the questions on online forums, so I want to keep my time spent
 there where it benefits everyone.

 And as far as who developed Android -- what Android is today was developed
 mostly at Google.  When I joined Google and started on Android, most of the
 existing work (which was creating a mobile API unified across Java,
 JavaScript, and C++) was being replaced with the Dalvik Uber Alles
 approach we have today.  Some of the original implementation remains in bits
 and pieces (such as the C++ AssetManager), but what you think of Android
 today was mostly created from 2005 to 2007/2008 while engineers were at
 Google.

 Activities, notifications, resources, Dalvik, content providers, the view
 hierarchy, and on, and on, that was all done by engineers while working at
 Google.

 (I should also say that Google's management was also strongly involved with
 Android and helped make the project successful.  For example, we had
 quarterly updates where had to show them real progress in the software.
  This was extremely valuable from the start to focus development priorities
 on what was needed to ship the software.  Did I mention Google is a pretty
 awesome company?  It is.  I doubt Android could have happened anywhere
 else.)

 Anyway, let's consider discussions about who is being rude or whatever done
 and get back to more interesting technical stuff. :)

 On Tue, Mar 1, 2011 at 9:36 AM, Indicator Veritatis mej1...@yahoo.comwrote:

 As I read your reply, I somehow remember the saying of Ben Franklin
 from his Wit and Wisdom, Quarrels would be neither bitter nor long,
 if on one side -only-, lay the wrong.

 This is because, yes, Shane did not need to be rude. But even after
 having defended Dianne's answer in another post, I now feel the need
 to point out how her answer was not an example of sterling politeness,
 either. Even though she was 100% correct to warn against hard coding
 package names.

 In your own words, none of the backlash would have happened if
 Dianne has not been, true to style, so extremely curt, writing just
 like so many highly accomplished technical people who get everything
 technically correct, but everything that is not technical not correct:
 (

 One should expect a backlash when two out of three sentences read like
 an impatient mother scolding a child, starting out with such an abrupt
 imperative, Don't.

 Nor is it often considered helpful to say Don't do A without
 proposing an -alternative- to A. Speaking of alternatives, it
 surprises me no one has noticed yet: Dianne's prohibition was not on
 using package names, but on using HARD-CODED package names. Why has no
 one mentioned alternatives? Put the package name in a configuration
 file somewhere, or (even more extreme, in my opinion), pull it down
 from a server, so that it can be changed when the package name
 changes, without having to download a new APK. Surely Shane can get
 the client to accept that.


 On Feb 28, 3:03 pm, Justin Anderson magouyaw...@gmail.com wrote:
  None of that matters... It's just a simple matter of etiquette.  When
 asking
  for help you don't have to be rude if you don't like the answer.  And if
 you
  feel it doesn't apply then great... don't apply it!
 
  The OP could just as easily have said Thanks for the advice

  1   2   3   >