sdk

porting kde application to windows

hy I'm trying to port a KDE application to windows my problem is finding a suitable KDE SDK for windows, i can't include any k-headers (kapplication.h kaction.h ....) and I haven't even got to the libs is there a guide for doing things like this ...

how to build packages for iphone?

Hi, I am intersted in developing packages for iphone, which I can use directly in my iphone applications when required. can anyone help me with some good links. Thanks, ...

textFieldShouldBeginEditing + UIKeyboardWillShowNotification + OS 3.2

I have multiple textfields on a UIView. I resign for a previous textField in textFieldShouldBeginEditing method, where following sequence of events are performed UIKeyboardWillHideNotification is received corresponding to that field where the keyboard for the previous field is hidden. the method textFieldShouldBeginEditing returns a...

VS 2010 SDK - Get function and class name when carret change, with c#.

Hi experts. How can i get the name of the function and its class when the caret change position i a code file, using VS SDK 2010? I am using Editor Text Adornment template as an start and c#. Thanks. ...

Load class based on SDK version

Is there any way I can load a class based on what version of the OS the phone is running? For example: I made an app which requires 1.6+ Android. Is there a way for me to load one class or the other based on what OS the phone is running? I'm asking this specifically for contacts. The database was changed from 1.6 to 2.0 and the old versi...

Security in Iphone?

Is There any concept of HTTPS in Iphone.how iphone apps are safe? if we are developing any apps related to some security?how can we provide security to iphone apps. I know that NSURL,NSURLConnection classes contains in Build HTTP but is there any concept of HTTPS? Thanks, ...

Determining the version of Java SDK on the Mac

I have a MacBook Pro running Snow Leopard; how can I see what version of the Java SDK is installed on my Mac? ...

iPhone SDK Tableview Datasource singleton error

I basically followed apple "TheElements" sample and changed "PeriodicElements" .h & .m to my own "SortedItems" .h & .m During compile I get this error: "Undefined symbols: "_OBJC_CLASS_$_SortedItems", referenced from: __objc_classrefs__DATA@0 in SortedByNameTableDataSource.o ld: symbol(s) not found collect2: ld retur...

Two phase Construction in C++

I have as part of assignment to look into a development kit that uses the "two-phase" construction for C++ classes: // Include Header class someFubar{ public: someFubar(); bool Construction(void); ~someFubar(); private: fooObject _fooObj; } In the source // someFubar.cpp someFubar::someFubar : _fooObj(null){ } bool ...

How do I make a sound hold for a long time?

I'm making a music app with a piano, but I need to be able to hold the sound long or short. So like if I hold a button it will start playing the sound but if I let go it stops WITH A FADE, so however long I hold the button down that is how long the sound will play (that is until the sound ends). How do I do this in the iPhone SDK? ...

expected ":" before "]" token + confused by earlier errors, bailing out

Ok so im at my wit's end here. I have tried every imaginable thing to get rid of these errors heres my code: - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { // Navigation logic may go here. Create and push another view controller. /* //<#DetailViewController#> *detailViewController...

How to use a method with more than one parameters to create custom buttons

I am repeating my codes few times to create custom buttons, I am trying to create a method and create all my required buttons just by called that method and using two parameters, btnTitle and btnAction. My Codes for the method -(void) addnewButton:(NSString *) btnTitle withAction:UIAction btnAction; { // Add a custom edit navigati...

iPhone's UIWebView

The default UIWebView class loads whole HTML pages and this could cause “out of memory” problems if the website has long/complex HTML pages and also it generates slow/jerky vertical scrolls. (Try to load engadget.com in a UIWebview using an actual iPhone and you will see the problems with vertical scroll) It seems that Safari and iCab A...

UIEvent for iPhone locking & unlocking?

I am building an iPhone app in which I want to time user activity. However, I don't want to count time when the iPhone was locked (or when the user received a phone call) when calculating the times. What is the best way to do this? Is there a UIEvent which my app can receive (and act upon) when the iPhone locks or unlocks? ...

Future of the SAP RFC SDK

Is the SAP RFC SDK (wdtfuncs.ocx, wdtlog.ocx respectively Interop.SAPFunctionsOCX.dll, Interop.SAPLogonCtrl.dll) an acceptable / recommended way to connect (Microsoft) applications via RFCs with SAP ? Will there be a support and maintenance of the SDK in the future (especially in ECC 6.0) ? Are there people who use these controls in .NET...

How can specific type details be filtered from Dia2Dump ?

Hello, I need to filter details of specific Type(i.e Custom Type) . DIA2Dump blindly dump everything as type. I need to give it specific custom type as string and as result need all data members(i.e data section of that class). Is there any specific function available in DIA SDK for this. say I have Custom type MyClass and it has 4 v...

Why Should I Use Retain With Convenience Methods?

Hi, I am using the this code in my iPhone application: UIButton * MyButton=[UIButton ButtonWithType:UIButtonTypeRoundRect]retain]; If I don't use this retain will my app crash? What is the function of this retain? ...

How to track how many times an iPhone app is opened?

I am building an iphone app and would like to keep track of how many times it has been opened so that I can prompt the user to do certain actions after it has been opened X number of times. I have thought about storing a variable in Core Data which I update every time it is opened, but this seems like a waste since it is a singleton data...

iPhone SDK Add Image to the Body of an Email?

Hi, I was wondering if anyone knew how to use an image in the body of an email when the mail app is opened. Can anyone help? Thanks in advance Kieran. ...

How Can I open another App from my app?

Hi I have rediATM app installed on my iphone. rediATM app is free on itunes. I want to open that app from my iphone app. I am not able to find out the way to open it. i am using the following code to open it but it takes me to the website. [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://itunes.apple.com/au/ap...