Re: [android-developers] Re: intent Value

2012-02-27 Thread hazem omies
thanks ,,

but i put this map like *intent.putExtras(mapidentifier,map); ,,, how i
can put this mapping as listview in second activity  *

On Mon, Feb 27, 2012 at 9:19 AM, kalandar kasimk...@gmail.com wrote:

 hi,

 if you want to pass the same HashMap value for two activity means
 you can create the HashMap object in common static object.
 like

 class Common
 {
 public static HashMap map = new HashMap();
 }

 now you can use this map in your entire activity.
 like Common.map.put(, );

 otherwise you can pass the map object to

 intent.putExtras(mapidentifier,map);

 i hope this will help you...


 On Feb 26, 1:15 pm, hazem omies hazem.om...@gmail.com wrote:
  hi,
  how to passing intent value from listview activity that using HashMap
  to another listview  as follow :
 
  the main activity contain listview getting value from xml using
  HashMap ,,i need to passing this value to another arraylist  to be
  view in listview how i can do this ,

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

Re: [android-developers] Re: intent Value

2012-02-27 Thread hazem omies
hi ,,,

Note,,the value has been passed successfully ,,,but without listview !!!



On Mon, Feb 27, 2012 at 10:39 AM, hazem omies hazem.om...@gmail.com wrote:

 thanks ,,

 but i put this map like *intent.putExtras(mapidentifier,map); ,,, how i
 can put this mapping as listview in second activity  *


 On Mon, Feb 27, 2012 at 9:19 AM, kalandar kasimk...@gmail.com wrote:

 hi,

 if you want to pass the same HashMap value for two activity means
 you can create the HashMap object in common static object.
 like

 class Common
 {
 public static HashMap map = new HashMap();
 }

 now you can use this map in your entire activity.
 like Common.map.put(, );

 otherwise you can pass the map object to

 intent.putExtras(mapidentifier,map);

 i hope this will help you...


 On Feb 26, 1:15 pm, hazem omies hazem.om...@gmail.com wrote:
  hi,
  how to passing intent value from listview activity that using HashMap
  to another listview  as follow :
 
  the main activity contain listview getting value from xml using
  HashMap ,,i need to passing this value to another arraylist  to be
  view in listview how i can do this ,

 --
 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: intent Value

2012-02-26 Thread kalandar
hi,

if you want to pass the same HashMap value for two activity means
you can create the HashMap object in common static object.
like

class Common
{
public static HashMap map = new HashMap();
}

now you can use this map in your entire activity.
like Common.map.put(, );

otherwise you can pass the map object to

intent.putExtras(mapidentifier,map);

i hope this will help you...


On Feb 26, 1:15 pm, hazem omies hazem.om...@gmail.com wrote:
 hi,
 how to passing intent value from listview activity that using HashMap
 to another listview  as follow :

 the main activity contain listview getting value from xml using
 HashMap ,,i need to passing this value to another arraylist  to be
 view in listview how i can do this ,

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