Feb 16 | 8:25 PM |
Mark M. | has entered the room |
Mark M. | turned on guest access |
Tim H. | has entered the room |
Feb 16 | 8:30 PM |
Mark M. |
Howdy, Tim!
star
|
Tim H. |
Hello
star
|
Tim H. |
Love your books... Great Job
star
|
Mark M. |
Thanks!
star
|
Tim H. |
Have you used Fiddler to debug your HTTP interaction?
star
|
Mark M. |
Never heard of it
star
|
Mark M. |
Do I have to be on the roof to use it? :-)
star
|
Tim H. |
:) Do you know if there is an issue with the Http proxy in the emulator?
star
|
Mark M. |
Oh, yeah.
star
|
Mark M. |
Proxies and Android are kinda finicky
star
|
Tim H. |
Question on your Sectioned ListView?
star
|
Mark M. |
Sure, go ahead
star
|
Tim H. |
I've seen some behavior I don't understand.
star
|
Tim H. |
I wanted to enable the header and not the detail, so I changes the isEnabled method.
star
|
Mark M. |
OK
star
|
Feb 16 | 8:35 PM |
Tim H. |
The issue comes when the number of detail records exceed the number fitting on the screen.
star
|
Tim H. |
If you use the d pad to move the cursor, it seems to jump to a detail record and not the next header.
star
|
Tim H. |
If the number of detail is small, it scrolls properly from header to header.
star
|
Mark M. |
It's possible there's a bug in my implementation that is uncovered by your scenario
star
|
Mark M. |
You might consider switching over to my MergeAdapter
star
|
Mark M. | star |
Tim H. |
ok
star
|
Mark M. |
I'll be discontinuing the SectionedAdapter in an upcoming edition of the book, switching to MergeAdapter
star
|
Tim H. |
I'll take a look.
star
|
Mark M. |
Partly, that's a licensing thing (SectionedAdapter needs to be GPL3)
star
|
Mark M. |
Partly, I'm just trying to consolidate duplicate codd
star
|
Mark M. |
er, code
star
|
Mark M. |
MergeAdapter will let you set up the equivalent of a SectionedAdapter, with a bit more flexibility
star
|
Tim H. |
Thinking about the Day Of Mobile in Chicago. Worth the time?
star
|
Tim H. |
Great, I'll take a look.
star
|
Mark M. |
I don't know if it's worth flying to, but if you're in the Greater Chicagoland Area, it should be a good lineup at a good price
star
|
Tim H. |
I'm in Chicago.
star
|
Mark M. |
The agenda should be released by the end of the week, as I understand it
star
|
Feb 16 | 8:40 PM |
Tim H. |
On the MergeAdapter, can I control the background of the header? I hate the orange color for selection.
star
|
Mark M. |
Messing with the backgrounds is possible but tricky
star
|
Mark M. |
Also, unless it's part of an overall theme, don't change the color just because *you* don't like it
star
|
Mark M. |
Users may get confused if you change the colors without some rhyme or reason
star
|
Tim H. |
I want to be able to click on the header (It shows a date) and then go to an activity based on the date.
star
|
Tim H. |
I know, but that orange is really ugly with my color scheme.
star
|
Prasanna P. | has entered the room |
Mark M. |
Howdy, Prasanna!
star
|
Prasanna P. |
Hello Mark!
star
|
Mark M. |
Tim:
there's a section on messing with ListView selection bars in the same
chapter in the Advanced Android book that talks about SectionedAdapter
star
|
Mark M. |
Also, more samples in the chapter on Drawables, including using a gradient background
star
|
Tim H. |
I was going to review that section.
star
|
Tim H. |
Is it true there is no PDF Viewer in Android?
star
|
Mark M. |
Not built in, no
star
|
Mark M. |
There are third-party viewers (e.g., DocumentsToGo)
star
|
Feb 16 | 8:45 PM |
Tim H. |
Any reason why Goolge doesn't include one? The iPhone has one.
star
|
Mark M. |
You would have to ask Google
star
|
Mark M. |
Prasanna: did you have any questions?
star
|
Prasanna P. |
Here
is my question. I have gone through your 3 books in their entirety. I
wrote my first Android app. A basic tap counting application which I
made available on the market for free. Now I am looking for an app idea
for my second app. I want to complete it in about one to one and a half
months working on it on a part time basis. I like to experiment with
the maps api, bar code scanning and the radar view (I think I saw this
in a google video). Any thoughts on how I can come up with a good idea
for this app?
star
|
Mark M. |
I take a radically different approach towards app ideas: if I'm not going to use it, I don't write it
star
|
Prasanna P. |
OK
star
|
Mark M. |
the concept of creating an app based on a desired mix of technologies doesn't fit my style
star
|
Mark M. |
it's one of the reasons I'm having some difficulty figuring out what samples to write for _Android Beyond Java_
star
|
Tim H. |
Do you have any examples where a ListView contains an EditText in the row?
star
|
Mark M. |
Tim: In my code, no. The contacts edit activity in the Dialtacts in the Android source code uses that.
star
|
Feb 16 | 8:50 PM |
Tim H. |
Is Dailtacts one of the samples?
star
|
Mark M. |
No, it is part of the Android source code
star
|
Mark M. |
to the operating system
star
|
Mark M. | star |
Mark M. |
Dialtacts is the contacts/call log/dialer app
star
|
Tim H. |
Is the source available on Windows?
star
|
Prasanna P. |
OK Mark. Catch up with you later. : )
star
|
Mark M. |
See, ya, Prasanna!
star
|
Tim H. |
I just see Mac and Linux.
star
|
Prasanna P. | has left the room |
Mark M. |
Tim: downloading the full source on Windows is difficult
star
|
Mark M. |
You can browse it online, or find it using Google Code Search
star
|
Tim H. |
Is ksoap2 the best SOAP web service package? Seems like folks have a lot of trouble with it.
star
|
Mark M. |
SOAP is an abomination
star
|
Feb 16 | 8:55 PM |
Mark M. |
Hence, there are no Android-specific client libraries for it
star
|
Tim H. |
I've been sticking with HTTP GET/POST Rest, but I know someday I'll encounter a SOAP requirment
star
|
Tim H. |
I know, It's neither Simple,nor OO, nor an Access Protocol
star
|
Mark M. |
kSOAP2 is the only thing I've heard of related to Android, and it's based on abandonware
star
|
Mark M. |
Somebody could make a nice bit of money creating a commercial SOAP JAR for Android, with good docs and support.
star
|
Mark M. |
SOAP is mostly an enterprise thing, and they aren't afraid of shelling out money if the value is there
star
|
Tim H. |
I know this is sac-religous, but is there a good source on how to take an iPhone app and create an better Android version?
star
|
Mark M. |
If you're looking for "if you use X on iPhone, use Y on Android", I'm not aware of one
star
|
Mark M. |
You're the third person to ask me about that within a week or so
star
|
Feb 16 | 9:00 PM |
Mark M. |
Somebody skilled in both platforms could do well writing a book on that
star
|
Mark M. |
I haven't developed for iPhone and have no current plans to
star
|
Tim H. |
I
get the sense that folks/companies already have an iPhone app and now
that Android is getting popular are looking to build a similar app.
star
|
Mark M. |
Yes, I've helped a couple of firms with "ports"
star
|
Tim H. |
I'm doing that with a "Time and Expense Entry" app.
star
|
Mark M. |
But I just worked from the iPhone app, not its source
star
|
Tim H. |
I
agree about the iPhone, already crowded. Plus I didn't want to learn a
new os, Objective C plus Cocoa. (Even though I'm an old Smalltalk
programmer)
star
|
Mark M. |
Hah! I did Smalltalk for a couple of years, 1993-95.
star
|
Mark M. |
If I had one programming language to teach my parents, that'd be it
star
|
Tim H. |
What is your sense of how sucessful RIM and MS 7 mobile are going to be moving forward?
star
|
Mark M. |
I'm more comfortable with RIM than Windows Phone, only because I don't know what's happening with older WinMo apps
star
|
Tim H. |
I loved it too, wish it would have won the mindshare of more folks instead of Java.
star
|
Mark M. |
If Windows Phone requires everyone to rewrite everything, they'll lose a lot of apps
star
|
Feb 16 | 9:05 PM |
Tim H. |
They have huge share +40%, but haven't been very sucessful with their smartphones.. Plus lots of cash.
star
|
Tim H. |
Anyway, I'll let you go.
star
|
Tim H. |
Bye
star
|
Mark M. |
See ya!
star
|
Tim H. | has left the room |
Feb 16 | 9:15 PM |
Mark M. | turned off guest access |