how we can call xml file in java file using Android platform?

Answer Posted / raju

using getResource() we can get the outer resources and from there onwards we can get the IDs of each view components presented inside the XML.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why we use mantis? what u mean mantis in IT trends? addvantages of mantis?

1952


What is the difference between CLEAR & RESET and OPEN & CLOSE OPCOEDS(USING RPG/400).wheare we can use this?can any body tell me in real time senario with example please?

1795


I want sample papers for NIC Examination. Plz send them to my mail Id das.neelam@gmail.com . Plz send it today, tomorrow i've the exam.

1788


What is diffrent between Method and and function in c#

1747


Write a program to show polymorphism.

852


Write a program that prints the numbers from 1 to 100. But for multiples of three print "Fit" instead of the number and for the multiples of five print "Bit". For numbers which are multiples of both three and five print "FitBit".

2172


What is the difference between COM and CORBA?

910


It is possible to take number of controls added to form at run-time.ex-when user enter 6, 6 text boxes get added to form,next time number of controls get change as per user number enter. What is code for that?

1729


what is the purpose of checked Menu options

2187


what is an INI file?

1848


design a counter with the following repeated binary sequence: 0, 1, 2, 3, 4, 5, 6, 7, 8 using JK Flip Flop.

16926


< DL Compact > tag is used for

1737


Definition of Singleton Class? what is the Purpose of it? what is the advantage?

1836


what are importance in problem tracking

1814


which book we learned this mantis? how many version are realsed this mantis upto now?

1637