How can I play pdf, Bulider and mp3 on android [closed] - android

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 9 years ago.
Improve this question
i would create a programm, it reads pdf, bulider and mp3 on Android.
for Examples:
it´s in paris so it shows me the important places in Paris. it´s read from pdf file and show me builder as well as hear mp3, what i save in pdf file.
it´s possible or not?
could someone helpe me please?
thanks

To save something to pdf or to read from pdf you need to use pdf libraries. iText is one such option. Do check the licencing terms.Check this sample code : http://itextpdf.com/examples/iia.php?id=12
Incase you want to read out pdf loudly(You mentioned read from pdf) you need to use TTS engine.Android provides a TTS engine.
What you mean by bulider?.. I do not have any knowledge.
To play audio, you can use synthesizeToFile()and create an audio file that contains the TTS(Text to speech) output. Then, you would use a MediaPlayer object to play, pause, and stop playing the file.Here is the link to follow:http://android-developers.blogspot.in/2009/09/introduction-to-text-to-speech-in.html

Related

how to upload video to Firebase on android? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
I want to build an app that it can upload video from SD card to storage, but I only can upload image. Did anyone do that before or have a better approach.
You can find a pretty good answer/explanation here (and this may help as well). Note that the answer given in the first link actually sets the content type as "audio/mpeg"; if you want to upload a video file, you can refer to this list and change the MIME type accordingly.

How to Fire Click event of pdf file Chapter Index [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
In my application I have requirement some thing like this.I have one Pdf file,on that Pdf file I have first page which is chapter index.Now my requirement is something like when user click on any chapter than it should redirected to selected chapter page.Is there any functionality available in android to achieve this? Might I need to display pdf on a pdfviewer.But what is a possibility?
On alternate solution is that to Convert pdf file to Html pages and to display that html pages on android webview.But it's not a feasible solution i guess.
I tried to find solution on google But no luck,Just need some one's advice to take my decision for this issue.
Thanks

I want put big video on android app [closed]

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 9 years ago.
Improve this question
I want put video on my application that I wrote it , the problem the size video is big , so what can I do?!
I can't upload the video on YouTube because I don't want anyone see the video except who download app.
any way or solution for how could I do that ?!!
The apk file has a size limit of 50 MB. I think you have a couple of options.
Put the video on your server and on launch of the app, download the video from the internet and store on the device. Some games work like that by downloading content from private servers or clouds once installed.
I am not sure if this can be used, but try creating an expansion file and upload that to the play store and let your app download from there. Expansion Files
Since you don't want non app users to see the video, consider using some DRM so that once the video is downloaded, it is not shared by the users.
Upload video to your server and display it in your application. Play your video using video url. See this answer here.
Use APK Expansions files for external files-
http://developer.android.com/google/play/expansion-files.html

Android UI Kit - lookamore [closed]

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.

Android: Get the list of downloadable files from a specific URL [closed]

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

Categories

Resources