app

Programmatically execute app in Vista...

Hello, I have an application that executes an upgrader application automatically whien it starts. However, when the first app laucnches and sees that an upgrade is needed it launches the upgrader and fails becuase of security in Vista. If i launch the upgrader manually as an Administrator then it functions correctly. 1) How can i do...

How do I make the dock icon stop bouncing after my app wrapper script starts?

So I recently made an .app wrapper for a zsh script, but when I run it, the icon for the app keeps hopping in the Dock. The app is basically: % find Example.app -type f Example.app/Contents/Info.plist Example.app/Contents/MacOS/wrapper.sh % cat Example.app/Contents/Info.plist <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLI...

How to get around File Upload Exception for Grails on Google App Engine?

I am writing an application on Google App Engine using Grails. Everything works great on my local dev environment. However on live server, I get exception when trying to upload file. When Grails runtime tries to parse controller params, it uses Apache.Commons.FileUpload, which writes temp file and Google doesn't like it. What is the be...

Google App Engine - Task Queues vs Cron Jobs

The latest Google App Engine release supports a new Task Queue API in Python. I was comparing the capabilities of this API vs the already existing Cron service. For background jobs that are not user-initiated, such as grabbing an RSS feed and parsing it on a daily interval. Can and should the Task Queue API be used for non-user initia...

Can a class be an Expando and Polymodel in Google App Engine?

If I create a PolyModel class, such as Person, can I create an Expando model under that Polymodel? For instance, a class Male(Person) that was also an Expando model? If so, how? Thanks! ...

automatically import modules for App Engine interactive console

The interactive console accessible at localhost:8080/_ah/admin is very useful for debugging your App Engine app. I always find myself importing the same modules over and over again, particularly models. I've looked into monkey patching the interactive console to automatically import these models, and I'm stumped. Ideally, I could do ...

Caching moderate amounts of data in a web app - DB or flat files?

A web app I'm working on requires frequent parsing of diverse web resources (HTML, XML, RSS, etc). Once downloaded, I need to cache these resources to minimize network load. The app requires a very straightforward cache policy: only re-download a cached resource when more than X minutes have passed since the access time. Should I: S...

IPhone application won't launch correctly

So I'm developing and iPhone game right now and everything has been working just fine when I test it on my first gen iPod touch. Last night, I added in some NSUserDefaults stuff to save a few variables for it. I ran it on the simulator a few times and it worked perfectly, but when I built the app and put it on my iPod, all I got when I l...

How to execute mac OS x executable using c iphone.

Hey guys, I'm an absolute noob at iPhone development but I know a little C. I need to know how to execute an executable program (compatible under OS X) for an iPhone application. I know that in C system() can be used to invoke a separate program. The program has been tested on the mac terminal and works without any flaws. In addition, t...

TiMidity: need help compiling this library for the iPhone

I'm using a powerful library called TiMidity, which I'm sure many iPhone developers have used already used. This is a platform-independent set of programs, but during compile-time in XCode (gcc compiler), there are hundreds of dependency errors that come up. If anyone here has used TiMidity before for their apps, your advice will be gol...

Granting offline_access, read_stream, and publish_stream from facebook IFRAME app

Does anyone know a simple way to grant extended permissions from a canvas page that is rendered as an Iframe in facebook? I have tried facebook connect and that does not seem to work so now I am trying XFBML but for some reason when I use the prompt-permission attribute it does not open dialogs for the extended permissions that I am re...

How can Facebook's photo upload application access the local harddrive?

I didn't think it was possible for client side applications to access the harddrive? How can this application do it? Can a signed Java applet get access to your peripherals? I know that flash can... ...

Simple Animation with NSTimer and opacity for the iPhone

Hello, I just want to realize a simple animation, where a picture is faded in a few seconds after the beginning of the application and then it should be faded out and totally disappear. I've never done any animations on the iPhone so I'm stuck. When using something like image.opacity = 1.0; like in the Developer Documentation I get: erro...

Setting language on iPhone application

Hi! I am working on an application which I am planning to release both in English and Spanish languages. With this I mean, I would like it to have two separate apps in the App Store, one being displayed with English title, and the other one with Spanish title (and each with contents in their respective language). This means that the la...

Possible? Use Google Maps/GPS to tell how long someone has been in a location?

I'm thinking about building an iphone app that would use the GPS feature to track where someone is and for how long. I realize I could probably get the current location from the iphone from a website but the only way I'm familiar with is using ajax calls, etc (Sorry if this is a rather newbie concept) but I fear that would bog down my s...

Getting an iPhone app's product name at runtime?

How can this be achieved? I would like to get the name so i can display it within an app, without having to change it in code each time i change a name, of course. ...

Bundle Identifier

Hi, I'm running a small team of iPhone developers and am a bit concerned about the application transfers into iPhone from Xcode. The problem is that whenever an app is transfered into the iphone the earlier transfered app is mysteriously replaced. My question is, "How do I ensure that every app takes its own respective place and does ...

Passing remote object from one App Domain across to another process

Hi, Basically I have 2 app domains in my first process (a service) this talks to another process (exe) that runs on the desktop using IPC remoting. In the second app domain of my service I load my plug ins and then interact with them them using an interface from the default app domain. This allows me to unload the plugins whenever I wan...

Hierarchical data output from App Engine Datastore to JSON?

I have a large hierarchical dataset in the App Engine Datastore. The hierarchy is preserved by storing the data in Entity groups, so that I can pull a whole tree by simply knowing the top element key like so: query = db.Query().ancestor(db.get(key)) The question: How do I now output this data as JSON and preserve the hierarchy? Googl...

Fetching or Deleting Entity from Google App Engine DB with Unicode Property Name

I have an Expando model kind in my App Engine datastore and I'm setting many arbitrary property names. I didn't consider that I couldn't store Unicode property names, and now I'm in a troubling situation where any attempt to fetch entities of this kind, or even deleting them to get rid of the offender get the following error: Traceback ...