Android Task Manager – Basic To-do List

The admin has done a bunch of stuff in the past couple of days. 😀 This feeling of accomplishment is unspeakably awesome! Aside from the fact that the UI is getting more and more ugly, here’s what I have right now (in triumphant gold \(@ ̄∇ ̄@)/):

  1. Update task item status
    • Allow user to update the check status from UI by clicking anywhere on the listItem (from textbox or the item description, but not delete button )
    • Link status from UI to database (Yay, finally~~!
  2. Added delete task feature
    • Align the button to the right hand side of the screen and fill make the description of task visible
    • Working/linking again with the headaching DB~~ XD
  3. Extract and show only the completed tasks in LogActivity
  4. Added background to splash screen

Still need:

  1. Store the last listView location (instead of going back to the top) every time after the list is updated
  2. Play with the UI more and test on more devices
    • the bottom bar of the emulator binds the view.
    • test landscape view on actual android devices
    • Google android emulator sucks!

3 4

So, what the admin plans to do next is to get rid of “Edit” button (which I currently use it to clear the whole table for debugging purpose only). By getting rid of this button means I’m cutting the feature of allowing the users to reorder the list. After all the struggling with connecting android UI with the database, the admin wants to take a break from working with the linking part. Probably need to add a new column in the table to store the position. At any case, that’s not going to be something coming soon in the first release. =A= (Probably will in version 2 or later if there’s going to be one >_< ).

Another feature that I want is to hide the Delete button. Instead of keeping a bunch of them on screen, I want it to be invisible and show it only when the user swipes the list to the left direction to avoid accident touch. Swiping is cool anyways :P.

I also want to work a little bit on the graphic portion (ie. the icon, background, buttons, and my little manager). Demo is a bit delayed because the current graphic and layout is not very eye soothing, so the admin decided to postpone it. Actually, she’s just shy. Anyways, ta-ta for now~

isuke2

Android – Unable to Check Custom Item from ListView

My ListView contain a list of custom items. Each item contains a CheckBox and an associate TextView. I wanted to check/uncheck items from the ListView, but it didn’t let me.

—————————————————————

 According Matt C’s solution on SO, Android doesn’t allow selections on items that are focusable (namely CheckBox). The fix was quite simple =A=; just add the following line in the CheckBox attribute to disable focus:

android:focusable="false"

 

After adding the above line will make the item selectable EXCLUDING the checkbox. You either want to implement the checkbox with another action or can simply disable clickable for it to work with the ListView.

android:clickable="false" 

—————————————————————-

 So now i have something like this =3=:

<CheckBox
        android:id="@+id/checkBox1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:focusable="false"
        android:clickable="false"
/>

 

Source: http://stackoverflow.com/questions/1121192/android-custom-listview-unable-to-click-on-items

 

Android Task Manager – stuck (-__-)”

Just a quick downdate update. The admin is stuck on updating the UI checkmark to the database. So this is really the time to actually sit down in the library and read a goddamn book. Kukuku, the admin is so pathetic. Half a month has already passed since the start of the project and still working on the to-do list function. Guh~~~ this is taking forever to be done (==”). Hopefully, this can be done by the next weekend then.. T__T

kouko1

These A+ people… ((hold fist. Nah not really.

Android Task Manager – New Task

Now we can add a new task via dialog box. This really isn’t what the admin really wants, but guess just have to leave it like that for the time beings.

The admin also refactored the DB stuff quite a bit because the previous version was really hard to understand. A nicer tutorial on using SQLite is here (Click on this link!! It’s a really great piece. Make this link line longer so it can actually catch people’s attention 😛). Yeah, it’s because the admin has too few experience on coding these shit that I ran into tons of design issues.

Currently, I’m passing ordinary Strings to ListView. I want to change it to passing the Task object instead so that it contains information on whether the task has been done or not. This means, gonna change a lot of things again (hehe, not really. the admin just lazy). Too troublesome~~

1 2

Having that said, the admin was enjoying *life* too much that i actually forgot (on purpose) to work on this cute project. I can’t believe almost one week has past since the last post. Anyways, ‘will probably do another demo next time when the admin gets the next feature done :3 Please don’t look forward to it.

Shinya's discipline~

Shinya’s discipline~ (removed the finger from the draft because.. inappropriate?)