If Apple doesn't want developers using private APIs in the iPhone SDK, why don't they do something like mark the classes and/or methods with whatever the Objective-C equivalent of C#'s "internal" keyword? If the APIs are spread amongst multiple binaries, Apple could refactor them into dedicated private-API-only binaries to make this easier for them.
How I can create thumbnail from url.
For example:
Like Digg website, when I submit a link, Digg for me chose a Thumbnail from any images on that URL.
Or like Facebook, when I submit a link, I can chose a thumbnail for that link.
So, how i can do that with asp.net/C#. I just want create thumbnail (not Screen Shot of web page)
Thanks so much.
Hello everybody,
i am developing a GPS application in which i needs to track the speed of the device/iphone ,i am using the CLCorelocation API's Locate me referral code provided by Apple my problem is that the LocationManager does not updates the current latitude and longitudes thus i am unable to calculate the distance as well as the speed of the device/iphone.
Any kinds of suggestions/code will be highly appreciated please suggest me if i can do something with the Mapkit framework introduced in the sdk3.0.
thanks in advance
How I can create thumbnail from url.
For example:
Like Digg website, when I submit a link, Digg for me chose a Thumbnail from any images on that URL.
Or like Facebook, when I submit a link, I can chose a thumbnail for that link.
So, how i can do that with asp.net/C#. I just want create thumbnail (not Screen Shot of web page)
Thanks so much.
i coded a random quote generator in php using mysql but also jquery. however when i try to integrate it with facebook, since i opted to use fbml, i could not use jquery.
how do i get the quote to display randomly in php at say, 30 mins, without using jquery or javascript?
I notice that in the stocks application, the small graph wraps around, eg: when you get to the end of the scroll view and swipe right again, you go back to the beginning. Before I go ahead and code this myself is there an easy way to do this in the SDK? I can't find any properties or methods that would enable that?
I have a paged UIScrollView that scrolls horizontally, pretty much exactly like the stocks application one does.
Hi, In my app I use the getdistancefrom method in my app and get a distance between a current location and another set location.
I would like to as well find the direction the other set location is in. What would the code look like to make this iPhone sdk call.
The output would look something like: Location is 500 feet North West
Thanks!
I'm wondering what's the easiest/best way to determine if a sound, being recorded on the iPhone mic, is above a certain frequency.
My guess is that I would need to use the Audio Queue Services since I don't need to record the audio to a file.
I'm using SDK 4.0, so I can use the FFT functions in the Accelerate framework if needed.
I want to include Core Location and I'm trying to follow this tutorial: http://www.mobileorchard.com/hello-there-a-corelocation-tutorial/ and I am using SDK3.2.2.
@interface MainViewController : UIViewController <FlipsideViewControllerDelegate>{ is the code right now.
How can we generate a link that can be clicked on by 5 different people on a Social Network game, so that each of the five people can get a bonus? The link will be published as a "newsfeed" on the Social Network such as Facebook.
The link shouldn't be easily "generated" by any people as a cheating method.
Also, what database table(s) should be added to handle:
1) the bonus can be claimed up to 5 times
2) must be claimed by different people
?
I've seen references to using the AccountManager like http://stackoverflow.com/questions/2245545/accessing-google-account-id-username-via-android but it seems like it's for grabbing the authtoken?
I just need access to the username, no passwords or any auth tokens.
I'm using android 2.1 sdk.
I want to convert GMT +530 to CET (Central European Time) in iPhone sdk?
does anybody have idea about this? also tell me what is the time difference between these two?
Means if time is 10 am in gmt +530 then what it will be in CET?
I am trying to display a modal view controller as a UIPresentationFormSheet. The view appears, but I can't seem to resize it. My XIB has the proper height & width, but it seems to get overridden when I call it like this:
composeTweetController = [[ComposeTweet alloc] initWithNibName:@"ComposeTweet" bundle:nil];
composeTweetController.modalPresentationStyle = UIModalPresentationFormSheet;
[self presentModalViewController:composeTweetController animated:TRUE];
Any thoughts? I am using the iPhone SDK3.2 beta 4
I'm currently using the fb package to write a Yesod app that takes data from Facebook. In my Handler, I've managed to get the first step of the authentication to work, but I need to redirect to the url that getUserAccessTokenStep1 returns, which I've defined as fbRedirUrl. I'm having trouble with all the monad wrapping and type checking to make sure I can redirect to this url.
getAccessTokenR :: Handler RepHtml
getAccessTokenR = do
withManager $ \manager -> do
FB.runFacebookT creds manager $ do
fbRedirUrl <- FB.getUserAccessTokenStep1 redirUrl []
liftIO $ print fbRedirUrl
i am having mac mini with mac os 10.4.11, with 512mb of ram and now i want to install the iphone sdk3.2 but it is giving me error that it requir mac os 10.6.2.
can i install mac os 10.6.2 with my old mac mini hardware configuration.
Does anyone know what approach one can take to automatically generate Java source code, from for example an xml or json file, in eclipse?
One great example of what I am thinking of doing is what Google Android sdk does: they have an R class generated automatically from the resources.
Every time a resource file is saved in Eclipse R class is automatically regenerated.
Thanks!
I would like to write a counter that shows how many seconds an app has be running for. (textView) and the counter should be cumulative and starts from where it left off. Im new to iphone sdk.
Is there a set of events, a service, or any other API in the Visual Studio SDK for Visual Studio 2008 and/or Visual Studio 2010 that allows you to hook into the background compilation service and listen for background compilation events?
Okay, I have a ViewController that has 12 UIButtons as instance variables, and they are created in interface builder. I want to access another variable in the viewController from the UIButton's init method. Is that possible?
By the way, I'm writing in Objective-C in the iPhone SDK.
Cheers.
I'm trying to merge two docx-documents into one docx-document using OpenXML SDK 2.0. The documents should be merged without loosing their styling and custom headers and footers. I hope I can achieve this using AltChunk and a section break. But I can't get it working.
Is it possible what I'm trying to do? Can someone give me a hint how to achieve this?
What do you think is the best way to implement an interactive grid similar to a Sudoku board for a native iPhone application? I did not see an object to fill this need in the SDK.
Should I make a custom control for an individual cell, then initialize as many of them as I need in a grid form?
Any and all comments are welcome.
Thanks!
Does anyone have any good answer what kind of difference there is between
using some arbitrary pre-formatted Excel 2007 *.xlsx file as a template, loading it in my C# app, and filling up some of its cells with data using the Microsoft OpenXML SDK
versus
creating specific Excel templates (*.xltx) files and using those as basis for my "data filling" exercise
Do I loose something when I don't use the Excel templates (*.xltx)? If so - what do I loose?
Will iPhone OS 4.0 will give developers to send SMS and MMS inside the application..!
Or is it already been in SDK?
All the time while sending SMS, native window is popping up.!
Do any one has any idea about this?
I am using Authlogic-Connect for third party logins. After running appropriate migrations, Twitter/Google/yahoo logins seem to work fine but the facebook login throws exception:
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
The dev log shows
OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed):
app/controllers/users_controller.rb:37:in `update'
Please suggest..