A Few Notes After Completing My First Mobile App...
I just finished my first AIR mobile app with Flash Builder Burrito. It took me just over 3 weeks. While I'm an experienced programmer, I had no previous experience with Flash Builder, ActionScript, AIR, etc. If so, I could have knocked this app out in a week! I'm very impressed with the ease of development compared to some other platforms that I've developed on (native Android, webOS, Titanium, and a few others). That said, I did run into a few issues that I believe, if properly addressed, would greatly benefit developers, users, and the platform as a whole (so hopefully Adobe employees visit this post and read on!).
Forms & Fields
Support for forms could be much better. Of all the issues I ran into, ones related to form fields took more time to resolve than any other. Three really stood out however...
- There should be some sort of "placeholderText" property that will display its value inside of an uncompleted field (partially greyed out preferably). When the user clicks inside of the field that text should go away. If the user leaves the field without entering anything it should reappear. This will negate the need for labels as they are currently used, saving valuable screen space. It wasn't hard to write a function that did this, but it is something that should be built in.
- Form validation tools are essential! There should be some way to test & flag common field types that aren't filled out correctly (text only, numeric, currency, email, etc). Built in functions that do this would save developers time. I created my own, but I haven't figured out a way to change the background or text color of fields on the fly. Instead I just prompt the user without highlighting the exact fields. This may be due to my inexperience with this platform, but again, this is something that developers shouldn't have to reinvent the wheel with time and time again.
- There should be a way to specify which keyboard is displayed each time a field is selected. For example, if I know the user is entering a zip code then a numeric keyboard should display. There are a multitude of keyboards available, but the ability to toggle between text and numeric should be the bare minimum.
User Prompts
I found it strange that there isn't a way to quickly prompt users. I tried the Alert.show() function without success. I wound up rolling my own alert system of sorts. It works great actually, but still...
Running Projects
This is something minor, but annoying. I'm not sure if this is a Flash Builder issue or Eclipse issue, but if you run an app and you already have an instance of it open you receive an error stating such. It would be great if it simply closed the old instance and opened a new one. I know, very minor. I'm just saying...
Native Device Functions
> Notifications
> Access to contacts
Others?
I'm really interested in hearing other issues that you guys have run into (big and small) and what you did to resolve it?!?!?