[android-beginners] Re: launching first android application failed

2008-09-30 Thread [EMAIL PROTECTED]

I'm sorry, but I didn't solve up to now...nobdoy here?

On 29 Sep., 20:53, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 Hi Thomas,
 i have the same Problem...
 :)

 Did you solve your problem?
 How?
 Can any body help us?
 Thanke you in advanced
 Best Regards
 HK

 On 26 Sep., 11:34, [EMAIL PROTECTED]

 [EMAIL PROTECTED] wrote:
  hi everybody!

  This is my error-message:

  [2008-09-26 09:29:03 - Emulator] Cannot create data directory: C:
  \Dokumente und Einstellungen\Thomas\Lokale Einstellungen
  \Anwendungsdaten\Android\SDK-1.0
  [2008-09-26 09:29:03 - Emulator] Please specify a writable directory
  with -datadir.

  I know that this path/directory (Anwendungsdaten) is read-only, but I
  don't know where to change the settings, if there is one?

  My SDK:android-sdk-windows-1.0_r1
  Eclipse: eclipse-jee-ganymede-win32
  OS: Windows XP SP3

  I only created myfirstAndroidproject with 2 classes in it:
  HelloAndroid.java  R.java
  The path to myandroidsdk is set.

  thanks in advance for every help...

  Best, Thomas
--~--~-~--~~~---~--~~
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: launching first android application failed

2008-09-30 Thread [EMAIL PROTECTED]

Hey HK

Now I solved:

1) Go into the run configurations of your android application
2) Select the tab target
3) Under Additional Emulator Command Line Options you write: -
datadir C:\YOUR PATH -- which is writeable...

enjoy! Thomas

On 29 Sep., 20:53, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 Hi Thomas,
 i have the same Problem...
 :)

 Did you solve your problem?
 How?
 Can any body help us?
 Thanke you in advanced
 Best Regards
 HK

 On 26 Sep., 11:34, [EMAIL PROTECTED]

 [EMAIL PROTECTED] wrote:
  hi everybody!

  This is my error-message:

  [2008-09-26 09:29:03 - Emulator] Cannot create data directory: C:
  \Dokumente und Einstellungen\Thomas\Lokale Einstellungen
  \Anwendungsdaten\Android\SDK-1.0
  [2008-09-26 09:29:03 - Emulator] Please specify a writable directory
  with -datadir.

  I know that this path/directory (Anwendungsdaten) is read-only, but I
  don't know where to change the settings, if there is one?

  My SDK:android-sdk-windows-1.0_r1
  Eclipse: eclipse-jee-ganymede-win32
  OS: Windows XP SP3

  I only created myfirstAndroidproject with 2 classes in it:
  HelloAndroid.java  R.java
  The path to myandroidsdk is set.

  thanks in advance for every help...

  Best, Thomas
--~--~-~--~~~---~--~~
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-30 Thread Morisato13

Thanks. I'm reading #4 right now.

Now I was watching the featured video on the andriod home page with
Jason Chen, and one of the questions in the QA section of the video
made Jason clarify that Android is not Java, applications are written
in Java programming language, but Android is Dalvic bicode... now,
with that said, is there anything that I would learn while learning
Java that does not or can not be applied to programming applications
for Android? I'm guessing no because from my guess, what happens is
you code in Java and it gets baked into whatever Dalvic bicode is for
android to recognize it... but I just want someone who knows to
answer.

Also, are there any forums that specifically help noobs with noob java/
programming questions? I'd ask them here but it seems this forum is
really for Android related questions.

On Sep 29, 3:52 am, David Farler [EMAIL PROTECTED] wrote:
 Hi Morisato,
 Since you'll be programming in Java for Android, I recommend you start
 practicing with it. Java is a good place to start in many cases. Check out
 the following books from your library or college library:

 1. Absolute Java by Walter Savitch (3rd edition)
 2. Java Foundations: Introduction to Program Design and Data Structures by
 John Lewis
 3. Also check out this free online course offered by MIT (you don't have to
 register):
 Introduction to Computer Science and 
 Programminghttp://ocw.mit.edu/OcwWeb/Electrical-Engineering-and-Computer-Science...
 4. A free online book: Thinking in Java by Bruce 
 Eckel:http://www.mindview.net/Books/TIJ/
 5. And don't forget the official Java 
 API:http://java.sun.com/javase/6/docs/api/

 All of these resources should get you started. Remember that programming is
 more than just memorization. Try to use first principles by understanding
 how a computer (or virtual machine in this case) is doing its job. Once you
 understand the core of it, you can program in any language.

 All of the suggestions above assume no previous knowledge (except number 5,
 but take a look at it anyway). Don't get discouraged. Programming can be
 hard, but remember that sometimes people make it hard because they don't
 remember what it's like to be a beginner. You should feel lucky that Google
 has done such a good job on documenting how to get started. Try to have fun.

  The first two books can be expensive (try to buy used) but they are pretty
 good. Don't forget to check your local library and ask if they have a
 state-wide book sharing program. Maybe another library will lend it to them.
 If you have trouble and can't get a book, get in touch with me. I'll be
 happy to send you one of mine, I have extra copies.

 My most important advice: DOCUMENT CLEARLY AND ALWAYS PLACE COMMENTS IN YOUR
 CODE.

 Best of luck,
 David

 On Mon, Sep 29, 2008 at 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] Eclipse Preferences Error

2008-09-30 Thread nzkronic

Hi all,

I get the following error when opening the android section of the
elcipse preferences window.

Unable to create the selected preference page.

org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
$TerminatingClassNotFoundException

Details

Unable to create the selected preference page.
An error has occured while automatically activating bundle
com.android.ide.eclipse.adt (581)


Any help here is appreciated.
Using Ubuntu 8.04
JDK = java-6-sun-1.6.0.06
Eclipse 3.41


--~--~-~--~~~---~--~~
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] Preferences Error

2008-09-30 Thread nzkronic

Hi all,

I get the following error when opening the android section of the
elcipse preferences window.

Unable to create the selected preference page.

org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
$TerminatingClassNotFoundException

Details

Unable to create the selected preference page.
An error has occured while automatically activating bundle
com.android.ide.eclipse.adt (581)


Any help here is appreciated.
Using Ubuntu 8.04
JDK = java-6-sun-1.6.0.06
Eclipse 3.41


--~--~-~--~~~---~--~~
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] For Beginers

2008-09-30 Thread Parasss

Hello All,

   I have runned Hello world through Android SDK application.

I want to run a Interconnecting Emulator Instances with multiple
emulator intence, with the example given in this link
http://code.google.com/android/reference/emulator.html#emulatornetworking


here how we can assign the IP address and port to the ANdroid emulator
intence?

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] Re: Help: How to close an App?

2008-09-30 Thread Mark Murphy

[EMAIL PROTECTED] wrote:
 But what if I currently have 3 activities in the stack and on the 3rd
 activity I have a menu item saying Exit application and with that I
 want to return to home screen.

Three options off the top of my head are:

1. Don't have three activities on the stack. Use tabs, dialogs, 
ViewFlipper, or some other means to consolidate all that into a single 
activity. Then, call finish() on that activity from your menu item.

2. Have activity #3 broadcast an intent to the other two, to tell them 
to close up, then call finish() on the third activity. I'm not sure what 
this will look like to the user, though -- might be a lot of flicker.

3. Just don't do it. Work within the Android model rather than attempt 
to impose your own model on top of it. Redesign your flow such that the 
activity (or activities) appear to live forever.

Also, bear in mind that finish() does not return you to the home screen, 
but merely to whatever was next on the stack of activities.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com

Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml

--~--~-~--~~~---~--~~
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: Booleans crash my SQLite INSERT...

2008-09-30 Thread gymshoe

After several fruitless hours of google searching, I submitted the
above question.  I then got lucky and found the answer...

http://forums.realsoftware.com/viewtopic.php?f=3t=3974hilit=+no+such+column+

Basically, just insert the boolean value in single quotes:  i.e.
'true'.

Jiim




On Sep 29, 3:55 pm, gymshoe [EMAIL PROTECTED] wrote:
 I have successfully created a test database and do not have trouble
 inserting records containing text or integers. However, when I try to
 insert a boolean value I get an error no such column:true. (For
 speed of execution, I would prefer to be able to just store booleans
 in the database directly, as opposed to using code to convert
 boolean values to 0's and 1's).

 CODE:

 String Id_ = 007;
 Integer age_ = 39;
 Boolean spy_ = true;

 db.execSQL(CREATE TABLE IF NOT EXISTS 
          + TABLE_NAME
          +  (Id TEXT, Age INTEGER,
          +  Spy BLOB););

 db.execSQL(INSERT INTO + TABLE_NAME + (Id, Age, Spy)
         +  VALUES (+ Id_ + ,+ age_ +,+ spy_+););

 LOGCAT:
 09-29 21:26:11.493: VERBOSE/SQLHelper-onCreate(26139): Table was
 created in SQLHelper.onCreate...
 09-29 21:26:11.493: ERROR/Database(26139): Failure 1 (no such column:
 true) on 0x7a7c8 when preparing 'INSERT INTO table1 (Id, Age, Spy)
 VALUES (007,39,true);'.

 09-29 21:26:11.503: ERROR/Database(26139): Error executing INSERT INTO
 table1 (Id, Age, Spy) VALUES (007,39,true);

 09-29 21:26:11.513: DEBUG/AndroidRuntime(26139): Shutting down VM

 If I run the same code without the boolean (i.e. only include Id
 (string) and age (integer) it works fine. I have tried using TEXT and
 INTEGER for the data-format for Spy (Id TEXT, Age INTEGER, Spy
 TEXT), without effect (not unexpected given manifest typing of
 sqlite3).  Finally, I get the same error (no such column:..) if
 instead of saving a boolean to the database, I try to save a Drawable
 (using photo BLOB syntax).

 Upon google search, the only thing I could find which was similar was
 a problem with Ruby on Rails (RoR) giving a similar SQLite3 error:
 ---
 Does sqlite3 handle booleans differently than MySQL? It seems to
 choke when I query based on a boolean. For example: In my controller,
 I have this:

 @gameweek = Gameweek.find(:first, :conditions = [ current = true
 and
 league_id = ?, @league.id ])

 In my production log, I get this error:

 ActiveRecord::StatementInvalid (SQLite3::SQLException: no such
 column:
 true: SELECT * FROM gameweeks   WHERE (current = true and league_id =
 1)
 LIMIT 1): 
 ---
 Apparently, this RoR problem is resolved by using the following
 format:
 @gameweek = Gameweek.find(:first, :conditions = [ current = ? and
 league_id = ?,true, @league.id ])

 So I tried this kind of format for android:
 {db.execSQL(INSERT INTO + TABLE_NAME +  (Id, Age, Spy) +  VALUES
 (+ Id_ + ,    + age_ +,[?,+ spy_+]););
 But this didn't work - maybe it's not quite the right syntax, maybe
 because it isn't part of a WHERE clause? I don't know.

 {Oh, I am still using 0.9SDK, but didn't think it likely related to
 that...}
 Any ideas on how to handle booleans with SQLite (or where else to
 look) would be appreciated.

 thanks,
 Jim
--~--~-~--~~~---~--~~
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: Help: How to close an App?

2008-09-30 Thread Mark Murphy

Rio Astamal wrote:
 suppose we open many app, let say 10 app (browser, contact, dialer, 
 etc), I'm not quite sure that all app not consume much memory as they 
 were closed.

Android handles that for you. If the operating system determines it 
needs RAM, it will close down your activities on an as-needed basis. 
Then, when the user tries to go back into them, it will let you restore 
your activities' states, so the user largely will not realize the 
application was ever gone.

I believe the #1 goal is for a seamless user experience. Google (hackbod 
in particular) has pointed this out many a time on the 
[android-developers] Google Group. They looked at the Windows Mobile 
model of lots-of-third-party-task-killers-needed and decided to go 
another route.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com

Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml

--~--~-~--~~~---~--~~
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: Help: How to close an App?

2008-09-30 Thread Rio Astamal
thanks mark, your explanation makes my head clear about android structure...
:)

On Tue, Sep 30, 2008 at 5:58 PM, Mark Murphy [EMAIL PROTECTED]wrote:


 Rio Astamal wrote:
  suppose we open many app, let say 10 app (browser, contact, dialer,
  etc), I'm not quite sure that all app not consume much memory as they
  were closed.

 Android handles that for you. If the operating system determines it
 needs RAM, it will close down your activities on an as-needed basis.
 Then, when the user tries to go back into them, it will let you restore
 your activities' states, so the user largely will not realize the
 application was ever gone.

 I believe the #1 goal is for a seamless user experience. Google (hackbod
 in particular) has pointed this out many a time on the
 [android-developers] Google Group. They looked at the Windows Mobile
 model of lots-of-third-party-task-killers-needed and decided to go
 another route.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com

 Android Training on the Ranch! -- Mar 16-20, 2009
 http://www.bignerdranch.com/schedule.shtml

 


--~--~-~--~~~---~--~~
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: ImageView Question

2008-09-30 Thread abiyasa

Yes.
You can change the image on the ImageView, for example, using the
setImageBitmap(). Suing the BitmapFactory, you can create the Bitmap
from input stream from socket or HTTP connection.

On Sep 30, 11:41 am, Marc Lester Tan [EMAIL PROTECTED] wrote:
 Hi all,

 Can an ImageView load its content from a remote server?

 -Marc

--~--~-~--~~~---~--~~
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] Teaching Android

2008-09-30 Thread Sabin

Hi,

I plan to teach android to my MSc Mobile Computing class. I wonder if
I can get in touch directly with someone from the Android team about
this matter.

Regards,

Sabin

--~--~-~--~~~---~--~~
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: Background Image for a (semi-transparent) List

2008-09-30 Thread [EMAIL PROTECTED]

Thanks guys for you help. (I've already rated David's answer - was a
big help!)

I also would like to know if this is possible:

A list, which is semi-transparent printed on a background image! That
background image should change when ever the device is rotated to it's
widescreen outfit. You should see the background image and also the
list entrie about it. (65% opacity)

Can someone give me some hints where to start... I've already checked
the API demos...

I'm in the early beginning of a small private project and would like
to know if it's possible to create software that has that UI... ;)

Thanks very much in advance,

Sascha

On Sep 30, 4:21 am, Zachary Becker [EMAIL PROTECTED] wrote:
 Ah ouch, spelt schemas wrong. lol.

 Thanks for the help. Seems to work now =D

 On Mon, Sep 29, 2008 at 5:17 PM, David Farler [EMAIL PROTECTED] wrote:
  Actually, Zach, I pasted everything you sent me and I also got your No
  Items! message. The problem is with your row.xml.
  Try this:

  row.xml:
  TextView xmlns:android=http://schemas.android.com/apk/res/android;
  android:id=@android:id/text1 android:paddingTop=2dip
   android:paddingBottom=3dip android:layout_width=fill_parent
  android:layout_height=wrap_content /
  :

  This is similar to Android's simple_list_item_1 layout.
  Then, remove the line:

  setContentView(R.layout.main);

  The content view is already being set when connecting this class to the
  ArrayAdapter. Resetting it to main will make it blank.

  Hope this helps,
  David

  On Mon, Sep 29, 2008 at 3:43 PM, Zachary Becker [EMAIL PROTECTED] wrote:

  I am having a similar issue.

  I tried you suggestion but my list just shows up empty.

  I think my problem might be in my XML.

  Here is my code

  simplelist.java
  ===
  package zach.test.simplelist;

  import android.app.ListActivity;
  import android.os.Bundle;
  import android.widget.ArrayAdapter;

  public class SimpleList extends ListActivity {
  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);

  String[] StringArray = { Hello, World!, Foo Bar, Blah Blah
  Blah };
  ArrayAdapterString StringAdapter = new
  ArrayAdapterString(this, R.layout.row, StringArray);
  // setListAdapter(StringAdapter);// crashes program on startup
  getListView().setAdapter(StringAdapter);// program starts
  fine, but list shows empty

  setContentView(R.layout.main);
  }
  }

  main.xml
  ===
  ?xml version=1.0 encoding=utf-8?
  LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;
android:layout_width=wrap_content
android:layout_height=wrap_content
  ListView android:id=@+id/android:list
android:layout_width=wrap_content
android:layout_height=wrap_content /
  TextView android:id=@+id/android:empty
android:layout_width=wrap_content
android:layout_height=wrap_content
android:text=No Items! /
  /LinearLayout

  row.xml
  =
  ?xml version=1.0 encoding=utf-8?
  TextView xmlns:android=http://schemes.android.com/apk/res/android;
android:id=@+id/text1
android:layout_width=wrap_content
android:layout_height=wrap_content /

  On Mon, Sep 29, 2008 at 11:12 AM, David Farler [EMAIL PROTECTED] wrote:

  Hi Sascha,
  I'm not an expert yet at this, but I did look into your problem. Perhaps
  you are forgetting to use the ListActivity's own ListView? Code below 
  should
  work.

  package com.android.hello;

  import android.app.ListActivity;
  import android.os.Bundle;
  import android.widget.ArrayAdapter;

  public class HelloAndroid extends ListActivity {
 /** Called when the activity is first created. */
 @Override
 public void onCreate(Bundle savedInstanceState) {
 super.onCreate(savedInstanceState);

 String[] someStringArrayThatShouldWork = {Test1, Test2,
  Test3};

 ArrayAdapterString aAdapter = new ArrayAdapterString(this,
  android.R.layout.simple_list_item_1, someStringArrayThatShouldWork);
 getListView().setAdapter(aAdapter);
 }
  }

  Hope this helps,
  David

  On Mon, Sep 29, 2008 at 11:09 AM, [EMAIL PROTECTED] 
  [EMAIL PROTECTED] wrote:

  Hi fellows,

  first of all, please don't hit me for asking stupid question. :) I'm
  quite a novice when it comes to Java (J2EE, J2ME, J2SE), but I'm a
  totally n00b when it comes to android. The tutorials are very helpful
  although I needed several tries to get a ListActivity working (using a
  ListAdapter)... my approach to just display an array of Strings didn't
  work... That should have been the easiest solution, since I have a
  fixed number of items to display in the list...

  This is what I did:

  

[android-beginners] Re: Button added to XML layout, it crashes!

2008-09-30 Thread Mark Murphy

sAmUrAi wrote:
 I've got a simple app with just two autocompletetextviews in a
 linearlayout... as soon as I add a button to it, the application
 crashes on startup (and emulator)
 
 Button android:id=@+id/btn_submit
   android:text=Get Details /
 
 That's the button and it IS being added under the linear layout just
 right. I've worked with Flex a lot but I'm new to Java and Android, so
 feel free to get complicated if need be.
 
 Android throws a process closed unexpectedly error... I don't know how
 to debug a java app that well, so let me know what to look for in the
 debugger.

The biggest thing you need right now is the stack trace, showing the 
point of the error and what specifically went wrong. You can get that 
either via the adb utility (adb logcat *:E) or via DDMS. Both of these 
are written up in the online Android documentation:

http://code.google.com/android/intro/tools.html

If you get the stack trace and still don't know why it's crashing, post 
the trace, your full layout XML, and the Java code where you're using it 
(e.g., onCreate()), and we may be able to help further.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.3 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: ImageView Question

2008-09-30 Thread Mark Murphy

Marc Lester Tan wrote:
 However, isn't this consuming a lot of memory?

Yes.

 It might cause a problem when loading large number of images.

Yes. Of course, that's the case no matter where the images come from. If 
they were on the SD card, for example, they still have to be loaded into 
memory for display purposes.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.3 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] Any good Book on Android?

2008-09-30 Thread Marc Lester Tan
Hi folks,

Any suggestion for a nice, newbie-friendly Android book?

-Marc

--~--~-~--~~~---~--~~
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: Any good Book on Android?

2008-09-30 Thread Mark Murphy

Marc Lester Tan wrote:
 Any suggestion for a nice, newbie-friendly Android book?

I like mine. But, then again, I'm biased. :-)

http://commonsware.com/Android/

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.3 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: Any good Book on Android?

2008-09-30 Thread niksbin


BTW, I forgot to mention a good thread (for newbies, at least) that I
was reading.  I have included the link for it below:

http://groups.google.com/group/android-beginners/browse_thread/thread/c2e12d2e202b24fa/834ce23569bb4b74#834ce23569bb4b74

It should give you a good start.

Hope this helps.

- Nikhil

On Sep 30, 8:24 am, niksbin [EMAIL PROTECTED] wrote:
 Hi,

 I am reading a good book that I'd like to mention.  It is called 'Java
 5: A Beginner's Tutorial'.  It is an easy to read book has questions
 at the end of each chapter, as well as sample code (Java logic) that
 you can analyze and practice with.  The link for the book is below.

 http://www.amazon.com/Java-5-Beginners-Tutorial-Brainysoftware/dp/097...

 Unfortunately, it is not specific to Android, but it is good for
 learning Java.

 Hope this helps.

 Sincerely,
 Nikhil

 On Sep 30, 7:57 am, Mark Murphy [EMAIL PROTECTED] wrote:



  Marc Lester Tan wrote:
   Any suggestion for a nice, newbie-friendly Android book?

  I like mine. But, then again, I'm biased. :-)

 http://commonsware.com/Android/

  --
  Mark Murphy (a Commons Guy)http://commonsware.com
  _The Busy Coder's Guide to Android Development_ Version 1.3 Published!- 
  Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
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: ImageView Question

2008-09-30 Thread abiyasa

Yes.

You can change the image of the ImageView, for example, using the
method setImageBitmap().
Using the BitmapFactory, The Bitmap can be created from the Socket or
HTTP stream.

On Sep 30, 11:41 am, Marc Lester Tan [EMAIL PROTECTED] wrote:
 Hi all,

 Can an ImageView load its content from a remote server?

 -Marc

--~--~-~--~~~---~--~~
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: Preferences Error

2008-09-30 Thread David Farler
That sounds like a problem with eclipse. Did you install from repositories?
I recommend upgrading to Eclipse 3.4 Ganymede directly from the
eclipse.orgwebsite. Just keep the extracted eclipse folder wherever is
convenient for
you. Also, apt-get remove your current eclipse installation before starting
any serious work. Your Java JDK should be sufficient.
Follow these instructions for installation with 3.4 and you should be good
to go. I have tested on vanilla Hardy.
http://code.google.com/android/intro/installing.html

Best,
David



On Tue, Sep 30, 2008 at 1:04 AM, nzkronic [EMAIL PROTECTED] wrote:


 Hi all,

 I get the following error when opening the android section of the
 elcipse preferences window.

 Unable to create the selected preference page.

 org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
 $TerminatingClassNotFoundException

 Details

 Unable to create the selected preference page.
 An error has occured while automatically activating bundle
 com.android.ide.eclipse.adt (581)


 Any help here is appreciated.
 Using Ubuntu 8.04
 JDK = java-6-sun-1.6.0.06
 Eclipse 3.41


 


--~--~-~--~~~---~--~~
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] difference between Linearlayout and Relativelayout

2008-09-30 Thread TheEarthquakE

Hi

I`ve  just started learning Android programming.

I wanna know about differences between LinearLayout and
RelativeLayout.

I hope that someone can answer to my question.

thanks for read this.

--~--~-~--~~~---~--~~
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] Emulator problems :(

2008-09-30 Thread Jonathan

Hey im thinking of doing something with android for my final year
project in college, ive downloaded the sdk and installed the plugin in
eclipse but then when i run a program (like the simple hello world
one) the emulator will appear but wont display hello world or do
anything else. Can someone please help me? :( do i need to do some
other configurations or something like that.

Thanks in advance

J :D

--~--~-~--~~~---~--~~
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: Help creating .bash_profile (Mac)

2008-09-30 Thread David Farler
Hi Nathan,
First of all, adding the tools folder to the path is optional. It will just
allow you to run the command-line tools in that folder without having to
cd there.

Files that start with a . are hidden in Unix and Linux based operating
systems.

Bash is the shell that is used by many Unix and Linux distributions,
including Mac OS X. I recommend you read:

Using the OS X Leopard Command Line (
http://www.informit.com/articles/article.aspx?p=1144082seqNum=1)
http://www.informit.com/articles/article.aspx?p=1144082seqNum=1
and

Bash By Example
(http://www.ibm.com/developerworks/library/l-bash.html)
http://www.ibm.com/developerworks/library/l-bash.html

and get comfortable working with it. It will greatly enhance your powers.
(And who doesn't want their power enhanced?)  Also, you may want to do some
googling for bash tutorials in Mac OS X in general.

Unless you have a customized Finder, you will need to open the Terminal
application in Applications/Utilities. You probably won't be able to see
dot-files in the Finder. Once you have Terminal running, you'll have a
'bash' command line at your home folder I think. Once there,

ls -a

And see if there is a .bash_profile in your home folder. If there isn't:

touch .bash_profile

This will create a blank file if there is none. Then,

open -e .bash_profile

This will open it in TextEdit. Add the following line:

export PATH=${PATH}:*your_sdk_dir*/tools

Where your_sdk_dir is the full path to the android sdk folder (type
carefully, removebrackets).

For example, if the android folder is in the eclipse folder on your Desktop,
it would be:

export PATH=${PATH}:/Users/David/Desktop/eclipse/
android-sdk-mac_x86-1.0_r1/tools

Save and quit.

When you are ready to continue installing the android SDK, keep reading:
http://code.google.com/android/intro/installing.html

Cheers and may your powers be enhanced greatly,
David



On Mon, Sep 29, 2008 at 10:57 PM, nathan [EMAIL PROTECTED] wrote:


 Hello Android Beginners group,

 I would like to try and develop simple apps for android but I am
 unfamiliar with terminal on macs (or any other shell system) I only
 know simple commands like cd, ls and mkdir. Could someone please help
 me with the command lines that I need to use to create a bash profile
 like the installation guide @ code.google.com/android recommends I do?

 


--~--~-~--~~~---~--~~
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] Re: wat is the best way to get started?

2008-09-30 Thread niksbin


Sure, no problem.

I would suggest first download the tools.  I have listed them below:

   1. Eclipse 3.3 or 3.4 (I believe either one will work).  This is
the IDE or editor
that you use to type your Java logic in.

   2. Java Runtime Environment/Java Virtual Machine (JVM) - this is
the engine or framework that your logic works with.

   3. ADT/JDT plugin for Eclipse

   4. Android 1.0 SDK (Software Development Kit)

These can be downloaded from the following link (unfortunately, I
haven't tried it myself, but you can always get help here):
http://code.google.com/android/intro/installing.html

The step-by-step instructions are there as well.  Here is the exact
link for the user guide:
http://code.google.com/android/intro/index.html

 -
Next,
When your editors, etc are working then take a step-by-step
approach to completing your project.

Some recommendations,
 Start small:  1) create mini apps with 1 or 2 lines of code
(like displaying 'Hello World' on your screen)
   then   2) add simple logic that is easy to do
(like adding an If/Then statement;  see the below example of a car
making a right turn:

 
IF 'car' is in right lane AND 'traffic light' is green Then 'make
right turn'
  The logic for this might
be: IF 'Lane' = right AND TrafficLight = green THEN Turn = right


 Like this,  keep adding more logic/code and soon will
get good at it.  You can read a book also, but be sure that you keep
practicing, as you may know (this applies to anything) that your
program will work, you just need to understand if and what is the
problem when you run into a predicament.

Here is the book I'm reading. It is very good:
 
http://www.amazon.com/Java-5-Beginners-Tutorial-Brainysoftware/dp/0975212850/ref=pd_bbs_sr_1?ie=UTF8s=booksqid=1222777057sr=8-1

Lastly, you may want to read the posts at this thread:
   
http://groups.google.com/group/android-beginners/browse_thread/thread/c2e12d2e202b24fa/d6b7d16335ca6322#d6b7d16335ca6322

Let us know if you have any questions.

Hope this helps.

Good Luck,  :-)

Sincerely,
Nikhil


On Sep 30, 6:57 am, dilu [EMAIL PROTECTED] wrote:
 hi
 please help me.
 what is the best way to get started for developing any android
 application.
 i m new to dis field.
 shall i first read java and then move ahead?or wat to do?just advice
 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: 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] Re: Adding a new app developed in J2ME to Android SDK 1.0

2008-09-30 Thread Dana Li
Hi, Vinay,

We plan to support the major J2ME JSRs. Any particular JSR you need to use ?
Thanks,

Dana
On Mon, Sep 29, 2008 at 4:46 PM, vinay [EMAIL PROTECTED] wrote:


 Hi Dana,

 What are the JSR's Supported by Android 1.0 supports?

 Thanks,
 Vinay

 On Sep 29, 9:11 am, Dana Li [EMAIL PROTECTED] wrote:
  Hi Kirti,
 
  It will handle the same way. The reason I ask for URL is because I could
  test it on my machine. If you don't have a URL, you could send me the
  jad/jar, I could test for you.
 
  Thanks
  Dana
  (408)368-6618
 
  On Mon, Sep 29, 2008 at 12:24 AM, Jayalaxmi Vaman Telang 
 
 
 
  [EMAIL PROTECTED] wrote:
   Thank you. So I assume the current plug-in is available
 only
   for 0.9 and currently work is ongoing for 1.0.
 
   But I definitely dint understand you Q….'Does your J2ME jad/jar has a
   URL?'
 
   Is this question linked to porting of J2ME application to Android.
 Meaning
   to say whether a application
 
   With URL and a application without URL are handled in different ways
 while
   porting to Android??
 
   Please clarify.
 
   Thanks,
 
   kirti
 
   -Original Message-
   *From:* android-beginners@googlegroups.com [mailto:
   [EMAIL PROTECTED] *On Behalf Of *Dana Li
   *Sent:* Monday, September 29, 2008 11:03 AM
   *To:* android-beginners@googlegroups.com
   *Subject:* [android-beginners] Re: Adding a new app developed in J2ME
 to
   Android SDK 1.0
 
   Thanks, We are working for the 1.0 port now, should be ready early next
   week.
 
   Does your J2ME jad/jar has a URL?
 
   Regards,
 
   Dana
 
   On Sun, Sep 28, 2008 at 8:50 PM, kirti [EMAIL PROTECTED]
   wrote:
 
   Hi,
 I have anew app developed in J2ME. I want to have the same app
   integrated and running on Android SDK1.0
   I read that new version of Android J2ME MIDP RUNNER can be used for
   the same.
   Please confirm whether it is applicable for Android 1.0 as well.
   Regards,
   Kirti
 
   br
 
  --
  Dana
  



-- 
Dana

--~--~-~--~~~---~--~~
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] Synaptic Adds Multitouch Gestures to Track pads

2008-09-30 Thread Robert

I just checked my RSS feeds, and came across this little goody.  It
says that this works with any existing track pads with a simple OEM
update, and while it doesn't mention Touch Screens, it does
specifically mention the G1 in the article, so I think that multitouch
for G1s is a bit closer then we think?

Unless of course its a patent issue for touchscreens to have
multitouch, then I think this is exciting news
--~--~-~--~~~---~--~~
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: Emulator problems :(

2008-09-30 Thread twilightwolf90

I have been having this problem too (I am running WinXP Eclipse 3.4
with plugin... off of an external HD)... but after waiting a time
(about 1 minute), the Hello World comes up.

In other words, try letting it run in the background, play around the
webs (read some Android tips?), and come back to it.  That's what I
did.

Let me know if you need more help.  We will probably need some more
info on the applications and OS you are using.

On Sep 30, 8:58 am, Jonathan [EMAIL PROTECTED] wrote:
 Hey im thinking of doing something with android for my final year
 project in college, ive downloaded the sdk and installed the plugin in
 eclipse but then when i run a program (like the simple hello world
 one) the emulator will appear but wont display hello world or do
 anything else. Can someone please help me? :( do i need to do some
 other configurations or something like that.

 Thanks in advance

 J :D

--~--~-~--~~~---~--~~
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] first app ( NOT HELLO WORLD)

2008-09-30 Thread Jeff

Can anyone point me to a good tutorial that uses Eclipse. I really
want to learn how to do more thing than just type hello world. I would
love to take classes if anyone knows of some in Columbus, Ohio

--~--~-~--~~~---~--~~
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 will be the next Android phone after G1?

2008-09-30 Thread Alvaro Hernán Palacios Palacios
Will by Motorola and Sonny Ericcson.
Bye

2008/9/29 Zachary Becker [EMAIL PROTECTED]

 I am sure there will be many phones to follow, but none have been annouced
 yet. Well not as far as I have heard.


 On Sun, Sep 28, 2008 at 12:58 PM, [EMAIL PROTECTED] 
 [EMAIL PROTECTED] wrote:


 Hi guys,

 I am quite excited about android phones, but I think the first phone
 to reach the market is a bit behing the competition. I was wondering
 if anyone knows here some other company creating a new phone for
 Android, hopefully something like HTC HD, but running android instead
 (and Multi-Touch, maybe??).

 Cheers




 



-- 
Alvaro Palacios Palacios
Ingeniero Ejecución Informática
PUCV

--~--~-~--~~~---~--~~
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: Eclipse plugin link is a 404

2008-09-30 Thread Xavier Ducrohet

There's no index.html in that folder so it's normal you get a 404 in a browser.
However there is a site.xml file which is all Eclipse look for.

If you can't get to it with https, try with http.

If that still fails, download the archive at
http://code.google.com/android/adt_download.html
and install it in Eclipse as described here
http://code.google.com/android/intro/installing.html#installingplugin
under troubleshooting ADT installation

Xav

On Mon, Sep 29, 2008 at 8:18 PM, kmeisthax [EMAIL PROTECTED] wrote:

 I'm getting a 404 when I try to access 
 https://dl-ssl.google.com/android/eclipse/
 ... and of course it wont work in eclipse either. Anyone know if
 there's an alternate URL or if the server is down for some odd reason?

 


--~--~-~--~~~---~--~~
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: : Help Needed

2008-09-30 Thread jaideep

hi imran,
Tanx for the xplanation... i m also interested to work with u
guys ...
so wats ur plan .. by the way i m from india plz ... ping me we can
chat on tis ...

On Sep 26, 10:14 am, Imran [EMAIL PROTECTED] wrote:
 On Sep 25, 10:33 am, sukanto [EMAIL PROTECTED] wrote:



  Hi Jaideep / Imran,
  I believe this this kind of system is not possible to build without
  any hardware, even that will not be legal , at least in India. (no
  idea about laws in other countries)
  Actually initially i was planning to build some sort of software
  similar to yours. But we can't access the location library of BTS. All
  operator will have the location information in their BTS which general
  public have no access. You have to have some extra hardware ( i forgot
  the name ) which traces the call location and gives u the longitude
  and latitude.
  Moreover consider this scenario -
  A Vodaphone customer calling an Airtel customer,
  The call first goes to Vodaphone BTS which forwards the call to a
  Airtel switch without any location information..

  soo . as far as my knowledge
  is concerned this kind of software is not possible to build ,
  But i believe we all have the same interest to build somewhat like a
  tracer,
  may be we can work together, for something better.
  May be we can host an open source project  what u guys
  say ?

  if interested plz ping me

  regards,
  Sukanta Maikap
  [EMAIL PROTECTED]

  On Sep 20, 6:41 pm, jaideep [EMAIL PROTECTED] wrote:

   hi i too have the same doubt .. what all exactly we need to build such
   an application ...
   where to start with..?and what all requirements we need?

   On Sep 19, 2:14 pm, Imran [EMAIL PROTECTED] wrote:

 Hi Sukanta

      It was very nice Explanation man. and i am  very much
 interested in doing such kind of project...
       i  am ready to work with u..  lets see any  other guys are
 intrested in this...
       just ping me if  u too are interested in this

 Mohd Imran
 Budding Android Develper
--~--~-~--~~~---~--~~
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: wat is the best way to get started?

2008-09-30 Thread dileep kumar

Thanks a lot nikhil.
sure in future also i would like to contact u if i get
any.

--- niksbin [EMAIL PROTECTED] wrote:

 
 
 Sure, no problem.
 
 I would suggest first download the tools.  I have
 listed them below:
 
1. Eclipse 3.3 or 3.4 (I believe either one will
 work).  This is
 the IDE or editor
 that you use to type
 your Java logic in.
 
2. Java Runtime Environment/Java Virtual Machine
 (JVM) - this is
 the engine or framework that your logic works with.
 
3. ADT/JDT plugin for Eclipse
 
4. Android 1.0 SDK (Software Development Kit)
 
 These can be downloaded from the following link
 (unfortunately, I
 haven't tried it myself, but you can always get help
 here):
 http://code.google.com/android/intro/installing.html
 
 The step-by-step instructions are there as well. 
 Here is the exact
 link for the user guide:
 http://code.google.com/android/intro/index.html
 
  -
 Next,
 When your editors, etc are working then take
 a step-by-step
 approach to completing your project.
 
 Some recommendations,
  Start small:  1) create mini apps with 1 or
 2 lines of code
 (like displaying 'Hello World' on your screen)
then   2) add simple logic that
 is easy to do
 (like adding an If/Then statement;  see the below
 example of a car
 making a right turn:
 
  
 IF 'car' is in right lane AND 'traffic light' is
 green Then 'make
 right turn'
   The logic
 for this might
 be: IF 'Lane' = right AND TrafficLight = green
 THEN Turn = right
 
 
  Like this,  keep adding more
 logic/code and soon will
 get good at it.  You can read a book also, but be
 sure that you keep
 practicing, as you may know (this applies to
 anything) that your
 program will work, you just need to understand if
 and what is the
 problem when you run into a predicament.
 
 Here is the book I'm reading. It is very good:
  

http://www.amazon.com/Java-5-Beginners-Tutorial-Brainysoftware/dp/0975212850/ref=pd_bbs_sr_1?ie=UTF8s=booksqid=1222777057sr=8-1
 
 Lastly, you may want to read the posts at this
 thread:
   

http://groups.google.com/group/android-beginners/browse_thread/thread/c2e12d2e202b24fa/d6b7d16335ca6322#d6b7d16335ca6322
 
 Let us know if you have any questions.
 
 Hope this helps.
 
 Good Luck,  :-)
 
 Sincerely,
 Nikhil
 
 
 On Sep 30, 6:57 am, dilu
 [EMAIL PROTECTED] wrote:
  hi
  please help me.
  what is the best way to get started for developing
 any android
  application.
  i m new to dis field.
  shall i first read java and then move ahead?or wat
 to do?just advice
  me.

 
 



  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/


--~--~-~--~~~---~--~~
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-30 Thread Zachary Becker
The eclipse plugin does a lot of things.

It lets you set up a run configuration so that it will load your program in
the android emulator when you are testing it.
It updates your resources class whenever you add new stuff.
It sets up a basic template program for you to start with.

And I am sure a bunch of other things that I probably take for granted, due
to the fact I haven't tried programming android without it. However, I am
sure I would be lost without it.

On Tue, Sep 30, 2008 at 9:24 PM, Morisato13 [EMAIL PROTECTED] wrote:


 I'm sorry, but what exactly does the eclipse plugin do? There's a
 tidbit about it in the FAQs stating that it makes creating apps for
 Android easier, but what does it actually do that makes it easier? Is
 it the conversion tool that converts Java to Dalvik? Is it a GUI that
 does coding in Java without actually typing out Java code (kind of
 like VB where you have windows and such and you move them around and
 set value having it do the real coding behind the scenes)? Or is it
 something completely different?

 On Sep 30, 9:38 am, David Farler [EMAIL PROTECTED] wrote:
  You are correct. First, your files are compiled as true java class files.
  The Java bytecode gets converted to the dex format by the dx utility.
 So,
  while it's not technically Java at the end, all of the rules of
  programming java should apply. This is why using Eclipse is such a huge
  plus. It's Java language integration is very good.
  If you want to get on a Java forum, you can try Sun's Java forum:
 
  Java Beginners:http://forums.sun.com/forum.jspa?forumID=54
 
  Java Programming in General:http://forums.sun.com/forum.jspa?forumID=31
 
  Cheers,
  David
 
  On Tue, Sep 30, 2008 at 3:50 AM, Morisato13 [EMAIL PROTECTED]
 wrote:
 
   Thanks. I'm reading #4 right now.
 
   Now I was watching the featured video on the andriod home page with
   Jason Chen, and one of the questions in the QA section of the video
   made Jason clarify that Android is not Java, applications are written
   in Java programming language, but Android is Dalvic bicode... now,
   with that said, is there anything that I would learn while learning
   Java that does not or can not be applied to programming applications
   for Android? I'm guessing no because from my guess, what happens is
   you code in Java and it gets baked into whatever Dalvic bicode is for
   android to recognize it... but I just want someone who knows to
   answer.
 
   Also, are there any forums that specifically help noobs with noob java/
   programming questions? I'd ask them here but it seems this forum is
   really for Android related questions.
 
   On Sep 29, 3:52 am, David Farler [EMAIL PROTECTED] wrote:
Hi Morisato,
Since you'll be programming in Java for Android, I recommend you
 start
practicing with it. Java is a good place to start in many cases.
 Check
   out
the following books from your library or college library:
 
1. Absolute Java by Walter Savitch (3rd edition)
2. Java Foundations: Introduction to Program Design and Data
 Structures
   by
John Lewis
3. Also check out this free online course offered by MIT (you don't
 have
   to
register):
Introduction to Computer Science and Programming
  http://ocw.mit.edu/OcwWeb/Electrical-Engineering-and-Computer-Science.
 ..
4. A free online book: Thinking in Java by Bruce Eckel:
  http://www.mindview.net/Books/TIJ/
5. And don't forget the official Java API:
  http://java.sun.com/javase/6/docs/api/
 
All of these resources should get you started. Remember that
 programming
   is
more than just memorization. Try to use first principles by
 understanding
how a computer (or virtual machine in this case) is doing its job.
 Once
   you
understand the core of it, you can program in any language.
 
All of the suggestions above assume no previous knowledge (except
 number
   5,
but take a look at it anyway). Don't get discouraged. Programming can
 be
hard, but remember that sometimes people make it hard because they
 don't
remember what it's like to be a beginner. You should feel lucky that
   Google
has done such a good job on documenting how to get started. Try to
 have
   fun.
 
 The first two books can be expensive (try to buy used) but they are
   pretty
good. Don't forget to check your local library and ask if they have a
state-wide book sharing program. Maybe another library will lend it
 to
   them.
If you have trouble and can't get a book, get in touch with me. I'll
 be
happy to send you one of mine, I have extra copies.
 
My most important advice: DOCUMENT CLEARLY AND ALWAYS PLACE COMMENTS
 IN
   YOUR
CODE.
 
Best of luck,
David
 
On Mon, Sep 29, 2008 at 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 

[android-beginners] Any sample application in Android SDK using HTTP Class.

2008-09-30 Thread kirti

I was going through the SDK 1.0 for network api support for HTTP.
There are lot of classes available.For exmple.
AbortableHTTPRequest
Abstract HTTPClient
Abstract HTTPClientConnection
Abstract HTTPEntity
Abstract HTTPMessage
Abstract HTTPParams
Apart from these lot of indirect classes are also provided.

Can anyone suggest me what is the basic set of classes which needs to
be implemented for HTTP client. Is there any sample application
provided in SDK which uses these HTTP classes



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