.Net service and BB10

Getting back to developing applications for BlackBerry. My work needed an application for collecting sales leads at production shows. Apparently you can rent the scanners from the show providers, but renting them and getting the data is a bit expensive year after year. One of the Marketing group folks came to me and asked if I could make an app that would eliminate the need for paying for the show services. I thought it would be great to write a new app and started at it. However, we ran into some basic issues with the scanning PDF 417 codes, which Continue reading .Net service and BB10

Column charts with ticks

After having some issues with the Flex Forum due to spamming (not me), I went back on to answer a few quick questions. A question about creating tick lines between the interval lines on a column chart was followed up with setting the number of tick lines between the intervals. The first part of adding tick lines is fairly straight forward. When you create a ColumnChart and add LinearAxis, you can set the minorInterval value, which creates the ticks between the main intervals. After that is set, you can add an AxisRenderer to the verticalAxisRender to adjust what the tick Continue reading Column charts with ticks

Upgrading to Apache Flex

Since I don’t keep as up-to-date with tools at work as I would like to, it came as a little bit of a surprise that Adobe had given Flex over to the Apache foundation as Apache Flex. 2011: Adobe decides to contribute Flex to the ASF The decision is made within Adobe to incubate Flex at the ASF. Work starts on the incubation proposal, on explaining internally what this means, on the legal/IP clearance steps required to donate the code and on recruiting initial committers who will help get the project started. Obviously, I was a little slow on the Continue reading Upgrading to Apache Flex

Color name to uint value

Filing under the “why didn’t I find this before” folder. On the Adobe Flex forums, there was a question about changing the color value of a button based on a switch statement. The user was trying to change the value to “Red”, “Yellow” or “Green”. In the button, the type for color is uint value, so the input needs to be something like “0x990000” for “Red”. I usually just insert in the uint value for a color and not the name, since I usually have to change it. But, this question on the forum got me thinking and searching for Continue reading Color name to uint value

Continuos Vibrate and Music Alert until Confirmation : update

I had recently thought I solved my issue with creating a continuous vibrate and music alert for the BlackBerry application that I created for work. Unfortunately, when I put the fix on to the phone, the volume level of the music was very low, even though I had the volume set to 100%. So, it was back to the drawing board to try and figure out how to get this working. The main issue was determining if the music had finished and then starting it again until the user pressed a key. After messing around with NotificationsEngineListener, Event and the Continue reading Continuos Vibrate and Music Alert until Confirmation : update

DataGrid Row Move

Another question on the Flex Forum about how to move a selected row on the DataGrid up or down, based on a button click.  The answer is straight forward, but with a catch. When you click on the DataGrid, it will give you an index for the row you have clicked.  The first row in the DataGrid is 0.  If you wanted to simply move a row up and down the DataGrid, then you simply add or subtract 1 from the selected index. Simple enough.  Unless you sort the DataGrid, which throws that out of wack and is pointless.  So, Continue reading DataGrid Row Move