[Q] How can I access the decoded text from my Android app? - Java for Android App Development

Hi!
I'm beginner in Android programming and I'm working on an Android app, that connects to a .crl file on the Internet and gets some data from it. I need to be able to decode this file (like an ASN.1 JavaScript decoder) and then use the decoded data.
My question is, how can I access the decoded data from my Android app? Is there some way to reference the decoded text online? Or is there a way, to include a decoder in my Android app?
Thanks for helping.

Related

[FIXED] Streaming iPod encoded .mp4 over network

I've got an annoying problem that I don't know how to fix.
I have a script that uses handbrake to encode videos for me and spits them out as a .mp4 file. I used to view these from a local open web directory so I could stream them while I was in the bath or in the kitchen or having a dump or whenever I wasn't in front of my TV.
They work on my iPhone, iPod touch and on the various Android things I put on my HD2. How can it work on a flashed WinMo phone and not on a proper Android device?
What's frustrating is that they work when I transfer them over using Astro or downloading them in the browser. I assume it would work if I put them on a memory stick but all of these solutions take more time.
I was thinking I should root the Tab and put a custom Android on it, but is there anything else I can do without re-encoding a bunch of files?
What exactly is the problem? How are you trying to stream them?
I have an open web directory which is basically just a list of .mp4 files. I open the browser and point it to my site, 192.168.1.3/movies, and then click on whatever I want to watch.
Then usually it gives me an option of what app I want to play it in and I usually just pick the default video player.
This doesn't work on the Tab where it does on my other devices (Android and iOS).
So the problem is that its not giving you an option to pick which app to open the .mp4 with?
Maybe you dont have any other apps that can play the file?-
It does give me an option, it just refuses to play saying that the type is not supported. I've tried the built in video player, rockplayer, meridian. I've also tried it on a file manager like Astro.
The files just refuses to play like they do on my hacked HD2 and iPhone.
Are you trying to emulate this like the AllShare program? Cant seem to get this to work too on the network media
I don't know what AllShare is unfortunately. Did it work on a previous device?
Allshare is sammys DLNA client. Its pretty good for small folders on a LAN server. But it doesn't understand headers very well. Search is your friend.
Someone pointed me in the right direction on another board.
Another Forum said:
OK, figured it out. The problem is that most MPEG4/QuickTime muxers append a critical piece of metadata to the end of the file and it needs to be moved to the beginning to allow streaming/progressive downloading in the Android media player (it's not a Samsung-specific problem).
If you already have a bunch of non-streaming-compatible MP4 files, there's a tool that comes with ffmpeg called qt-faststart that rewrites them (without reencoding) in a compatible fashion.
Also, it looks like Handbrake 0.9.2 and up have an option for producing "Web optimized" MPEG-4 files, which if you enable should fix future videos.
Click to expand...
Click to collapse

Library to Streaming player

Hi,
Somebody ask me in order I make a APP for Windows Phone and Windows 8. This App need to play a streaming content in diferent format as isml, rtmp and m3u8. I have got experience in isml format but I haven't got in the rest. of formats. So, ¿are there some library that I can use in order to play rtmp and m3u8 formats?
Thank you
HLS (what you called m3u8): https://phonesm.codeplex.com/
RTMP: you should write your own MediaStreamSource (including packet parser) and logic to stream.
Hi sensboston,
Thank you very much for your help. I'm going to studying your example and the library of this example.
Thank you again

[Q] Display DNG files in Android app

I am looking for a library for Android which offers the function to decode RAW files(specific DNG).
I have tried to port dcraw to Android with no sucess. I have also tried FreeImage but it doesnt work on Android either.
Any suggestions regarding this?

RTSP library for streaming over UDP, for Android

My video camera streams UDP via WiFi to my Android phone.
I'd like to re-stream from Android, so I need a library for the application layer RTSP, for UDP.
My question is: is there such a library anywhere out there (free or not) already available?
If not, about how much difficult would be to write one? (I understand that for .NET there is such a library so the logic could be borrowed for writing code in JAVA or NDK)
Thanks.

WebOS and Web Audio Api SharedArrayBuffer

Hey all, im new to WebOS development.
I have a web music player written in vue 2 and I ported it successfully into a WebOS app.
The app works flawlessly except one problem - when I try to use SharedArrayBuffer to transfer data between threads I get errors, which might be related to Web Audio Api SharedArrayBuffer (this is the part of code where it crashes)
Does webos support Web Audio Api by default? Do I need to configure anything in the app or webos settings?
*I have to use SharedArrayBuffer to avoid latency and other issues while playing and streaming.
*The Web Player is in production and works perfectly on browsers (which support SharedArrayBuffer)
Thank you.

Categories

Resources