Why not go with TAB Activity, that helps.


On Tue, Nov 29, 2011 at 6:22 PM, Kiran Kumar Kendole <
[email protected]> wrote:

> Hey Siva and Mukhesh,
> Thanks for the response.
>
> The problem which I am forcing to use this unfair architecture is.. I have
> hard time to show different options menu for different layout XML files..
>
> Can you please give me a quick example how to change the options based on
> the layout.
>
> Thanks,
> KIRANKUMARKENDOLE
>
>
> On Tue, Nov 29, 2011 at 7:14 AM, siva prakash <
> [email protected]> wrote:
>
>> If you want to access those methods in various activities, why dont you
>> create a simple java class and acess them?? , if you want to share
>> variables across different activities, u can save them in AppPreferences .
>> Please provide me more details if i didnt get u :)
>>
>>
>> On 11/29/2011 04:04 PM, Kiran Kumar Kendole wrote:
>>
>>> Hey guys,
>>>
>>> I have a problem while using intents. Can you please suggest me the
>>> right way.
>>>
>>> I have an Activity1 which contains some methods ( addData(),deleteData()
>>> ). when I use intent to other Activity2 Class..
>>> I am not able to access the methods which are in Activity1. I cant copy
>>> paste all the methods in all Activities. I dont think its good practise.
>>> Can anybody suggest me.
>>>
>>> Thanks,
>>> KIRANKUMARKENDOLE
>>> --
>>> 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 <[email protected]>
>>> To unsubscribe from this group, send email to
>>> android-developers+**[email protected]<android-developers%[email protected]>
>>> For more options, visit this group at
>>> http://groups.google.com/**group/android-developers?hl=en<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 <[email protected]>
>> To unsubscribe from this group, send email to
>> android-developers+**[email protected]<android-developers%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/**group/android-developers?hl=en<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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Warm Regards,
*Mukesh Kumar*,
Android Consultant/Freelancer,
India,Hyderabad.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to