I spent hours to find out how to do it. And believe me or not, I found nothing on the whole internet about how to solve it. Actually there is a simple way to do that after the event “deviceready” has been triggered (as described on the PhoneGap’s API Docs), it is simple as: The “deviceready” trigger, tell us when all native components are loaded and ready to use. Which means, that there is no way to determine whether the page loaded from PhoneGap or not using the PhoneGap plugin itself. You can check the UserAgent, but it is not always true, because it is possible to open the page through the mobile’s browser which is the same UserAgent as loaded from PhoneGap. Let’s give a typical example, that describes the case better. Let’s say I want to perform an action when the device is ready and the document is…

Read more

As you know or don’t know, all my work (especially programming) is done from a laptop running Linux OS, or to be more specific, Fedora.
Except from programming, I’m also using Adobe products like Photoshop, Fireworks and more to design and style photos, picture and images.
As I know for now, there is no standard way to run Adobe products from Linux but only from Windows or Mac OS X.

On Linux there is also pretty nice Photoshop-like application called GIMP, but it is not rich with features and user-experience like Photoshop. And what about the rest Adobe products except Photoshop, is there an alternative applications on Linux? I didn’t find any.

Read more

2/2