Skip to main content

All Questions

Tagged with
-3 votes
1 answer
219 views

How to save strings and integers permanently to a users device?

I'm building an app that requires the user to purchase content and sign to a User Agreement Contract. However, I'm not too sure where to start with in-app purchases and saving data types to the users ...
kaio37k's user avatar
3 votes
3 answers
7k views

Why use XML in Android?

From what I understand, isn't XML used for layouts and to setup how an activity looks? My book says that XML files are converted into Java code but then, why not just write everything in Java?
Ahmad Hamdy's user avatar
1 vote
3 answers
356 views

Should I be extracting strings from source in core java the way android does?

I just started doing android development stuff after getting pretty comfortable with Java. Android apps tend to do this weird thing where they have all strings for their program held in an XML file ...
Bassinator's user avatar
3 votes
2 answers
5k views

Java Xml intraction in Android

I'm working on Android application development. There is a question that always comes to my mind that: How XML interacts with Java code?. I mean Button inside XML is a view, but Button inside Java is ...
Dilip Kumar Chaudhary's user avatar