Hi, i wonder is there is a way throught GLBasic to brings iPhone keyboard on screen, or if i have to code my own keyboard to save record's name.
Thanks in advance.
Best regards, fjsantos.
not, yet. Trucidare has some code youcan "IMPORT", IIRC. We plan using it for the "INPUT" command.
Ok, thanks for the info!
I will look for her code.
Best Regards, fjsantos.
Easy access to the iPhone/iTouch keyboard will be a BIG bonus. =D Thanks for such a great product, you guys ROCK. :good: Moving from Blitzbasic to GLBASIC was the best thing I ever did. ;/ It is soooooooo nice to have a developer that really cares about his users. :good:
her >_>
here a screenshot of work in progress
[attachment deleted by admin]
Hi Trucidare,
It's exactly like iPhones Keyboard, Impressive Work!
A few question about it.
It will be skinnable? Do you think that will be ready soon?
Best Regards, fjsantos.
this is the iPhone Keyboard.
Well, i finally got to manage my own keyboard routine, based on iPhone keyboard and skinned for my game.
This is how looks like.
Best Regards, fjsantos.
[attachment deleted by admin]
was already realized? I would like to use the keyboard
So far the keyboard is not available, yet.
You can try DDgui_input$() as an alternative.
*kicks thread*
Just wondering, is it still not possible to use the default iphone keyboard? The screenshot by trucidare looks great.
edit: also, is it possible to access the iphone dialogbox API from GLBasic? So I mean for example a messagebox "upload scores? yes/no".
mee to
I have code for a message box. But no yes/no. Trucidare?
Separate iPhoneMsgBox.mm file:
#if defined (TARGET_OS_IPHONE)
#import <UIKit/UIAlert.h>
extern "C" void iPhoneMessageBox(const char* pText, const char* pInfo)
{
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:[NSString stringWithCString:pInfo length:strlen(pInfo)]
message:[NSString stringWithCString:pText length:strlen(pText)]
delegate:nil
cancelButtonTitle:@"OK"
otherButtonTitles: nil];
[alert show];
[alert release];
}
#endif
OH MY GOD!!!!
I LOVE YOU MEN!!!!!!!
:nw:
uhm i send a complete code 1 year ago???
u need for this snippet a target method to get the value typed.
Sorry, but I got this error :
iPhoneMsgBox.mm:2:26: error: UIKit/UIAlert.h: No such file or directory
Have I forgot something?
Did you add or is the UIKit framework in the resources?
When are we allowed to call the iPhone's GUI, such as 'iPhoneMessageBox()'?
Anytime? And GLBasic will get control after the GUI has been closed?
Does GLBasic keep running behind the GUI too? (ie, do we need to implement an iPhone_GUI state?)
I'm just wondering how the iPhone and GLBasic keep things straight.
I was going to do my own keyboard, like fjsantosb (nice job btw!), but if I could just call the iPhone's that would save some time.
(Or not! depends on how hard that is!)
Quote from: matchy on 2011-Feb-01
Did you add or is the UIKit framework in the resources?
I'm sorry but I think I lost some steps. :(
I have copy the folder Headers from XCode inside GLBasic?
Neurox, no - just include the .mm file in the XCode project. Don't try to compile it with the GLBasic compiler. Otherwise, you need all headers and frameworks.
Untested...
http://pastebin.com/vLcTxCX5
Quote from: Kitty Hello on 2011-Feb-02
Neurox, no - just include the .mm file in the XCode project. Don't try to compile it with the GLBasic compiler. Otherwise, you need all headers and frameworks.
Thanks,
Ok now running but appear nothing :(
the code part from gernot shows only a message alertbox
Quote from: trucidare on 2011-Feb-02
the code part from gernot shows only a message alertbox
I tried again, but no show allert box appears :(