Posted by: timeister | July 29, 2009

Objective C Get iPhone number

Source: TiMeister.com – Online Timesheet Software

How to get the iphone number from sim using xcode or objective c?

NSString *num = [[NSUserDefaults standardUserDefaults] stringForKey:@”SBFormattedPhoneNumber”];
NSLog(@”Phone Number: %@”, num);
Posted by: timeister | July 29, 2009

Flex: Unable To Open locale en_US or fr_FR

Source: Blog TiMeister.com

If you want to create a localized application you may find yourself in a strange situation when you did all the steps like in the book, but you continue to receive the “Unable to open locale xx_XX” error messages.

To simulate a fix on this issue we will take the example of adding French to your app.

Basic steps:
- The first step is to create a fr_FR folder under the /locale/ one exactly like in the Flex documentation and then add the translated bundle.properties file.
- The second step is to add the compiler options: -locale en_US,fr_FR

Extra steps you need to make in order to get rid of the ugly “unable to open locale” error message:

1. goto the following path :

<flex-install-folder>/sdks/<current-sdk-folder>/bin/

for windows it’s: C:\Program Files\Adobe\Flex Builder 3\sdks\3.2.0\bin\

2. Execute the following command:

> copylocale.exe en_US fr_FR

That’s all, hope we helped you!
————————-

The TiMeister Team

Posted by: timeister | July 19, 2009

FLEX: Why is stage == null?

Source: TiMeister.com

Hello,

If you are trying to access the stage of your application right when your app is completed then you’re doing something wrong.

BAD CODE Most of the cases programmers make the following mistake:

<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init()">
    <mx:Script>
        <![CDATA[
            import flash.display.StageDisplayState;
            private function init():void
            {
                var s:Stage = this.stage; //<<-- this.stage == null...why??
                s.scaleMode = StageScaleMode.EXACT_FIT;
            }
        ]]>
    </mx:Script>
</mx:WindowedApplication>

GOOD CODE : The correct approach is the following:

<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication
       xmlns:mx="http://www.adobe.com/2006/mxml"
       creationComplete="init()">
    <mx:Script>
        <![CDATA[
            import flash.display.StageDisplayState;
            private function init():void
            {
                this.systemManager.stage.scaleMode = StageScaleMode.EXACT_FIT;
            }
        ]]>
    </mx:Script>
</mx:WindowedApplication>

Hope we helped you with this issue we also had in our beginning as Flex Devlopers

Posted by: timeister | January 28, 2009

Timeister ready for outside beta testers

Timetracking was never easy.
Wanna join our private beta test-team? Just register your e-mail on the main website page.
We will be waiting for you!

Have a great day!

Posted by: timeister | January 16, 2009

Adobe Flex Custom Button Skin

How to create a custom button skin in a Flex web application?

That’s a common question but a simple google will not reveal so much info on how to do it.
The limitation with default flex skin is that even we can define as many colors we want in a “gradient fill” the “ButtonSkin” will take in consideration only the first 2 of them.
Why did they made it like this ? donno, and do not care! So we extended the existing skin and created a custom skin for buttons.
Here is how it does look:
skinned button in flex adobe
Yes.. this is a flex button.

Read full article and download source code

Bye!

Posted by: timeister | January 14, 2009

RIA Quality Assurance

Introducing RIA AppPuncher™

“RIA AppPuncher™ is a software testing and debugging product. AppPuncher was designed from the ground up to facilitate testing of the Rich Internet Applications. The product provides the following functionality:

* Client/server communication debugging
* Functional testing
* Regression testing
* Load testing

AppPuncher supports Flash, Flex, Silverlight, AJAX clients as well as traditional browser-based applications. From the client/server protocol perspective, the product enables testing of the client/server applications using any of the following protocols: HTTP, SOAP, REST/XML, AMF and RTMP. AppPuncher runs on Windows, MAC OS X and *nix platforms.”

Source: http://www.themidnightcoders.com

In a previous post you can find how to enable/disable Adobe AIR Framework Autoupdate using the Adobe AIR Manager tool.

We had the problem that we wanted to disable Adobe Air Framework from our AIR Application but we never found a way to do this even if the Adobe AIR Manager tool is a air based file. But a few days ago without any doubt what it must be we found a file inside the “C:\Documents and Settings\[user]\Application Data\Adobe\AIR\” (win XP) named “updateDisabled”. After enabling the Adobe AIR Framework Autoupdate the file was erased right away.
Then we found the all the magic of setting Adobe AIR Framework Autoupdate value it the presence of a specific file inside a specific folder. Nothing more.. no registry, no encrypted settings files or else.

We took the time and created a simple AS3 class that you can use for Manually Enable/Disable AIR Framework Autoupdate from your Abobe AIR application.

Read full article ad download the code on our official blog http://blog.timeister.com/

Source: http://blog.timeister.com

Posted by: timeister | January 12, 2009

Flex and PDF Generator Component

If you are looking for a pdf creator component in flex you may want to know about the new WebOrb PDF Generator from Midnight Codders which is available for flex too.

“Generating documents, reports and document-based forms is a very common task for web application users. RIAs are not an exception as users and business workflows require capturing data contained within RIAs to produce usable documents for offline use, such as archiving or further business processing. WebORB PDF Generator is both an SDK and runtime solution that installs as an extension into WebORB for Java, .NET, PHP and ColdFusion Enterprise and Community Edition servers, enabling both client and server applications to create template-based PDF documents. Templates can be created either on the server as XML files or originate on the client as Flex components. Templates include information about document layout, graphics and data sources for operational data.

Key Benefits:
* Ease of template development – developers can use the development environment they are already familiar with to create customized templates. For instance, Flex developers can use Flex Builder for visual template editing. Future releases of the product will support Visual Studio-based template authoring.

* Advanced workflow support – advanced features such as PDF forms and embedded Flash/Flex content can streamline business workflow and improve user interaction with the generated PDF documents.

* Centralized Administration – WebORB PDF Generator requires no client-side installations, which makes it fast and easy to provide PDF generation capabilities to networked users.

* Reduced cost to develop and deploy – ease of installation, WYSIWIG template editing, non-intrusive data-binding and server-side PDF generation make it possible to provide the benefits of PDF template design and PDF generation at a low cost per server. Server-side deployment means there are no client fees, putting enterprise PDF Generation in reach for any size organization.”

Visit original post here: http://blog.timeister.com

Posted by: timeister | January 8, 2009

Google Maps API for Flash

This API lets Flex developers embed Google Maps in Flash applications. Similar to the JavaScript version, this ActionScript API provides a number of utilities for manipulating and adding content to maps through a variety of services, enabling you to embed robust, interactive maps applications on your website.
More details here…

Visit out official blog: blog.timeister.com

Posted by: timeister | January 8, 2009

How To Make Money Online

Here is a nice video by David Heinemeier Hansson from 37signals

Visit out official blog: blog.timeister.com

Posted by: timeister | January 8, 2009

Disable Adobe AIR Runtime Autoupdate

If you would like to disable the auto-update capability in Adobe AIR and only manually update the runtime when a new version is available, or if the Adobe AIR Autoupdater is adding unneeded behavior to your AIR application, then you can use the SettingsManager application to disable automatic updates.

Read more…

Visit out official blog: blog.timeister.com

Posted by: timeister | December 19, 2008

Tour de Flex!

I was looking for news on Flex and AIR and found out a great AIR application on www.flex.org . “Tour de Flex” is a desktop application for exploring Flex capabilities and resources, including the core Flex components, Adobe AIR and data integration, as well as a variety of third-party components, effects, skins, and more.

The app is big but it certainly worth to be installed, download is approx 50MB.
Tour de Flex has three primary purposes:
* Provide non-Flex developers with a good overview of what is possible in Flex in a “look and see” environment
* Provide Flex developers with an illustrated reference tool
* Provide commercial and non-commercial Flex developers a place to showcase their work
Tour de Flex includes over 200 runnable samples, each with source code, links to documentation, and other details. Topics include the Flex Core Components, Flex Data
Access, AIR Desktop Capabilities, Cloud APIs, Data Visualization, Mapping, and a growing collection of custom components, effects, skins, etc.

Visit our new website www.timeister.com
Read the Blog http://blog.timeister.com
or post on Forum http://forum.timeister.com

Posted by: timeister | December 17, 2008

Welcome!

Welcome to TiMeister Web Blog!

Here is our first post and we will not bore you will how cool we are and stuff like that. So let’s get to subject, we will just let you know some basic things about us and about future posts on this blog.

- Who we are?
We are a small team of programmers  hungry for coding and looking to extend the RIA world with our knowledge and talent.

- What is TiMeister?
TiMeister is a free, web-based,  complete timesheet application

- When TiMeister will be available?
TiMeister is already in private testing period and we will release the public beta version soon. So stay tuned!

- Why should I use TiMeister? because:
It will allow advanced features, it will be easy to use and sure it will be free.

- Why should I check your blog if i don’t need a timesheet software?
If you are an ordinary RIA developer we will keep you up to date with latest RIA news and Top Apps
If you are an Adobe Flex developer we will make public some of our solutions to the problems we had in implementing flex-things.
If you are a simple internet user you will find us full of interesting info about latest trends over the web.

Hope you will visit us soon!
For any questions contact us…

or visit us at www.timeister.com

Categories