Skip to main content

My appy days

Well. The current app is quite simple. Few forms and a database. So I thought it will not be challenging (enough to make me continue ).

But how wrong was I!

To start with, I had to struggle with layouts. I thought gridlayout - the one I had never used before, could be good. And it said it needed sdk 14 and above. Fine i will go with that because who has a phone older than kitkat. If there are some people, they will not download any apps.

So I tried neatly giving textviews and editexts in gridlayout. Unlike table layout, I need not mention row each time. But it was difficult. No matter what I do, the second column would go beyond the screen. I tried various combinations and finally realized that I should not use width and heights for views within the layout. Who knew!

And then came the simple spinner. I should show existing values and should be able to add a new value. I could not. I tried a tweak or several tweaks shown in  google suggestions. But now the new value will immediately take me to next screen, without giving me any time to understand what the hell is happening.

Finally the solution. It was called auto complete text view.

Who knew? These trivial forms in this trivial app could be so difficult challenging.

In other news, the neighborhood is suspiciously quiet today. Not quiet as in no birdish insectish sound. Quiet as in no human noise. Any idea why?


Comments

Popular posts from this blog

Someshwara shataka

ಚರಿಪಾರಣ್ಯದ ಪಕ್ಷಿಗೊಂದು ತರು à²—ೊಡ್ಢಾಗಲ್ ಫಲಂ ಈವಿದಾ ಮರಗಳ್ ಪುಟ್ಟವೆ ಪುಷ್ಪವೊಂದು ಬಳಲಲ್  à²­್ರಂಗಕ್ಕೆ ಪೂವಿಲ್ಲವೆ ನಿರತಂ ಸತ್ಕವಿಗೋರ್ವ ಗರ್ವಿದಂ ನೃಪ ತಾಂ ಲೋಭಿಯಾಗಲ್ ನಿಜಂ ಧರೆಯೊಳ್ ದಾತರು ಪುಟ್ಟರೆ ಹರ ಹರಾ ಶ್ರೀ ಚೆನ್ನ ಸೋಮೇಶ್ವರ Will a bird in the wild go hungry just because one fruit tree dries up? If one flower withers, will not the bee get any flowers? If one haughty king is miserly, will there be no patrons (of poetry) on this earth? ಕೆಲವಂ ಬಲ್ಲವರಿಂದ ಕಲ್ತು ಕೆಲವಂ ಶಾಸ್ತ್ರಂಗಳೋದುತಂ ಕೆಲವಂ ಮಾಳ್ಪವರಿಂದ ಕಂಡು ಕೆಲವಂ ಸುಜ್ಙಾನದಿಂ  ನೋಡುತಂ ಕೆಲವಂ ಸಜ್ಜನಸಂಗದಿಂದಲರಿಯಲ್ ಸರ್ವಜ್ಞನಪ್ಪಂ ನರಂ ಪಲವಂ ಪಳ್ಳ ಸಮುದ್ರವೈ ಹಾರ ಹರಾ ಶ್ರೀ ಚೆನ್ನ ಸೋಮೇಶ್ವರ Learning from wise men, reading from good books, observing others  work and learning from good company, these are the ways a man becomes omni-scient (sarvajna - one who knows everything). Just like many streams join together to make an ocean. P.S. 1) If you find some of my wordings in this shataka is wrong, please let me know. It is a 40 year old memory. 2) There are also...

Hair care and me ??

I delayed writing this post for I was not sure whether I am entitled to write this post. If I put my photo along, I should also add that I do not use Dove shampoo, so that it will serve as a warning to people , if they don't use a proper shampoo, their hair might also look like mine :-( :-( :-( Things (on my head) were not this bad always. I had long black and reasonably thick hair, nicely plaited, when I was a child. In fact I would be sitting on my plaits - they were so long. And to top it all, one of relatives used to say " you say you will be taller and your hair will say it will be longer" or something like that. (Now I have ended up 5.2 ft  and my hair also short sob....) Back then, how did I nourish my hair?I did not do much in fact. But mere paas maa thi. She would religiously oil my hair - everyday. But not soak my head in oil. She would just put half a teaspoon of oil to my head. Then brush my hair nicely and put 2 tight plaits before sending me to school. T...

Danuvettiddu

We Hegdes from Uttara Kannada, Dakshina Kannada, Shimoga districts of Karnataka belong to a brahmin sub sect called Havyaka Brahmins. We have some traditions of our own, a language of our own - which is slightly different from kannada. But I am not an authority on the subject, nor have I read any book on comparative analysis of Karnataka brahmin traditions. And as most modern secular Hindus I find it more amusing to make fun of our traditions rather than celebrating them - may be because I do not understand it completely. I attended a marriage yesterday. So let us talk about few of rituals in this marriage ceremony. On the previous day of the marriage called Naandi - which means beginning of any good thing. The groom will wear a simple dress, and a wooden footwear (since we can't conjure up wooden paduka so easily, he will wear foot-wear made from dried skin of areca flower) and with a sack on his shoulder, will declare that  he will go to Kashi. Here he is saying, he wants to...