0
votes
1answer
280 views

In Android can we let a fragment know other fragments?

I think I have found contradictory design guidance within the Google Android documentation on fragmentation. The first statement below advises each fragment be unaware of other fragments and always ...
1
vote
1answer
168 views

MyListActivity, MyCursorAdapter, MyViewHolder — nested classes or not?

I am using several activities based on the ListActivity. All of them display information from different SQLite queries, and all of them use the ViewHolder optimization. The cursor adapter have to be ...
2
votes
0answers
218 views

Capturing mobile device system (output) audio

I'm trying to figure out a way to capture the system audio of an Android and/or Windows Phone. The idea is to provide a stream based on the music I'm currently playing on my phone. What I'm not sure ...
2
votes
2answers
234 views

How to keep my Activity code readable and maintainable?

I have written a rather small App with only one activity. From my understanding an activity has to be seen as kind of a view and controller in one class. But even for a little app, with 3 dialogs ...
7
votes
2answers
1k views

What are the cons of using XML for GUI development? [closed]

I'm hoping this question fits within the scope of Programmers SE and that it's not too open ended. I've always hated GUI design. I don't mean to offend anyone, but I've hated CSS/HTML, I've hated ...
1
vote
1answer
194 views

Design application to send messages by marking circle on the map where you want to send message? [closed]

Design application to send messages by marking circle on the map where you want to send message ? This is a question that was asked of me by an interviewer. Given a map of the world, Select ...
2
votes
1answer
120 views

Need help with clarifying the design of an Android game

I'm going to develop a Kakuro (Cross-Sums) game for Android, and have got the algorithm right. But I can't seem to get the user-interaction part right- i.e. The puzzle is very large. So only a ...
8
votes
3answers
954 views

Why was Android's ContentProvider created?

The title sums up my question, but to elaborate basically what I want to understand is why the Android designers want apps that need to work with shared data to use a Content Provider rather than just ...