Air AutoUpdate & Windows 7 pin icon - apache-flex

I've created an Air app for use in work. To make things slightly easier, I pin the icon to taskbar (Windows 7). The app uses the auto-update framework (default), which works fine.
After I update though, the pinned icon becomes a default blank page icon. If I click on this icon, Windows will tell me that it can't find the program. I need to unpin the icon and repin a new one (the icon in the start menu works fine).
Anyone else have this problem and know how to fix it?
I'm using AIR 2.7 (compiling with the Flex 4.1 SDK) and I'm on Windows 7 64 bit if that helps.

A workaround would be to wrap your app inside another app as a module and only update that module. That way only the module SWF would be overwritten, leaving the original app intact.

Resurrecting an old question. After digging around with pretty specific questions on Google, I found 2 posts, one in the Adobe forums:
http://forums.adobe.com/message/3449244
and the other in the JIRA:
https://bugs.adobe.com/jira/browse/SDK-24649
It looks like this bug has been open for a while and isn't getting fixed any time soon.

Related

Visual Studio Apache Cordova - IOS build rotation issue

I'm a starter in writing app code in Visual Studio 2013 Community Apache Cordova and have managed to connect VS2013 with my Mac. Once I have gone through the process of building the app in VS and on my Mac and installing in on my iPhone, I open it up and it won't rotate. It doesn't rotate for a number of basic apps that I've written nor does it rotate if I build the default new project "Hello, your application is ready!" app.
I have done some research and tried changing the config.xml "Orientation" preference to "both", through the code window and also in the designer window but that doesn't change anything. I've also noticed that adding in a "BackgroundColor" preference doesn't work either.
Does anyone know if I may have configured something incorrectly or perhaps need to add something to my code?
All the HTML, JS and CSS that I've written seems to work okay (with the exception of trying to link URLs to the Safari Browser but that's another issue).
I have noticed the same issues. I tried finding some settings to fix that in the config.xml, but was not successful. I have resolved myself to just opening the iOS project in XCode and changing a few things:
Device Orientation: no matter the config.xml setting, its always only Portrait. I click-check the other 3 orientations.
Team: I have multiple developer profiles, and I need to choose correct one here.
Bundle Identifier. I screwed up one project, and have different case for iOS and Android. I leave the VS one as the Android one, so I can build completely correct for Android. Since I know I have to go to XCode for iOS anyway, I change the bundle identifier here.
You can find the project using Finder at ~/remote-builds/builds/9999/cordovaApp/platforms/ios/*.xcodeproj, where 9999 is the build number, though not necessarily the latest, largest number, but the latest datetime of the folder.
You can also refer to Greg's answer in this related post as an alternative solution.

Dragging widgets to window won't work

I'm using Qt Creator for several months now and from time to time, I get a problem dragging widgets like buttons, line edits and so from the toolbox to the window.
I try by removing the layouts but still get the same issue.
I use Qt Creator 2.4.0 on OS X 10.7.2
Thanks for helping
I fixed this problem by upgrading Qt Creator to version 2.4.1 on OS X
The solution described above by #spyke might also be helpful for Windows users.
It case there is a dead link, the solution for Windows says :
I was using Qt Designer for Qt Jambi built with Qt 4.6.4 on Windows 7 ×64 when this problem occurred. After a while I realized that the problem was not only in Qt designer, but in Windows in general: Explorer, FileZilla and more.
The solution was then found by searching for general Windows 7 drag and drop problems [answers.microsoft.com].
In short: Select a file in Windows Explorer with click and hold left mouse button. While holding the button down, hit the Esc key. Then drag and drop starts working again.

Aptana Studio 3 "Building Workspace" with EXT 4 Library

I have a web project setup in Aptana Studio 3.
I like the IDE, but so far my biggest issue with it is how long it takes for it to "Build the workspace". It seems to take forever to sort through all of the EXTJS 4.x files.
Everytime I rebuild the theme file, it takes at least 30 minutes, and the whole time the IDE can't be used. Or if I update the EXT version, it has to go through it all again.
I am sure I could remove the EXT files from the tree entirely until I put my code on the server, but I don't like for things to be scattered, and I am likely to forget to put it back.
Is there anyway I can have it exclude the EXTJS files from process it goes through?
I have try right clicking on the folder in the tree and "Exclude from Index" but that doesn't seem to work at all (This might not even be used for what I think it is).
When I put a whole new set of library files in, this process has taken up to 2 hours. And even if I stop it, it takes 5 or 6 minutes to actually stop.
I realize that the machine I am working on isn't very powerful, but I think this is a little ridiculous, especially for as often as it happens.
Any advice on this other than "get a more powerful machine" would be greatly appreciated.
If it helps I am running Kubuntu 11.10 32 bit.
I haven't used Aptana but it looks eclipse based. In eclipse, you can tweak you project's 'builder' and 'validation' settings so that 'builders' don't walk through the entire ExtJS tree each time you open the workspace or save a file in the project.
There are obviously downsides to disabling validations but its a trade off. (I had the same issue but on eclipse. I moved ExtJS to a separate eclipse project and disabled all builders)
just disable the javascript validator from the project properties window, this is enough.

Does Flash Builder 4 Profiler work with a Flex 4.5 project?

I'm trying to use the Profiler for the first time so I don't know much about it. But it doesn't seem to work.
I run my project under profiler, it says it is running, but no window shows up. Nothing. I can see the project's icon down there but I see no window at all.
Can this be cause by the fact that I'm using Flex 4.5? Or am I missing something?
Updated: Here's a screenshot of the Profiler running the an app. You can the app in the dock and it shows its live objects, but I don't see the apps' window and cannot interact with it. The app is just a simple 400x400 window with some black shapes in it.
Thanks in advance,
Nuno
I think your problem is that you may not be running it in a debug player. Check to make sure.
It could be related to this question. It seems the profiler doesn't work well with Flash Player 10.1.

Xcode cannot run using the selected device

This is the message while trying to run under XCode 4 (it used to work under XCode 3):
No provisioned iOS devices are available. Connect an iOS device or choose an iOS simulator as the destination.
I have profiles for my device for this app... where should I be looking to correct this?
The problem is that your iOS Deployment Target in Project-> Build Settings is different from the current version of iOS on your real device.
You're asking where to find it:
In XCode 4 there is a new button - look for the big
"Organizer button"
which is at the TOP RIGHT.
Physically connect your device and then click Devices. It seems that the new "Organizer button" is one of the "most-missed" things in the transition to XCode4.
Note, the questioner is asking: "WHERE should I be looking to correct this?"
I was having extra trouble because of my Enterprise License, but still updated the iPads. I didn't have to change anything in the Build Settings to lower. But the main thing that I had a problem with was in the Organizer I needed to hit "Use for Development" button.
Kind of an old post, and may not be the best way or a rookie thing to miss but wanted to help anyone out.
My problem similar to those above were related to having the deployment target set too high for the version installed on the phone. Would be nice if it gave a more useful error message. I spent hours messing with my provisioning profile trying to fix it, when the real problem was the older version of the software on the phone.
I had the same problem. The reason was simply, that my ipad had not been update to version 4.3.
This just happened to me for iOS5 with xcode 4.2.
The answer is to go into organiser, select your device, and press the "Develop with this device" button (or similar wording).
Then go back and build, and it should work..
I received this error while having an iPad properly connected.
Some info:
Ipad iOS version: 4.2.1
XCode 4.2
XCode project created with "iOS Application / Empty Application" template.
The problem was that I had to specify the "iOS Deployment Target" to 4.2 in more than one place!
That is, both in the "Build Settings" and in the "Summary".
Very odd, and definitely another XCode4 annoyance.
I got this error in Organizer - "Could not support development.". I tried rebooting the iOS device and it worked for me :)
Check that the Executable File (also known as CFBundleExecutable) in the Info.plist file is set to ${EXECUTABLE_NAME} as opposed to any hardcoded value. This will ensure that even if you change your project name or target name or scheme name, that it still works.
you need to install the proper version of iOS.in my case it is iOS 4.0 - 4.1 Device Debugging Support
GOTO --> XCode Preferences -> Downloads --> Component
there are all updates available for your iOS click Install.
This is works for me.
It looks like this error can also come about if the "Product Name" in your target's build settings does not match the value of "CFBundleExecutable" in your info.plist
It looks like to me this is the general error Apple gives if the executable is not installed correctly on the device. When the debugger tries to attach it looks for the executable name and if it's not there they give this error. Touch one to debug.
Go to build option and select valid compiler.
Chose your right iOS Deployment version

Resources