Archive for the ‘ Uncategorized ’ Category

Life Updates- and svg

I’ve been doing a lot of  iPhone development, and redid my proof of concept jQuery Mobile website. So no shortage of work. Also had my 2nd child since my last post. 🙂

In doing all the work I’ve found that there are not to many places that offer svg files of their free icons. Those that do, have very limited packs. Maybe I’m missing a site?

http://davidcrow.ca/article/634/open-source-icons

The above site lists some nice free places to get icons. There is also:

http://blog.twg.ca/2009/09/free-iphone-toolbar-icons/

http://www.greepit.com/open-source-icons-gcons/

http://www.pixelpressicons.com/?p=108

http://brsev.deviantart.com/art/Token-128429570

Anyway, so to be clear I’m looking for monochrome simplistic mobile icons. And since no one seems to offer svg files, I took it upon myself to learn inkscape, trace a couple icons as a proof, and save them out. So granted I’m no designer, but id like to offer what I have, and what I make in the future.

Hopefully the more I make the better I’ll get, but you know how programmers design…

If you have any favorite free icon packs feel free to post them in the comments, especially of they are in svg format.

If you have any corrections of tweaks to my files please post in the comments so I can get the files are share them with everyone.

 

Cloud> http://www.mediafire.com/?d94krj9019j09jq

bell> http://www.mediafire.com/?l2xb5fq5kzk72jy

users>http://www.mediafire.com/?mlbtzdbwdz05ulf

ToggleNic- toggling the enabled network connection in win7

I found this site http://channel9.msdn.com/playground/Sandbox/154712/#Page=1 which ironically had a project under the same title I was using.

I wrote a togglenic app for xp some time ago but it was pretty limited in the features. This week i got a new win7 pc and found my togglenic no longer worked. I found the listed site, got the code, and went to work.

Its now a windows forms application, it will start with windows if you set it (minimized of course), will provide a list of networks, you can refresh this list, choose the network, outputs log to richtextbox, minimized to tray. Warning- i threw this together so its provided with no warranty. Sorry.

Pretty basic. I plan on adding xp support, but haven’t done so yet. So to be clear this should work on vista,7,and 2008 though I’ve only tested in win7.

Also to be clear i have no affiliation with the author of the listed post, we’ve just happened to name it the same thing. I did steal his icon…cuz it was nice.

Im not releasing the source since the working code has already been released. Any ideas for improvements are welcome.

rar – http://www.mediafire.com/?jaj9a1lgw34bv66

Android-Like Date Picker with jQuery mobile .2

In a previous post (https://toddmhorst.wordpress.com/2010/12/24/android-like-date-picker-with-jquery-mobile/) I showed a concept for a date picker for jQuery Mobile. It didn’t work, but I had most of the gui done.

Here is my current sample:
http://managingmeals.com/demos/datepicker/ (Sorry for the slow loading site, I couldn’t find a free place to host the demo, tips?).

Here is the current download:

http://www.mediafire.com/?in88b1f76bufyun

The goal is to get this look (taken from android):

Here is the current look of my app (looks slightly better on android):

Changes since .1:

  • Modal window
  • Set/Cancel work
  • Theme tweaks
  • Centers dialog with orientation changes
  • Button responsiveness (changed from click to tap), this was the slowness i talked about last time. It turned out that removing the date format lib didn’t affect the speed at all.

Future Changes:

  • On a desktop, some browsers show scrollbar on up/down buttons. Need to hide overflow.
  • there should be validation, as users type text into the text boxes
  • currently we roll the dates, so date is 12/31/10, add a month, it takes you to 1/31/11, it shouldnt
  • If there is a value in the text box when you launch the datepicker, start from that date
  • if the keyboard is shown and its landscape, just show the 3 text boxes, or scroll to them
  • if the keyboard is shown and its portrait, lengthen page, move dialog down, and scroll down to hide title bar

Reasons:

I’m still hoping someone can take this sample and run with it. I’m definitely not a pro with jquery yet, and mobile isn’t even out of alpha. If users see this as well as the iphone replica (talked about in last post) we may be able to get some good options out there.

Im not sure what direction jquery mobile will go with a datepicker, who knows maybe they can do something similar and replace this altogether.

 

Side Note:

I tried using the dialogs built into jQuery Mobile, they are separate pages. I didn’t spend a lot of time on it, but i couldn’t get the js to work on the dialog. After that i would need to update the parent page with the date value, so those 2 hurdles were enough for me to go in another direction, at least for now.

Android-Like Date Picker with jQuery mobile

Newer Version:https://toddmhorst.wordpress.com/2010/12/30/android-like-date-picker-with-jquery-mobile-2/

I started working on a mobile web app using jquery mobile this week. I got to a point where I needed a date picker, and noticed that theirs isn’t done yet. In the experiments folder on git they seem to be basing it off of the date picker from jquery ui. Which looks out of place on a mobile browser.

Looking around I found the following site that has an iPhone like date picker. It works well, but could potentially give you invalid dates as it always allows 31 in the day selector without taking into account the current month your in.

http://cubiq.org/spinning-wheel-on-webkit-for-iphone-ipod-touch

Since I’m testing on a droid, I noticed that their picker is simple and clean. I decided to make a web version using jquery mobile.

Here is my sample:
http://managingmeals.com/demos/datepicker/ (Sorry for the slow loading site, I couldn’t find a free place to host the demo, tips?).

Here is a picture:

Here is a pic on the real thing on android:

Here is the package:

http://www.mediafire.com/?in88b1f76bufyun

Reasons:

I’m hoping someone can take this sample and run with it. I’m definitely not a pro with jquery yet, and mobile isn’t even out of alpha. If users see this as well as the iphone replica we may be able to get some good options out there.

Future Fixes:

This page is horribly slow, I have it hosted locally and my droid still has a lot of lag. I would like to get rid of the date formatter and build that into the script. The external script is awsome if your doing a lot of different modifications, but im not.

Needs to be in a pop up similar to dialogs on a desktop, or list items in the mobile framework. I dont really like that dialogs in the mobile framework hide the text of the sceen, they seem more like new pages. Set and Cancel button would then need to work.