[android-developers] Need Intent Help

2011-11-29 Thread Kiran Kumar Kendole
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

Re: [android-developers] Need Intent Help

2011-11-29 Thread Mukesh Srivastav
h.. Poor architecture of the application.Please follow the MVC Pattern thats helps, just dont write the code blindly. Have a util package of the application and put all your common methods there. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Tue, Nov 29,

Re: [android-developers] Need Intent Help

2011-11-29 Thread siva prakash
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,

Re: [android-developers] Need Intent Help

2011-11-29 Thread Kiran Kumar Kendole
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,

Re: [android-developers] Need Intent Help

2011-11-29 Thread Mukesh Srivastav
Why not go with TAB Activity, that helps. On Tue, Nov 29, 2011 at 6:22 PM, Kiran Kumar Kendole k.kirankumar1...@gmail.com 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

Re: [android-developers] Need Intent Help

2011-11-29 Thread Yahor Paulavets
Hello, If you need to use some methods in all your Activities - create a base Activity class with these methods :) And use these methods in dirived Activity A and B. No copy past is needed. Best regards, Yahor On Tue, Nov 29, 2011 at 3:01 PM, Mukesh Srivastav mukicha...@gmail.comwrote: Why

Re: [android-developers] Need Intent Help

2011-11-29 Thread Kiran Kumar Kendole
Hey Guys, Thank you all for your Help . Finally I completed my assignment. Finally I have one question. I have created the APK in 2.3.3 . We have different mobiles with different versions.. Its not working on all due to compatibility may be. Can you guys suggest me what I suppose to do so that

Re: [android-developers] Need Intent Help

2011-11-29 Thread Kumar Bibek
What is not working? *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Tue, Nov 29, 2011 at 10:04 PM, Kiran Kumar Kendole k.kirankumar1...@gmail.com wrote: Hey Guys, Thank you all for your Help . Finally I completed my assignment. Finally I have

Re: [android-developers] Need Intent Help

2011-11-29 Thread Kiran Kumar Kendole
Hi, When I install the APK in my mobile (Froyo 2.2) , application is not working. But its working fine in AVD with 2.3.3 version. I want to make my APK in such a way that it should work in all devices. Thanks, KIRANKUMARKENDOLE On Tue, Nov 29, 2011 at 11:42 AM, Kumar Bibek coomar@gmail.com

Re: [android-developers] Need Intent Help

2011-11-29 Thread Kumar Bibek
application not working !! That doesn't say much. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Tue, Nov 29, 2011 at 10:16 PM, Kiran Kumar Kendole k.kirankumar1...@gmail.com wrote: Hi, When I install the APK in my mobile (Froyo 2.2) ,

Re: [android-developers] Need Intent Help

2011-11-29 Thread Raghav Sood
Yes. That's all very good. What is not working in your app on 2.2? On Tue, Nov 29, 2011 at 10:16 PM, Kiran Kumar Kendole k.kirankumar1...@gmail.com wrote: Hi, When I install the APK in my mobile (Froyo 2.2) , application is not working. But its working fine in AVD with 2.3.3 version. I want

Re: [android-developers] Need Intent Help

2011-11-29 Thread Kiran Kumar Kendole
When I try to install on the APK on my mobile which have 2.2 versionof android... I see the error Parsing Error. Thanks, KIRANKUMARKENDOLE On Tue, Nov 29, 2011 at 11:48 AM, Raghav Sood raghavs...@androidactivist.org wrote: Yes. That's all very good. What is not working in your app on 2.2?

Re: [android-developers] Need Intent Help

2011-11-29 Thread Kumar Bibek
Ok, So, it doesn't even gets installed. Look at your manifest file and remove stuff which are not available on 2.2 *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Tue, Nov 29, 2011 at 10:30 PM, Kiran Kumar Kendole k.kirankumar1...@gmail.com wrote:

Re: [android-developers] Need Intent Help

2011-11-29 Thread Mukesh Srivastav
you need to do the clean build or Delete the bin directory, recompiled it and deploy it, that will help. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Tue, Nov 29, 2011 at 10:32 PM, Kumar Bibek coomar@gmail.com wrote: Ok, So, it doesn't even gets

Re: [android-developers] Need Intent Help

2011-11-29 Thread Kiran Kumar Kendole
I hope I am confusing you guys. I created the app using 2.3.3 . When I install this APK , in Samsung galaxy S2(2.3.3) the application is working good. But the same application is not working in HTC (2.2). Parsing error. I WANT MY APPLICATION TO BE RUN ON ALL DEVICES WHETHER IT MAY BE 2.1 , 2.2 or

Re: [android-developers] Need Intent Help

2011-11-29 Thread Kumar Bibek
See my previous answer :) That might help. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Tue, Nov 29, 2011 at 10:51 PM, Kiran Kumar Kendole k.kirankumar1...@gmail.com wrote: I hope I am confusing you guys. I created the app using 2.3.3 . When

Re: [android-developers] Need Intent Help

2011-11-29 Thread Raghav Sood
I hope I am confusing you guys. You seem more confused than us right now, I created the app using 2.3.3 . When I install this APK , in Samsung galaxy S2(2.3.3) the application is working good. But the same application is not working in HTC (2.2). Parsing error. I WANT MY APPLICATION TO

Re: [android-developers] Need Intent Help

2011-11-29 Thread Mukesh Srivastav
Application always would be back to forward compatibility , not from forward to backward. You create your apps on 2.1 and deploy it in 2.1 and above. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Tue, Nov 29, 2011 at 10:51 PM, Kiran Kumar Kendole

Re: [android-developers] Need Intent Help

2011-11-29 Thread Satvik Jagannath
Everyone talks about MVC nowadays!! Can u please help me with some good resources for MVC?? On Nov 29, 2011 4:11 PM, Mukesh Srivastav mukicha...@gmail.com wrote: h.. Poor architecture of the application.Please follow the MVC Pattern thats helps, just dont write the code blindly. Have a