May 19 | 9:50 AM |
Mark M. | has entered the room |
Mark M. | turned on guest access |
May 19 | 10:05 AM |
fitz | has entered the room |
Mark M. |
howdy, fitz!
|
fitz |
morning
|
Mark M. |
how can I help you today?
|
fitz |
have a question on ant - I assume what it does is
create jars' at least that is what I see when i GET build successful. So
then I can incorporate the JAR's into some java code - is this logic
correct?
|
Mark M. |
um, well, not really
|
fitz |
I know ant does more than this but for now this is all I need I think
|
Mark M. |
can Ant be used to create a JAR? yes
|
Mark M. |
do I use Ant to create reusable JARs? yes
|
Mark M. |
do most Android developers use Ant to create JARs? probably not
|
Mark M. |
is creating JARs part of the normal Android/Ant build process? no
|
Mark M. |
if you run ant clean install in a standard Android
project, you get an APK in bin/ that is also installed on the device or
emulator
|
May 19 | 10:10 AM |
fitz |
View paste
|
Mark M. |
you are assuming that this is anywhere near normal
|
fitz |
this runs fine so I get BUILD SUCCESSFUL and I see JAR's
|
Mark M. |
this is unique to that particular project
|
Mark M. |
for questions about what those JARs contain and how to use them, you'd have to ask Google
|
fitz |
yes it does that project - and in terminal I see
very fast the build data - so what is missing for me is how do I see
this data after the build
|
fitz |
Went to ant site and got lost for a few days :)
|
Mark M. |
I do not know what "the build data" is, but
usually shell redirection works for command line stuff (e.g., this -is
my -command > log.txt)
|
fitz |
ya ok - still waiting on google response might take a year or so
|
Mark M. | |
May 19 | 10:15 AM |
fitz |
ok thanks - once I figure this part out then maybe I can get cranken.
|
fitz |
thanks will read up on ot
|
fitz |
it
|
garu | has entered the room |
Mark M. |
howdy, garu!
|
Mark M. |
garu: how can I help you today?
|
garu |
Hello mark.. its my first time here :)
|
May 19 | 10:20 AM |
Mark M. |
garu: do you have a question?
|
garu |
Im planning on making a sound profile manager..
what part of android ahould i start reading? I plan to access the system
volunes, ringer volumes, mesia volumes, etc.
|
Mark M. |
I have no idea what a "sound profile manager" is
|
Mark M. |
most audio-related classes are in android.media
|
Mark M. |
AudioManager allows you to see and set volume levels
|
garu |
Oh ok.. so i should start reading on audio manager
|
Mark M. |
that would be where I would start
|
Mark M. |
the audio level stuff is covered in _The Busy Coder's Guide to Advanced Android Development_
|
May 19 | 10:25 AM |
fitz |
Mark - so the files that ant built successfully are .class files - so still do the log.txt commands?
|
garu |
Thanks!
|
Mark M. |
fitz: you were the one who wanted "the build data"
|
Mark M. |
again, I have no idea what you mean by "the build data"
|
Mark M. |
my only guess is that you mean the console output of Ant
|
Mark M. |
in which case, whether you redirect those results to a file for later review or not is up to you
|
fitz |
in terminal when I did ant -f build-samples.xml
etc. it ran for what ever time and at bottom said BUILD SUCCESSFUL
which is the desired result - so now I have these .class files and stuck
on what to do next - do I move then in eclipse and program java or do
more ant commands - guess that is a google question right
|
Mark M. |
the code you are compiling are API samples
|
May 19 | 10:30 AM |
Mark M. |
I am not clear why you are compiling them
|
Mark M. |
I am even less clear why you are trying to directly use API sample code in your project
|
fitz |
I am doing all ant commands in terminal access - should I use some other process
|
Mark M. |
let's back up a few steps
|
Mark M. |
why are you compiling the API samples?
|
fitz |
Go here and look for title topic of: RUNNING SAMPLES
|
fitz | |
Mark M. |
ah, *those* samples
|
fitz |
they say to do this ant -f build-samples.xml sample.calendar.run
|
fitz |
So I have done it
|
fitz |
just want to see it work so I can understand it
|
May 19 | 10:35 AM |
Mark M. |
ant -f build-samples.xml sample.spreadsheet.guidemo.run
|
fitz |
let me guess these samples are old and do not work ....
|
Mark M. |
well, they have nothing to do with Android
|
fitz |
so PC based samples right - and do not port to android?
|
Mark M. |
the samples will either be dumping to the console
(which Android doesn't have) or creating a Swing UI (which Android
doesn't have)
|
Mark M. |
or something along those lines
|
Mark M. |
if you want a JAR of the actual library, that's not the samples project, but the other project
|
Mark M. |
AFAICT
|
fitz |
ok - so useless to me - ok so now there are no samples from google for lets say displaying a google calendar
|
Mark M. |
I am not aware of a Google-supplied sample of an Android application retrieving Google Calendar data
|
Mark M. |
did you watch that Google I|O presentation on this stuff? I haven't had a chance yet
|
May 19 | 10:40 AM |
Mark M. | |
fitz |
ya I have not seen it either - ok thanks for setting me straight :)
|
Mark M. | |
Mark M. |
those are links to the new GData APIs with Android-specific material
|
fitz |
thanks a ton - back to drawing board
|
Mark M. |
garu: if you have other questions, feel free to chime in
|
fitz |
so emulator will not connect into google real account - correct - so just do google android api stuff to real phone?
|
Mark M. |
I'm a bit fuzzy on the emulator capabilities here
|
May 19 | 10:45 AM |
fitz |
is this link you sent just now NEW stuff or has it been around for a while?
|
May 19 | 10:45 AM |
Mark M. |
there was a version of the emulator that let you assign a Google account via the Accounts portion of the Settings app
|
Mark M. |
I think it's relatively new, in that it's talking JSON and OAuth, which I think are new-ish to GData
|
Mark M. |
again, I'm no GData expert
|
fitz |
ok thanks for re-direction
|
fitz |
need to jet have a great day
|
fitz | has left the room |
May 19 | 10:55 AM |
Mark M. |
garu: any final questions?
|
May 19 | 11:00 AM |
Mark M. |
that's it for today's chat
|
Mark M. |
have a nice day!
|
garu | has left the room |
Mark M. | turned off guest access |