I am using MediaPlugin to capture image and upload back to server. But, my problem is the MediaPlugin by default it saves the images under Application directory folder. i.e. "/storage/emulated/0/Android/data/com.plugin.mediatest/files/Pictures/Test/".
So, without knowing the user. Silently, the app might be eating up the phone memory. If we want to address this issue what is the best solution we can give. Appreciate if you could share your expertise.
Related
I have put some images in basic cards and in lists in Actions on google app.The problem is some of those images only appear in simulator and not on the real device.
I have tried resizing and scaling the image to those which are showing but that doesn't make any change.Some of those images which are of high quality than others appear on the real device.I don't know why this is happening.I have tested on 2 real devices both of them have the same problem.Can someone please help me?
Are you on the google 'Spark' plan.
If so you cannot access images referenced outside of google storage.
You need a paid plan to access non google url's.
I have some sample projects and my images live in
https://console.firebase.google.com/project/<Your Project ID>/storage/<Your Project ID>.appspot.com/files
The images stored in this location are rendered with no issue.
Regards
Roy
Thanks everyone for providing your help,I actually found out the answer.Some of my urls contained whitespace which was handled by simulator but not the phones.So I changed the urls and now it works.
I am developing one website, in that i am showing some images on click event of some links.
and website is hosted on live web server.
But problem is that when i am visiting this site on my system, all images are getting displayed but when someone else is trying to access then images are not getting displayed.
In short, in some systems, website is working properly in chrome but in some systems images are not getting displayed.
According to me, may be it is an issue of browser compatibility, may be user browser is of lower version and that's why not showing images.
But i don't know whether i am thinking in a right way or not.
please suggest me how to solve such issue??
thanks in advance.
In my image editing application i am providing two option to the user, 1) save image to Media library and another share it through ShareMediaTask. The issue i am facing is while saving the image to library the size of the image is 1.5 mb. If i share the same image through ShareMediaTask(Gmail / Hotmail etc) The size of the image reduces to 330 Kb. Hence it affects the quality of the image. How i can share the same image in Media library without losing the size and quality in windows phone 8.
I also tried the same share through library (ie without using my application). Still the result is same.
If anyone had a solution to this issue please update your suggestions.
Thanks,
Stez.
The email application automatically downscales images, there is no way to control this. An alternative solution would be to, eg, upload the image to Skydrive and email the link.
In the app i'm working on, an image is displayed to the user which is gotten from a website.
I want the app to have an option to save the image to gallery.
From what i figure, since the image is displayed on the screen (and hence, has already been 'downloaded' to the phone), i shouldn't have to download it again for saving it to the phone (essentially specifying the URL of the image on the website as the image's source).
Is there a way to get the get the source (path) of the image?
I wrote one app while ago, it was about testing downloading an image from the web and putting it into Image control. And what surprised me a lot - after first download an image I was able to turn off wifi and after that image was still showing. I think WP7 have quiet good cache or something and maybe if U ask second time about the same URL U'll receive temporary file from cache instead downloading it again...
I researched a bit and found out that once an image has been downloaded from a url, it isn't downloaded again and is retrieved from the cache automatically. So, that leaves my question answered.
You were correct kingsvid!
I have to write a J2ME app to retrieve images from server and display in mobile phone.
I have seen and test that Snaptu have a mechanism to cache image, event with 100 images (both normal size and zoom size). I wonder how they can do that?
I though that those guys use rms to save image stream to data. But when i check in working folder of simulater( I use Windows XP and Sun Wireless Toolkit 3.0, the Emulator device i use to run my program is CLDC Device 1 - my working folder is C:\Document And Settings\Administrator\javame-sdk\3.0\work\6\appdb), i see some .db file. When i delete these files, i still can view cache image in my emulator????
I also thought that those guys use heap memory to save image. But it is not correct because when i set limit device memory is 2MB (like some mobile phones), and i load and view 100 images in zoom size, it didn't make OutOfMemory Error?
It so weird.
Any one can help me? Thanks
RMS is possible solution for trusted and untrusted MIDlet.
JSR-75 file connection is possible solution for trusted MIDlet only. You can't create file if your app is untrusted.