sdk

Is it possible to create an Android database without external tools?

I have been searching for this for the past few days and every tutorial I see needs for me to use an external package. Is there anything built into the Android SDK that would allow me to create a database? I thought I saw something on it a long time ago, but I can't find anything to back that foggy memory up. ...

Facebook oauth/access_token missing

Hi all Dunno if Im missing something but here goes. Im trying to get an access_token for my application so that it can go and look up events for certain public groups on facebook, without requiring a user to be logged in. Im trying to get an access_token from https://graph.facebook.com/oauth/access_token?client_secret=foobar&clie...

Seamless transition of video content on Iphone after IOS 4 release

Hi! I'm quite new to Iphone SDK and I have been trying to solve a problem for some time now, but I can't get it to work properly. My problem boils down to transiting from one video to another seamless. That is no flickering or stop of the video when transiting. I've tried a bunch of different solutions. MPMoviePlayerController, AVPlaye...

UITabbar with none item selected

hi , Any one know how to create an app in such a way that when the application loads the uitabbr items are not selected(highlighted).. need to display a view in window on load..no need to display tabbar item contents until click on tabbar button item..? please help me.. ...

Load rtf or text file into UITextView iphone sdk

Hi i was wondering how should i load rtf or text file into UITextView i use several codes but did't work , NSString* filePath = [[NSBundle mainBundle] pathForResource:@"filename" ofType:@"txt"]; myTextView.text = filePath; thank you . ...

Adding stationary UIButton to UIScrollview

Hi, I am creating an app and on the third layer of the app, the view controller contains a UIScrollView with two images that scroll horizontally. I want to add a button to this view that is stationary with respect to the scroll view. So, the user can scroll the images but the button remains where it is. Is there a way for me to do this? ...

UUID is unique? iphone

Can i save an UUID in an external database in order to check if the user posts his message only one time from his iphone? I have searched and i have found that there is no way to save a NSString value after the app has been deleted. Am i right? ...

Question about iphone app, unique identify the user on external database

Hi everyone what i am trying to do is the following: i have an app that gives the ability to the user to post a message to an external database. This ability i want to be available only one time. The second time, the user wont be able to post a message. I want to find a way to achieve this even if the app has been removed from the iphone...

Iphone Sdk:Is it possible to use an UISwitch to enable and disable PNS(Push Notification Service) ?

I find some sample code about PNS,article here and I also create an UISwitch to enable PNS how to give a method to control the PNS ? This is how I declare cell cell.textLabel.text = @"PNS"; [cell.textLabel setTextColor:[UIColor grayColor]]; pushNotificationSwitch = [[[UISwitch alloc] initWithFrame:CGRectZero] autorelease]; [cel...

Trying to mix in openCL with CUDA in Nvidia's SDK template

Hey all, I have been having a tough time setting up an experiment where I allocate memory with CUDA on the device, take that pointer to memory on the device, use it in OpenCL, and return the results. I want to see if this is possible. I had a tough time getting a CUDA project to work so I just used Nvidia's template project in their SDK...

Why doesnt the code from the Android SDK tutorials work out of the box?

Am I missing something here? I follow the instructions exactly on this page (and some of the other tutorials) but they always seem to be missing some key information as they dont work out of the box I added a bunch of packages that seemed like were missing, but now I'm stuck. http://developer.android.com/resources/tutorials/views/hell...

How do you remove a step from a test in Quality Center via the OTA API

In the Quality Center OTA API how can you delete steps from a test. When I delete steps using the RemoveItem method of the DesignStepFactory, they still remain - I've tried deleting by both ID and step reference: Test test = _qcAccess.AddTest(folderId); test.Name = "Test 1"; test.Post(); DesignStepFactory factory = (DesignStepFactory)...

sdk 3.2,MPMovie PlayerViewController after press done btn, it go to blank page

-(IBAction)play{ NSString *url = [[NSBundle mainBundle] pathForResource:@"mm_v0" ofType:@"mp4"]; NSLog(@"Filepath is: %@",url); MPMoviePlayerViewController *playerViewController = [[MPMoviePlayerViewController alloc] initWithContentURL:[NSURL fileURLWithPath:url]]; [[NSNotificationCenter defaultCenter] addObserver:self ...

Facebook php sdk Retrive friendlist problem

Title should say my words.Here is my basic code... <?php require_once 'fb-sdk/src/facebook.php'; // Create our Application instance. $facebook = new Facebook(array( 'appId' => 'xxxxxxx', 'secret' => 'xxxxxxxxxxxxxxxx', 'cookie' => true, )); $accessToken = $facebook->getAccessToken(); $session = $facebook->getSession(); $...

auto text messaging syncing

What I want this App to be able to do, is to be able to allow the individual copy all the text messages on his/ her phone and then send them to their profile on the website that I am creating. Is this possible ? ...

UIColor -colorWithPatternImage: alpha blending problem solution. (iOS SDK 4.1)

Solution note, not a question. I used this code to set background as a pattern image: UIImage *bg = SomeImage(); UIColor *bgc = [UIColor colorWithPatternImage:bg]; [self setBackgroundColor:bgc]; [self setOpaque:NO]; This works, but alpha blending doesn't work. Might be a bug. This code make it alpha blended on both of simu...

CTRunDelegateCallbacks and getAscent/getDescent problem. (iOS)

I'm trying to draw rich-text with images in iOS. I succeed, but there is a serious problem. I used CTRunDelegate to initiate space for each images, but the space only defined in horizontal. I could not specify vertical space size. Because getAscent/getDescent callback functions are not working. (getWidth is working.) I used code like de...

iPhone SDK : Is it possible to record the you talking time ?

First ,this is my friends idea ,girls always use cell phone talk too much every month they receive the billing will cost them a lot of money they ask me is there any applications to calculate how long they dial out a month or maybe can pop up a alert to notice them time is up,please hang up the phone maybe 3 mins or 5 mins (some tel...

drawRect: isn't working.

I want to place some "handles" on a UIView I have on-screen. So, I'm creating more UIViews, one at each corner of the UIView's frame rectangle, and I simply want to draw a circle that "fills" the rectangle that is the frame of the "handle" UIView. Here's what I mean: How I create the "HandleView": CGPoint upperLeft = CGPointMake([[se...

Is there an Android VOIP solution (such as skype) that can be used as a service from my own activity?

I assume that it is possible to invoke skype or another VOIP solution by starting the appropriate activity. My question is; are there any VOIP solutions that can be used as services in some way, making it possible to write a separate app with its own user interface that just uses the VOIP functionality of the original VOIP app? This que...