hey everyone,
I have no errors in my app-code what so ever, but when i try to run in on either my cell or my emulator/the avd in eclipse i can't run it because it doesn't show up on either one.
this is my console output:
[2011-02-04 08:14:58 - Versuch] Uploading Versuch.apk onto device 'CB511L2WTB'
[2011-02-04 08:14:58 - Versuch] Installing…
Hi there,
I have to sets of images. Each set has 16 images. One set is called 0.png through to 15.png the other is a0.png through to a15.png.
In my app, it loads each one dependent on a variable (which by logging, I have proved it works)
here is the code
[MemoryManager sharedMemoryManager];
NSLog(@"THEME: %@", [MemoryManager…
Class TShirt
def size(suggested_size)
if suggested_size == nil
size = "please choose a size"
else
size = suggested
end
end
end
tshirt = TShirt.new
tshirt.size("M")
== "M"
tshirt = TShirt.new
size = tshirt.size(nil)
== "please choose a size"
What is a better way to have optional objects in a method? Procs?
Hello,
We are currently programming a game (its a pretty unknown language: modula 2),
And the problem we encountered is the following: we have a maze (not a perfect maze) in a 17 x 12 grid. The computer has to generate a way from the starting point (9, 12) to the end point (9, 1). I found some algorithms but they dont work when…
Is anyone aware of a Pascal interpreter/compiler which is embeddable in C++ (or anything else other than Pascal) applications? I am cloning (for lack of a better word) an application which uses an Object-Pascal compatible scripting language and needs to be script compatible. Am I going to end up writing an interpreter? (!)
I created a new project and selected the Tab Bar template for iPad. I opened it up in Interface Builder and added 4 more items, bringing the total items to 6. I did a build and run and it opened up fine in the iPad simulator, but it wouldn't go into landscape! I then backtracked in interface builder and found that it would go…
Can anyone provide some pseudo code for a roulette selection function? How would I implement this:
I don't really understand how to read this math notation. I never took any probability or statistics.
Hello,
I have a ItemsControl in my XAML code. When some trigger occur i want to collapse the full itemsControl, so all the elements.
<ItemsControl Name="VideoViewControl" ItemsSource="{Binding Videos}">
<ItemsControl.ItemsPanel>
…
I would like to add some tags to our web app to enable auto-discovery of our odata feeds.
So for example Nerd Dinner has the following tag:
<link rel="odata.service" title="NerdDinner.com OData Service" href="/Services/OData.svc" /><link rel="odata.feed" title="NerdDinner.com OData Service - Dinners"…
I am trying to get Cassandra to work on OS X. When I run bin/cassandra, I get the following error:
~/apache-cassandra-incubating-0.4.1-src > bin/cassandra -f
Listening for transport dt_socket at address: 8888
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
…
What is the best way to take a given PHP object and serialize it as XML? I am looking at simple_xml and I have used it to parse XML into objects, but it isn't clear to me how it works the other way around.
I've been following the hginit.com tutorial on how to use mercurial. Everything is going fine except it uses push_ssl=False. This does not work for my situation because I want pushes (and pulls if possible) to be secure. All the tutorials I've been able to find also use push_ssl=False. Can anyone give me pointers…
Here's my situation; I've built a very simple web app that looks up a users location and plots it on a Google map.
Here's my code: http://pastebin.com/d3a185efd
When I test it, my location is detected as being = 500 meters from where I actually stand.
BUT
When I open up Google Maps or Gowalla my location is…
I'm writing a business-focused iPhone app which includes a self-hosted server component. I'd like to include push notification functionality in the server; reading through the programming guide it looks as if this would involve either:
Distributing the provider certificate with the server component - this…
Hi all,
I'm having a bit of trouble with a Windows Service webbrowser object. It's attempting to load in values of username and password to a site but keeps failing and throwing the following error:
System.InvalidCastException: Specified cast is not valid.
at…
When running a macro that changes the selected text, tags are automatically closed and the text formatted. How can I prevent that from happening?
For example, wrapping text in a tag:
DTE.ActiveDocument.Selection.Text = String.Format("<tag>{0}</tag>",…
I get this error when I try to run my app:
2010-04-29 13:49:01.355 MyApp[56123:207] *** Terminating app due to uncaught
exception 'NSUnknownKeyException', reason: '[<MyViewController 0x5112b10>
setValue:forUndefinedKey:]: this class is not key value…
As we know, jquery.validation.js is very powerful.
In common, we should define the rule in js first, and then apply to input element or form.
I'd like to declare the rule inner HTML code, then validator to find and apply the rule. just as below:
…
I really like the visual effect where a new element seems to push an old element out of the way. Pretty common thing recently.
here is a static example.
http://github.com/
However, I'm trying to do it with recently updated products. Also would…
I'm calling $('#help').load('http://recaptcha.net/popuphelp/'); but it returns 206 Partial Content and doesn't fill the div with the help information.
I think it has something to do with cross-domain request limitations.
How can I get it to…
My directory structure is as follows
Project
-- .hg
-- src
-- tests
When I ran hg init on the Project path, everything got added into the repo. However, inside src, there are directories like bin and obj which I'd not like to track. How…
We have an application parsing date/time values in the following format:
2009-10-10 09:19:12.124
2009-10-10 12:13:14.852
2009-10-10 13:00:00
2009-10-10 15:23:32.022
One particular server all of the sudden (today) started failing to parse…