Search found 213 matches

by MrTAToad
Fri Sep 29, 2017 11:52 am
Forum: Coding Questions
Topic: How to send text to default email client
Replies: 7
Views: 3870

Re: How to send text to default email client

Would be worth doing that now - originally it was just going to be a set of functions, but after converting to a module, I didn't move the structures
by MrTAToad
Fri Sep 29, 2017 11:21 am
Forum: Coding Questions
Topic: How to send text to default email client
Replies: 7
Views: 3870

Re: How to send text to default email client

Ah, yes, forgot the structures again (keep them in a resident file) : Enumeration Mail_Process_Type #MAIL_INVALID = -1 #MAIL_TO = 0 #MAIL_CC #MAIL_BCC #MAIL_SUBJECT #MAIL_BODY EndEnumeration Structure Mail_Receipient_Type recipient.s flag.i EndStructure Structure Mail_Receipient List receipients.Mai...
by MrTAToad
Fri Sep 29, 2017 10:16 am
Forum: Coding Questions
Topic: How to send text to default email client
Replies: 7
Views: 3870

Re: How to send text to default email client

Here is the test program : XIncludeFile "..\Modules\Mail.sb" Global.s moduleName="Example" Global.s procedureName="A Procedure" Global.i lineNumber=1234 Global.s error="Testing" If Mail::CreateMail(0, "njk@blurg.com", "Program Error") Mail:...
by MrTAToad
Tue Sep 26, 2017 3:53 pm
Forum: Coding Questions
Topic: How to send text to default email client
Replies: 7
Views: 3870

Re: How to send text to default email client

Would this code be useful : DeclareModule Mail EnableExplicit Declare.i AddMailAttachment(mail.i,description$,fileName$,mimeType$="") Declare.i AddMailAttachmentData(mail.i,description$,*Buffer,BufferLength,mimeType$="") Declare.i AddMailRecipient(mail.i, address$, flags.i=#PB_UT...
by MrTAToad
Tue Sep 26, 2017 8:53 am
Forum: General Discussion
Topic: SB2.1 Android - where does the resource folder go?
Replies: 2
Views: 2435

Re: SB2.1 Android - where does the resource folder go?

It should do - I would think/hope that OpenFileRequester doesn't default to the base of the app directory, and should really only look in the media directory.
by MrTAToad
Sun Sep 24, 2017 5:05 pm
Forum: General Discussion
Topic: Deployment: Error: unknown host service
Replies: 2
Views: 2488

Re: Deployment: Error: unknown host service

Essentially, it looks like the old wait-for-device and wait-for-devices did the same thing, but that isn't the case with your SDK, in which the two do different things...

I'm presuming, of course, ADB is being used to transfer to the Android machine...
by MrTAToad
Mon Sep 18, 2017 6:25 pm
Forum: Coding Questions
Topic: [Help] Converting code from PureBasic!
Replies: 7
Views: 3713

Re: [Help] Converting code from PureBasic!

Yes, hopefully appropriate amendments will be made to the help file :)
by MrTAToad
Sun Sep 17, 2017 9:30 pm
Forum: Coding Questions
Topic: [Help] Converting code from PureBasic!
Replies: 7
Views: 3713

Re: [Help] Converting code from PureBasic!

Try using AllocateStructure instead of AllocateMemory - by the looks of it, the latter is only to be used with Poke and Peek, whilst the former is for structures. Thus : DeclareModule CHESS Declare.i Init(Title.s) EndDeclareModule Module CHESS Structure GUI_STRUCT Window.i WindowHandle.i EndStructur...
by MrTAToad
Fri Sep 15, 2017 10:34 am
Forum: General Discussion
Topic: Next update
Replies: 4
Views: 3049

Re: Next update

Image
by MrTAToad
Wed Sep 13, 2017 4:52 pm
Forum: Feature Requests and Wishlists
Topic: Deploying App - cannot Abort
Replies: 6
Views: 4544

Re: Deploying App - cannot Abort

Indeed - not easy especially if these processors dont bother processing window events...