[android-developers] Re: [android-developers]

2008-06-24 Thread dolan kundu
Hi Radhika,
for one Java file, xml file you have to create and design also you have to
do.
for the AndroidManifest.xml file, it will create automatically. but in that,
you have to modify that xml .

Thanks,
Dolan.


On Wed, May 14, 2008 at 3:08 PM, <[EMAIL PROTECTED]> wrote:

>
>
> Hi...
>
> Is there any tool to create the UI in android which automatically
> creates the XML code if we place a component?
>
>
> Regards,
> Radhika
>
> >
>

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



[android-developers] Re: Null Pointer Exception

2008-06-23 Thread dolan kundu
Hi kenishant,

When a java file will create , in that case, only one (1) time
setContentView (R.layout.abcd) you can create.
And another case is, there must be some what mismatch with the java file and
the xml file.
so in these cases, NullPointerException can come.

Thanks,
Dolan.

On Sat, Jun 21, 2008 at 4:59 PM, redhatab <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> Am a total beginner and I was trying out to extrapolate on the Hello
> Android code, but I've sort of hit a road block with a null pointer
> exception. The code is as below:
>
> public class HelloAndroid extends Activity
> {
>   @Override
>   public void onCreate(Bundle icicle)
>   {
>   super.onCreate(icicle);
>
>   setContentView(R.layout.screen1);
>
>   Button btn = (Button) findViewById(R.id.hellobtn);
>   btn.setOnClickListener(new View.OnClickListener() {
> public void onClick(View view) {
> setContentView(R.layout.screen2);
> }
> });
>   }
> }
>
> As soon as I run this, the emulator gives me a null pointer exception.
>
> The res/layout/screen1.xml and res/layout/screen2.xml are working
> perfectly fine because when I just run
> setContentView(R.layout.screen1) without the onClickListener, both the
> screens work fine.
>
> I suppose the null pointer exception pops in the onClick function.
>
> Pls help!!
> >
>

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



[android-developers] Re: screen moving to third screen instead of staying in second screen

2008-06-17 Thread dolan kundu
Hi Gopal,
To move to the third screen, call the second screen class name in the first
screen. then only it will come from first screen to the second screen.
Afterthat, in the second screen, call the third screen. so series will be
coming.

Thanks,
Dolan.

On Tue, Jun 10, 2008 at 6:23 PM, gopal <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
>As i press an item in the first screen its moving to third screen
> fastly by means of a centre pres key.Its going to the second
> screen,but is not staying in the second screen.Its moving fastly to
> the third screen without staying in the second screen.Actually,only
> when i pres an item in the second screen it should move to the third
> screen.Can anybody help me?
> >
>

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



[android-developers] Re: How to add more then one spinner in relative layout

2008-05-23 Thread dolan kundu
Hi rutu,
In your 1st question, to avoid overlapping of d spinner, set the  y-axis in
the xml page related with the spinner.
In your 2nd question, create button or what ever you want. then make these
as boolean value by setChecked .

Thanks,
Dolan.

On Fri, May 23, 2008 at 1:17 PM, rutu <[EMAIL PROTECTED]> wrote:

>
> 
> http://schemas.android.com/apk/res/
> android"
>android:layout_width="fill_parent"
>android:layout_height="fill_parent">
>
> android:id="@+id/map"
>android:layout_width="fill_parent"
>android:layout_height="fill_parent"
> />
>
>android:layout_alignParentTop="true"
>android:layout_width="fill_parent"
>android:layout_height="wrap_content"
>android:drawSelectorOnTop="true"
>
>
> />
>
>  android:layout_alignParentTop="true"
>android:layout_width="fill_parent"
>android:layout_height="wrap_content"
>android:drawSelectorOnTop="true"
>
> />
>
>  
>
>THIS IS THE CODE FOR XML FILE IT IS SHOWING TWO SPINNERS BUT THEY
> ARE OVERLAPPING CAN U SUGGEST ME THE WAY HOW TO SOLVE THIS PROBLEM
> ONE MORE THING I WANT THIS TEO SDPINNER TO BE IN DIFFERENT VIEW
> BECAUSE ONE OF THE SPINNER HAS TO BE VISIBLE AND ONE SHOULD  NOT BE
> VISIBLE
> >
>

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



[android-developers] Re: Text-Icons

2008-05-22 Thread dolan kundu
Hello Mark Murphy,

Thanks for your reply. but i cant understand from here what did you said.
Please explain me clearly. if you can give related example, it will be
helpful to understand the problem.

Thanks,
Dolan.

On Wed, May 21, 2008 at 5:17 PM, Mark Murphy <[EMAIL PROTECTED]>
wrote:

>
> dolan kundu wrote:
> > I want to draw a list screen with few items for that when i will see the
> > list , i can see the image also related with the particular subject.
> > eg: I created Home Catalog. in Home catalog, when I am openining the
> > Rental (Rental is one category of Home catalog), in the rental type many
> > options are there (Suppose, Single bed room, double bed room etc.) . in
> > those options, i want to keep different images or icon for different
> > options, which will display with the text itself. how can i do?
>
> Check out these threads for some recent discussions on this topic:
>
>
> http://groups.google.com/group/android-beginners/browse_thread/thread/eb3a8c5d1f2de79a/fee3c255a834ac41
>
>
> http://groups.google.com/group/android-developers/browse_thread/thread/355d3cdfa1c787b8/23fb5117a564103d
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com
> The Busy Coder's Guide to Android Development -- coming in June 2008!
>
> >
>

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



[android-developers] Re: Vertical scrolling inside text view

2008-05-21 Thread dolan kundu
Hi,
http://schemas.android.com/apk/res/android";
android:layout_width="fill_parent"
android:layout_height="fill_parent">

http://schemas.android.com/apk/res/android";
  android:orientation="vertical"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  >
.
.
.
.
.
.
.





in the xml ,inside the space you can specify whatever you want.

Thanks,
Dolan.

On Wed, May 21, 2008 at 2:36 PM, and.hl <[EMAIL PROTECTED]> wrote:

>
> Hello,
>
> I have given textview within scrollview like below
>
> android:layout_width="fill_parent"
>android:layout_height="40px">
>
>  android:layout_width="fill_parent"
> android:layout_height="40px"
> android:text="@string/COA"
> android:fadingEdge="none">
> 
> 
>
> I want to set the text and then scroll it within this textview for
> which giving only scrollview is not enough because i cant set the text
> in scrollview. This is my problem
> >
>

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



[android-developers] Re: Vertical scrolling inside text view

2008-05-21 Thread dolan kundu
Hi and.hi,

To bring a scroll, just call scrollview in xml. it will work.

Thanks,
 Dolan.

On Wed, May 21, 2008 at 11:27 AM, and.hl <[EMAIL PROTECTED]> wrote:

>
> Can anyone tell how to scroll text vertically inside a text view.
>
> Having textview inside a scroll view does not help as i have a button
> below text view.
> So the text overlaps the button below instead of scrolling
> >
>

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



[android-developers] Text-Icons

2008-05-20 Thread dolan kundu
Hi All,

I want to draw a list screen with few items for that when i will see the
list , i can see the image also related with the particular subject.
eg: I created Home Catalog. in Home catalog, when I am openining the Rental
(Rental is one category of Home catalog), in the rental type many options
are there (Suppose, Single bed room, double bed room etc.) . in those
options, i want to keep different images or icon for different options,
which will display with the text itself. how can i do?

please reply me fast.

Thanks in advance,
Dolan.

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



[android-developers] Activation service

2008-05-20 Thread dolan kundu
Hi All,

in my setting, when i activate the service, its activated. and when i
deactivate, its deactivated.
But after activation, how can i  know if service is running or not. is there
any condition for checking?
Please suggest me . or give any related materials or coding in that.

Thanks in advance,

Dolan.

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



[android-developers] Re: Java vs. Android APIs

2008-05-20 Thread dolan kundu
Hi,


Java vs APIs:

Supported:

java.io
java.lang (except java.lang.management)
java.math
java.net
java.nio
java.security
java.sql
java.text
java.util

javax.crypto
javax.net
javax.security
javax.sound
javax.sql
javax.xml.parsers

org.w3c.dom (sub-packages excluded)
org.xml.sax

NOT Supported:

java.applet
java.awt
java.beans
java.lang.management
java.rmi

javax.accessibility
javax.activity
javax.imageio
javax.management
javax.naming
javax.print
javax.rmi
javax.security.auth.kerberos
javax.security.auth.spi
javax.security.sasl
javax.swing
javax.transaction
javax.xml (except javax.xml.parsers)
org.ietf.*
org.omg.*
org.w3c.dom.* (sub-packages)


Android platform is based neither on Java SE API nor on Java ME API.

It can be viewed as a Open Handset Alliance's version based on some Java SE
and Java ME packages, as well as apache commons, junit, httpclient and a new
GUI interface instead of AWT.

Thanks,
Dolan.


On Wed, May 21, 2008 at 3:17 AM, kobica <[EMAIL PROTECTED]> wrote:

>
> >
> > > When trying the XML-RPC client. Is that what you were referring as
> > > "Delvik bugs" ?
> >
> > Possibly. What's interesting is that this stack trace suggests the socket
> > stuff is actually from the Apache Harmony project. You might hunt around
> > and see if there is any reference to compatibility problems between
> Apache
> > XML-RPC and Apache Harmony -- it could be this is a known problem that
> > isn't specific to Android.
> >
> > Beyond that, whether this is a bug in Android, a bug in Harmony, or what,
> > I can't say.
> >
>
> Thanks for your reply.
>
> Seems like my app calls --> apache.xmlrpc -->
> java.io.BufferedInputStream --> org.apache.harmony
>
> Since java.io and org.apache.harmony are part of the android.jar, I
> suspect it might be an issue in Android, but I'm unsure...
>
> Kobi.
> >
>

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



[android-developers] Re: Null pointer Exception while accessing Textfile

2008-05-19 Thread dolan kundu
Hi Analdin Judy,

Check the java class file and xml file. some mis-match is there between
these two.

Cheers!
Dolan.

On Sat, May 10, 2008 at 3:21 PM, Analdin Judy <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
>
>
>Can anybody please tell me the reason for "null pointer exception" while
> reading a textfile
> I use the below code to read the textfile in raw.
>
>
>activity
> .getResources().openRawResource(R.raw.*judy*);
>
>
>
>
> --
> Thanks & Regards
>
>
>
> Analdin Judy.M
> InfoWave
> Knowledgeware. Beyond Multimedia
> Chennai | INDIA
> M: +91.98416.64705
> www.i-waves.com
>
> "The information contained in this e-mail (including any attachments) is
> intended by InfoWave for the use of the named individual or entity to which
> it is directed and is CONFIDENTIAL or PRIVILEGED. If you have received this
> e-mail (including any attachments) in error, please do not review, disclose,
> disseminate, distribute or copy this e-mail and attachments. As Electronic
> and Internet communications can be interfered with or affected by viruses
> and other defects, please scan this message and any attachments"
>
> >
>

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



[android-developers] Re: 2 xml files in one java file

2008-05-06 Thread dolan kundu
ya , you  can .
Set the activity content from a layout resource. The resource will be
inflated, adding all top-level views to the activity.
So , in the inflatedView, we can call second xml file.



On Tue, May 6, 2008 at 9:50 AM, scorpio <[EMAIL PROTECTED]> wrote:

>
> ya josh,
>
> thanks for the info.
> what i need is by using setcontentview(), , shall we can call two xml
> files from java file(activity).
>
> On May 6, 4:09 am, Josh Guilfoyle <[EMAIL PROTECTED]> wrote:
> > I think he is referring to multiple base content view layouts.  I
> > believe that a future SDK will be providing this ability via an
> >  directive in the XML layout itself.
> >
> > On May 5, 8:32 am, Hielko <[EMAIL PROTECTED]> wrote:
> >
> > > Perhaps you should provide more details on what you exactly want to
> > > do. There are thousends of things I can do with two xml files
> >
> > > On 5 mei, 16:03, scorpio <[EMAIL PROTECTED]> wrote:
> >
> > > > hi hielko,
> >
> > > > explain how ??
> >
> > > > On May 5, 3:14 pm, Hielko <[EMAIL PROTECTED]> wrote:
> >
> > > > > Ofcourse...
> >
> > > > > On 5 mei, 11:23, scorpio <[EMAIL PROTECTED]> wrote:
> >
> > > > > > Can we call two xml files in one java class. Is it possible ??
> >
> > > > > > thanks
> > > > > > scorpio- Tekst uit oorspronkelijk bericht niet weergeven -
> >
> > > > - Tekst uit oorspronkelijk bericht weergeven -
> >
>

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



[android-developers] problems on incoming messages.

2008-05-01 Thread dolan kundu
Hi All,

I have a problem that , when I am sending request to the server, server is
sending reply to me with all the details. i can see the reply at that time
itself when server is sending to me. But i want to see the message whenever
i want.
please , can you tell me how can i see the incoming message from server at
any time?
is there any related code with that? plz reply me fast.

Thanks,
Dolan.

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