[android-developers] Will there be extra APIs for Google TV development?

2010-10-26 Thread Michael J
Or is it essentially the same SDK/APIs as standard Android development? -- You received this message because you are subscribed to the Google 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] Google Voice SMS Intent Bug

2010-09-23 Thread Michael J
I'm trying to execute an SMS intent with a given phone number. It works fine with the built in text messaging app, but not with Google Voice. If I select to send using GV, the to box is left empty, rather than populating it with the phone number given in the intent. An example of the code I'm

[android-developers] Is it possible to start an Activity from a non-context class?

2010-05-04 Thread Michael J
For example, I have an activity that uses a utility class. I would like to be able to start an activity from the utility class and have the activity result sent back to the utility class. The only way I could think of starting the activity was to pass the original activity to the utility class,

[android-developers] Re: Is it possible to start an Activity from a non-context class?

2010-05-04 Thread Michael J
Misspoke in my original post. The second paragraph should read: ... use the original activity to start the activity. The problem with this is that the RESULT is sent to the original activity, rather than the utility class. On May 4, 2:02 am, Michael J txaggiemich...@gmail.com wrote

[android-developers] Re: Is it possible to start an Activity from a non-context class?

2010-05-04 Thread Michael J
On May 4, 10:40 am, TreKing treking...@gmail.com wrote: Why are you doing this? What purpose is your utility class serving that it requires starting and retrieving data from another activity? Here's the usage. Let me know if there's a much easier way of doing this. In my application, I'm

[android-developers] Re: Is it possible to start an Activity from a non-context class?

2010-05-04 Thread Michael J
for being an idiot, I'm still trying to get a hold on the Android framework... On May 4, 12:25 pm, TreKing treking...@gmail.com wrote: On Tue, May 4, 2010 at 11:56 AM, Michael J txaggiemich...@gmail.com wrote: In my application, I'm referencing a RESTful web service which requires token

Re: [android-developers] Should Canadian Android developers switch to iPhone instead

2010-01-27 Thread Michael J McLean
I am about to abandon Android myself, after spending the majority of last year learning and developing in it. I am not in Canada. My main concerns are to do with the difficulty of getting information systematically (everything seems piecmeal and you feel that you are always dependent on

Re: [android-developers] How to select an item in a listview by code

2010-01-26 Thread Michael J McLean
I tried you suggestion but got an error message. So I tried myListView.setSelection(1); No error message but it doesn't work - Original Message - From: Martin Obreshkov To: android-developers@googlegroups.com Sent: Tuesday, January 26, 2010 11:15 PM Subject: Re:

Re: [android-developers] How to select an item in a listview by code

2010-01-26 Thread Michael J McLean
by code Michael J McLean wrote: I tried you suggestion but got an error message. So I tried myListView.setSelection(1); No error message but it doesn't work Yes, it works. When users use their touchscreens, there is no notion of selection, only item clicks. Hence, in touch mode

Re: [android-developers] How to select an item in a listview by code

2010-01-26 Thread Michael J McLean
when entering text into a EditText - Original Message - From: Mark Murphy mmur...@commonsware.com To: android-developers@googlegroups.com Sent: Wednesday, January 27, 2010 12:11 AM Subject: Re: [android-developers] How to select an item in a listview by code Michael J McLean wrote

Re: [android-developers] Re: How to set a default item in a spinner drop down list

2010-01-26 Thread Michael J McLean
Thank you. - Original Message - From: Sasikumar S sasikumar.it1...@gmail.com To: MMC2 m...@mmc2.com.au Cc: android-developers@googlegroups.com Sent: Wednesday, January 27, 2010 1:54 PM Subject: [android-developers] Re: How to set a default item in a spinner drop down list See this

[android-developers] Source Code

2009-12-16 Thread Michael J
Is there an easy way of getting the Android source code? More than anything else, I just want to be able to look at the source for some of the standard apps, such as the Android Market, Contacts, etc. I took a look at dev.android.com, but I don't see an easy way of getting the source I'm looking

[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-08 Thread Michael J
So I'm using a modified version of the SectionedAdapter and it seems to be working quite well. The only issue is that I want to let each section adapter to determine the clickability of it's items. It seems like with the SectionedAdapter, all items except the headers are clickable. How exactly

[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-08 Thread Michael J
You're a genius! I pretty much did exactly what you said and it works perfectly now! BTW, I will be getting at least your Advanced Dev book, if not the Tutorials book as well! On Jul 8, 2:03 pm, Mark Murphy mmur...@commonsware.com wrote: Michael J wrote: So I'm using a modified version

[android-developers] ListView inside LinearLayout inside ScrollView

2009-07-07 Thread Michael J
So I've been extremely frustrated by this for a long time now. I've posted before, but can't seem to find a good solution. My goal is to have something pretty much exactly like the installed application details page in the Android Market. I need a list of items displayed along with other

[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-07 Thread Michael J
(); // MJ: Open day activity } } }); homeLayout.addView(day); On Jul 7, 11:05 am, Michael J txaggiemich...@gmail.com wrote: So I've been extremely frustrated by this for a long time now.  I've posted before, but can't seem to find a good solution. My goal

[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-07 Thread Michael J
So are you saying I need to revert back to my original method of using a ListView with a custom adapter and add my pre-list content Views to the adapter itself? As long as I correctly implement those few methods you mentioned (getViewTypeCount(), getItemViewType(), etc)? On Jul 7, 11:19 am,

[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-07 Thread Michael J
Thanks man, I think that pretty much answers my questions. Now it's up to the implementation. On Jul 7, 11:51 am, Mark Murphy mmur...@commonsware.com wrote: So are you saying I need to revert back to my original method of using a ListView with a custom adapter and add my pre-list content

[android-developers] Re: ScrollView with ListView being cut off

2009-07-02 Thread Michael J
somewhere between undefined and ill- defined as to which view should scroll when and by how much. Cheers, Justin Android Team @ Google On Jul 1, 10:52 am, Michael J txaggiemich...@gmail.com wrote: I've got a ScrollView containing a vertical LinearLayout. The LinearLayout contains

[android-developers] Re: ScrollView with ListView being cut off

2009-07-02 Thread Michael J
hmmm... Point taken... Thanks, guys! On Jul 2, 9:40 am, Mark Murphy mmur...@commonsware.com wrote: So, as per my follow-on post that you so gracefully deleted ;-), what would you, or anyone else reading this, recommend for my situation? Use tabs. Or, use ViewFlipper or one of its kin

[android-developers] ScrollView with ListView being cut off

2009-07-01 Thread Michael J
I've got a ScrollView containing a vertical LinearLayout. The LinearLayout contains several items, including a ListView. The problem is that I can't seem to get the ListView to be fully expanded. It is being compressed to fit everything on the screen, and forcing me to scroll through just the

[android-developers] Separator at top of ListView

2009-07-01 Thread Michael J
Is there a way to force a separator at the top of a ListView? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To