[android-beginners] Re: Why won't Intent pass along the extras

2009-03-12 Thread frizzo

Can you post an example by any chance?

On Mar 11, 10:25 pm, frizzo rg...@vbrad.com wrote:
 I have no idea whether it's a better choice or not.  I asked the
 question here as to how to do it and was given Parcelable as the
 answer.  I'll give it a try withserializable.

 On Mar 11, 6:36 am, Steven Farley srfar...@gmail.com wrote:

  I have done this succesfully with aSerializableobject added with
  Intent#putExtra(String,Serializable).  Is there some reason why
  Parcelable is a better choice in your case?

  ++Steve

  On Mar 11, 1:45 am, frizzo rg...@vbrad.com wrote:

   I have a class object that I want to pass from one screen to another.
   So I made it inherit from Parcelable and added the following code to
   my class:

   public class ItemDescription implements Parcelable {
          /// property setters and getters

           public int describeContents() {
                   // TODO Auto-generated method stub
                   return 0;
           }

           public void writeToParcel(Parcel out, int flags) {
                   out.writeInt(mData);
           }

           public static final Parcelable.CreatorItemDescription CREATOR = 
   new
   Parcelable.CreatorItemDescription() {
           public ItemDescription createFromParcel(Parcel in) {
               return new ItemDescription(in);
           }

           public ItemDescription[] newArray(int size) {
               return new ItemDescription[size];
           }
       };

   }

   In response to an event, I do kick off another screen (Intent) and put
   extras into it:

           Intent mIntent = new Intent(v.getContext(), Item.class);

           Parcelable itemDesc = getItemDescription(preset);  // returns
   ItemDescription
           mIntent.putExtra(com.vbrad.android.mystapp.item1, itemDesc);
           startActivity(mIntent);

   In the onCreate event of this new activity, I attempt o retrieve the
   contents of the itemDesc object in the following manner:

           Intent intent = getIntent();
           Parcelable p = intent.getParcelableExtra(com.vbrad.android.
   mystapp.item1);
           ItemDescription itemDesc = (ItemDescription) p;

   However, the itemDesc object is unpopulated - all the internal
   variables are at default values (e.g. 0 for numeric types, null for
   everything else).  It's like it was just created.

   What am I missing here?

   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
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 design question

2009-03-12 Thread frizzo

Ahh, understood.  Having said that, perhaps in the next rev, it'd be
good include a shortcut for in-process activity changes.

Regards

On Mar 11, 6:18 am, Jean-Baptiste Queru j...@android.com wrote:
 The reason is that the activities in question might live in different
 processes, and therefore the parameters that are passed to
 startActivity might have to be marshalled across virtual machines,
 across processes (and across UIDs).

 JBQ



 On Tue, Mar 10, 2009 at 10:52 PM, frizzo rg...@vbrad.com wrote:

  The system in place to pass information between the screens... I am
  confused why the team chose to reinvent the wheel via the putExtras
  methods.  Instead of making the transport objects inherit from
  Parcelable and the like, why not just use Java's OO strength and set
  objects to Activities themselves.  For instance, like this:

  class Caller extends Activity {
    public on buttonClick() {
           ThisScreen ts = new ThisScreen();
           ts.SetCustomValue(10);

           startActivity(ts)
    }
  }

  class ThisScreen extends Activity {
    public void onCreate() {
        txtBox.setText(Integer.toString(i));
    }

    public void SetCustomValue (int i) {
             ...
    }
  }

  Instead we are having to unnecessarily learn new concepts.  Was there
  a compelling reason to implement it they it's implemented that I am
  not seeing?

  Thanks.

 --
 Jean-Baptiste M. JBQ Queru
 Android Engineer, Google.

 Questions sent directly to me that have no reason for being private
 will likely get ignored or forwarded to a public forum with no further
 warning.
--~--~-~--~~~---~--~~
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: Can someone make me an app?

2009-03-12 Thread Gulfam

Hi,

What is your valid email id? I have tried at this
(azoncig...@gmail.com )
but not able to send mail to you

Thanks
Gulfam

On Mar 11, 5:27 pm, AzonCigars.com azoncig...@gmail.com wrote:
 I would like someone to make an app for me.  I am willing to pay for
 it and hope to list it on the android market.  The app would be a
 niche app, only downloaded by certain people.  If you are interesting
 in making the app for me please email 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
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Can someone make me an app?

2009-03-12 Thread Gulfam

You can communicate with me at (gulfa...@gmail.com)

On Mar 12, 12:01 pm, Gulfam gulfa...@gmail.com wrote:
 Hi,

 What is your valid email id? I have tried at this
 (azoncig...@gmail.com )
 but not able to send mail to you

 Thanks
 Gulfam

 On Mar 11, 5:27 pm, AzonCigars.com azoncig...@gmail.com wrote:

  I would like someone to make an app for me.  I am willing to pay for
  it and hope to list it on the android market.  The app would be a
  niche app, only downloaded by certain people.  If you are interesting
  in making the app for me please email 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
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Can someone make me an app?

2009-03-12 Thread Gulfam

i have got Your email id.

On Mar 12, 12:02 pm, Gulfam gulfa...@gmail.com wrote:
 You can communicate with me at (gulfa...@gmail.com)

 On Mar 12, 12:01 pm, Gulfam gulfa...@gmail.com wrote:

  Hi,

  What is your valid email id? I have tried at this
  (azoncig...@gmail.com )
  but not able to send mail to you

  Thanks
  Gulfam

  On Mar 11, 5:27 pm, AzonCigars.com azoncig...@gmail.com wrote:

   I would like someone to make an app for me.  I am willing to pay for
   it and hope to list it on the android market.  The app would be a
   niche app, only downloaded by certain people.  If you are interesting
   in making the app for me please email 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
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: EditText appearance

2009-03-12 Thread Mr.No

Can i assigne a colorstate list to the background?
And how do i change the bordercolor when the edittext gains the focus,
without placing a backgroundimage?

Tseng schrieb:
 You could create a colorstate list (xml file in res/drawable), for
 example
 http://developer.android.com/reference/android/content/res/ColorStateList.html

 Here is an example i used for textcolors. Should work for HintColors
 too!

 res/drawabale/myedittextcolors.xml:

 ?xml version=1.0 encoding=utf-8?
 selector xmlns:android=http://schemas.android.com/apk/res/android;
 item
   android:state_focused=true
   android:state_pressed=false
   android:color=@android:color/secondary_text_dark /
 item
   android:state_focused=true
   android:state_pressed=true
   android:color=@android:color/secondary_text_dark /
 item
   android:state_focused=false
   android:state_pressed=true
   android:color=@android:color/secondary_text_dark /
 item
   android:color=@android:color/secondary_text_dark /
 /selector

 Now you only have to assign it to your EditText widget.

 Edit the XML and change

 android:textColorHint=#FF

 to

 android:textColorHint=@drawable/myedittextcolors

 and it should work. This is usefull if you want to have different
 colors depending on the state of the edittext (i.e. if its focused,
 clicked, etc).

 For one color,
 use android:textColorHint=#FF or android:textColorHint=@color/
 mycustomcolor if you have defined your color in /res/values/
 colors.xml







 On Mar 10, 11:30 am, Mr.No f.hi...@arcor.de wrote:
  Hello,
  how do i change the size, style, typeface of a hint?
  If the EditText gains the focus the border-color changes to orange,
  how do i set a other color?
 
  rgds
         Mr.No
--~--~-~--~~~---~--~~
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] Opening pdf and office file

2009-03-12 Thread Pankaj Bisaria
Hello friends

I have a question. Presently I am working on an application where I have to
open various types of files. The type includes .txt, .pdf, .bmp, .png ,
.doc, .xls
Can you please tell me that is there any one component which can do work for
all.

In iPhone sdk apple provided a UIWebView component. We can use this
component to open all type of file.

If in Android that component is not available then please tell me how we can
open the pdf and MSOffice files.

Thanks

Pankaj Bisaria

--~--~-~--~~~---~--~~
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: Problem with textview in a Dialog

2009-03-12 Thread Chavepeyer Geoffrey

Found the problem :
I needed to call the findViewById() method on the dialog like this :

TextView tv = (TextView) d.findViewById(R.id.TextView01);

and not like this :

TextView tv = (TextView) findViewById(R.id.TextView01);

Geoffrey.

On 11 mar, 09:09, Chavepeyer Geoffrey gchavepe...@gmail.com wrote:
 Nobody to help me ?

 On Mar 10, 11:30 am, Chavepeyer Geoffrey gchavepe...@gmail.com
 wrote:



  So, I've created a test case but still encounter the same problem:

  package be.geoc.DialogTest;

  import android.app.Activity;
  import android.app.Dialog;
  import android.os.Bundle;
  import android.view.View;
  import android.widget.Button;
  import android.widget.TextView;

  public class Dialog_Test extends Activity {
      /** Called when the activity is first created. */
      @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.main);

          Button b = (Button) findViewById(R.id.Button01);

          b.setOnClickListener(new View.OnClickListener(){

                          public void onClick(View arg0) {
                                  Dialog d = new Dialog(Dialog_Test.this);
                          d.setContentView(R.layout.meeting_detail);

                          TextView tv = (TextView) 
  findViewById(R.id.TextView01);
                          System.out.println(tv);
                          tv.setText(TEST);

                          d.show();

                          }

          });
      }

  }

  And the 2 xml layout files :
  main.xml :

  ?xml version=1.0 encoding=utf-8?
  LinearLayout xmlns:android=http://schemas.android.com/apk/res/
  android
      android:orientation=vertical
      android:layout_width=fill_parent
      android:layout_height=fill_parent
      
  TextView
      android:layout_width=fill_parent
      android:layout_height=wrap_content
      android:text=@string/hello android:id=@+id/TextView/
  Button android:id=@+id/Button01 android:layout_width=wrap_content
  android:layout_height=wrap_content android:text=Ouvrir le dialog/
  Button
  /LinearLayout

  and meeting_detail.xml :

  ?xml version=1.0 encoding=utf-8?
  LinearLayout xmlns:android=http://schemas.android.com/apk/res/
  android
      android:orientation=vertical
      android:layout_width=fill_parent
      android:layout_height=fill_parent
      

  TextView android:id=@+id/TextView01
  android:layout_width=wrap_content
  android:layout_height=wrap_content/TextView
  /LinearLayout

  Is anyone able to help me ?
  Thanks a lot !!!

  Geoffrey
--~--~-~--~~~---~--~~
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: EditText appearance

2009-03-12 Thread Mr.No

thx a lot :)

On 10 Mrz., 11:30, Mr.No f.hi...@arcor.de wrote:
 Hello,
 how do i change the size, style, typeface of a hint?
 If the EditText gains the focus the border-color changes to orange,
 how do i set a other color?

 rgds
        Mr.No
--~--~-~--~~~---~--~~
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: Opening pdf and office file

2009-03-12 Thread Mark Murphy

Pankaj Bisaria wrote:
 If in Android that component is not available then please tell me how we
 can open the pdf and MSOffice files.

Buy programs that run on Android that open PDF and MS Office files. I
know there are PDF viewers available, and I seem to recall DataVis was
going to be releasing MS Office viewers at some point for Android.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training in Sweden -- http://www.sotrium.com/training.php

--~--~-~--~~~---~--~~
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: Opening pdf and office file

2009-03-12 Thread Jason Van Anden
I still have not come across a descent pdf reader for Android.  I would like
to find one so I can read Mark's books on the subway (actually).  If anyone
has a good recommendation ... last I checked the ones in the market are not
ready for prime time.

i++

On Thu, Mar 12, 2009 at 8:00 AM, Mark Murphy mmur...@commonsware.comwrote:


 Pankaj Bisaria wrote:
  If in Android that component is not available then please tell me how we
  can open the pdf and MSOffice files.

 Buy programs that run on Android that open PDF and MS Office files. I
 know there are PDF viewers available, and I seem to recall DataVis was
 going to be releasing MS Office viewers at some point for Android.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com
 Android Training in Sweden -- http://www.sotrium.com/training.php

 


--~--~-~--~~~---~--~~
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: Opening pdf and office file

2009-03-12 Thread Mark Murphy

Jason Van Anden wrote:
 I still have not come across a descent pdf reader for Android.  I would
 like to find one so I can read Mark's books on the subway (actually). 

Well, what you *really* need is for me to get off my bleep and add
EPUB editions. Then, FBReaderJ, or maybe some future port of Stanza, or
something should be able to read them.

I'm not aware of a Mobipocket reader for Android; otherwise, you could
try using the Kindle editions with that.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training in Sweden -- http://www.sotrium.com/training.php

--~--~-~--~~~---~--~~
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] Invalid Phone Numbers Problem [SOLVED]

2009-03-12 Thread mafro

Thought I'd post this issue since I've run into it since I got my new
G1. There must be others who have this problem..

I moved all my numbers across via my SIM card. It seems the SIM
cropped all the pluses (+) from the front of all numbers with +447...
in my contacts. (+44 is UK code).

Now, a +447.. number is valid, and a 07.. number is valid, but a 447..
number is NOT!!

This I did not know. Now I need to fix 100+ numbers in my contacts.

Further to this, and G1 specific:
In Messaging if I send a message to a 07.. number it goes in a new
thread. The reply will always (I think) come back with +447.. as the
prefix. This means it starts its own new thread! Annoying at best.

I would recommend everyone change their numbers to use the correct
+blah.. country prefix.

Also, the Messaging app could be a bit cleverer with parsing number
prefixes when it comes to threading up messages . Android dev team
reading??

mafro
--~--~-~--~~~---~--~~
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: textview '\n' not causing carraige return

2009-03-12 Thread NFSpeedypur

Thats true and I have tested using a \r in there but it is on the
android emulator.  Its just odd because at one point it was working
fine.  I can make a new string and put a \n in and it works fine.  It
just does not like the one that is taken out of the database.  I have
tried both importing in my own database and creating a new one with
one row and both will not work.  Is there a setting on the Textview
that can disable this?

David

On Mar 12, 7:01 am, Mark Murphy mmur...@commonsware.com wrote:
 NFSpeedypur wrote:
  I am very confused.  I have brought in data from a database in a
  string format.  This data is something like Hello\nThis is a Test
  But it is not the '\n' as a carriage return and I am not sure why.  If
  I add another part to the string with like ... string + \nHello it
  works fine with the \n.  So I am assuming that somehow it is
  bringing in the \n as 2 characters from the database instead of 1.

 Bear in mind that newlines in Windows are \r\n, whereas in Linux and
 OS X they are \n.

 I do not know if that relates to your issue, but it's the first thing
 that jumps to mind...

 --
 Mark Murphy (a Commons Guy)http://commonsware.com
 Android Training in Sweden --http://www.sotrium.com/training.php
--~--~-~--~~~---~--~~
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 file input / output tutorial

2009-03-12 Thread superjet

Sorry, this is a duplicate:
http://groups.google.com/group/android-beginners/browse_thread/thread/c5262a28a76d17d4#


On Mar 11, 5:14 pm, superjet superje...@gmail.com wrote:
 I'm new to Java/Android, can anyone recommend a tutorial on android
 that introduces reading and writing flat files?

 sj

 ps, if this is a double post, sorry, but I posted several hours ago
 and it seems it never went through.
--~--~-~--~~~---~--~~
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: Real Audio

2009-03-12 Thread Ayman El-Ghazali
I saw the specs on Wikipedia and other websites.  I don't see why there
could not be a player that plays Real Audio.  I switched from the IPhone
anticipating that I could play real audio on my G1.

On Wed, Mar 11, 2009 at 11:35 AM, Mark Murphy mmur...@commonsware.comwrote:


 AA wrote:
  According to the Specs it should support Real Audio formats?!?!

 Which specs are these?

 The Android specs with respect to media formats can be found here:

 http://developer.android.com/guide/appendix/media-formats.html

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com
 _The Busy Coder's Guide to *Advanced* Android Development_ Version 0.7!

 


--~--~-~--~~~---~--~~
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: textview '\n' not causing carraige return

2009-03-12 Thread Allan Rogge de Menezes Souza
I'm a Newbie!!!

And not speak English


ALGUEM PODE ME AJUDAR

HELP ME

tenho um concurso pra participar e não sei nem o que seja Android ou que
linguagem usar

se for possível gostaria de obter alguma ideia com vcs aqui
se é que tem brasileiro aqui!
olhei o grupo brasileiro mas não tem nada e os melhores conteúdos estão aqui
se vcs puderem me ajudar eu agradeço]]



Allan Rogge


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
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] inquiry

2009-03-12 Thread Jain Romy
Note: Don't mean to double post, but I didn't see my initial post
appear.  Reposting.

Hi, I've been tasked with designing the UI for our Android app and I'm
trying to gather as much information as I can to be well informed.
Quick question...  What's the bar at the top of the screen called?
I'm trying to refer to it in some documentation and would like the
official title for it.

--~--~-~--~~~---~--~~
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] Style Attributes

2009-03-12 Thread hazlema

I have been looking for hours is there a list of attributes for styles
(ex. android:textSize, android:textColor), if so where?  Am I just
missing somthing?

--~--~-~--~~~---~--~~
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: Question regarding linearlayout

2009-03-12 Thread Dat Nguyen
Why not trying RelativeLayout?You may use android:layout_toRightOf:
@id/textf  for the button.

Dat Nguyen.

On Tue, Mar 10, 2009 at 11:26 PM, striverwang striverw...@gmail.com wrote:


 hi,all:
 I have a question regarding linearlayout(maybe other layout types)
 __
 |   textf |button  |
 |___|__|

 I want to implement above layout, firstly to place a textfield on the
 screen, and place a button on its right, the button's size is fixed,
 and I want to textfield to fill the rest space of the row.

 I want to use LinearLayout, but can not implement such UI.

 Anyboday have suggestion? 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] Re: T1-mobile developers UK

2009-03-12 Thread hendfarid

Hello Paul

a question please. the dev one you got is the same as the one in the
US?
what about 3G? does it use 2100?

I am asking because I live in egypt and I was wondring is it better to
get it via a freind in the US or in the UK?
in Egypt we use GSM 900 and 2100 for the 3G conectivity  and I want to
make sure which one would work with me.

many thanks
Hend


On Feb 21, 4:56 pm, Paul Teale pte...@gmail.com wrote:
 Cost me around £370 approx but thats dependent on the exchange rate.
 This included the cost of the phone, taxes, shipping, membership to
 developer program

 On Fri, Feb 6, 2009 at 1:46 PM, stefanobromuri stef...@cs.rhul.ac.ukwrote:





  Dear all,

  I would like to know If the deal for the T1-mobile G1 phone is valid
  also for UK developers and how much this would cost in £.

  Best Regards,

  Stefano.- 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
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Eclipse Landscape Emulator

2009-03-12 Thread Dat Nguyen
Try Ctrl + F11. May be this is what you need.

Dat Nguyen.

On Wed, Mar 11, 2009 at 5:58 PM, Kevin Phillips alowis...@gmail.com wrote:


 Hi droozen,

 In Eclipse do the following.

 Select your project
 Go to Run  Run Configuration  Then select the Target tab.
 under Emulator Launch Parameters select the Screen Size and set
 the drop down to HVGA-P.

 I just tested this and it worked for me, my app started in Landscape
 mode.

 Good luck.

 Kevin

 On Mar 11, 6:27 pm, droozen droozenr...@gmail.com wrote:
  Is there a way to launch my app from eclipse in landscape mode on the
  emulator? Or am I doomed to having it launch in portrait, so eclipse
  will build and deploy my app, then launching a landscape emulator from
  the command line?
 


--~--~-~--~~~---~--~~
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] Layout Problem Listview in Scrollview

2009-03-12 Thread guruk

Hi, (sorry if this mail is twice, but i dont see my first posting
online:)

I have a Scrollview with an Gallery at the top, bellow two lines
textview and a Listview)

1. Problem.
Listview with height=Fill_parent or wrap_content does not work (it
only shows me a tiny part of the listview)
So i did just dummy Listview Height=5300, to see how it have to look
like.
What to do, that the Listview comes automaticly full filled and shown
with all items?
Finaly when I scroll the page down, the Gallery, textview and Listview
should scroll up, all.
Thats why I placed ALL in a Scrollview.

2. As it is now (with my dummy heigth 5300), when the GUI pops up, it
does not start at the top with the
gallery, instead it starts at the Listview ???!?!

Here is my Layout xml.

?xml version=1.0 encoding=utf-8?
ScrollView
android:id=@+id/widget28
android:layout_width=fill_parent
android:layout_height=fill_parent
xmlns:android=http://schemas.android.com/apk/res/android;

LinearLayout
android:id=@+id/widget29
android:layout_width=fill_parent
android:layout_height=fill_parent
android:orientation=vertical

Gallery android:id=@+id/gallery
   android:layout_width=fill_parent
   android:layout_height=wrap_content
   android:gravity=bottom
/
TextView
   android:id=@+id/gallery_underline1
   android:layout_width=fill_parent
   android:layout_height=wrap_content
android:gravity=center_horizontal
  android:textSize=16sp
  android:textStyle=bold
  android:text=Picture Info helloo
   /
   TextView
   android:id=@+id/gallery_underline2
   android:layout_width=fill_parent
   android:layout_height=wrap_content
   android:text=Seconde Line of Picture
android:gravity=center_horizontal
   /
ListView
  android:id=@+id/shoppinglist
   android:layout_width=fill_parent
   android:layout_height=5366px /
/LinearLayout

/ScrollView

Thanks for Help

Chris

--~--~-~--~~~---~--~~
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: Layout Problem Listview in Scrollview

2009-03-12 Thread Romain Guy

Do NOT put a ListView inside a ScrollView. ListView already handles
scrolling, you're only going to run into trouble.

On Thu, Mar 12, 2009 at 4:37 AM, guruk ilovesi...@gmail.com wrote:

 Hi, (sorry if this mail is twice, but i dont see my first posting
 online:)

 I have a Scrollview with an Gallery at the top, bellow two lines
 textview and a Listview)

 1. Problem.
 Listview with height=Fill_parent or wrap_content does not work (it
 only shows me a tiny part of the listview)
 So i did just dummy Listview Height=5300, to see how it have to look
 like.
 What to do, that the Listview comes automaticly full filled and shown
 with all items?
 Finaly when I scroll the page down, the Gallery, textview and Listview
 should scroll up, all.
 Thats why I placed ALL in a Scrollview.

 2. As it is now (with my dummy heigth 5300), when the GUI pops up, it
 does not start at the top with the
 gallery, instead it starts at the Listview ???!?!

 Here is my Layout xml.

 ?xml version=1.0 encoding=utf-8?
 ScrollView
 android:id=@+id/widget28
 android:layout_width=fill_parent
 android:layout_height=fill_parent
 xmlns:android=http://schemas.android.com/apk/res/android;

 LinearLayout
 android:id=@+id/widget29
 android:layout_width=fill_parent
 android:layout_height=fill_parent
 android:orientation=vertical

 Gallery android:id=@+id/gallery
       android:layout_width=fill_parent
       android:layout_height=wrap_content
       android:gravity=bottom
 /
 TextView
   android:id=@+id/gallery_underline1
   android:layout_width=fill_parent
   android:layout_height=wrap_content
 android:gravity=center_horizontal
          android:textSize=16sp
                  android:textStyle=bold
                  android:text=Picture Info helloo
   /
   TextView
   android:id=@+id/gallery_underline2
   android:layout_width=fill_parent
   android:layout_height=wrap_content
   android:text=Seconde Line of Picture
 android:gravity=center_horizontal
   /
 ListView
      android:id=@+id/shoppinglist
   android:layout_width=fill_parent
   android:layout_height=5366px /
 /LinearLayout

 /ScrollView

 Thanks for Help

 Chris

 




-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~-~--~~~---~--~~
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: Layout Problem Listview in Scrollview

2009-03-12 Thread guruk

thanks..

just look on youtube app, they do it the same.

but i got also they limit there listview at the first page :) so i did
not the same.

thanks
chris


On Mar 12, 7:48 pm, Romain Guy romain...@google.com wrote:
 Do NOT put a ListView inside a ScrollView. ListView already handles
 scrolling, you're only going to run into trouble.





 On Thu, Mar 12, 2009 at 4:37 AM, guruk ilovesi...@gmail.com wrote:

  Hi, (sorry if this mail is twice, but i dont see my first posting
  online:)

  I have a Scrollview with an Gallery at the top, bellow two lines
  textview and a Listview)

  1. Problem.
  Listview with height=Fill_parent or wrap_content does not work (it
  only shows me a tiny part of the listview)
  So i did just dummy Listview Height=5300, to see how it have to look
  like.
  What to do, that the Listview comes automaticly full filled and shown
  with all items?
  Finaly when I scroll the page down, the Gallery, textview and Listview
  should scroll up, all.
  Thats why I placed ALL in a Scrollview.

  2. As it is now (with my dummy heigth 5300), when the GUI pops up, it
  does not start at the top with the
  gallery, instead it starts at the Listview ???!?!

  Here is my Layout xml.

  ?xml version=1.0 encoding=utf-8?
  ScrollView
  android:id=@+id/widget28
  android:layout_width=fill_parent
  android:layout_height=fill_parent
  xmlns:android=http://schemas.android.com/apk/res/android;

  LinearLayout
  android:id=@+id/widget29
  android:layout_width=fill_parent
  android:layout_height=fill_parent
  android:orientation=vertical

  Gallery android:id=@+id/gallery
        android:layout_width=fill_parent
        android:layout_height=wrap_content
        android:gravity=bottom
  /
  TextView
    android:id=@+id/gallery_underline1
    android:layout_width=fill_parent
    android:layout_height=wrap_content
  android:gravity=center_horizontal
           android:textSize=16sp
                   android:textStyle=bold
                   android:text=Picture Info helloo
    /
    TextView
    android:id=@+id/gallery_underline2
    android:layout_width=fill_parent
    android:layout_height=wrap_content
    android:text=Seconde Line of Picture
  android:gravity=center_horizontal
    /
  ListView
       android:id=@+id/shoppinglist
    android:layout_width=fill_parent
    android:layout_height=5366px /
  /LinearLayout

  /ScrollView

  Thanks for Help

  Chris

 --
 Romain Guy
 Android framework engineer
 romain...@android.com

 Note: please don't send private questions to me, as I don't have time
 to provide private support.  All such questions should be posted on
 public forums, where I and others can see and answer them
--~--~-~--~~~---~--~~
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: Layout Problem Listview in Scrollview

2009-03-12 Thread Romain Guy

YouTube does not put a ListView inside a ScrollView. They simply use a
Gallery as a header view inside a ListView.

On Thu, Mar 12, 2009 at 10:51 AM, guruk ilovesi...@gmail.com wrote:

 thanks..

 just look on youtube app, they do it the same.

 but i got also they limit there listview at the first page :) so i did
 not the same.

 thanks
 chris


 On Mar 12, 7:48 pm, Romain Guy romain...@google.com wrote:
 Do NOT put a ListView inside a ScrollView. ListView already handles
 scrolling, you're only going to run into trouble.





 On Thu, Mar 12, 2009 at 4:37 AM, guruk ilovesi...@gmail.com wrote:

  Hi, (sorry if this mail is twice, but i dont see my first posting
  online:)

  I have a Scrollview with an Gallery at the top, bellow two lines
  textview and a Listview)

  1. Problem.
  Listview with height=Fill_parent or wrap_content does not work (it
  only shows me a tiny part of the listview)
  So i did just dummy Listview Height=5300, to see how it have to look
  like.
  What to do, that the Listview comes automaticly full filled and shown
  with all items?
  Finaly when I scroll the page down, the Gallery, textview and Listview
  should scroll up, all.
  Thats why I placed ALL in a Scrollview.

  2. As it is now (with my dummy heigth 5300), when the GUI pops up, it
  does not start at the top with the
  gallery, instead it starts at the Listview ???!?!

  Here is my Layout xml.

  ?xml version=1.0 encoding=utf-8?
  ScrollView
  android:id=@+id/widget28
  android:layout_width=fill_parent
  android:layout_height=fill_parent
  xmlns:android=http://schemas.android.com/apk/res/android;

  LinearLayout
  android:id=@+id/widget29
  android:layout_width=fill_parent
  android:layout_height=fill_parent
  android:orientation=vertical

  Gallery android:id=@+id/gallery
        android:layout_width=fill_parent
        android:layout_height=wrap_content
        android:gravity=bottom
  /
  TextView
    android:id=@+id/gallery_underline1
    android:layout_width=fill_parent
    android:layout_height=wrap_content
  android:gravity=center_horizontal
           android:textSize=16sp
                   android:textStyle=bold
                   android:text=Picture Info helloo
    /
    TextView
    android:id=@+id/gallery_underline2
    android:layout_width=fill_parent
    android:layout_height=wrap_content
    android:text=Seconde Line of Picture
  android:gravity=center_horizontal
    /
  ListView
       android:id=@+id/shoppinglist
    android:layout_width=fill_parent
    android:layout_height=5366px /
  /LinearLayout

  /ScrollView

  Thanks for Help

  Chris

 --
 Romain Guy
 Android framework engineer
 romain...@android.com

 Note: please don't send private questions to me, as I don't have time
 to provide private support.  All such questions should be posted on
 public forums, where I and others can see and answer them
 




-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~-~--~~~---~--~~
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 file input / output tutorial

2009-03-12 Thread Joseph Arceneaux
I'm not aware of a tutorial, but it's pretty easy - here's some code that
reads in a file.  Check out the File and File*Stream classes.
Joe

String path = /data/data/com.company.app/files/foo.jpg;
File f = new File (path);
if (f.exists()  f.canRead ())
{
try
{
FileInputStream is = new FileInputStream (f);
int size = is.available();
contents = new byte[size];
int got = is.read (contents);
if (got != size)
{
Log.e (File, f.getName () + : expected  + size + ,
got  + got +  bytes.);
bm = null;
}
else
bm = BitmapFactory.decodeByteArray (contents, 0, size);
}
catch (Exception e)
{
Log.e (FileSave, e.toString());
}


On Wed, Mar 11, 2009 at 1:14 PM, superjet superje...@gmail.com wrote:


 I'm new to Java/Android, can anyone recommend a tutorial on android
 that introduces reading and writing flat files?

 sj

 ps, if this is a double post, sorry, but I posted several hours ago
 and it seems it never went through.

 


--~--~-~--~~~---~--~~
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: Layout Problem Listview in Scrollview

2009-03-12 Thread guruk

oh thanks... that could be a solution.. yes.. great
but how to do this for example in my case?

thanks for help.. i love android but i am so newbie (usualy php
coder).. so thanks twice for your patient :)

On Mar 12, 7:53 pm, Romain Guy romain...@google.com wrote:
 YouTube does not put a ListView inside a ScrollView. They simply use a
 Gallery as a header view inside a ListView.





 On Thu, Mar 12, 2009 at 10:51 AM, guruk ilovesi...@gmail.com wrote:

  thanks..

  just look on youtube app, they do it the same.

  but i got also they limit there listview at the first page :) so i did
  not the same.

  thanks
  chris

  On Mar 12, 7:48 pm, Romain Guy romain...@google.com wrote:
  Do NOT put a ListView inside a ScrollView. ListView already handles
  scrolling, you're only going to run into trouble.

  On Thu, Mar 12, 2009 at 4:37 AM, guruk ilovesi...@gmail.com wrote:

   Hi, (sorry if this mail is twice, but i dont see my first posting
   online:)

   I have a Scrollview with an Gallery at the top, bellow two lines
   textview and a Listview)

   1. Problem.
   Listview with height=Fill_parent or wrap_content does not work (it
   only shows me a tiny part of the listview)
   So i did just dummy Listview Height=5300, to see how it have to look
   like.
   What to do, that the Listview comes automaticly full filled and shown
   with all items?
   Finaly when I scroll the page down, the Gallery, textview and Listview
   should scroll up, all.
   Thats why I placed ALL in a Scrollview.

   2. As it is now (with my dummy heigth 5300), when the GUI pops up, it
   does not start at the top with the
   gallery, instead it starts at the Listview ???!?!

   Here is my Layout xml.

   ?xml version=1.0 encoding=utf-8?
   ScrollView
   android:id=@+id/widget28
   android:layout_width=fill_parent
   android:layout_height=fill_parent
   xmlns:android=http://schemas.android.com/apk/res/android;

   LinearLayout
   android:id=@+id/widget29
   android:layout_width=fill_parent
   android:layout_height=fill_parent
   android:orientation=vertical

   Gallery android:id=@+id/gallery
         android:layout_width=fill_parent
         android:layout_height=wrap_content
         android:gravity=bottom
   /
   TextView
     android:id=@+id/gallery_underline1
     android:layout_width=fill_parent
     android:layout_height=wrap_content
   android:gravity=center_horizontal
            android:textSize=16sp
                    android:textStyle=bold
                    android:text=Picture Info helloo
     /
     TextView
     android:id=@+id/gallery_underline2
     android:layout_width=fill_parent
     android:layout_height=wrap_content
     android:text=Seconde Line of Picture
   android:gravity=center_horizontal
     /
   ListView
        android:id=@+id/shoppinglist
     android:layout_width=fill_parent
     android:layout_height=5366px /
   /LinearLayout

   /ScrollView

   Thanks for Help

   Chris

  --
  Romain Guy
  Android framework engineer
  romain...@android.com

  Note: please don't send private questions to me, as I don't have time
  to provide private support.  All such questions should be posted on
  public forums, where I and others can see and answer them

 --
 Romain Guy
 Android framework engineer
 romain...@android.com

 Note: please don't send private questions to me, as I don't have time
 to provide private support.  All such questions should be posted on
 public forums, where I and others can see and answer them
--~--~-~--~~~---~--~~
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] how to read specific part in a string

2009-03-12 Thread guruk

Hi,
i have a long String and need to capture some text in between of some
tags.

for example:

myString=Hello, this is a test start12345/start and here i like
to say markioioidddad/marki what is that opxmarknotwise/
opxmark and now i close;

How would you do in java regex or any short thing like:

starttag = takeit(myString,start);  //result = 12345
marktag =takeit(myString,marki); //result = oioidddad
opxmark=takeit(myString,opxmark);//result == notwise

thanks a lot from your java newbie :)

chris




--~--~-~--~~~---~--~~
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 icon not showing

2009-03-12 Thread Rui Vieira

Hi everyone,

I've successfully created, compiled and transfered to my G1 a simple
application.
Everything works as expected, except the following:

On the emulator the icon I assigned to the application shows, as does
the application title on the main activity.
However, on the phone it does not (it shows the default icon and the
MainActivity title).

Does anyone know what might be the problem?

I'm using Android SDK 1.0r2, developing on Netbeans 6.5. The phone is
a non-dev G1 with firmware RC 1.1, build RC9.

Many thanks 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
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Real Audio

2009-03-12 Thread Mark Murphy

Ayman El-Ghazali wrote:
 I saw the specs on Wikipedia and other websites.

In this case, Wikipedia is wrong. I have edited the page to correct the
error.

 I don't see why there
 could not be a player that plays Real Audio.

https://community.helixcommunity.org/Realcodecs

RealAudio/RealVideo 10 are not open source. If you wish a specific
device to support those codecs, they would need to license it from
RealNetworks.

There are older RealAudio codes that may be open source via the Helix
initiative, but:

-- Last I knew, Helix's open source license wasn't Apache 2.0, but GPL,
which makes integration a bit challenging

-- They may require porting work for whatever chipsets Android intends
to support (not all ARMs are created equal)

Moreover, RealAudio tends to be used as a streaming format, and I am not
sure that they are part of the Internet streaming specifications that
OpenCORE supports.

If you are interested in contributing engineering work to have RealAudio
in Android, I suggest you start up a thread over on the
[android-platform] Google Group, as this Google Group is for
introductory questions and answers for SDK developers, not firmware
developers.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 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] Validating User Input

2009-03-12 Thread Toadster

Hello all,
In my quest to learn android, here is my next conundrum.
I have created a class that provides two EditText boxes in the UI.
I want to then launch one of two different classes, based on whether
or not the two inputs match.password confirmation.

I have a similar situation in different areas of my program, in both
locations, the code chooses the same one each time, and I cannot get
it to choose the other by varying the input accordingly.

The code is below.  Any help would be greatly appreciated.

Tad

**.java
class**

package com.toadster.KMH;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;

public class ChngLog2 extends Activity{
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.chnglog2);




EditText newlogin = (EditText) findViewById
(R.id.login_entry_new);
final String NewLoginEntry = newlogin.getText().toString();


EditText conflogin = (EditText) findViewById
(R.id.login_entry_conf);
final String ConfLoginEntry = conflogin.getText().toString();


 /*Find the Buttons from the XML Layout */

Button k = (Button)this.findViewById(R.id.btn_next);
k.setOnClickListener(new OnClickListener() {
public void onClick(View arg0) {

//Button Click Statements

if (NewLoginEntry.equals(ConfLoginEntry))
{final String login = NewLoginEntry;
Intent l = new Intent( ChngLog2.this,
UpdateConfirm.class);
startActivityForResult(l, 0x0341);  }


else {
Intent v = new Intent(ChngLog2.this, 
Nomatch.class);
startActivityForResult(v, 0x0347);
}


*  .xml


  // Beginning of the UI body

TextView
android:layout_width=fill_parent
android:layout_height=wrap_content
android:textSize = 15sp
android:text=Enter NEW 4 Digit Login
/

EditText  android:id = @+id/login_entry_new
android:layout_width=wrap_content
android:layout_height=wrap_content
android:password =true
android:hint = 
/

TextView
android:layout_width=fill_parent
android:layout_height=wrap_content
android:text=   
/
TextView
android:layout_width=fill_parent
android:layout_height=wrap_content
android:text=   
/

  TextView
android:layout_width=fill_parent
android:layout_height=wrap_content
android:textSize = 15sp
android:text=Confirm NEW 4 Digit Login
/

EditText  android:id = @+id/login_entry_conf
android:layout_width=wrap_content
android:layout_height=wrap_content
android:password =true
android:hint = 
/
TextView
android:layout_width=fill_parent
android:layout_height=wrap_content
android:text=   
/

Button
android:id=@+id/btn_next
android:layout_width=wrap_content
android:layout_height=wrap_content
android:text = NEXT
/

/LinearLayout



--~--~-~--~~~---~--~~
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: Style Attributes

2009-03-12 Thread 김병주
Hy.As far as I can remember , The name of attributes are defined by
developer ,which mean that u can specify attributes and read the value of
attributes in Code (in constructor)

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