kXML and LWUIT to build an RSS Reader - java-me

New here. I'm currently doing an RSS Reader for J2ME for a device called Samsung Corby. Here is my question.
Is there anyone who are doing RSS Readers with kXML and LWUIT before? I got the basic idea for kXML, but for LWUIT to work with kXML, there's no sample code or sample app that I can refer to.
Need help.

Quite a few people are using kXML with LWUIT but since these are completely separate technologies there isn't much discussion on the matter.
For RSS though, check out LWUIT4IO which has RSS reading API's including an RSS reader component.

Related

Web Conference without client

What technologies are available to accomplish audio streaming between browsers without the need for additional software?
I have tried Lync Server which doesn't support audio/video, WebRTC which is not supposed by IE and now I am trying Silverlight but it's not really well at all.
Anyone else know of any other ways?
Thanks a lot!
You can read here for starter: How to embed a web conference room into web application?
There are providers out there that will sort this out for you but if you want open source/free it is likely to be based on WebRTC.
You can also use Flash if you want browser coverage but providing code for that is beyond the scope of stackoverflow however Google can help you find a proper solution (you will most likely need a server like Wowza)

how to stream my video collection into inet

I have a small ubuntu server down in the basement with a couple of self made movies on it. I would like to share those videos with my Family. In my most fancy dreams, I would offer a website with the list of videos to select one and watch it. Let's say, something like youtube but with my very private stuff and only accesible for me and my family.
I am a more or less experienced linux user. I was allready googling a bit. I found Flumotion Streaming server but wanted to get my mind up for alternatives before instaling it. I would appreciate any hints for any other tools. Configuration via command line or plain config file would be ideal.
thanks
PS: I have a 5 MBit/s Upstream to internet. This should hopefully be enough for one client at a time.
Nowadays, most web-browsers support the html5 <video> tag. So, you don't even need to install flash/silverlight or other 3rd party tools. All you need to create your video portal/site is:
a) A web server software (Apache has good functionality, but lighttpd is quite light on resources. Both are available in Ubuntu repository.
b) Your videos. Chrome currently supports mp4, webm & ogg formats, so your video should be in one of these (See here for full details: http://www.w3schools.com/html/html5_video.asp)
Once you setup the above, all you need to do is create a default html page with description of videos along with a <video> tag to stream videos. See above w3schools link to know sytax and other trivia.

Is possible to acces the waveform of a song from a spotify app?

I am thinking on how to build an spotify app that does beat detection (extract bpm of a song).
For that I need to access the raw audio, the waveform, and analyze it.
I am new to building spotify apps.
I know that with "libspotify" you can access raw audio. Can you do the same through the spotify apps API? And how?
For the record, currently exist two spotify apps apis:
Current
Preview
Unless you're really keen on writing that beat detection code yourself, you should look at the APIs provided by the EchoNest, which include that (and many other awesome things).
see Getting the tempo, key signature, and other audio attributes of a song
In a word: no. That isn't currently available in the Apps API.
There’s a new endpoint I guess. See an example https://medium.com/swlh/creating-waveforms-out-of-spotify-tracks-b22030dd442b?source=linkShare-962ec94337a0-1616364513
That uses the endpoint https://developer.spotify.com/documentation/web-api/reference/tracks/get-audio-analysis/
Edit: I agree with commenter #wizbcn that this does not answer this question. Is it sort of incorrect to leave it here because I found this SO post while searching for info about visualizing the tack's waveform as in the linked article? Maybe I should make this a comment instead?

How to create Cover Flow in J2ME

Is it possible to create iPhone like cover flow in J2ME (specially Nokia)?
If yes, what could be the logic to create it?
J2ME Polish can be configured to provide lists in a cover-flow like UI (see here).
You might also be able to persuade LWUIT to produce something like coverflow, but I have less experience there.

how to implement a web site like youtube?

I'm doing a language web site for my university language center, where students login and see videos to learn English. i have to do it like this,
person is logging in to the system, search using a search area and find the details,lessons and videos relevant to that videos. this functionality exactly matches the youtube scenario.
for implementing twitter like functionality we can use status-net, is there a similer library, statusnet like famous implementation for youtube or a some kind of platform or a framework like codeigniter that we can use to implement youtube like site very easily??
please suggest some options?? a open source one or a commercial one ???
and what is the best video format to use in a such web site?? flv?? mp4?? or mov???
regards,
Rangana
Your best option is to use a 'cloud' based video processing service. Most have a sample project / library for many different languages and frameworks. Here is a list of a few I've tried and liked:
http://zencoder.com/
http://transloadit.com/
http://pandastream.com/
The typical steps involve uploading the video files to a large 'cloud' static asset host (such as S3) through the browser. If you are inexperienced it is best to select a processor that provides an uploader (it will handle putting the files in the right spot). Of the three, Transloadit and Panda both have custom unloaders.
Usually the service will allow you to either pass the encoding settings (what formats and qualities to) output to as parameters or configure them in your account. To support all current HTML5 browsers you just need H264 (.m4a) and OGG (.ogv). However, the new trend in the video world is for WEBM (.webm) so you might want to include it as well.
Next you will receive a unique code from the web service that you must store in persistent storage (database). The web service can be configured to 'callback' (perform an HTTP POST or GET request to your service) once the video is encoded.
Once your recieve a callback you can activate your video and start dislpaying it on your pages. For displaying, if you are inexperienced I'd highly recommend you use one of the following players:
http://sublimevideo.net/
http://longtailvideo.com/
http://videojs.com/
They all do similar things for different prices. My current personal favourite is Sublime Video (it offers cool light box effects and a gorgeous player).
Why do you have to re-implement Youtube when you can just use it for hosting your videos for free? Many online e-learning portals (e.g. Khan academy) do exactly that.
As far as the best video format to use -- go read about H.264/AVC. It's what Youtube currently uses.
I think you will not find already built solution ;)
But it's not really that hard. You can use existing frameworks that will make your life easier while you build account management system, the rest shouldn't be really that hard (assuming you don't really want to re-build the whole Youtube ;D ).
For playing videos, you can use JW Player. A great piece of software, you should check it out.

Resources