sending large amount of information via android email client - android

I am writing an application that on error sends some information to support using android internal mail client.
I have noted that the message is trimmed to 9000 characters (including spaces).
how can I send larger amount of information?
I am thinking about exporting the information to a fie on SD card and then send it as attachment can anyone tell me how to do this?
thanks,
A

You need to save it to storage and then attach it. There's an example here:
How to send/open email attachments from android app?

Related

Transfer big string to another device

In my app I want to send data in string to another device.
What i have now: sending data via QR-code with help of installed messengers (user can pick any like skype).
But it has a limit - nearly 4000 chars.
To clarify: I want to make a system, that can send some info on any distance in some way and receive and parse it next.
Any ideas?
I think you should create a .txt file with that text and you can share it with any messenger.
I think setting up the server is the best solution according to me. Moreover, you can use Firebase database or firebase storage to store your images or stirng. This will allow you to fetch any type to data from anywhere in the world

Corona sdk app - can it accept a file from outside the app?

I have an app that reads some CSV data from a file in the DocumentsDirectory but I would like to be able to read similar data into the app via an email attachment or by feeding it to the app on start up. I know I can use iCloud, Box or other sharing schemes but I'd like to select the attachment in an email and open the attachment with my app. I'm not sure my intended users would have iCloud or such access points.
Due to security reason, this may not be possible. Your file should be in Resources or Documents directory.
But, you may be able to update data from csv by loading it from a web server. The user may click on a "Update button" to get the new content.

Phonegap and email or zip to server

I could use some help. I’m trying to create a phonegap app for iOS and Android. In this app you should be able to
type your user credentials (name, company, email and telephone number) and save it. This part in working for me.
Create a case where you type some text and take a number of pictures – hereafter you should press send and the text with the pictures will be sent to a predefined email address. – This part isn’t working for me
Is it possible to do that with Phonegap? And if yes then how do I do that?  If no, will it then be possible to zip the text and the pictures and then sent it to a server of some kind (ftp, dropbox ect?)
Best regards
Jacob
Yes, It is possible. You can send image's data (binary data) and text to server. At server end you can create images by using the image data and send the email as per your requirement.
You can also compress images by reducing image quality with the help of phonegap api as well and it will be helpful to minimize your request in size.
If you are using Ajax to send request to server then you should use cross domain option true.

Get Picture Messages To C++ program

I'm currently thinking of setting up a picture message import project. Something like this:
Client Mobile Device [picture message] -> our Server Device
Server Device [picture && number -> Server Computer
However I don't know if there's a possible way to do this. I could set up a google voice account and use something like this in order to retrieve messages, however this doesn't allow picture messages...
So I was thinking of perhaps making an android or iPhone application to redirect picture messages. Though I don't know if this is possible. If it is, how would I go about gathering the messages? The networking is simple enough, however I'm not familiar with the android system, nor the message system of the iPhone.
On the other hand, I could make a simple email server to receive messages from the cell phone provider's email system.
Is any of the above viable? The image as well as the origin number are both needed.
This sounds like a typical client/server application actually, except the commands sent to the server contain binary data.
There are many ways to do this, and many protocols you can use. Email (gmail) is just one example.
What I would do is use HTTP to post binary messages to your web server. This is cool because it manages authentication, data transfer, etc, are all available.
Here's a short example: Secure HTTP Post in Android
Just add authentication on top of that and you're in business!
You would have to do some web server development too.
I hope this helps.
Emmanuel
Ok I think this is possible. I'm not sure how it works but I'll do my best.
First you have to be notified when an SMS is received by listening to SMS_RECEIVED events. BroadcastReceiver + SMS_RECEIVED
Second, you have to read the SMS attachment as explained here: Get attachment from unread MMS messages
Does this help?

How to send an email with an attachment via AIR for Android?

I am making an Android app with Flash CS5. I am trying to send information from the app to the user with an E-Mail message. The information is all text, however, just plain text isn't enough. I'd much prefer using HTML formatting or some other way to better show it to the user.
Is there a way to send an attachment or at least include HTML formatting inside the body of an e-mail sent from AIR?
Right now I can send an E-Mails just fine with navigateToURL(newURLRequest("mailto:ThisIsAFakeName#gmail.com));"
I can also include a subject and body for the E-mail. However that is all plain text, and not exactly what I'm looking for.
Thank you in advance for any help!
SMTPMailer should work. as far as i know it's the most common way for AS3 developers to send email attachments with Flash.

Categories

Resources