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

Answers were Sorted based on User's Feedback



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

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

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

Answer / srinivas

by using setContentView(R.Layout.main) method we can load the xml files in Activity

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Programming Languages AllOther Interview Questions

what is adodb??y it is used for connection of V.B and access??what is ado?dao?

0 Answers   TCS,


There are 2 tables: EMP : EmpId, Ename, Sal, DeptId DEPT : DeptId, Dname Write a query to find out emp names and their department names. if any emp has null in Deptid the it shows ?No Department?. Write a query to find out those department names which has no employee. Write a query to find out those employees whose salary is greater than their department?s average salary.

1 Answers   Oracle,


what is fisrt female program

1 Answers  


what is client server & server? What r types of Joins? explsin it! which types of indexex in sql server? what is triggers?

0 Answers  


how to add a new table with variables and thier values into a imported file uisng proc import?

0 Answers  






if try is followed by finally block what happen to exception occured in try block

3 Answers   Professional Access,


how to write the fallowing code in java? 1 4 9 16 25 36 49 64 81 100

1 Answers  


MOV.CB 007H,ADCON1 MOVE.CT 001H,_OPTION_REG_7 MOV.CB 007H,CMCON

0 Answers  


How do you pass variables forwrd to future CECI sessions

0 Answers   Mind Tree,


As per interoperatbility programs written in one language can be used by other language. How can we restrict the features of one language (say C#) in the programmer written in another language (say VB)..for example we have some features like operator overloading which is possible C#.NET (not in VB.NET), how can we restrict that when we are using this code in VB.NET.

0 Answers   Tesco,


in network security,how we identified threat?some one say we found threat according to it's signature,but how we get signature or pattern of the virus?

0 Answers  


why should i hire u

16 Answers   Google, Satyam,


Categories