[android-beginners] Docs: AsyncTask

2009-05-23 Thread jtaylor

AsyncTask is Genius programming but in the docs appears to have
incomplete information. There's not enough to understand how it
works.

--

"onPreExecute(), invoked on the UI thread immediately after the task
is executed."
(I think this should be Before the task is executed.)


"Not all types are always used by am asynchronous task. To mark a type
as unused, simply use the type Void:"

(then it has this as an example - which has nothing to do with Void.)
"private class MyTask extends AsyncTask"

AsyncTask
http://developer.android.com/reference/android/os/AsyncTask.html


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



[android-beginners] Synopsis of SearchManager

2009-05-19 Thread jtaylor


Would anyone like to give me a Synopsis of SearchManager? Of the page
below?

SearchManager
http://developer.android.com/reference/android/app/SearchManager.html


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



[android-beginners] Re: What is Port Forwarding?

2009-05-18 Thread jtaylor


Yes, must be just for debugging. Something I don't need to get into if
I'm using Eclipse I'm sure.

"For more information on port-forwarding with DDMS, read Configuring
your IDE to attach to port 8700 for debugging."
http://developer.android.com/guide/developing/tools/ddms.html

+ Juan

On May 18, 5:46 pm, Nicholas Radford 
wrote:
> Probably not, I only know of it because I often have to setup rules when
> people need to get to things hoated in my network
>
> On May 18, 2009 10:40 PM, "jtaylor"  wrote:
>
> I asked this in January but didn't get an answer. I don't think it's
> clear for people who don't know Networking.
>
> + Juan
>
> On May 18, 5:37 pm, jtaylor  wrote: > lol Yeah, but I
> still don't understand w...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: What is Port Forwarding?

2009-05-18 Thread jtaylor



On May 18, 5:39 pm, Nicholas Radford 
wrote:
> Port forwarding is when something, typically a router, but anything that
> routes connections, recieves incoming data on a given port then forwards it
> to a preset destination.
>


So I would use that in DDMS to just hook into an IDE for Debugging
purposes?


+ Juan



> On May 18, 2009 10:37 PM, "jtaylor"  wrote:
>
> lol Yeah, but I still don't understand what Port Forwarding is and
> especially in the context of DDMS, and in the context of debugging.
> What I need is a one-liner. ..
>
> "so you can set up breakpoints" - this must be outside of eclipse to
> enable debugging?
>
> + Juan
>
> On May 18, 4:50 pm, Raphael  wrote:
>
> > On Mon, May 18, 2009 at 1:45 PM, jtaylor  wrote: > >
>
> "..port forwarding (so y...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: What is Port Forwarding?

2009-05-18 Thread jtaylor

I asked this in January but didn't get an answer. I don't think it's
clear for people who don't know Networking.

+ Juan

On May 18, 5:37 pm, jtaylor  wrote:
> lol Yeah, but I still don't understand what Port Forwarding is and
> especially in the context of DDMS, and in the context of debugging.
> What I need is a one-liner. ..
>
> "so you can set up breakpoints" - this must be outside of eclipse to
> enable debugging?
>
> + Juan
>
> On May 18, 4:50 pm, Raphael  wrote:
>
> > On Mon, May 18, 2009 at 1:45 PM, jtaylor  wrote:
> > > "..port forwarding (so you can set up breakpoints in your code in your
> > > IDE)"
> > >http://developer.android.com/guide/developing/debug-tasks.html
>
> >http://lmgtfy.com/?q=Wikipedia+Port+Forwarding&l=1
>
> > R/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: What is Port Forwarding?

2009-05-18 Thread jtaylor

I actually asked this question in January but there was no answer.


+ Juan

On May 18, 5:37 pm, jtaylor  wrote:
> lol Yeah, but I still don't understand what Port Forwarding is and
> especially in the context of DDMS, and in the context of debugging.
> What I need is a one-liner. ..
>
> "so you can set up breakpoints" - this must be outside of eclipse to
> enable debugging?
>
> + Juan
>
> On May 18, 4:50 pm, Raphael  wrote:
>
> > On Mon, May 18, 2009 at 1:45 PM, jtaylor  wrote:
> > > "..port forwarding (so you can set up breakpoints in your code in your
> > > IDE)"
> > >http://developer.android.com/guide/developing/debug-tasks.html
>
> >http://lmgtfy.com/?q=Wikipedia+Port+Forwarding&l=1
>
> > R/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: What is Port Forwarding?

2009-05-18 Thread jtaylor

lol Yeah, but I still don't understand what Port Forwarding is and
especially in the context of DDMS, and in the context of debugging.
What I need is a one-liner. ..

"so you can set up breakpoints" - this must be outside of eclipse to
enable debugging?


+ Juan

On May 18, 4:50 pm, Raphael  wrote:
> On Mon, May 18, 2009 at 1:45 PM, jtaylor  wrote:
> > "..port forwarding (so you can set up breakpoints in your code in your
> > IDE)"
> >http://developer.android.com/guide/developing/debug-tasks.html
>
> http://lmgtfy.com/?q=Wikipedia+Port+Forwarding&l=1
>
> R/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] What is Port Forwarding?

2009-05-18 Thread jtaylor



"..port forwarding (so you can set up breakpoints in your code in your
IDE)"
http://developer.android.com/guide/developing/debug-tasks.html

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



[android-beginners] Re: Android 1.5 SDK now available

2009-05-11 Thread jtaylor

Don't install the basic version.

http://developer.android.com/sdk/1.5_r1/installing.html :
  "A Java or RCP version of Eclipse is recommended. "

- juan

On May 8, 7:29 pm, "tearse...@yahoo.com"  wrote:
> I just installed Android 1.5 SDK on a Windows box using Eclipse
> Ganymede version 3.4.  I follow the installation document until it
> said "go to Preference".  There was no "Android" option on the left
> pane in Eclipse's "Preference" Section.  But there is one for DDMS and
> when I click on that, it gave me an error:
>
> Unable to create the selected preference page.
>
> java.lang.UnsupportedClassVersionError
>
> When selecting the "Details" button, I get:
>
> Unable to create the selected preference page.
> com/android/ide/eclipse/ddms/preference/PreferencePage (Unsupported
> major.minor version 49.0)
>
> ??  Now what?  Can I still proceed with my installation to use this
> with Eclipse?  I tried to uninstall and re-install Android from
> Eclipse.  Same error.  Help!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] IMF Articles

2009-05-09 Thread jtaylor


"One of the major new features we are introducing in Android 1.5 is
our Input Method Framework (IMF), which allows developers on-screen
input methods such as software keyboards."
http://android-developers.blogspot.com/2009/04/updating-applications-for-on-screen.html

This is a concise article that I'm much looking forward to reading.
However, with this sentence corrected everything might come together
more easily. I also had a hard time with the other article so this is
a tough subject. So, when do I want to use the IMF?


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



[android-beginners] Testing on Devices and Networks

2009-05-07 Thread jtaylor


In "Preparing to Publish" in the Dev Guide, it speaks of testing on
the device and the network you want your application to work on. Don't
I want my application most probably to work on every device and
network? And aren't many devices coming out with Android on many
different networks both soon and later? And in all sorts of
Configurations?

So what's the point in testing on a particular device and network?


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



[android-beginners] Re: Contradiction in Dev Guide

2009-05-05 Thread jtaylor


On May 5, 7:46 pm, jtaylor  wrote:
> This is just a little confusing.
>
> "Similarly, the Maps external library is not included in the standard
> Android library provided in the SDK...the Maps external library is
> made available to you as part of the Google APIs add-on"
>
> Then it says:
> "For your convenience, the Google APIs add-on is also included in the
> Android SDK."
>
> http://developer.android.com/guide/topics/location/index.html
>
> - juan

It's cleared up on this page. But it needs to be clear on the other
page.

"The Google APIs add-on is not yet available for download. For your
convenience, the Google APIs add-on is available preinstalled in the
Android 1.5 SDK."
http://code.google.com/android/add-ons/google-apis/

- juan



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



[android-beginners] Contradiction in Dev Guide

2009-05-05 Thread jtaylor

This is just a little confusing.

"Similarly, the Maps external library is not included in the standard
Android library provided in the SDK...the Maps external library is
made available to you as part of the Google APIs add-on"

Then it says:
"For your convenience, the Google APIs add-on is also included in the
Android SDK."

http://developer.android.com/guide/topics/location/index.html


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



[android-beginners] Re: Android 1.5 SDK now available

2009-04-29 Thread jtaylor

What's happening now with the new SDK & Tutorials shows alot of effort
and power. I have renewed Optimism for Android.


- juan t.

On Apr 27, 2:12 pm, Xavier Ducrohet  wrote:
> Hello developers,
>
> The Android 1.5 SDK, and the 1.5 images for ADP1 are now available for 
> download.
>
> More information 
> athttp://android-developers.blogspot.com/2009/04/android-15-is-here.html
>
> Xav
> --
> Xavier Ducrohet
> Android Developer Tools Engineer
> Google Inc.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Downloading Android

2009-04-29 Thread jtaylor


I just had serious problems in downloading the Android Plugin as well
as the Google Apps Engine Plugin for Eclipse using "Eclipse Classic
3.4.2 (152 MB)". I think there's an issue with WST, but it's not clear
how to download it to get that dependency. It's really messed up. I
downloaded "Eclipse IDE for Java Developers (85 MB)" with all the
dependencies installed and everything including Android installed
quickly and cleanly.

Perhaps "Eclipse IDE for Java Developers (85 MB)" should be the
recommended version. The other one may be a brick wall for some
people.


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



[android-beginners] Re: Way Too Buggy

2009-02-03 Thread jtaylor

Everything should be more robust after the "cupcake" update, however
that unveils itself to be.
Make sure you know Java and (if using) Eclipse.


- Juan T.

On Feb 2, 5:55 am, h4ck3r  wrote:
> hey
>
> this is for Android developers.
>
> I'm a programmer with almost 20 years experience. I use Win32 for
> client software development and also Linux for server side. I am
> extremely proficient in C++, C, Win32, Unix, networking, GUI (win32)
> and SQL. I am familiar with Java, but have never used it for anything
> commercial.
>
> That said, I am having a hell of a time getting started with Android.
> I installed latest Ubuntu in a VM, then also Eclipse, Android SDK and
> ADT.
>
> Along the way, I've seen a lot of cryptic error messages and boxes
> stating that so-and-so class or whatever is not available.
>
> I am unable to create the simples Android project in Eclipse due to it
> insisting that Project Name is specified - I have, of course,
> specified it. I cannot click Next due to this stupidity.
>
> I am disappointed in Android development - it is way too buggy for a
> non-insider to use. I'll do some more Google searching to try to solve
> these stupid problems, but so far - THUMBS DOWN.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: An Android cheat-sheet?

2009-01-29 Thread jtaylor

There's so much, I doubt if that would make for a logical
undertaking.

- Juan T.

On Jan 28, 6:43 pm, myIP  wrote:
> Does anyone know of an Android cheat-sheet which displays the
> application framework?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: sqlite database

2009-01-23 Thread jtaylor



On Jan 22, 7:35 am, jaimin  wrote:
> plz give me some suggestion to view my sqlite database .
> i have done notepad on android and now i wan to see my database so how
> can i see my database?
>  from the shell?
> if yes than how?
> and if no than what else?
>
> thans.
> jaimin

Make sure you cd'd to the Directory.

"cd /data/data//databases"

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



[android-beginners] Re: Basic Thread Question

2009-01-20 Thread jtaylor



On Jan 20, 12:04 pm, Dave Sparks  wrote:
> Android is a message driven application framework. The message looper
> is the thread that reads messages queued for your application and
> calls the methods in your application based on the message context. By
> calling sleep, you effectively put your entire application to sleep
> for 10 seconds because it can't respond to any external messages
> coming from the framework. You never want to call sleep from any
> function that is called directly or indirectly by the framework.
>

So never call Sleep in an Android Application?


- Juan T.


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



[android-beginners] Re: Help with path syntax for reading file off SD card

2009-01-20 Thread jtaylor

Just to be sure, use Environment.getExternalStorageDirectory() instead
of referring directly to the the sdcard file directory.

- Juan T.

On Jan 18, 4:22 pm, robotissues  wrote:
> I am trying to create a very simple mp3 player with one button that
> plays one song.  I found misc code here and there as a start.  I am
> running the application via Eclipse onto  my G1 which is attached via
> USB.  The application runs fine on the phone, screen loads, button
> click event gets fired, etc ... the problem is that when mp.prepare()
> is called, it throws an error ... here is the code:
>
>                         mp.setDataSource("/sdcard/music/lonelydays.mp3");
>                         mp.prepare();
>
> I copied a file to  /music/lonelydays.mp3 on the sd card.
>
> Looking for feedback on what I am missing.
>
> Thank You.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Port-Forwarding

2009-01-19 Thread jtaylor


What is Port-forwarding used for in DDMS?


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



[android-beginners] Re: setDefaultKeyMode()

2009-01-15 Thread jtaylor



On Jan 15, 9:49 pm, jtaylor  wrote:
> What does this method of Activity do? I thought I knew but somehow
> I've lost all understanding and context.
>
> "Select the default key handling for this activity. This controls what
> will happen to key events that are not otherwise handled. The default
> mode (DEFAULT_KEYS_DISABLE) will simply drop them on the floor. Other
> modes allow you to launch the dialer 
> (DEFAULT_KEYS_DIALER),..."http://code.google.com/android/reference/android/app/Activity.html#se...)
>
> Isn't every Key Event handled? ..Not sure what "drop them on the
> floor" means. So what if I want to "launch the dialer"? I code the
> method. Then the user has to do what for the Dialer to be launched?
>
> - Juan T.

Is this for Key Events that are not assigned, like CTRL + F3. So if
that is not assigned to anything if I set the method to
DEFAULT_KEYS_DIALER it would launch the dialer?

Oh, I guess so.

- Juan T.






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



[android-beginners] setDefaultKeyMode()

2009-01-15 Thread jtaylor

What does this method of Activity do? I thought I knew but somehow
I've lost all understanding and context.

"Select the default key handling for this activity. This controls what
will happen to key events that are not otherwise handled. The default
mode (DEFAULT_KEYS_DISABLE) will simply drop them on the floor. Other
modes allow you to launch the dialer (DEFAULT_KEYS_DIALER),..."
http://code.google.com/android/reference/android/app/Activity.html#setDefaultKeyMode(int)

Isn't every Key Event handled? ..Not sure what "drop them on the
floor" means. So what if I want to "launch the dialer"? I code the
method. Then the user has to do what for the Dialer to be launched?


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



[android-beginners] Re: Application Model Page

2009-01-15 Thread jtaylor



On Jan 15, 2:28 pm, mathiastck  wrote:
> Agreed, this still confuses me.  If you browse the Android Developers
> group Hackbod has gone into some more detail on the subject.
> Frequently developers end up using SingleTop or SingleTask in a way
> that isn't recommended.
>
> Perhaps some example use cases, and the recommended way to solve the
> problems that lead developers to the appmodel page.  (Wanting to avoid
> multiple instances of activity being created).

I'll like to see a video with some kind of animation.
Unclear if SingleTop disallows multiple instances as well as
singleInstance. And then what does it mean that
there are multiple instances to begin with.


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



[android-beginners] Application Model Page

2009-01-14 Thread jtaylor


I think this page needs to be rewritten. I've been looking at it for
months and I still can't understand it. And I doubt many others do
either.

Android Application Model: Applications, Tasks, Processes, and Threads
http://code.google.com/android/intro/appmodel.html


For Instance:
"The singleInstance launch mode is even more specialized, and should
only be used in applications that are implemented entirely as one
activity."

This sentence doesn't really give a definition of singleInstance. It
just says when it should be used. And that it's "specialized".


- Juan T.



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



[android-beginners] Re: Confusion about selection

2009-01-08 Thread jtaylor

I had to brush up on Java when Android came out, even though I was
Java Certified from years back. I also knew J2ME.
So he just needs to learn Java first, there's no need to learn J2ME
because it's simply something other.


- Juan T.

On Jan 8, 9:15 am, "silverberg.ode...@googlemail.com"
 wrote:
> I think thats what he already knows. Guess he was asking it, because
> in some android books the author says its better to start with J2ME
> (or java in general) if you haven't worked with it before, because for
> some people it could be "too hard" to learn Java AND android
> programming at the same time.
>
> Basicly it means: I you never programmed something in Java or some
> similar language (i.e.C#), it would be pretty hard for someone to
> start straight with android w/o the basic knowledge of java/j2me
>
> On Jan 7, 8:22 pm, jtaylor  wrote:
>
> > On Jan 5, 11:13 pm, "Pratik Patel"  wrote:
>
> > Android replaces J2ME...
>
> > - Juan T.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Confusion about selection

2009-01-07 Thread jtaylor



On Jan 5, 11:13 pm, "Pratik Patel"  wrote:
> Hi,
>
> WHICH I SHOULD LEARN FIRST j2me or android. Give ur vote pls to identify
> what to learn.
>

Android replaces J2ME...


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



[android-beginners] Re: making connections online

2009-01-06 Thread jtaylor



On Jan 6, 8:15 pm, Fender  wrote:
> Thanks anyone!
>
> Any links to tutorials or any articles to get me started?

You could try Google App Engine.
http://code.google.com/appengine/

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



[android-beginners] Re: making connections online

2009-01-06 Thread jtaylor


On Jan 5, 11:57 pm, Fender  wrote:
> I want to try and figure out to connect to the internet and grab
> information, without using the androids browser.
>

The most popular way appears to be Apache HttpClient:
org.apache.http.client
http://code.google.com/android/reference/org/apache/http/client/package-summary.html

HttpClient Examples
http://hc.apache.org/httpcomponents-client/examples.html


Or simply use JAVA's:
java.net.HttpURLConnection
http://code.google.com/android/reference/java/net/HttpURLConnection.html

- Juan T.

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



[android-beginners] Re: Best way to learn android development?

2008-12-27 Thread jtaylor

4. Commonsware Subscription for Busy Coder's Book
http://commonsware.com/Android/index.html


- Juan T.

On Dec 27, 2:18 pm, Mark Murphy  wrote:
> jtaylor wrote:
> > Buy the paperback book version of Busy Coder's so you can properly
> > absorb the fundamentals offline.
>
> Thanks for the endorsement!
>
> However, the current paperback edition (Version 1.0) is somewhat out of
> date, as it came out in the summer of 2008 and was written for the older
> M5 SDK, not the current 1.0r2.
>
> The digital edition is up to date, and Version 2.0 will be available in
> print in late January or February, depending on how quickly booksellers
> pick up the new edition.
>
> If you need a print book soon, I recommend either Ed Burnette's _Hello,
> Android_ or Reto Meier's _Professional Android Application Development_.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 1.9 Available!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Best way to learn android development?

2008-12-27 Thread jtaylor

In this Order:

1. The Java Tutorial
http://java.sun.com/docs/books/tutorial/

2. Android Documentation
http://code.google.com/android/documentation.html

3. The Busy Coder's Guide to Android Development
http://www.amazon.com/gp/product/0981678009/

Just learn the basic Java. Familiarize yourself with the Android API.
Buy the paperback book version of Busy Coder's so you can properly
absorb the fundamentals offline.

- Juan T.

On Dec 26, 5:28 pm, Fender  wrote:
> Im just starting to get into mobile development, i know a LITTLE
> javascript, but do know PHP and MySQL, so i know programming.
>
> So my question is, whats thebestwayto learn about writing for
> android? How did you learn? There are a few books out now on Android.
> Are there any good ones?
>
> Thank you!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Dot before Class Name?

2008-12-03 Thread jtaylor



Why is there a dot (a period) before the Class name?


- Juan T.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: How do I get Current GPS Location?

2008-11-04 Thread jtaylor

Make sure longPoint picks up getLongitude() as well.


- Juan

On Oct 28, 9:51 pm, disappearedng <[EMAIL PROTECTED]> wrote:
> Hi everyone
> Please look at my method which involves retrieving a GPS location
> using myManager.getLastKnownLocation("gps").
> I am pretty sure that's not how it works.
>
> Can someone please help me?
>
> public void LoadCoords()        {
>         TextView latText = (TextView) findViewById(R.id.latText);
>         TextView longText = (TextView) findViewById(R.id.longText);
>         LocationManager myManager = (LocationManager)
> getSystemService(Context.LOCATION_SERVICE);
>
>         /*
>         GeoPoint p = new GeoPoint((int) (47.47 * 1E6),(int) (-122.01 *
> 1E6));
>
>         Double latPoint = (double) p.getLatitudeE6();
>         Double longPoint = (double) p.getLongitudeE6();
>
>         */
>         Double latPoint =
> myManager.getLastKnownLocation("gps").getLatitude();
>         Double longPoint =
> myManager.getLastKnownLocation("gps").getLatitude();
>
>         latText.setText(latPoint.toString());
>         longText.setText(longPoint.toString());
>
>     }
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: How to test new apps?

2008-10-31 Thread jtaylor

No you can't use Python. For JUnit I'd refer to this thread.

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


- Juan T.

On Oct 27, 10:31 am, Marcus <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> If there is a new application deployed on Android SDK, what is the
> best way to test it? ( Junit or android.test )
>
> And can Python be used to test apps?
>
> Thanks,
> -Marcus
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: long click

2008-10-31 Thread jtaylor

Search through different code samples with this.

android.view.View.OnLongClickListener
http://code.google.com/android/reference/android/view/View.OnLongClickListener.html

onLongClick(View v)
Called when a view has been clicked and held.


- Juan T.



On Oct 30, 5:35 pm, "Noel Yap" <[EMAIL PROTECTED]> wrote:
> Can anyone point me to a code example that handles long clicks?  I can't
> seem to find what I'm looking for in the Contacts app, but that's probably
> because I don't know what to look for.
> Thanks,
> Noel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: SimpleCursorAdapter questions

2008-10-27 Thread jtaylor

Look at the main notepad tutorial.
http://code.google.com/android/intro/tutorial-ex1.html

So it's FROM the DB columns TO the visual TextView.


- Juan

On Oct 25, 7:17 am, Frew <[EMAIL PROTECTED]> wrote:
> Hi!
>
> Let me explain what I am trying to do before I explain my problem.
> I'd like to have a dropdown menu (Spinner) that has a different "inner
> value" than that which is displayed.  I am trying to load data stored
> in an SQLite database.  Alright, enough of that.
>
> So I figured that a SimpleCursorAdapter would be the way to do this,
> but I can't for the life of me figure out where to go from there.
> Here is a snippet of my current code:
>
> String[] from = new String[] { Constants.NAME, Constants._ID };
> // I know this is wrong, but this is what I am most confused about
> int[] to = new int[] { R.id.search_location };
> SimpleCursorAdapter adapter = new SimpleCursorAdapter(this,
> R.id.search_location, c, from, to  );
> adapter.setDropDownViewResource(android.R.layout.simple_spinner_item);
> spinner.setAdapter(adapter);
>
> So anyway, do I need to make a custom layout just so that I can do
> what I want, or is there an easier way to do this?  Any help at all
> would be appreciated.
>
> Thanks!
> -fREW
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: How to package application for upload to websites from Eclipse IDE?

2008-10-21 Thread jtaylor

For signing apps, you can go through the Java Tutorial security
section.

http://java.sun.com/docs/books/tutorial/security/index.html


- Juan

On Oct 21, 12:46 am, marstein <[EMAIL PROTECTED]> wrote:
> I want to jump on the bandwagon. I would very much like to see:
>
> * instructions how to set up Eclipse to run and debug from within
> Eclipse on the device connected via USB
> * how to use keysign for signing apps
> * how to make apps available on a web server
> * and how to install an apk file that I loaded on the SD card in the
> device
>
> This probably does already exist somewhere. It should be in the wiki?
>
> Many thanks!
>
> On Oct 19, 11:47 pm, tgustafson <[EMAIL PROTECTED]> wrote:
>
> > people to try.  Is there a specific method for packaging together your
> > files for upload to different services?  I had read in the
> > documentation there is a standard file extension for android
> > applications, but for the life of me, I can't find it again.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Where are all the apps

2008-10-21 Thread jtaylor

All the apps will be in Android Market.


- Juan T.

On Oct 20, 9:57 pm, iw <[EMAIL PROTECTED]> wrote:
> I want to find out if an application I want to develop has already
> been developed for the Android project. Where can I get that
> information?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Notepad Tutorial

2008-10-17 Thread jtaylor

You can use a sub-activity.

Here is WikiNotes which does interesting things to Notes.
http://code.google.com/p/apps-for-android/source/browse/trunk/#trunk/WikiNotes


- Juan T.

On Oct 17, 8:33 pm, EASimon <[EMAIL PROTECTED]> wrote:
> I found the notepad tutorial very helpful, however I'm looking to
> stretch beyond that and was wondering if anyone had any ideas to
> help.  I'm trying to implement a "Delete" menu button from within a
> note, and can use the functionality, the note deletes itself, I just
> can't get it to return to the screen that is a list of notes.  Any
> suggestions?  Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Google Groups Bug

2008-10-03 Thread jtaylor

I have a slightly annoying situation. In Google Groups Favorites, I
have a starred favorite that I can't get rid of.

It's entitled "[no subject]" then underneath "by messages Android
Beginners". So when I unstar it, it unstars. But it never disappears.
It just comes back.


- Juan T.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: WebViewDemo in apps-for-android

2008-09-30 Thread jtaylor

"As it happens, we've used exactly this approach in some of the
applications we've written."
http://android-developers.blogspot.com/2008/09/using-webviews.html

What applications are those?


- Juan T.

On Sep 30, 1:21 pm, jtaylor <[EMAIL PROTECTED]> wrote:
> When I do an SVN Update, I'm not getting WebViewDemo. I think I'm
> getting all the apps except that one. Is there another way of getting
> WebViewDemo?
>
> http://android-developers.blogspot.com/2008/09/using-webviews.html
>
> - Juan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] WebViewDemo in apps-for-android

2008-09-30 Thread jtaylor

When I do an SVN Update, I'm not getting WebViewDemo. I think I'm
getting all the apps except that one. Is there another way of getting
WebViewDemo?

http://android-developers.blogspot.com/2008/09/using-webviews.html


- Juan




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Description or Definition

2008-09-29 Thread jtaylor


"Android Interface Description Language (aidl)"
http://code.google.com/android/intro/tools.html


"AIDL (Android Interface Definition Language) is an IDL language"
http://code.google.com/android/reference/aidl.html


- Juan


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] WikiNotes & WikiNotes Articles

2008-09-29 Thread jtaylor


After a long long time I've come to the conclusion that WikiNotes is
best (for me) for learning Android. It's a fabulous, genius App
together with the tutorial articles for learning Android. The Android
Developers Blog has the tutorial articles with promises of many more.
However, some time ago they just stopped. I also think there were 3
articles and now there's just 2 articles on WikiNotes.

"The full description of the ContentProvider and what it does will
span a couple more articles as well, because there is a lot to cover."
http://android-developers.blogspot.com/2008/03/wikinotes-for-android-routing-intents.html

Frankly, I don't really know why it's so great in learning Android. I
can just perceive it intuitively that it indeed is. The power of the
intent structure in android does show itself greatly though.

I can see that a person would not know how important WikiNotes is for
learning Android without trusting it to be so. But more articles
written by Dick Wall would be very helpful. And then highlighting
WikiNotes as almost fundamental to learning Android.


- Juan T.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: With no previous programming knowledge / experience, how do I get started creating an app?

2008-09-29 Thread jtaylor

Learn Java while you learn Android. Android is the new 'ecosystem' or
platform for Java anyway.


- JuanT.

On Sep 29, 2:21 am, Morisato13 <[EMAIL PROTECTED]> wrote:
> Hello, I'm a COMPLETE NOOB when it comes to programming. When I was
> younger I was interested in programming and read a few Visual Basic
> books, but my knowledge is very very limited... VERY. I have some
> interesting/innovative ideas (that could possible make money...
> wishful thinking I guess) but I have no idea where to start. I
> definitely fall into the "ideas man" category of people which I have
> plenty of, but without knowing  where to start, I'm stuck. Does anyone
> have any recommendations of things I should look into? Some sort of
> step by step learning syllabus to get to where I need to be to start
> programming for Android. I'm already expecting the learning process to
> take a very long time, but how long do you think each learning step
> should take? Any websites or book recommendations? I'm not a child,
> but I would like the reading to be as easy as possible because some of
> the technical things just go over my head, but don't get me wrong, I'm
> not technologically illiterate. Any help would be great, thanks. :)
>
> -Morisato
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: AIDL Concept!!!

2008-09-27 Thread jtaylor

Sometimes you need to communicate between different Processes.
Processes are like threads, but higher level, and they encompass
applications.

Conceptually, the way you do this communication is through a Binder
using the currency of the Parcel. The Binder is the main concept in
this communication.

AIDL (Android Interface Definition Language) is a special tool that
enables you to perform this communication between processes (usually
meaning applications).


- Juan T.

On Sep 27, 5:39 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hy! Guys..
>
> I have a problem with AIDL!!
>
> Is there anyone who can explain this in a easy way.
>
> I'm not a native English speaker so, It is very hard to understand
> what is written in Web-site..
>
> If you include some easy sample code I'll be great for me
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: AIDL Concept!!!

2008-09-27 Thread jtaylor

Hello,

Your question is too vague. Your questions needs to be more specific.
What problem do you have with AIDL?


On Sep 27, 5:39 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hy! Guys..
>
> I have a problem with AIDL!!
>
> Is there anyone who can explain this in a easy way.
>
> I'm not a native English speaker so, It is very hard to understand
> what is written in Web-site..
>
> If you include some easy sample code I'll be great for me
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Coding Style Standards for Android

2008-09-26 Thread jtaylor

Where are these android coding style standards?

"The m denotes a member field and is part of the Android coding style
standards."
http://code.google.com/android/intro/tutorial-ex2.html


- Juan T.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: What is adb.exe?

2008-09-25 Thread jtaylor

That's the "android debug bridge", a tool that deals with the emulator/
device.

Android Debug Bridge
http://code.google.com/android/reference/adb.html

"The ADT plugin provides a trasparent integration of adb into the
Eclipse IDE."


- Juan T.

On Sep 24, 10:56 pm, planetshine <[EMAIL PROTECTED]> wrote:
> What is adb.exe and must it run in the background during development
> in Eclipse IDE?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Documentation Update

2008-09-24 Thread jtaylor

Hello,

When will the documentation be Updated? Right now it says on the front
that you can download the Beta version of the SDK and get going. Even
though I've been through the documentation more than once, I'd like to
go through it cleanly as the 1.0 edition.


- Juan T.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Panoramio: super.oncreate()

2008-09-24 Thread jtaylor

I thought in onCreate() that "super.onCreate(savedInstanceState);" was
supposed to be the very first statement? However in ImageList.java:

@Override
public void onCreate(Bundle savedInstanceState) {
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
super.onCreate(savedInstanceState);



Also how do you get to other locations in Panoramio and see the
photos?


- Juan T.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Is it feasible....?

2008-09-23 Thread jtaylor

Developing an app on Android using GPS and maps is partially what
Android is all about. The G1 just came out today, so you can try and
get one and use that to demonstrate your app.

http://announcement.t-mobileg1.com/


- Juan T.

On Sep 23, 9:47 am, jaideep <[EMAIL PROTECTED]> wrote:
> hi,
> i m new to android and i like to develop
> an application on it using GPS technology and maps as my final year
> project ... any suggestions or advice regarding the topic and the
> duration required to develop an application using these
> technologies ...and is it feasible?I like to develop a demonstrative
> application so i need a real android based mobile instead of
> emulator...tanx in advance
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: How to understand and use a reference information (esp, class Hierarchy)

2008-09-22 Thread jtaylor

Hello,

"Class Index" is just to find a specific class. I don't think it's
used very much. It's just there if you ever need it. "Class Hierarchy"
similarly just shows the hierarchy. It's not easy for me to use
though. It appears easier to  go to the Class pages and viewing the
class hierarchy there.


- Juan T.

On Sep 22, 6:43 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hy! Guys..
> I've got a question about reference information which is in
> Documentation web-page.
> ->  http://code.google.com/android/reference/index.html
> especially, "Class Hierarchy" and "Class Index" pages.
> I wish I understood the page and I wanna make my own code by using the
> page!!  but, It is really hard.
> and I can't make it through without sample code of someone else
>
> Is there anyone who can tell me how to understand and make hands-on
> code this document properly?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: HttpURLConnection OR org.apache.http

2008-09-20 Thread jtaylor

Hello Mark,

AHa, finally I understand.

If I wanted that optimization I would just switch from
HttpURLConnection to HTTPComponents.


- Juan


On Sep 20, 6:48 am, "Mark Murphy" <[EMAIL PROTECTED]> wrote:
> > What's the difference between using java.net.HttpURLConnection and the
> > apache http library? Why is one better over the other and in what
> > circumstances? Or if anyone can give even a general viewpoint? I think
> > I've asked this question about three times before but never got a
> > definitive answer. So this is a very difficult question but one I
> > think that is very important for http programming in Android.
>
> Apache HTTPComponents were originally developed back when
> java.net.HttpURLConnection was godawful. Even today, HTTPComponents offer
> a richer programming model for more complex HTTP usage scenarios (e.g.,
> chunked encoding).
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 1.2 Published!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: What all do I need to begin programming in Android

2008-09-19 Thread jtaylor

You should know Eclipse and Java.

http://eclipsetutorial.sourceforge.net/


- Juan T.

On Sep 18, 10:39 am, Zeeshan Ahmad <[EMAIL PROTECTED]> wrote:
> Hello everyone!!!
>
> I wanted to know what all I will be needing to begin programming with
> android.
> I have downloaded sdk 0.9 and a whole lot of test(which appears clumsy
> & unhelpful)
> Please help me out
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] HttpURLConnection OR org.apache.http

2008-09-19 Thread jtaylor



What's the difference between using java.net.HttpURLConnection and the
apache http library? Why is one better over the other and in what
circumstances? Or if anyone can give even a general viewpoint? I think
I've asked this question about three times before but never got a
definitive answer. So this is a very difficult question but one I
think that is very important for http programming in Android.


- Juan T.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: ANdroid coding guidelines

2008-09-16 Thread jtaylor

I recall Dan Morrill at Google I/O saying that just as in other
disciplines one doesn't know the tool very well, but knows what tool
needs to be used at what time. In Android, when you need the Location
API, then that's when you delve into the intricacies of it and not
before. It's good to get a grip on the Android API, but I think
Android is especially rich with camera, location, etc. that you have
to deal with one thing at a time. You need to know Java completely
though. You have to know XML because you'll eventually use it in one
way or the other. If you don't use it, it's still very helpful to
know.


- Juan T.

On Sep 16, 1:26 am, enchanters <[EMAIL PROTECTED]> wrote:
> Where Can I find the Android PDF to start my coding.I do not know JAVA
> but I know C and C++ and linux internals.
>
> Is it a must to learn JAVA and start coding.
> I do not know XML as well..
>
> Please give me a hint on how to start working on Android and recommend
> some material or PDF to start working.
>
> Thanks in Advance
>
> Syed Sameer Ahmed
> (Google FAN)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Invalidate()

2008-09-15 Thread jtaylor

Good enough.


- Juan T.

On Sep 15, 2:59 pm, babyblue <[EMAIL PROTECTED]> wrote:
> I guess kind of like java.awt.Component#invalidate(), telling the
> renderer that the area is no longer valid so it should redraw.
>
> On Aug 30, 2:34 pm, jtaylor <[EMAIL PROTECTED]> wrote:
>
> > Why is forcing a view to draw called Invalidate()?
>
> > - JuanT.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Android Source Code

2008-09-10 Thread jtaylor

The source code should arrive sometime in the 4th Quarter of this
year.


"Q4 2008 - Source code released"

Android Developer Roadmap
http://code.google.com/android/roadmap.html


- Juan T.

On Sep 10, 5:43 pm, "Chihau Chau" <[EMAIL PROTECTED]> wrote:
> Hi everybody, I have a doubt
> ¿Where I can find the Android source code with the Linux kernel and
> Libraries sources?
>
> --
> Chihau Chau
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: org.apache.http tutorial?

2008-09-10 Thread jtaylor

Why would I use the Apache Library in Android over HttpURLConnection?
Why does Photostream use it for the Flickr images?


- Juan T.

On Sep 10, 3:41 pm, "Mark Murphy" <[EMAIL PROTECTED]> wrote:
> > "the HttpComponents may be of interest to anyone building HTTP-aware
> > client and server applications such as web browsers, web spiders, HTTP
> > proxies, web service transport libraries, or systems that leverage or
> > extend the HTTP protocol for distributed communication."
> >http://hc.apache.org/
> > But this official paragraph appears to say that you
> > only need to use the Apache version if you are building a web browser
> > or a spider!
>
> That's not what the quoted paragraph says.
>
> That paragraph says that the "HttpComponents may be of interest to anyone
> building HTTP-aware client and server applications".
>
> The mere fact that they list some examples does not mean the
> HttpComponents are *only* used for those situations.
>
> > So what's wrong with the JAVA version?
>
> If by "JAVA version" you mean HttpURLConnection, I'm not aware that there
> is anything "wrong" with it.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 1.2 Published!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: org.apache.http tutorial?

2008-09-10 Thread jtaylor

Thanks. It says here.

"the HttpComponents may be of interest to anyone building HTTP-aware
client and server applications such as web browsers, web spiders, HTTP
proxies, web service transport libraries, or systems that leverage or
extend the HTTP protocol for distributed communication."
http://hc.apache.org/

Now I think some people are using Apache http libraries rather than
the JAVA version. But this official paragraph appears to say that you
only need to use the Apache version if you are building a web browser
or a spider! So what's wrong with the JAVA version? In what way would
the Apache library be better? Why is Photostream using tons of
different classes in the Apache library just to get flickr photos?


- Juan T.

On Sep 10, 2:30 pm, "Mark Murphy" <[EMAIL PROTECTED]> wrote:
> > Is there anything easier? Or is there any preliminary study I can do
> > to help with the tutorial.
>
> You probably already saw these, but there's a bunch of examples here:
>
> http://hc.apache.org/httpcomponents-client/examples.html
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 1.2 Published!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] org.apache.http tutorial?

2008-09-10 Thread jtaylor

I was just looking at the new Photostream App. I see Flickr.java has
all kinds of things from org.apache.http. I've searched for tutorials
on how to use this and the only thing I found was an official
tutorial.

http://wiki.apache.org/HttpComponents/GuidedTourOfHttpCore

Is there anything easier? Or is there any preliminary study I can do
to help with the tutorial.


---

from Flick.java:

import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager;
import org.apache.http.HttpResponse;
import org.apache.http.HttpStatus;
import org.apache.http.HttpEntity;
import org.apache.http.HttpHost;
import org.apache.http.HttpVersion;
import org.apache.http.conn.scheme.SchemeRegistry;
import org.apache.http.conn.scheme.PlainSocketFactory;
import org.apache.http.conn.scheme.Scheme;
import org.apache.http.params.HttpParams;
import org.apache.http.params.BasicHttpParams;
import org.apache.http.params.HttpProtocolParams;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] describeContents()

2008-09-06 Thread jtaylor

What's the story behind describeContents()? What is meant by special
objects? Being overidden from Parcelable, what's different about the
specific classes inherited from Parcelable?

describeContents()
Describe the kinds of special objects contained in this Parcelable's
marshalled representation
http://code.google.com/android/reference/android/app/Notification.html


- Juan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Style vs. Styleable

2008-09-05 Thread jtaylor

android.R.styleable appears to say these things are able to be styled
and here's how they can be styled. They describe "Attributes that can
be used with a..", etc.

android.R.style maybe the real issue. Both style and styleable have
values that can be assigned to set a value no? But android.R.style is
a combination of things. There are themes, text appearance and
widgets. These are all very different things. So it's difficult to see
just what style is.


- Juan T.



On Sep 4, 5:20 pm, DavidN <[EMAIL PROTECTED]> wrote:
> A nonexpert guess:
>
> android.R.style appears to be values that can be assigned to something
> to set its value. For instance, android.text.style.TextAppearanceSpan
> method constructor TextAppearanceSpan(Context context, int
> appearance), the appearance parameter is taken from android.R.style.
>
> android.R.styleable appears to be attribute values that are associated
> with things that may be set to different values (the styleable
> aspect). For instance, android.text.style.TextAppearanceSpan method
> constructor public TextAppearanceSpan(Context context, int appearance,
> int colorList), the colorList is taken from android.R.styleable.
>
> On Sep 4, 9:16 am, jtaylor <[EMAIL PROTECTED]> wrote:
>
> > What is the difference between Style and Styleable in Android.R?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Style vs. Styleable

2008-09-04 Thread jtaylor

What is the difference between Style and Styleable in Android.R?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Local-side IPC implementation stub classes

2008-09-03 Thread jtaylor



What is the story about all of these "Local-side IPC implementation
stub class" classes inside packages, such as Location? I have a vague
understanding that it probably deals with Inter Process Communication
regarding possibilities an app may take in terms of the package.


- Juan T.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Can anybody expains the Flow of Android Application?

2008-09-02 Thread jtaylor

Hello Farooq,

There are no applications. The main component is the Activity, and
there are Services, BroadcastReceivers and Content Providers. All
these are part of the Flow. Your app is using components you didn't
create. And within those components is Flow as well, such as
Activities have onCreate() and onStart() and onPause(). So you have to
have patience and understand things little by little.


- Juan T.

On Sep 1, 11:47 pm, Farooq <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I am just trying to get an idea about the Android Application.  i have
> some doubts in this.  Can any body explains the flow of Android
> Application?
> like in java...
> 1>main method
> 2>creation of object
> 3>method calls according to the objectetc
>
> Regards
> Farooq
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Invalidate()

2008-08-30 Thread jtaylor

Why is forcing a view to draw called Invalidate()?


- JuanT.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Difficult Paragraph on Tasks

2008-08-22 Thread jtaylor



On Aug 22, 7:17 pm, "Justin (Google Employee)" <[EMAIL PROTECTED]>
wrote:
> > You just said:
> > "If you then press the HOME button, typically in order to return to
> > Activity B.."
>
> > A better version would be:
> > "If you then press the HOME button and go to HOME, typically in order
> > to return to Activity B.."
>
> I can see your point, although pressing HOME always takes you to the
> home screen. Saying "and go to HOME" is on the one hand redundant and
> also seems to imply its possible to hit the HOME button and not return
> to the home screen. The former result of that wording is okay, but the
> latter is bad. So, "If you press the the HOME button it will return
> you to the HOME screen. Typically to return to Activity B..."
>

But you see, the Android Learner reading this doesn't know what HOME
is. Or he's not sure of what HOME is. Why? Because rules are already
being broken (or may be) because of the complex nature of what's being
explained. Because of the complexity the Sun might come out at night
and the Moon during the day. I truly considered - when you didn't say
something like returning to HOME - that maybe there was a HOME within
the App. ..So I'd say given the complex nature of explaining
especially difficult portions of Android that such would call for
things to be explained in a very careful, simple and step-by-step way
as if one were speaking to a neophyte in programming.

> > Now I'm noticing that with a combination of what you just
> > said here together with the docs, there is a clear and immediate
> > understanding on my part, just a few minutes. If it was just the docs,
> > it would have taken me a while to understand it.
>
> Writing clear documentation is easy. Writing concise documentation is
> easy. Writing clear and concise documentation is hard, so we'll
> continue to improve our docs and try to strike the right balance.
>

I'm sure it's difficult. In fact it might be as difficult as what's
being explained.


> Thanks for this feedback, its always helpful to have input on the
> understandability of our information.
>
> Cheers,
> Justin
> Android Team @ Google
>
> On Aug 22, 4:03 pm, jtaylor <[EMAIL PROTECTED]> wrote:
>
> > On Aug 22, 5:38 pm, "Justin (Google Employee)" <[EMAIL PROTECTED]>
> > wrote:
>
> > > > Maybe I need a Ph.D to understand it. :) Or maybe there's a word off
> > > > here somewhere. How can one navigate from home back to where one is at
> > > > the moment? Why wouldn't I be able to return to the task/activities if
> > > > the home screen is in the way?
>
> > > Let us assume you launch Activity A by pressing an icon on the HOME
> > > screen. Let us assume from your Activity A you start a new Activity B
> > > with FLAG_ACTIVITY_NEW_TASK set. If you then press the HOME button,
> > > typically in order to return to Activity B you would need an icon that
> > > would fire an Intent that would resolve to Activity B in order to
> > > return. Alternately, since we know you can get to A from the HOME
> > > screen, you could provide a way to get back to B from A, although then
> > > its questionable why you used NEW_TASK to start with. If there is
> > > neither an icon on the HOME screen to access B directly or a way to
> > > get back to B from A (or another Activity), then B is lost forever in
> > > the background.
>
> > Yes, I understand what you're saying! But I didn't understand it from
> > the docs alone. There is this issue though.
>
> > You just said:
> > "If you then press the HOME button, typically in order to return to
> > Activity B.."
>
> > A better version would be:
> > "If you then press the HOME button and go to HOME, typically in order
> > to return to Activity B.."
>
> > > > I think this should be "determine if THE task already exists".
>
> > > The original wording is precise and correct. The system searches for a
> > > task with the same affinity as the new Activity. (Note: Activity !=
> > > task). If there exists a task with the same affinity as the new task
> > > *and* that task is not the one that started the new Activity, then the
> > > new Activity will be created as the foreground Activity in that task.
>
> > Yes, my correction is incorrect. And once again, I understand what's
> > being said from a combination of the docs and what you're saying
> > here.
>
> > > > "A process's priority may also be i

[android-beginners] Re: Can't open Tutorial Zip File

2008-08-22 Thread jtaylor

Thanks!



On Aug 22, 6:37 pm, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
> Please use the zip file posted 
> here:http://groups.google.com/group/android-developers/files
>
> We will updated the codesite zip shortly..
>
> On Thu, Aug 21, 2008 at 7:00 PM, jtaylor <[EMAIL PROTECTED]> wrote:
>
> > I'm on Vista and when I hit "extract" I get this message.
>
> > "There is already a file with the same name as the folder name you
> > specified. Specify a different name."
>
> > Then I get a 0 byte file. I tried creating a new folder, etc. but
> > nothing seems to work.
>
> > - Juan T.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Difficult Paragraph on Tasks

2008-08-22 Thread jtaylor
iginal wording is precise and correct. The system searches for a
> task with the same affinity as the new Activity. (Note: Activity !=
> task). If there exists a task with the same affinity as the new task
> *and* that task is not the one that started the new Activity, then the
> new Activity will be created as the foreground Activity in that task.
>
> > "A process's priority may also be increased based on other
> > dependencies a process has to 
> > it."http://code.google.com/android/intro/lifecycle.html
>
> > I think it should say "dependencies the process has" or at least
> > "dependencies a process has".
>
> The original wording is correct and your wording implies the inverse
> of what its actually saying. It is saying given a process A its
> priority may be increased if a higher priority process B depends on A.
> Process A has dependencies *to it* from another process. Your wording
> implies that the priority of A may be increased based on what A
> depends on.
>
> Overall the lifecycle is a delicate thing to understand. I agree that
> it would be beneficial to have more verbose information about it, but
> what is there is precise and correct. I would note, you have
> facilitated the creation of such content right here in this question!
>
> Cheers,
> Justin
> Android Team @ Google
>
> On Aug 22, 2:13 pm, jtaylor <[EMAIL PROTECTED]> wrote:
>
> > On the next page - "Application Life Cycle" there's this sentence.
>
> > "A process's priority may also be increased based on other
> > dependencies a process has to 
> > it."http://code.google.com/android/intro/lifecycle.html
>
> > I think it should say "dependencies the process has" or at least
> > "dependencies a process has". I know this is incorrect because I
> > understand what it's trying to say. The problem for me in going
> > through many other sentences, is that I don't know what they're trying
> > to say. So I'm definitely being confused because chances are there are
> > mistakes (grammatical and semantic) there as well.
>
> > I think this is a serious issue because if I don't understand it, at
> > least many others don't as well, and the biggest obstacle to great
> > apps is the complexity of the platform. And the only real solid
> > gateway to understanding what's encapsulated in these pages, is what's
> > written in the page themselves, how it's expressed, etc.
>
> > - Juan T.
>
> > On Aug 21, 9:53 pm, jtaylor <[EMAIL PROTECTED]> wrote:
>
> > > I request that this whole page be 
> > > rewritten.http://code.google.com/android/intro/appmodel.html
>
> > > This is really important and complex things on tasks and such as it is
> > > now, the complexity of it is made more complex by grammatical and
> > > semantic errors. I've only gotten halfway through and here's what I
> > > call a semantic error.
>
> > > "However, if the NEW_TASK flag is being used, then the affinity will
> > > be used to determine if a task already exists with the same affinity."
> > > I think this should be "determine if THE task already exists". In the
> > > previous sentence that conceptually compares itself, THE and not A is
> > > mentioned.
>
> > > This page is probably very important compared to the rest of the docs
> > > given the complex nature of tasks and stacks. Maybe it needs visual
> > > diagrams. But I think it needs to be rewritten with more weight on
> > > making the complexity more easy to understand.
>
> > > - Juan T.
>
> > > On Aug 21, 9:23 pm, jtaylor <[EMAIL PROTECTED]> wrote:
>
> > > > "In addition, you should only use the new task flag if it is possible
> > > > for the user to navigate from home back to where they are and launch
> > > > the same Intent as a new task. Otherwise, if the user presses HOME
> > > > instead of BACK from the task you have launched, your task and its
> > > > activities will be ordered behind the home screen without a way to
> > > > return to them."http://code.google.com/android/intro/appmodel.html, 
> > > > Tasks
>
> > > > Maybe I need a Ph.D to understand it. :) Or maybe there's a word off
> > > > here somewhere. How can one navigate from home back to where one is at
> > > > the moment? Why wouldn't I be able to return to the task/activities if
> > > > the home screen is in the way? But really since I don't understand the
> > > > first part, the second is not going to get me anywhere anyway. :)
> > > > There must be some grammatical error here.
>
> > > > Here's a grammatical error in the paragraph before which makes the
> > > > whole meaning of things unclear as well. And maybe we need
> > > > visualization in these things.
>
> > > > "A task, then, from the user's perspective your application;"
>
> > > > - Juan T.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Difficult Paragraph on Tasks

2008-08-22 Thread jtaylor

On the next page - "Application Life Cycle" there's this sentence.

"A process's priority may also be increased based on other
dependencies a process has to it."
http://code.google.com/android/intro/lifecycle.html

I think it should say "dependencies the process has" or at least
"dependencies a process has". I know this is incorrect because I
understand what it's trying to say. The problem for me in going
through many other sentences, is that I don't know what they're trying
to say. So I'm definitely being confused because chances are there are
mistakes (grammatical and semantic) there as well.

I think this is a serious issue because if I don't understand it, at
least many others don't as well, and the biggest obstacle to great
apps is the complexity of the platform. And the only real solid
gateway to understanding what's encapsulated in these pages, is what's
written in the page themselves, how it's expressed, etc.


- Juan T.


On Aug 21, 9:53 pm, jtaylor <[EMAIL PROTECTED]> wrote:
> I request that this whole page be 
> rewritten.http://code.google.com/android/intro/appmodel.html
>
> This is really important and complex things on tasks and such as it is
> now, the complexity of it is made more complex by grammatical and
> semantic errors. I've only gotten halfway through and here's what I
> call a semantic error.
>
> "However, if the NEW_TASK flag is being used, then the affinity will
> be used to determine if a task already exists with the same affinity."
> I think this should be "determine if THE task already exists". In the
> previous sentence that conceptually compares itself, THE and not A is
> mentioned.
>
> This page is probably very important compared to the rest of the docs
> given the complex nature of tasks and stacks. Maybe it needs visual
> diagrams. But I think it needs to be rewritten with more weight on
> making the complexity more easy to understand.
>
> - Juan T.
>
> On Aug 21, 9:23 pm, jtaylor <[EMAIL PROTECTED]> wrote:
>
> > "In addition, you should only use the new task flag if it is possible
> > for the user to navigate from home back to where they are and launch
> > the same Intent as a new task. Otherwise, if the user presses HOME
> > instead of BACK from the task you have launched, your task and its
> > activities will be ordered behind the home screen without a way to
> > return to them."http://code.google.com/android/intro/appmodel.html, Tasks
>
> > Maybe I need a Ph.D to understand it. :) Or maybe there's a word off
> > here somewhere. How can one navigate from home back to where one is at
> > the moment? Why wouldn't I be able to return to the task/activities if
> > the home screen is in the way? But really since I don't understand the
> > first part, the second is not going to get me anywhere anyway. :)
> > There must be some grammatical error here.
>
> > Here's a grammatical error in the paragraph before which makes the
> > whole meaning of things unclear as well. And maybe we need
> > visualization in these things.
>
> > "A task, then, from the user's perspective your application;"
>
> > - Juan T.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: What is an Image?

2008-08-21 Thread jtaylor

Thanks. So I guess when I  see the word 'Image' I should think of the
concept of Virtual. And I guess where I don't want to go, the part I
don't need to understand, is in the understanding of the hardware
implementation of the Images.



On Aug 21, 3:07 pm, Dani <[EMAIL PROTECTED]> wrote:
> @What is a mountable disk image?
> It's a virtual disk. "Mount a disk image" means that you allow system
> to use a virtual disk. In example, you can do a virtual hard drive
> image for build a file into your computer with a virtual hard drive.
>
> @What is a RAM Disk Image?
> It is a special kind of virtual disk image. Using a RAM Disk Image,
> the virtual image isn't saved on your hard drive -it is saved on
> computer's RAM memory.
>
> @And a SD Card Image?
> There are Virtual SD Card Images. Is the same as there are virtual
> hard drive images, virtual disket image, virtual CD/DVD image...
>
> @Is an image just a single file?
> Yes! An image keep a drive (like hard drives or DVD's) in a single
> file inside your real hard drive.
>
> @How is this file different from any other?
> Using a disk image, you haven't got a real drive: you have a file in
> your hard drive emulating a real hard drive. The image disk is
> virtual: you haven't bought a drive in your nearest computer store,
> you have only saved a file in your computer.
>
> On 21 ago, 19:30, jtaylor <[EMAIL PROTECTED]> wrote:
>
> > What is a mountable disk image? What is a ram disk image? An sd card
> > image? Wikipediahttp://en.wikipedia.org/wiki/Disk_imagesaysit's a disk 
> > image is a
> > single file representing a data storage medium, etc. So is an image
> > just a single file? How is this file different from any other?
>
> > - Juan T.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Can't open Tutorial Zip File

2008-08-21 Thread jtaylor

I'm on Vista and when I hit "extract" I get this message.

"There is already a file with the same name as the folder name you
specified. Specify a different name."

Then I get a 0 byte file. I tried creating a new folder, etc. but
nothing seems to work.


- Juan T.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Difficult Paragraph on Tasks

2008-08-21 Thread jtaylor

I request that this whole page be rewritten.
http://code.google.com/android/intro/appmodel.html

This is really important and complex things on tasks and such as it is
now, the complexity of it is made more complex by grammatical and
semantic errors. I've only gotten halfway through and here's what I
call a semantic error.

"However, if the NEW_TASK flag is being used, then the affinity will
be used to determine if a task already exists with the same affinity."
I think this should be "determine if THE task already exists". In the
previous sentence that conceptually compares itself, THE and not A is
mentioned.

This page is probably very important compared to the rest of the docs
given the complex nature of tasks and stacks. Maybe it needs visual
diagrams. But I think it needs to be rewritten with more weight on
making the complexity more easy to understand.


- Juan T.




On Aug 21, 9:23 pm, jtaylor <[EMAIL PROTECTED]> wrote:
> "In addition, you should only use the new task flag if it is possible
> for the user to navigate from home back to where they are and launch
> the same Intent as a new task. Otherwise, if the user presses HOME
> instead of BACK from the task you have launched, your task and its
> activities will be ordered behind the home screen without a way to
> return to them."http://code.google.com/android/intro/appmodel.html, Tasks
>
> Maybe I need a Ph.D to understand it. :) Or maybe there's a word off
> here somewhere. How can one navigate from home back to where one is at
> the moment? Why wouldn't I be able to return to the task/activities if
> the home screen is in the way? But really since I don't understand the
> first part, the second is not going to get me anywhere anyway. :)
> There must be some grammatical error here.
>
> Here's a grammatical error in the paragraph before which makes the
> whole meaning of things unclear as well. And maybe we need
> visualization in these things.
>
> "A task, then, from the user's perspective your application;"
>
> - Juan T.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Difficult Paragraph on Tasks

2008-08-21 Thread jtaylor

"In addition, you should only use the new task flag if it is possible
for the user to navigate from home back to where they are and launch
the same Intent as a new task. Otherwise, if the user presses HOME
instead of BACK from the task you have launched, your task and its
activities will be ordered behind the home screen without a way to
return to them."
http://code.google.com/android/intro/appmodel.html, Tasks

Maybe I need a Ph.D to understand it. :) Or maybe there's a word off
here somewhere. How can one navigate from home back to where one is at
the moment? Why wouldn't I be able to return to the task/activities if
the home screen is in the way? But really since I don't understand the
first part, the second is not going to get me anywhere anyway. :)
There must be some grammatical error here.

Here's a grammatical error in the paragraph before which makes the
whole meaning of things unclear as well. And maybe we need
visualization in these things.

"A task, then, from the user's perspective your application;"


- Juan T.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] What is an Image?

2008-08-21 Thread jtaylor

What is a mountable disk image? What is a ram disk image? An sd card
image? Wikipedia
http://en.wikipedia.org/wiki/Disk_image says it's a disk image is a
single file representing a data storage medium, etc. So is an image
just a single file? How is this file different from any other?


- Juan T.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---