How to send MMS using Native SDK + BB10 - blackberry-10

I have gone through the "Sending SMS sample" application and it's working fine. I have modified the code (only attachment) to send an MMS. I have a picture Lion.jpg in assets folder of the project. Picture size is less than 41KB.
Below is the modified code:
QUrl url("asset:///Lion.jpg");
messageBuilder->addAttachment(bb:im::message::Attachment("image/jpeg", "body.txt", url));
The rest of the code is same as in sending SMS. Code is compiled properly and run properly. But MMS wasn't received to another phone.
I have checked INBOX on my device, in which my code is running. It shows the message with no picture and a red clock-like icon. What am I doing wrong?

Unfortunately programmatically sending an MMS is not possible at this time.

Related

I try to use laravel echo in an application in flutter, I send message to message event , but it does not appear in the project. What is the solution?

I try to use laravel echo so I apply it I am supposed to work
knowing that I try to send a massdge to the internet it appears in blade that it is working but the application does not deliver anything what should I do to play it on the app?
https://www.mediafire.com/view/db9ozz8i7gpzqll/d.jpg/file

Swift 4, CorePlot, send chart via mail app (with MessageUI)

Can I somehow take the chart (which was made with CorePlot) from view and send it as a file to another person via mail app? I want to send mail with the help of MessageUI. I feel fine if just the picture will be sent.
Use the -imageOfLayer method to get a PNG of the graph or the -dataForPDFRepresentationOfLayer method to get a PDF and attach the resulting file to a message.

iTuneConnect : App uploaded for test build but now showing anymore

Currently I am developing an app and I want to send the client a test build , I had successfully archived the app and uploaded on AppStore ... Under the Activity section it was showing "processing" for about an hr or two , now its not showing neither anything nor the app been uploaded. Any idea what went wrong ? Did anybody experienced this kind of problem ?
It is likely that something with your binary is wrong.
You would expect to get notified about that issue in the Activity tab but it seems that (currently) you can only find the invalid build in the App Store tab when selecting a new build.
Also you should have received an email (iTunes Connect account) describing the issue.
Yes ,Some times it take time .
In my case i have wait for 4 hour then it will reflect on itunes connect account.
or you can check build status in a activity .
Please check linked image for references
I got an email from apple saying "This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data" . I then added some string on NSPhotoLibraryUsageDescription and uploaded it , it worked like a charm .

Sending email attachments via UWP EmailManager not working

Sending an attachment from a universal app with the following code is not working, why?
Dim emailMessage As New EmailMessage()
emailMessage.[To].Add(New EmailRecipient("a#b.com"))
emailMessage.Subject = "Test"
emailMessage.Body = "Hello World"
Dim localAppFolder = Windows.Storage.ApplicationData.Current.LocalFolder
Dim file = Await localAppFolder.CreateFileAsync("SomeFile.txt", Windows.Storage.CreationCollisionOption.ReplaceExisting)
Await Windows.Storage.FileIO.WriteTextAsync(file, "aaaa")
Dim fileRef = RandomAccessStreamReference.CreateFromFile(file)
emailMessage.Attachments.Add(New EmailAttachment(file.Name, fileRef))
Await EmailManager.ShowComposeNewEmailAsync(emailMessage)
To, subject and body show fine in Outlook, but the attachment is missing: Outlook screenshot
I believe it is because the Outlook is a Desktop app. As I understood, the EmailManager.ShowComposeNewEmailAsync uses mailto: protocal to launch mail client app and use share to provide the email content.
If you choose the mail store app when the select default app dialog launches, you will be able to see the attachment as following:
If you have previously chosen Desktop Outlook app as the default as for mailto protocol, you have to change the default app for the mailto: protocol association in control panel .
Previously, the ShowComposeNewEmailAsync only works for windows phone runtime app. And it is not up-to-date in the document, because it doesn't include the win 10 support.
On Windows 10 mobile, it works well without any problem. But on Windows Desktop, you have to choose a store app.
This is still an issue in 2019, but I have found a workaround for my project.
I simply assemble an *.msg file with recipients, subject, body, attachments etc. and save it to the apps local cache folder. It can then be launched using Launcher.LaunchFileAsync
As *.msg files are associated with outlook, it will most likely be the default app to open this kind of file. You can create such a file using MsgKit
I have prepared a demo project at: https://github.com/Moolt/UniversialWindowsPlatform.LaunchOutlook

Upload images to server directory

I need to upload some images (taken from the camera or from photo library) to the server. The images are bonded to an user e each user can have one are more group of images bonded to a post, it will be like this:
User1 -> Post1 -> Image1, Image2
Post2 -> Image3
Post3 -> Image4, Image5, Image6
Each user will have his directory to store his images, and the image directory will have a directory to each post.
Server/../User1/Images/Post1
Server/../User1/Images/Post2
...
how can i send this images to the server and how can i create such directories to store it (if does not exist)?
I having some ideas how to accomplish that using http requests, but what's the best approach? Send the images directly from device or send it to a webservice e it will do the hard work?
Ether way i need some highlights how to accomplish it, i've never send images to a server from iOS before.
PS.: If someone knows to how to send more then one image on the same request i'll be grateful =)
Take a look at these previous SO posts regarding uploading an image from an iOS device to a server:
https://stackoverflow.com/questions/5752334/how-to-save-images-in-a-server-path-folder-from-iphone-application
iphone SDK : Upload image from iphone to a php Server send empty file ?(sample code link inside)
how to save image to server
How can i upload an image to server directory directly form iOS using FTP
Upload image to server from iOS device
post image to server in iphone
Save image taken from iPad/iPhone to sql server database base64