[android-developers] Re : passing data between activities

2012-03-26 Thread vivek elangovan
hi members,
I am having two activities in my project, In my Ist 
activity i m getting two values from my loop (for eg : Violation : WITHOUT 
HELMET and Violation : USING CELLULAR PHONE WHILE DRIVING(H) ) using 
putExtra i am passing these values to my IInd activity,what i need to 
display here is like this :

violation : WITHOUT HELMET
place : some place

Violation : USING CELLULAR PHONE WHILE DRIVING(H)
place : some place

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

[android-developers] Re: Re : passing data between activities

2012-03-26 Thread vivek elangovan
Hi,
  This is how my xml looks like

remarks
offense
violationWITHOUT HELMET/violation
rule177-A/rule
amnt100/amnt
date26-3-2012/date
placechetpet signal/place
/offense
offense
violationUSING CELLULAR PHONE WHILE DRIVING(H)/violation
rule177-H/rule
amnt1000/amnt
date20-3-2012 /date
placeTnagar signal /place
/offense
/remarks

On Monday, March 26, 2012 3:03:38 PM UTC+5:30, vivek elangovan wrote:

 hi members,
 I am having two activities in my project, In my Ist 
 activity i m getting two values from my loop (for eg : Violation : WITHOUT 
 HELMET and Violation : USING CELLULAR PHONE WHILE DRIVING(H) ) using 
 putExtra i am passing these values to my IInd activity,what i need to 
 display here is like this :

 violation : WITHOUT HELMET
 place : some place

 Violation : USING CELLULAR PHONE WHILE DRIVING(H)
 place : some place


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

[android-developers] Re: Re : passing data between activities

2012-03-26 Thread vivek elangovan
Using DOMParser i m getting values and passing it to my IInd activity.In my 
IInd activity i need to display like this

Violation : USING CELLULAR PHONE WHILE DRIVING(H)

Place : chetpet signal


Violation : WITHOUT HELMET

Place : Tnagar signal 

On Monday, March 26, 2012 4:20:26 PM UTC+5:30, vivek elangovan wrote:

 Hi,
   This is how my xml looks like

 remarks
 offense
 violationWITHOUT HELMET/violation
 rule177-A/rule
 amnt100/amnt
 date26-3-2012/date
 placechetpet signal/place
 /offense
 offense
 violationUSING CELLULAR PHONE WHILE 
 DRIVING(H)/violation
 rule177-H/rule
 amnt1000/amnt
 date20-3-2012 /date
 placeTnagar signal /place
 /offense
 /remarks

 On Monday, March 26, 2012 3:03:38 PM UTC+5:30, vivek elangovan wrote:

 hi members,
 I am having two activities in my project, In my Ist 
 activity i m getting two values from my loop (for eg : Violation : WITHOUT 
 HELMET and Violation : USING CELLULAR PHONE WHILE DRIVING(H) ) using 
 putExtra i am passing these values to my IInd activity,what i need to 
 display here is like this :

 violation : WITHOUT HELMET
 place : some place

 Violation : USING CELLULAR PHONE WHILE DRIVING(H)
 place : some place



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

[android-developers] Re: SMS with name

2012-03-23 Thread vivek elangovan
Hi members,
  I am developing a SMS application whereas using 
sendSMS function i am able to do that. what i need to do is instead of 
sending msg with number i want to send that with name.is it possible ?

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

[android-developers] Re : Button onclick

2012-03-20 Thread vivek elangovan
Hi members,
In my application i need fill input data when i click 
some button.So on clicking the button then only i need to display input 
field  otherwise i have to hide fields and have to fill data

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

[android-developers] Re: Re : Button onclick

2012-03-20 Thread vivek elangovan
hi,
 I want to display a spinner on clicking the button and i m trying like 
this :

 submit.setOnClickListener((OnClickListener) this); 

and in OnClick :

 public void onClick(View v) {

setContentView(R.layout.offense);
spinner = (Spinner) findViewById(R.id.spinner);

ArrayAdapterCharSequence adapter = 
ArrayAdapter.createFromResource(
this, R.array.planets_array, 
android.R.layout.simple_spinner_item);

adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
spinner.setAdapter(adapter);
}

when running this my application crashes.and in log error

03-20 11:19:26.501: E/AndroidRuntime(1338): FATAL EXCEPTION: main
03-20 11:19:26.501: E/AndroidRuntime(1338): java.lang.RuntimeException: 
Unable to start activity 
ComponentInfo{com.otc.offense/com.otc.offense.Bookingpage}: 
java.lang.ClassCastException: com.otc.offense.Bookingpage

On Tuesday, March 20, 2012 2:24:27 PM UTC+5:30, vivek elangovan wrote:

 Hi members,
 In my application i need fill input data when i click 
 some button.So on clicking the button then only i need to display input 
 field  otherwise i have to hide fields and have to fill data


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

Re: [android-developers] Re: Re : Spinner calling in OnItemSelect

2012-03-19 Thread vivek elangovan
name stateID=04 cityID=08Ernakulam/name
name stateID=04 cityID=09Palakad/name
/cities

On Mon, Mar 19, 2012 at 11:46 AM, Zsolt Vasvari zvasv...@gmail.com wrote:

 What have you done so far to accomplish your goals and where are you stuck?


 On Monday, March 19, 2012 1:38:37 PM UTC+8, vivek elangovan wrote:

 Hi members,
 I want to display the second spinner if i only select
 some values in my first spinner and also i want to create the spinner in my
 class directly without declaring in my main.xml is it possible?

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




-- 
thanks  regards,
Vivek . E
9841841099

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

[android-developers] Re : Spinner calling in OnItemSelect

2012-03-18 Thread vivek elangovan
Hi members,
I want to display the second spinner if i only select 
some values in my first spinner and also i want to create the spinner in my 
class directly without declaring in my main.xml is it possible?

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

[android-developers] Re : BluetoothChat

2012-03-09 Thread vivek elangovan
Hi members,
I tried the bluetoothchat sample  from the following 
link 
http://developer.android.com/resources/samples/BluetoothChat/index.html
But i m getting the error No resource identifier found for attribute 
'showAsAction' in package 'android' what may be the problem is?

- Vivek

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

Re: [android-developers] Re: Re : spinner from HttpPost

2012-03-08 Thread vivek elangovan
Hi seshu,
thanks for the sample but i m not familiar with JSON and also
my query is i m able to retrieve the xml data from my server using HttpPost
, what i need is i need set that value to my second spinner.

On Thu, Mar 8, 2012 at 5:08 PM, Seshu s.seshu...@gmail.com wrote:

 Hi Vivek,
  Open this link and see this example..

 http://www.vogella.de/articles/AndroidJSON/article.html

 Thanks  Regards,
 S.Seshu.

 On Mar 8, 10:33 am, vivek elangovan elangovan.vi...@gmail.com wrote:
  Hi members,
   Using HttpPost i am able to retrieve the following
  data in my response
 
  cities
 name stateID=01 cityID=01Chennai/name
 name stateID=01 cityID=02Trichy/name
 name stateID=01 cityID=03Madurai/name
  /cities
 
  Now i need to pass these values into my spinner i m getting the following
  error
 
  The method createFromResource(Context, int, int) in the type ArrayAdapter
  is not applicable for
   the arguments (HelloSpinner, String, int)
 
  How to change my string value obtained from my response to int ?

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




-- 
thanks  regards,
Vivek . E
9841841099

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

[android-developers] Re : Android as Remote

2012-03-08 Thread vivek elangovan
Hi members,
Is it possible to use android mobile as remote(eg : as 
mouse or keyboard) i gone through Remotedroid but i need similar example by 
using bluetooth and not using any wi-fi networks.

- Vivek

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

Re: [android-developers] Re: Re : Android as Remote

2012-03-08 Thread vivek elangovan
In remotedroid they are configuring IP address and using Wi-fi they are
processing similarly i want to use bluetooth instead of Wi-fi

On Fri, Mar 9, 2012 at 11:02 AM, Zsolt Vasvari zvasv...@gmail.com wrote:

 Which step do you have a problem with?


 On Friday, March 9, 2012 1:19:21 PM UTC+8, vivek elangovan wrote:

 Hi members,
 Is it possible to use android mobile as remote(eg : as
 mouse or keyboard) i gone through Remotedroid but i need similar example by
 using bluetooth and not using any wi-fi networks.

 - Vivek

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




-- 
thanks  regards,
Vivek . E
9841841099

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

[android-developers] Re : spinner from HttpPost

2012-03-07 Thread vivek elangovan
Hi members,
 Using HttpPost i am able to retrieve the following  
data in my response

cities
   name stateID=01 cityID=01Chennai/name
   name stateID=01 cityID=02Trichy/name
   name stateID=01 cityID=03Madurai/name
/cities

Now i need to pass these values into my spinner i m getting the following 
error

The method createFromResource(Context, int, int) in the type ArrayAdapter 
is not applicable for 
 the arguments (HelloSpinner, String, int)

How to change my string value obtained from my response to int ?

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

[android-developers] Re : Selecting spinner

2012-03-06 Thread vivek elangovan
Hi members,
   This is how my string.xml looks like ,

  string-array name=state_array

item/item
itemTamilnadu/item
itemAndhraPradesh/item
itemKarnataka/item
itemMaharashtra/item
itemGujarat/item  

/string-array

string name=planet_promptCity/string

string-array name=planets_array

item--Select City--/item

itemChennai/item
itemTrichy/item

itemHyderabad/item
itemHyderabad/item

itemBangalore/item  
itemBangalore/item  

itemMumbai/item
itemMumbai/item

itemAhamedabad/item  
/string-array

from this what i need is i m declaring two spinners,On selecting value from 
Ist spinner i need to display corresponding values in IInd spinner
For ex :
If i m selecting itemTamilnadu/item from my Ist spinner i need to 
display only itemChennai/item and  itemTrichy/item in my IInd 
spinner

How can i do this inside  onItemSelected and I need some solutions 
regarding this.

- Vivek

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

[android-developers] Re : Spinner from Database

2012-03-02 Thread vivek elangovan
Hi members,
How to retrieve xml data from xml database and 
display in spinner?

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

[android-developers] Re : Spinner

2012-03-01 Thread vivek elangovan
Hi members,
 Using spinner i display list of details what i need to do 
is after selecting the item using spinner i need to display a data in text 
field.
For eg : If i m selecting state from spinner i need to display country name 
in next field.

- Vivek Elangovan

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

Re: [android-developers] Re : Spinner

2012-03-01 Thread vivek elangovan
Hi Arun,
   How will i set the name for the next text field

On Thu, Mar 1, 2012 at 4:44 PM, arun kumar hariarun2...@gmail.com wrote:

 spinner1 = (Spinner)this.findViewById(R.id.spinner1);
 final String[] groupes = new String[] {A, B, C, D, E, F, G,
 H};
 ArrayAdapterCharSequence featuresAdapter = new ArrayAdapterCharSequence
 (this, android.R.layout.simple_spinner_item, new ArrayListCharSequence
 ());
 featuresAdapter.setDropDownViewResource(android.R.layout.
 simple_spinner_dropdown_item);
 spinner1.setAdapter(featuresAdapter);
 for (String s : groupes) featuresAdapter.add(s);

 spinner1.setOnItemSelectedListener(new OnItemSelectedListener() {
  public void onItemSelected(AdapterView? arg0, View arg1, intposition
 , long id) {
  // Here go your instructions when the user chose something
  Toast.makeText(getBaseContext(), groupes[position], 0).show();
  }
  public void onNothingSelected(AdapterView? arg0) { }
 });


 On Thu, Mar 1, 2012 at 4:34 PM, vivek elangovan elangovan.vi...@gmail.com
  wrote:

 Hi members,
  Using spinner i display list of details what i need to
 do is after selecting the item using spinner i need to display a data in
 text field.
 For eg : If i m selecting state from spinner i need to display country
 name in next field.

 - Vivek Elangovan

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




 --
 WITH REGARDS
 ARUN KUMAR P D
 +91-9663471079

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




-- 
thanks  regards,
Vivek . E
9841841099

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

Re: [android-developers] Re : Spinner

2012-03-01 Thread vivek elangovan
ok i will try that one ,if u any samples also pls send me

On Thu, Mar 1, 2012 at 5:18 PM, arun kumar hariarun2...@gmail.com wrote:

 same you create another spinner and declare another string array and get
 the position value and assign to string and set to textbox thats it.


 On Thu, Mar 1, 2012 at 5:12 PM, vivek elangovan elangovan.vi...@gmail.com
  wrote:

 Hi Arun,
How will i set the name for the next text field


 On Thu, Mar 1, 2012 at 4:44 PM, arun kumar hariarun2...@gmail.comwrote:

 spinner1 = (Spinner)this.findViewById(R.id.spinner1);
 final String[] groupes = new String[] {A, B, C, D, E, F, G
 , H};
 ArrayAdapterCharSequence featuresAdapter = new ArrayAdapter
 CharSequence(this, android.R.layout.simple_spinner_item, new ArrayList
 CharSequence());
 featuresAdapter.setDropDownViewResource(android.R.layout.
 simple_spinner_dropdown_item);
 spinner1.setAdapter(featuresAdapter);
 for (String s : groupes) featuresAdapter.add(s);

 spinner1.setOnItemSelectedListener(new OnItemSelectedListener() {
  public void onItemSelected(AdapterView? arg0, View arg1, intposition
 , long id) {
  // Here go your instructions when the user chose something
  Toast.makeText(getBaseContext(), groupes[position], 0).show();
  }
  public void onNothingSelected(AdapterView? arg0) { }
 });


 On Thu, Mar 1, 2012 at 4:34 PM, vivek elangovan 
 elangovan.vi...@gmail.com wrote:

 Hi members,
  Using spinner i display list of details what i need to
 do is after selecting the item using spinner i need to display a data in
 text field.
 For eg : If i m selecting state from spinner i need to display country
 name in next field.

 - Vivek Elangovan

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




 --
 WITH REGARDS
 ARUN KUMAR P D
 +91-9663471079

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




 --
 thanks  regards,
 Vivek . E
 9841841099


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




 --
 WITH REGARDS
 ARUN KUMAR P D
 +91-9663471079

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




-- 
thanks  regards,
Vivek . E
9841841099

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

Re: [android-developers] Re : Spinner

2012-03-01 Thread vivek elangovan
Hi arun,
 thanks for the sample i already gone through this i need sample
for spinner and corresponding dependent value selection.

On Thu, Mar 1, 2012 at 6:27 PM, arun kumar hariarun2...@gmail.com wrote:

 SOURCE CODE [main.xml] is


 ?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  /

 Spinner android:layout_height=wrap_content
 android:id=@+id/spinner1
 android:layout_width=fill_parent /

 /LinearLayout


 SOURCE CODE [SpinnerExample.java] is


 package com.SpinnerExample;

 import android.app.Activity;
 import android.os.Bundle;
 import android.view.View;
 import android.widget.AdapterView;
 import android.widget.AdapterView.OnItemSelectedListener;
 import android.widget.ArrayAdapter;
 import android.widget.Spinner;
 import android.widget.Toast;

 public class SpinnerExample extends Activity
 {
 Spinner sp;
 ArrayAdapterString adapter;
 String numbers[] = { ONE, TWO, THREE, FOUR,
 FIVE, SIX, SEVEN,
 EIGHT, NINE, TEN };

 public void onCreate(Bundle savedInstanceState)
 {

 super.onCreate(savedInstanceState);
 setContentView(R.layout.main);

 sp = (Spinner) findViewById(R.id.spinner1);

 adapter = new ArrayAdapterString(this,

 android.R.layout.simple_spinner_item, numbers);
 sp.setAdapter(adapter);

 sp.setOnItemSelectedListener(new
 OnItemSelectedListener()

 {
 public void
 onItemSelected(AdapterView? arg0, View arg1,

 int arg2, long arg3)
 {
 Toast.makeText(getBaseContext(), sp.getSelectedItem().toString(),
 Toast.LENGTH_LONG).show();

 }
 public void
 onNothingSelected(AdapterView? arg0)
 {
 // TODO
 Auto-generated method stub
 }
 });
 }
 }



 On Thu, Mar 1, 2012 at 6:01 PM, vivek elangovan elangovan.vi...@gmail.com
  wrote:

 ok i will try that one ,if u any samples also pls send me


 On Thu, Mar 1, 2012 at 5:18 PM, arun kumar hariarun2...@gmail.comwrote:

 same you create another spinner and declare another string array and get
 the position value and assign to string and set to textbox thats it.


 On Thu, Mar 1, 2012 at 5:12 PM, vivek elangovan 
 elangovan.vi...@gmail.com wrote:

 Hi Arun,
How will i set the name for the next text field


 On Thu, Mar 1, 2012 at 4:44 PM, arun kumar hariarun2...@gmail.comwrote:

 spinner1 = (Spinner)this.findViewById(R.id.spinner1);
 final String[] groupes = new String[] {A, B, C, D, E, F,
 G, H};
 ArrayAdapterCharSequence featuresAdapter = new ArrayAdapter
 CharSequence(this, android.R.layout.simple_spinner_item, new
 ArrayListCharSequence());
 featuresAdapter.setDropDownViewResource(android.R.layout.
 simple_spinner_dropdown_item);
 spinner1.setAdapter(featuresAdapter);
 for (String s : groupes) featuresAdapter.add(s);

 spinner1.setOnItemSelectedListener(new OnItemSelectedListener() {
  public void onItemSelected(AdapterView? arg0, View arg1, 
 intposition
 , long id) {
  // Here go your instructions when the user chose something
  Toast.makeText(getBaseContext(), groupes[position], 0).show
 ();
  }
  public void onNothingSelected(AdapterView? arg0) { }
 });


 On Thu, Mar 1, 2012 at 4:34 PM, vivek elangovan 
 elangovan.vi...@gmail.com wrote:

 Hi members,
  Using spinner i display list of details what i need
 to do is after selecting the item using spinner i need to display a data 
 in
 text field.
 For eg : If i m selecting state from spinner i need to display
 country name in next field.

 - Vivek Elangovan

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




 --
 WITH REGARDS
 ARUN KUMAR P D
 +91-9663471079

 --
 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
 android-developers+unsubscr...@googlegroups.com
 For more

[android-developers] Re : DOMParser

2012-02-29 Thread vivek elangovan
Hi members,
Using DOMParser i m able to retrieve XML data from my 
database.Now i need to pass the name which i retrieved  to other class 
using intenet,but i m not able to read it here is my code :

 void parseByDOM(String response) throws ParserConfigurationException, 
SAXException, IOException {//response is ur xml as string 
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();
Document doc = db.parse(new InputSource(new 
StringReader(response)));
// normalize the document
doc.getDocumentElement().normalize();
// get the root node
NodeList nodeList = doc.getElementsByTagName(user);
Node node=nodeList.item(0);
// the  node has three child nodes
for (int i = 0; i  node.getChildNodes().getLength(); i++) {
Node temp=node.getChildNodes().item(i);
if(temp.getNodeName().equalsIgnoreCase(name)){
 String name = temp.getTextContent();
 System.out.println(name :+name);

}
else if(temp.getNodeName().equalsIgnoreCase(mail)){
 String mail=temp.getTextContent();
}
else if(temp.getNodeName().equalsIgnoreCase(phno)){
 String phno=temp.getTextContent();
}

}

Intent i = new Intent(getApplicationContext(), test.class);
i.putExtra(name,name);
startActivity(i);
   }


and in my test.java i m using like this :

name.setText(getIntent().getStringExtra(name));

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

[android-developers] Re : Fetching data from postgres

2012-02-27 Thread vivek elangovan
Hi members,
  I m having my collection of records in Postgres
database, After login i want to fetch the details from the database
and display it in next page.Here my primary key will be userid which i
used in login page.I want to know how to fetch data from postgres
database ?

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


[android-developers] Re: JavaMail API

2012-02-27 Thread vivek elangovan
Hi members,
  I have done a sample application for sending mail
from android using the JavaMail API using Gmail authentication and it
is working fine,but in this application i need to hardcore my user
name and password then only it is working.Is there any other way to do
without hardcore?

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


[android-developers] Re : Displaying data

2012-02-25 Thread vivek elangovan
Hi members,
After login i want to fetch data from database and
i need to display data in corresponding input fields in new page.Is
there any samples available?

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


[android-developers] Re : Phone Gap

2012-02-23 Thread vivek elangovan
Hi members,
Is there any sample application available
other than Hello World android application with Phone Gap?

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


[android-developers] Re: Re : Save output data as XML

2012-02-22 Thread vivek elangovan
Hi Seshu,
   i checked the link u referred and its working fine, but
in that sample no xml part is defined what i need is (for eg : in the
same example after login i want to save the username and password as
XML files in my sdcard )

- Vivek

On Feb 22, 12:30 pm, Seshu s.seshu...@gmail.com wrote:
 Hi Vivek,
 Used Shared Preferences so that the output data will be saved in xml
 format only.

 https://github.com/junal/Android-SharedPreferences/tree/master/Shared...

 http://www.tutorials-android.com/learn/How_to_store_and_retrieve_pref...

 Thanks and  Regards,
 S.Seshu

 On Feb 22, 9:55 am, vivek elangovan elangovan.vi...@gmail.com wrote:







  Hi members,
                       I want to develope an application  where after
  entering the required input fields i want to save the output data as
  XML in my local (eg : memory card) . Is there any sample available ?

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


[android-developers] Re: Re : Save output data as XML

2012-02-22 Thread vivek elangovan
Hi Seshu,
Thanks for the suggestion,i got the file from DDMS but
is there any possible that i can save that xml file in sdcard

- vivek

On Feb 22, 3:03 pm, Seshu s.seshu...@gmail.com wrote:
 Hi Vivek,
         U no need 2 mention any xml format while saving the file.
 by default shared preference ll save the data in xml format. u can see
 this file in fileexplorer
 i.e., open ddms and then file explorer. now u ll get 3 options i.e.,
 data, mnt and system.
 Go to data and then select data again and then select package name of
 ur application. now u ll see the Shared Preferences. Click on it. u ll
 find ur filename.xml.

 Thanks and Regards,
 S.Seshu

 On Feb 22, 2:57 pm, vivek elangovan elangovan.vi...@gmail.com wrote:







  Hi Seshu,
                 i checked the link u referred and its working fine, but
  in that sample no xml part is defined what i need is (for eg : in the
  same example after login i want to save the username and password as
  XML files in my sdcard )

  - Vivek

  On Feb 22, 12:30 pm, Seshu s.seshu...@gmail.com wrote:

   Hi Vivek,
   Used Shared Preferences so that the output data will be saved in xml
   format only.

  https://github.com/junal/Android-SharedPreferences/tree/master/Shared...

  http://www.tutorials-android.com/learn/How_to_store_and_retrieve_pref...

   Thanks and  Regards,
   S.Seshu

   On Feb 22, 9:55 am, vivek elangovan elangovan.vi...@gmail.com wrote:

Hi members,
                     I want to develope an application  where after
entering the required input fields i want to save the output data as
XML in my local (eg : memory card) . Is there any sample available ?

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


[android-developers] Re: Re : Save output data as XML

2012-02-22 Thread vivek elangovan
Hi Moktarul Anam ,
   I m not going to save uname and pssword in my
xml for sample only i gave that.My scenario is if i m entering some
data i have to save  it as xml in my sdcard and i also have to
retrieve that data.

- Vivek

On Feb 22, 3:09 pm, moktarul anam mokta...@gmail.com wrote:
 Hi Viek,

 saving username and password in  sdcard is not a good idea.
 yes u can same ur xml file to sdcard. use file write
 usehttp://developer.android.com/guide/topics/data/data-storage.html

 ( i think u have to use java serialize )

 Moktarul Anam

 On Feb 22, 2:57 pm, vivek elangovan elangovan.vi...@gmail.com wrote:







  Hi Seshu,
                 i checked the link u referred and its working fine, but
  in that sample no xml part is defined what i need is (for eg : in the
  same example after login i want to save the username and password as
  XML files in my sdcard )

  - Vivek

  On Feb 22, 12:30 pm, Seshu s.seshu...@gmail.com wrote:

   Hi Vivek,
   Used Shared Preferences so that the output data will be saved in xml
   format only.

  https://github.com/junal/Android-SharedPreferences/tree/master/Shared...

  http://www.tutorials-android.com/learn/How_to_store_and_retrieve_pref...

   Thanks and  Regards,
   S.Seshu

   On Feb 22, 9:55 am, vivek elangovan elangovan.vi...@gmail.com wrote:

Hi members,
                     I want to develope an application  where after
entering the required input fields i want to save the output data as
XML in my local (eg : memory card) . Is there any sample available ?

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


[android-developers] Re : Save output data as XML

2012-02-21 Thread vivek elangovan
Hi members,
 I want to develope an application  where after
entering the required input fields i want to save the output data as
XML in my local (eg : memory card) . Is there any sample available ?

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


[android-developers] Re : Email application

2012-02-20 Thread vivek elangovan
Hi members,
   I am developing a login application,whereas on
registering user details i am getting data of their name,mobile
no,email address.After registering i have to send the password to the
corresponding email address,so what function i have to use and is it
possible to send mail from emulator?

- Vivek Elangovan

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


[android-developers] Re : Encryption

2012-02-19 Thread vivek elangovan
Hi members,
I developed a login page application, in this
application i passes the parameters to my database using
executeHttpPost.I post my parameters like this 
postParameters.add(new BasicNameValuePair(password,
pw.getText().toString()));  .What my scenario is i need to send this
as encrypted data is there any samples available?

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


[android-developers] Re : Session

2012-02-17 Thread vivek elangovan
Hi members,
 I developed a login page application,after
logging in i entered data in required field and then when i click
logout it take to my login page but when i click the back button in my
keypad it takes me to the previous page instead of showing  login page
or it has to exit the application.So is there any session management
which i can apply in this?


- Vivek Elangovan

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


[android-developers] Re: Re : onclick image redirecting

2012-02-16 Thread vivek elangovan
wrote :
  Hey Vivek, have u checked what I told u?

hi,
 not yet thanks for the reply but i got some ideas from ur reply
and once i implement that i will inform u

On Feb 16, 2:07 pm, Narendra Singh Rathore nsr.curi...@gmail.com
wrote:
 Hey Vivek, have u checked what I told u?

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


[android-developers] Re : Sending SMS to remote emulator

2012-02-16 Thread vivek elangovan
Hi members,
  Is it possible to send SMS from one emulator to
another emulator of remote machine which is connected with local
network ?

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


[android-developers] Re: Re : onclick image redirecting

2012-02-15 Thread vivek elangovan
i m using  imageview

On Feb 15, 12:09 pm, Jagruti Sangani jagruti.sang...@inextrix.com
wrote:
 i am asking about images how u use like imageview,imagebutton or image
 galary?because based on u use the images you can apply the intent.grid
 layout is a one type display layout not control.plz specify clearly or u
 can code paste here.

 On Wed, Feb 15, 2012 at 12:34 PM, vivek elangovan elangovan.vi...@gmail.com

  wrote:
  In a grid layout displayed images and using posistion can i call
  intent?

  On Feb 15, 11:55 am, Jagruti Sangani jagruti.sang...@inextrix.com
  wrote:
   how you had use the images like different image control or in Image
  galary?

   On Wed, Feb 15, 2012 at 12:21 PM, vivek elangovan 
  elangovan.vi...@gmail.com

wrote:
how can we get the id of the image and redirect to corresponding url
for eg :
Yahoo and google image will be in my list of images,if i click

 yahoo image  onclick -redirect to yahoo page

google image ---onclick ---redirect to google page

On Feb 15, 11:35 am, Jagruti Sangani jagruti.sang...@inextrix.com
wrote:
 On image click event use the intent and pass the url in that like
 Uri.parse(link) so it will redirect on that link.

 On Wed, Feb 15, 2012 at 12:04 PM, vivek elangovan 
elangovan.vi...@gmail.com

  wrote:
  Hi members,
                        I m displaying list of images and my scenario
  is i want to redirect to some page corresponding to the image i
  clicked.If i m having list of urls corresponding to the images i
  had
  where i have to mention the url? and onclicking the image i have to
  redirect to corresponding url.

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

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

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

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


[android-developers] Re: Re : onclick image redirecting

2012-02-15 Thread vivek elangovan
i attached my source files and mailed it to you.pls check it.

On Feb 15, 12:09 pm, Jagruti Sangani jagruti.sang...@inextrix.com
wrote:
 i am asking about images how u use like imageview,imagebutton or image
 galary?because based on u use the images you can apply the intent.grid
 layout is a one type display layout not control.plz specify clearly or u
 can code paste here.

 On Wed, Feb 15, 2012 at 12:34 PM, vivek elangovan elangovan.vi...@gmail.com

  wrote:
  In a grid layout displayed images and using posistion can i call
  intent?

  On Feb 15, 11:55 am, Jagruti Sangani jagruti.sang...@inextrix.com
  wrote:
   how you had use the images like different image control or in Image
  galary?

   On Wed, Feb 15, 2012 at 12:21 PM, vivek elangovan 
  elangovan.vi...@gmail.com

wrote:
how can we get the id of the image and redirect to corresponding url
for eg :
Yahoo and google image will be in my list of images,if i click

 yahoo image  onclick -redirect to yahoo page

google image ---onclick ---redirect to google page

On Feb 15, 11:35 am, Jagruti Sangani jagruti.sang...@inextrix.com
wrote:
 On image click event use the intent and pass the url in that like
 Uri.parse(link) so it will redirect on that link.

 On Wed, Feb 15, 2012 at 12:04 PM, vivek elangovan 
elangovan.vi...@gmail.com

  wrote:
  Hi members,
                        I m displaying list of images and my scenario
  is i want to redirect to some page corresponding to the image i
  clicked.If i m having list of urls corresponding to the images i
  had
  where i have to mention the url? and onclicking the image i have to
  redirect to corresponding url.

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

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

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

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


[android-developers] Displaying XML data

2012-02-14 Thread vivek elangovan
Hi members,
 I want to display list of records from my XML
database in table layout.For eg :

Name ID   Address
testa12 chennai

how can i get these XML data's other than Httppost method and also
about table layout.

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


[android-developers] Re: building workspace lockup in eclipse

2012-02-14 Thread vivek elangovan
Hi Ted,
   thanks for u r suggestion ,i made the changes u
reffered and it is working fine.

- Vivek

On Feb 13, 7:39 pm, Ted Scott t...@hootinholler.com wrote:
 There's  a problem in r16 when launching on v2.2 with logcat when the
 launch logcat on error is set. It causes a deadlock condition. It's
 slated for a fix on r17.

 Go to window - preferences - android - logcat and uncheck launch
 logcat on error.

 On 2/13/2012 6:52 AM,vivekelangovanwrote:

  hi members,
                    * I have two Android projects in my Eclipse
  workspace
                    * Compiling the first  project works fine
                    * The second one always hangs (at 27% complete)
                    * Every time i have to restart my eclipse and have to
  compile the project again

  what may be the 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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re : onclick image redirecting

2012-02-14 Thread vivek elangovan
Hi members,
   I m displaying list of images and my scenario
is i want to redirect to some page corresponding to the image i
clicked.If i m having list of urls corresponding to the images i had
where i have to mention the url? and onclicking the image i have to
redirect to corresponding url.

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


[android-developers] Re: Re : onclick image redirecting

2012-02-14 Thread vivek elangovan
how can we get the id of the image and redirect to corresponding url
for eg :
Yahoo and google image will be in my list of images,if i click

 yahoo image  onclick -redirect to yahoo page

google image ---onclick ---redirect to google page

On Feb 15, 11:35 am, Jagruti Sangani jagruti.sang...@inextrix.com
wrote:
 On image click event use the intent and pass the url in that like
 Uri.parse(link) so it will redirect on that link.

 On Wed, Feb 15, 2012 at 12:04 PM, vivek elangovan elangovan.vi...@gmail.com

  wrote:
  Hi members,
                        I m displaying list of images and my scenario
  is i want to redirect to some page corresponding to the image i
  clicked.If i m having list of urls corresponding to the images i had
  where i have to mention the url? and onclicking the image i have to
  redirect to corresponding url.

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

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


[android-developers] Re: Re : onclick image redirecting

2012-02-14 Thread vivek elangovan
In a grid layout displayed images and using posistion can i call
intent?

On Feb 15, 11:55 am, Jagruti Sangani jagruti.sang...@inextrix.com
wrote:
 how you had use the images like different image control or in Image galary?

 On Wed, Feb 15, 2012 at 12:21 PM, vivek elangovan elangovan.vi...@gmail.com

  wrote:
  how can we get the id of the image and redirect to corresponding url
  for eg :
  Yahoo and google image will be in my list of images,if i click

   yahoo image  onclick -redirect to yahoo page

  google image ---onclick ---redirect to google page

  On Feb 15, 11:35 am, Jagruti Sangani jagruti.sang...@inextrix.com
  wrote:
   On image click event use the intent and pass the url in that like
   Uri.parse(link) so it will redirect on that link.

   On Wed, Feb 15, 2012 at 12:04 PM, vivek elangovan 
  elangovan.vi...@gmail.com

wrote:
Hi members,
                      I m displaying list of images and my scenario
is i want to redirect to some page corresponding to the image i
clicked.If i m having list of urls corresponding to the images i had
where i have to mention the url? and onclicking the image i have to
redirect to corresponding url.

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

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

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


[android-developers] building workspace lockup in eclipse

2012-02-13 Thread vivek elangovan
hi members,
 * I have two Android projects in my Eclipse
workspace
 * Compiling the first  project works fine
 * The second one always hangs (at 27% complete)
 * Every time i have to restart my eclipse and have to
compile the project again

what may be the 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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Re : Grid View

2012-02-09 Thread vivek elangovan
Hi,
i tried defining a layout with image and text and when i m
using getLayoutInflater() function in my ImageAdapter and when i run
the application it crashes.If you members have any sample pls let me
know.

-Vivek

On Feb 8, 12:21 pm, Farhan Tariq farhan@gmail.com wrote:
 define a layout with image and text, inflate it and replace a grid cell
 with it.

 On Wed, Feb 8, 2012 at 12:06 PM, vivek elangovan
 elangovan.vi...@gmail.comwrote:

  Hi Ratheesh,
                    My point is i want to display image with text and
  on clicking the image i want to display the corresponding text in
  another class.

  - Vivek

  On Feb 8, 11:42 am, Ratheesh Valamchuzhy android...@gmail.com wrote:
   for passing a data to the next activity you can use putextra function..

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

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


[android-developers] Re: Re : SMS application

2012-02-07 Thread vivek elangovan
Hi Jagruti,
   The method for SMS is available in android developers
site u can get it from there,first u check that with emulator in real
phones u just put application file it will take the default message
configuration and send message.
If u not able to find mail me i will send the code.

- Vivek

On Feb 3, 10:32 am, Jagruti Sangani jagruti.sang...@inextrix.com
wrote:
 HI,
 Can you send me your application full code?Because I really want that
 application for my project training.
 Thanks in advance.

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


[android-developers] Re : Grid View

2012-02-07 Thread vivek elangovan
Hi members,
 I need to develope a gridview with image and text
and on clicking the image i need to display a textview of the
corresponding image.I already tried image alone and its working
fine.For image and text how to pass the id or text of the image?

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


[android-developers] Re: Re : Grid View

2012-02-07 Thread vivek elangovan
Hi Ratheesh,
   My point is i want to display image with text and
on clicking the image i want to display the corresponding text in
another class.

- Vivek

On Feb 8, 11:42 am, Ratheesh Valamchuzhy android...@gmail.com wrote:
 for passing a data to the next activity you can use putextra function..

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


[android-developers] Re: SMS Manager

2012-02-05 Thread vivek elangovan
Hi members,
  Using SMS Manager i m able to send message from one
emulator to another emulator which is in my local machine and it is
working fine.Is it possible to send SMS from my emulator to another
emulator of another machine ?

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


[android-developers] Re : Retrieving data from database

2012-02-03 Thread vivek elangovan
Hi members,
I m developing a application by entering some data
and sending it to native xml database using executeHttpPost method  by
passing parameters and it is working fine.What my point is i have to
retrieve data from xml database and has to show it as prefilled data
in the input part.Is it possible ?

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


[android-developers] Re : eclipse crash

2012-02-03 Thread vivek elangovan
Hi members,
   i am using eclipse-java-indigo-SR1(32-bit ubuntu
10.04) for android projects development.If i build some application
and run it as android application it works fine,but if i make some
changes to my class files and again running it as android application
the eclipse building project and stops at 27%. And it is working fine
when I have to complete stop eclipse and start again.what may be the
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Re : SMS application

2012-02-02 Thread vivek elangovan
Hi Manuel,
thanks for ur suggestion,i already tried that one its
working fine.

Vivek

On Feb 2, 1:02 pm, Manuel R. Ciosici manuelrcios...@gmail.com
wrote:
 You can actually send SMSes without putting in the SMSC. The phone
 picks it up from the SIM card.

 Manuel

 On 2 Feb., 07:07, vivek elangovan elangovan.vi...@gmail.com wrote:

  Hi members,
                        I m developing one application to send SMS,here
  i used sendSMS() function and SmsManager class and it is working fine
  for sending messages between two emulators.I need to send msgs to real
  phones for that i have to mention some SMS gateway.So in SmsManager
  class where i can specify the gateway address and their corresponding
  username and password.

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


[android-developers] Re : SMS application

2012-02-01 Thread vivek elangovan
Hi members,
  I m developing one application to send SMS,here
i used sendSMS() function and SmsManager class and it is working fine
for sending messages between two emulators.I need to send msgs to real
phones for that i have to mention some SMS gateway.So in SmsManager
class where i can specify the gateway address and their corresponding
username and password.

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


[android-developers] Re: Re : onclick button

2012-01-24 Thread vivek elangovan
Hi Ratheesh,
 Here is my scenario i m listing images with text
using ListActivity,what i have to do is on clicking the text or imgae
i have to display another list of details for the corresponding
one.When i m using ImageAndTextAdapter activity i can build my
application but when i run the application it crashes.

thanks  regards,
Vivek

On Jan 18, 4:34 pm, Ratheesh Valamchuzhy android...@gmail.com wrote:
 while clicking one image  , start a new activity and pass the image to that
 activity and display the image on that activity..include the activity name
 in manifest also...

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


[android-developers] Installing Android SDK

2012-01-19 Thread vivek elangovan
Hi members,
   i m facing difficulty in installing Android SDK
when i checked the SDK Manager log i found that it is not fetching
anything from the following url  http://innovator.samsungmobile.com/
android/repository/repository.xml.
because of this i m not able to select packages and not able to create
AVD.

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


[android-developers] Re : onclick button

2012-01-18 Thread vivek elangovan
Hi members,
 i want to  develop an application where list of
images are in display and on clicking the image the image i want to
display the details of the corresponding image.I tried some and when i
created one application and installed but application crashes, Is
there any samples available?

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


[android-developers] Re : SDcard permission

2011-10-03 Thread vivek elangovan
Hi members,
   I having problem in setting read-write permission
for my SDcard in android emulator.If i set read-write persmission and
restart my emulator it reset to default read-only permission.Similarly
i m not able to install market in my emulator.can anyone help me out
of this?


thanks  regards,
Vivek

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


[android-developers] Re: Linux chroot

2011-09-22 Thread vivek elangovan
Hi members,
  I am using Android Emulator and i m
installing a application linuxinstaller.apk,but when i run that
application it shows kernel not supporting linux installer and
check for EXT2/EXT3 support.Whether i have to create EXT3 partition
for emulator? if so, can u explain me what are the steps i have to
follow?

Hope for speedy reply from someone

thanks  regards,
Vivek . E

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