Re: [android-developers] Re: Android XML

2014-09-02 Thread janvi
Can any one tell me the disadvantages of using the above approach? Thanks in advance On Monday, August 4, 2014 10:02:35 AM UTC+5:30, janvi wrote: Thanks Nemichand I will surely try this out. I have one approach here which works fine i.e if use android:launchMode=singleTask for the

Re: [android-developers] Re: Android XML

2014-08-03 Thread nemi chhimpa
Debug ur code and override onDestroy method.check it is called in both activity On Aug 1, 2014 6:10 PM, janvi jagruthi.bha...@gmail.com wrote: Ya I have Called finish before starting Activity B but still this issue exists Any help would be appreciated. Thanks in Advance On Wednesday, July

Re: [android-developers] Re: Android XML

2014-08-03 Thread janvi
Thanks Nemichand I will surely try this out. I have one approach here which works fine i.e if use android:launchMode=singleTask for the activity in android manifest then it works fine Can any one tell me whether this approach is fine?Will this have any disadvantages? Thanks in advance On

Re: [android-developers] Re: Android XML

2014-08-01 Thread janvi
Ya I have Called finish before starting Activity B but still this issue exists Any help would be appreciated. Thanks in Advance On Wednesday, July 30, 2014 10:00:14 PM UTC+5:30, Steve Gabrilowitz wrote: This would be true only if activity A called its finish after starting B. Otherwise A

[android-developers] Re: Android XML

2014-07-30 Thread janvi
Hi Deepak Thank you for your support:) But if I do not call Activity A onbackpress of B then if just finishes the App I mean App gets closed. MyCode onClick(..) { start activity B } }class B : Activity { onBackPressed() { this.finish(); Any help would be appreciated:) Thanks in

Re: [android-developers] Re: Android XML

2014-07-30 Thread Steve Gabrilowitz
This would be true only if activity A called its finish after starting B. Otherwise A remains on the backstack and reappears when B finishes. On Jul 30, 2014 5:19 AM, janvi jagruthi.bha...@gmail.com wrote: Hi Deepak Thank you for your support:) But if I do not call Activity A onbackpress of

[android-developers] Re: Android XML

2014-07-20 Thread Deepak
Have you overridden onBackPressed in activity B in which case you should call this.finish() in B. Your code should look similar to this class A : Activity { onClick(..) { start activity B } } class B : Activity { onBackPressed() { this.finish(); /* this takes you back to the previous

[android-developers] Re: Android XML

2014-07-17 Thread janvi
Yes I have Overridden back button . I start activity A and then call finish in the method onBackPressed() which I have overridden.But still the problem exists. Any Help would be appreciated . Thanks in advance On Friday, July 11, 2014 4:46:00 PM UTC+5:30, MathieuB wrote: Did you do some kind

[android-developers] Re: Android XML

2014-07-11 Thread Awdhesh Jha
Finish the activity ShowChart after onback. On Friday, July 11, 2014 11:20:31 AM UTC+5:30, janvi wrote: Hello All, I have an issue in my App. I have three activities called A , B ,C In the activity A I have a button and onclick of that I open another Activity called ShowChart.Onback

[android-developers] Re: Android XML

2014-07-11 Thread MathieuB
Did you do some kind of overriding on back button? If you normally use startActivity() in activity A to start B, then when you press back from B to A, it should act normally. Le vendredi 11 juillet 2014 01:50:31 UTC-4, janvi a écrit : Hello All, I have an issue in my App. I have three

[android-developers] Re: Android XML Configuration File

2012-07-27 Thread Parmeshwar Changulpaye
thanks On Monday, 23 July 2012 19:09:23 UTC+5:30, Thomas Nolan wrote: I work for an enterprise support desk for a university, and for iPads/iPhones, we created XML configuration files that a user can download that confiure their exchange account for them. Is this possible to do for

[android-developers] Re: Android XML Schema Location

2009-09-28 Thread Romain Guy
There is no schema, this is just an identifier for the namespace. On Mon, Sep 28, 2009 at 4:04 PM, Mihai Fonoage fonoag...@gmail.com wrote: Hi, The Android XML Schema is declared in the xml files as being at http://schemas.android.com/apk/res/android;. Since this URL is not found, how does

[android-developers] Re: Android XML Schema Location

2009-09-28 Thread Mihai Fonoage
But if I change the identifier to something else, it does not work, hence the http://schemas.android.com/apk/res/android; value of the namespace has to have some kind of (internal) meaning. I get though that the validity of the attributes is based on the parent element (as per my understanding),

[android-developers] Re: Android XML Schema Location

2009-09-28 Thread Dianne Hackborn
It's the namespace that the android framework resources live in. It's just a namespace, but if you change the namespace, you totally change the meaning of the XML file because by definition all attributes that were in the old namespace have changed their identity to something unrelated in a

[android-developers] Re: Android XML Schema Location

2009-09-28 Thread Mihai Fonoage
Thanks both for your explanations! Mihai Fonoage On Sep 28, 8:19 pm, Dianne Hackborn hack...@android.com wrote: It's the namespace that the android framework resources live in.  It's just a namespace, but if you change the namespace, you totally change the meaning of the XML file because by

[android-developers] Re: Android Xml / Widget reference?

2009-03-01 Thread Romain Guy
XML tags map to classes. Just look at the documentation of the control you want and it should show the list of valid XML attributes at the top with their Java API equivalent (for instance: http://developer.android.com/reference/android/widget/FrameLayout.html) On Sun, Mar 1, 2009 at 12:01 AM,