I have an iphone app that consumes a web service. i have a dev version and a prod version of that web service. i use the dev version when the active configuration is set to debug and i use the production one when the app is set to distribution. is there a way to know the active configuration value in order to use the proper url of my web...
I made an image button in eclipse and I tested it out (ran it) with the emulator in the android sdk package.
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true"
android:drawable="@drawable/cat1" /> <!-- pressed -->
<item android:state_focused="true"
android:drawable="@drawabl...
Anyone have any ideas on how to ignore when the user puts their palm on the iPad when drawing? Apparently there's a program that does this called "Penultimate", but I'd like to put this functionality in my drawing portion of my program.
Any ideas appreciated.
Thanks!
...
I am have created a timer where I convert the remaining time to a string with a format of:"mm:ss" and when the string value of the time is 00:00 I would like to invalidate the timer. For some reason it doesn't work, even when I log the remaining time I see the the value has the correct format so I don't know why my "if" branch in "countT...
I can't manage to download the last version of the DirectX SDK (june 2010) : http://www.microsoft.com/downloads/details.aspx?FamilyID=3021d52b-514e-41d3-ad02-438a3ba730ba&displaylang=en
When I try to install it by double clicking the DXSDK_June10.exe I get the following message:
It seems that the file is corrupted. Is there anoth...
Hi every one for some reasons i can't use shake API , so iam using shake device via accelerometer , but i don't why iPhone 4 , iPad do not support this code !!! but works on all devices .. i don't know what's going on !
here is my code :
#define kAccelerationThreshold 2.2
#define kUpdateInterval (1.0f/10.0f)
@in...
This code causes my app to crash on an iPhone 4 and on the simulator but works perfectly fine on a 3GS. Any ideas why this might be?
-(IBAction)startButtonClicked{
GameViewController *screen = [[GameViewController alloc] initWithNibName:nil bundle:nil];
screen.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
[self presen...
Hi all,
I was implementing an iPad application. For this I need to customize the UIImagePickerController, I mean to say that I need to implement it with out using UIPopOverViewController that is my requirement. I tried in many ways to support my requirement but I didn't su Is it possible to implement?. Can you guys please help on this.
...
Can I set a range of numbers when using arc4random()? For example 50-100 only.
...
Hey guys, I'm an iPhone, Mac and web developer and I wanna learn how to program for the Android. My Java knowledge is 0. Any book recommendations?
...
Im trying to get my xCode to contain all iPhone sdk's from 4 back to 2. But when I download the DMG files, it seems to only allow me to have an xCode with SDK versions 2 - 3.1 OR 3.2 - 4, not all together.
How can I install the SDK's into one xCode so I can build for all different OS versions?
Thanks
EDIT::
Ok so I know I can set the...
i'm developing a static library using iPhone sdk. like others, this includes a .a file, as well as some .h files.
I'd like one of my classes to inherit from another class in my static library. this class is declared in a .h file which i'm exposing (outside .a), although the parent class is not exposed (inside .a).
how can i do this?...
Does any one know how to call iphone calendar controls in my application?
sample code will be helpful for me
waiting for a quick reply......
...
I'm trying to make a landscape app that uses navigation controller, but I can't get the app to launch in lanscape mode. Once I'm in another view and I use [self.navigation popToRootViewControllerAnimated:YES]; then the root view is in landscape. Why isn't it in landscape from the launch of the app.
I've already put it in landscape mod...
My app launches in landscape mode, however everything I have set up in Interface Builder shows up sideways on the screen as if it's in portrait mode. It's definitely not in portrait mode though. I dont understand why the app launches in landscape mode, but everything comes up as if it's in portrait mode...any ideas?
...
I am searching for a glow effect in quartz 2d for the iphone. I tried making lines with different alpha values to simulate glow but it didn't work...
Can anyone help me with that ??
p.s.
I'm making an app where the user can draw with glow. I have the basic lines, but no glow :(
...
Are there SDK's for voice-form matching / comparison for Visual C++? Or, possibly converting sounds to phonetics.
Usage: Program will do different things from input from certain command words given in a made-up foreign language. (Klingon)
Analysis - comparison of user's voice with existing pre-recorded voice segment
Rather than using...
I wish to test that my iPhone app works on versions older than 3.2/4.0 and currently xcode only allows those two options, making it difficult to do so.
Can someone pelase quickly link me to any tutorials, downloads, information I need to simply test the application in simulator on versions 3.1.3 and below.
Also while you're here, do i ...
Hi guys,
I'm experiencing a wierd behavior in the new AVFoundation classes in the iPhone SDK.
I have a AVCaptureStillImageOutput for taking pictures, and I am setting its outputSettings to my liking. The code follows:
AVCaptureStillImageOutput *stillImageOutput = [[[AVCaptureStillImageOutput alloc] init] autorelease];
[stillImageOutp...
I have a couple of problems using facebook graph api.
1).
When i try to upload a photo i get the following error "(#324) Requires upload file".
$attachement = array(
'access_token'=> (...)',
'name' => 'uploaded foto',
'source' => 'C:\Documents and Set...