Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions must demonstrate a minimal understanding of the problem being solved. Tell us what you've tried to do, why it didn't work, and how it should work. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I downloaded lookamore, Android UI Kit. I found a .psd file (Layer Photoshop) but I don't know how to use these files in Android development.
Can someone give me a sample code?
Or is it possible to use psd files directly in Android?
There is no sample code and Android has no native method to open PSD files.
You can convert these to another format, such as JPEG, GIF or PNG (depending upon the bit depth of your PSD files and how you are planning on using them) using either an online converter or using a graphics program.
Here is an article giving some programs to try, I recommend GIMP:
http://www.makeuseof.com/tag/the-best-ways-to-open-a-psd-file-without-photoshop/
Extension with .psd file is not supported by android that we can use directly in our application for that to extract the images from .psd as per your requirement i.e. for different sizes.
Try this link this might give you complete idea about this.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I need to add video filter in my android app like Instagram. I searched alot but did not find much stuff. Is there any library for this like aviary sdk for image editing ?
The shortest way to do this would be using OpenCV library for Java (importing it to Android project could be trcky) - it enables you to easaly extract each frame to different types of Image objects on which you can apply your filter (not sure if OpenCV contains tools for doing this) and then composing a new Video with modified frames.
Have in mind that this might be highly both CPU and battery consuming and I am not quite sure how would this work on various hardware configurations.
The other - longer - solution is to dig in to Android NDK and try to use ffmpeg. All in all it might decrease CPU load.
Also the new Android L release will provide some basic filters for Camera (not sure if this includes videos) https://www.youtube.com/watch?v=Xtp3tH27OFs so you could wait for some Compat library
I have give some filter for video like instagram filter using OpenGL ES. That is very fast and very nice.
If you just want to filter and show the video, u can see about this example, u can visit https://www.virag.si/2014/03/playing-video-with-opengl-on-android/. For another filter u can edit the fragment_shader.
But, if you need to render the video filtered and save that to sd card, you need mediacodec and mediamuxer. You can show the example from here http://bigflake.com/mediacodec/.
Hope this can help u, and sorry about my english.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
It seems that homepage http://nosy-x.com is perfect working by display
with firefox and chrome - but only in desktop computers.
Display is not correct in internet explorer and not in Android-Versions of firefox and of chrome. Apparently this is not directly to do with my code, it looks as if code of Android-Browssers with display in firefox and in chrome is different than those for desktop computers(concerning display of homepages).
Can I add for chrome and firefox in Android a general code for correct display ?
How would this look ?!
At present the relationship between browser and graphical file (pixels) is not correct somehow? All browsers have different output in their display concerning outfit of website with its pixels ...
thx.
I'm not really sure what your question is, but to make a website responsive and make it display the way you want on different screens css media queries is a good place to start. Take a look here: http://www.w3schools.com/css/css_mediatypes.asp
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 8 years ago.
Improve this question
Is it possible to adapt this java code from this webpage http://www.dreamincode.net/forums/topic/27950-steganography/ to be used on the android sdk.
It has ImageIO, WritableRaster and things from java.awt. If its possible please tell me how!
Thanks
Is it possible to adapt this java code from this webpage http://www.dreamincode.net/forums/topic/27950-steganography/ to be used on the android sdk.
Is steganography possible using the Android SDK? Yes. You would manipulate the byte[] of a Bitmap, either in Java code, in native code via the NDK, or perhaps using Renderscript Compute.
Can you perhaps leverage the steganographic algorithms from that code when you write your Android implementation? Presumably yes.
However, as you note, that code depends heavily upon classes that are not part of Android, which is why would you be better served starting with the algorithm and creating a native Android implementation from there, rather than trying to "adapt" the AWT-dependent Java code directly.
Or, see if somebody already has an Android steganography library that you can use.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions must demonstrate a minimal understanding of the problem being solved. Tell us what you've tried to do, why it didn't work, and how it should work. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I'm new to Android development, and I have a problem.
I would like to create an app where we can listen/stream MP3's from a server.
I know how to stream an MP3, but I would like to know how to have the list of every MP3 that can be streamed on my server. Do you see what I mean?
Thank you!
Create a RESTful API for this. I suggest you try DropWizard.
Besically you will create an endpoint like www.myserver.com/mp3s
When that URL is called you can return in JSON (or XML or whatever you decide to use) the list of files
There are a bunch of DropWizard projects on GitHub that you can use a reference, see this SO question for some links Looking for a dropwizard example
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions must demonstrate a minimal understanding of the problem being solved. Tell us what you've tried to do, why it didn't work, and how it should work. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
How can I implement an OCR function in my android app? I want to make an app that takes a picture and translates a text from it. Any APIS or tutorials for that?
Thanks
Update: Here some additional links I found that may assist you on configuring tesseract. I personally have not use this, as I personally opted for 2D code approach.
http://rmtheis.wordpress.com/2011/08/06/using-tesseract-tools-for-android-to-create-a-basic-ocr-app/
http://gaut.am/making-an-ocr-android-app-using-tesseract/
Original answer
Well without knowing anything about your app, I would like to note that you probably could not beat Google Googles when it comes to OCR features. Maybe you can add additional detail what kind of text do you want to be able to translate? So we know your not reinventing the wheel :)
I found a few links
https://code.google.com/p/tesseract-ocr/
http://ocrsdk.com/producttour/many-more/
But if I may suggest, if you it specific message that can you want to parse, I would recommend actually using QR barcode. You can convert a CSV file into 2D code and then have your app scan it then parse it to do some custom feature.
Here library I used for 2D code and found it quite useful in the past. Zxing which is open source and free to use