[Q] Android Design Principles - Android Software Development

Been looking over Android design principles, especially how you shouldn't have to do anything from a Context menu but its just a nice feature.
In other words, this says to me, everything is a child and if you drop down far enough, you should be able to delete the item.
Ok...
Then I got a problem.
I got a situation like:
Grandparent > Parent > Child
Each one is essentially in a list view, but in my situation, you cannot add the child until the parent is saved (Row Ids in a database and all that) and we really don't want to do any editing of the parent. But we have several actions we might like to accomplish - hold/freeze/extend... that kind of stuff.
Given that context menus aren't desirable, would we perhaps just put all the actions on the "Parent" activity with a link to the Child form?
I hope that makes sense?

Related

Custom Calendar entries... anyone know a tweak?

I still use the default windows calendar application, but I'd like to find a way to customize it. (or customise, if you prefer).
Under "subject" there is a drop-down menu that I'd like to add to or alter the default settings. I have "Meet with, Lunch, Dinner, Visit, Call", etc., but I'd like to change these to "Dental appointment, Class, Kids activity, On Call at work" or whatever comes to mind. This way I can find these appointments faster.
Any ideas? I've searched for many tweaks but not found these.
What about SPB Diary or any of those programs that enhance your phone's PIM.. have you tried any of those?
I haven't. I'm trying to keep it as simple as possible, without adding a whole bunch of extra software to the phone.
I was hoping it could be found in some hexadecimal registry search or something, but I don't have the time right now to really dig deep. I was just hoping one of the brilliant minds here knew of a way.
please clarify
Dirt,
Under subjects I understand you have entries already added by yourself. have you tried under categories??? I think you might find it easier to use that to find them quicker when searching, noting that it would be just like using the desktop version of outlook. Just a thought, you know.
dirtisgood said:
I still use the default windows calendar application, but I'd like to find a way to customize it. (or customise, if you prefer).
Under "subject" there is a drop-down menu that I'd like to add to or alter the default settings. I have "Meet with, Lunch, Dinner, Visit, Call", etc., but I'd like to change these to "Dental appointment, Class, Kids activity, On Call at work" or whatever comes to mind. This way I can find these appointments faster.
Any ideas? I've searched for many tweaks but not found these.
Click to expand...
Click to collapse
I have two areas I want to enter things into, Subject, and Location. Both of these are drop-down boxes, with some pre-installed entries in Subject. Nothing is per-installed in Location.
I can simply type what I want into these boxes and it will work, but with the drop-down boxes it would be much easier to simply select one.
Even adding my own entries doesn't add them to the drop-down list for future use.
This is all at the screen of a new calendar appointment, at the very top.
Ok, which version (wm5/6) herald do you have?? I understand you, but what you can't do I can with mine, and its stock.
This is WM6.1 pro.
same problem here..
Ive searched the registry for those default entries. found nothing. maybe in some xml config file...

Simple checklist application?

I'm looking for a very simple checklist application. It has to be touch friendly so I could easily check an item with the finger.
I don't need any advanced features, databases, prices, quantities, only to be able to add new items, delete them and mark them as done quickly and easily. The checked items have to be hidden or to go to the end of the list, behind the unchecked items. Some sort of a simplified task list...
Anybody seen / used something like this? All apps I could find (eg. Handy Shopper) aren't touch-fiendly.
Anything new?
http://forum.xda-developers.com/showthread.php?t=506538
Not yet ready, but looks good.

How to create main menu layout like Robo Defense?

First of all, I'm sorry if this is in the wrong section. I posted this to androidforums too but it seems the topic was complicated so people didn't even bother to answer my thread.
Hi, I'm new to android. I am used to code in C#, and I'm also developing an application for Windows Phone 7. I found out that creating a simple layout in android took a lot more of effort comparing to Windows Phone 7.
I'm going to create this main menu layout that looks similar to Robo Defense's main menu (the menu where you choose to start game, view achievement, etc).
note: I already added the landscape screen orientation and the fullscreen mode to the AndroidManifest. xml.
If you have already played robodefense, you can understand what menu that I'm talking about.
It was easy to create that kind of main menu in Windows Phone 7, but I had difficulties in Android when trying to design it from the main xml file.
I was thinking of using a LinearLayout, and then put a TextView inside the LinearLayout. And after that, I put a TableLayout for the buttons under the TextView. What bugs me is that the table didn't show up, only the text view was displayed.
Then I changed to using LinearLayout again but then put a TableLayout, then put the TextView inside the TableLayout (into a TableRow), hoping that it would be centered inside the table above the buttons. The result is still bad.
The "Title Bar" isn't centered inside the table, and the table layout creates a tablerow with two elements, one of which is empty, and the rows below it change their widths to fit the rows above them.
So that's it, i'm stuck here. What should I do? Any help is appreciated, thank you

[Q] Application Settings Menu

Hi guys
I'm quite new at android developing and i'm really just playing around making things for myself
Right now i'm making an app with a settings menu that the user can set a variety of options.
One thing i really don't understand and i'm guessing i'm missing something basic here that everyone knows is how to create these menus
The type of menus i'm talking about can be found if you open the Internet got Menu > More > Settings
The menu style that you get is a standard one that can be found in heaps of applications however i can't seem to be able to google myself to how you create these
Thanks
Scott.
There is a subclass of the activity class called PreferenceActivity. Use it mostly as you would a regular activity class, but you can add predefined preference panels to the view. See the sample here:
http://developer.android.com/resour...ple/android/apis/app/PreferencesFromCode.html

[Q] Getting a button to funktion

Hi
im making this app where I want a list of stores divided into catagories such as: electronic, food, clothes. My problem is that I cant get figure out how to add a button, which should be clickable, and when the user clicked it, all the stores in that category would appear? I'm using Eclipse.
PS im a rookie a in developing apps
Hopes someone can help me.
Do you want to filter a single list in one activity depending on what button you click or just load a new activity with just that content in it?
Either way you will need a layout with a button in it and then you will get a reference to that button in your activity and then setOnClickListener() to it and define an action to take when pressed.
There are some good "Button Tutorials" on the android developer site as well as other places around the net
From something awesome
IMO, the quickest way is to toss the list in an array and load-up a ListView. Then setup a listener and use onItemClick().

Categories

Resources