BB10 Work Log: December 30, 2012December 31, 2012
Time spent: 1 hour 20 mins
Finally back to my baby names app, the first app I started writing to learn Cascades. This app has been derailed so many times due to beta issues, etc.
It's mostly done, just a matter of making changes required by the newer APIs and finishing it off.
Spent an hour and a half getting it rolling again.
Left to do:
|Hook up "reset all" and "instructions" features again.|
|Fix bug: Rating screen doesn't reset properly when changing girl/boy or mom/dad selections.|
|Results screen is highlighting words in red. (spelling correction?) Turn that off.|
|The results screen is taking approx. 4 seconds to populate. Why? Should be able to do that in the blink of an eye.|
|Get rid of gear icon in overflow menu for selecting a letter.|
BB10 Work Log: December 29, 2012December 30, 2012
|Look into why segmented control is such a dim grey appearance. Looks disabled.|
Yesterday I had a great dev day.
I started by finishing off Flix for BB10. At least, I hope so. I cheated by continuing to use version 2.1 of the SDK. (crossing my fingers it doesn't get rejected because of that) One remaining glitch was that the audio/video synchronization was off, but my theory about what was causing it was right: The number of bytes of audio per millisecond on the PlayBook always seems to be 176 instead of varying like one would think with the quality of the audio stream. But on BB10, it does seem to vary. I also re-Photoshop'd all of the graphics to fit the resolution of BB10. With that done, I submitted the app.
Next, I spent just over an hour porting Print to BB10, and that went pretty smoothly.
With that ported, it only took 20 minutes to port Send To PC.
Finally, late in the evening, I started porting Picasa Sync, and 2 hours later that was done. The main annoyance there was this label issue with the .textWidth property not giving accurate values back. I finally worked around it by removing the old label from the stage each time I need to update its text, creating a new label, waiting for the added event, and then querying the .textWidth property. I'll have to go back and update iTunes Sync / Print / Send to PC to use this same logic.
So as of now I have the following apps submitted:
|Flix + Flix Movie Selector|
|Send To PC|
Flix: 1 hour 37 min
Print: 1 hour 15 min
Send To PC: 22 min
Picasa Sync: 2 hours 13 min
Total: 5 hours 29 minBB10 Work Log: December 28 2012December 28, 2012
Today I figured I'd tweak, test, and submit Flix to App World for BB10. I had spent a couple hours on Flix a month or so ago, with the hope that I could combine the Flix Movie Selector app with the main Flix app (via the WebView control), but getting the Foreign Window sample app to work in conjunction with my screen code just wasn't working for some reason. Given that roadblock, I figured I should at least submit it as is.
I spent 20 minutes making required changes to Flix Movie Selector
, but upon launch the app would just immediately close after displaying the standard BB10 spash screen for an instant. (AIR app) Boo. Of course, after spending nearly an hour going over every detail with a fine tooth comb, I couldn't figure out what was going on. In the end I had to take a "Hello World" BB10 AIR app and re-build the app by copying and pasting over functionality, and finally, that's working. (1.5 hours of time)
Next I moved onto Flix itself. When the dev alpha was first released, Flix worked like a charm. I tried building and deploying it today with the latest SDK, and no such luck. First of all, user prompts weren't showing up. I found some information on the forums and fixed that. Next, I needed to prevent portrait orientation.
But with those things fixed, the actual playback wasn't working at all. It buffers for 30 seconds or so, and then the audio starts playing with some choppiness, and video frames aren't showing at all. Bleh.
The strange thing here is that when the Dev Alpha was first released, I tried Flix on the device and it worked fine. So what gives? I went back and tried the code with the PlayBook 2.1 SDK and it worked fine. Then I noticed that you can deploy NDK apps built with the PlayBook 2.1 SDK to the Dev Alpha, and if you do that, again, the app works. It even uses the proper BB10 dialogs, etc. It makes me wonder whether I might be allowed to submit the BB10 app compiled using the 2.1 SDK.
Flix Movie Selector:
Changes required for BB10: 20 min
Troubleshooting bizarre app crash on load: 1 hour 10 min
Total: 1.5 hours
Fix user prompts: 10 min
Prevent portrait orientation: 10 min
Troubleshoot why playback is broken: 40 min (unsuccessful)
Troubleshoot using 2.1 tablet SDK: 1 hour
Total: 2 hours
Total: 3.5 hoursolder >>