How to design seekbar and its functionality for Video/Audio Player in J2ME?
I've tried with Slider Component in LWUIT but it's not working perfectly.
Used Sample piece of code from WTK samples but it's too tough to design other components if we use J2ME Canvas.
Related
I am using exoplayer for my streaming app. i would like to implement touch to zoom video player as we do in youtube. if user pinch the screen it will go to zoom mode we will use
playerView.setResizeMode(AspectRatioFrameLayout.RESIZE_MODE_ZOOM);
else we will use
playerView.setResizeMode(AspectRatioFrameLayout.RESIZE_MODE_FIT)
I have tried different method from youtube alas none of them worked for me. so i would be happy if some one explain and give me the answer on how to use swipe or pinch to zoom
added with , i have found a medium page explaining this but i have good knowlege only in JAVA and not in kotlin
https://medium.com/agile-freaks/exoplayer-pinch-to-zoom-functionality-bae397471c37
if some one is wellverse in kotlin can help me to decode kotlin code to java
I use impresspage 4 -current verion
I send the video to the repository. I add a text widget to the page. I click the Insert / edit your movie and choose the video from the repository. Unfortunately, the movie does not appear.
If I add the html widget and I will add the video in the video tag, it works.
Is this a bug?
You are probably using a non standard text widget, but one provided as a plugin. Because default widget has no video capabilities.
The plugin may have limited capabilities. I suggest you to use Video widget to display videos from YouTube or Vimeo.
Alternatively you can use HTML widget to display your video in some unique way, like html5 video player, etc.
Please let me know how to resize StringItem button. I want to make it large.
btnExit= new StringItem("", "Exit", StringItem.BUTTON);
AFAIK, Resizing,Setting padding and Margin through Pure J2ME is very difficult. Even though you managed to do it somehow, it wont fit with all device screens. So, I suggest you to use LWUIT(Light Weight User Interface Toolkit). Customizing all the components in LWUIT is very easy and you can attain very good UI using it with very less memory footprint.
I want to create a view/screen/activity in Android which has table containing ten columns. As ten columns would not adjust width-wise in the screen (would not be in readable format), I am showing 3 columns at once.
I want to integrate a feature in the app where in if the user slids/flings on the table from right to left, the other 3-4 columns should be visible.
This is implement in Andry Birds. If you slide the screen from right to left, remaining part of the screen is visible.
This is called panoramic view in Iphone. Can I implement this in Android.
May be this will help http://code.google.com/p/panoramagl-android/
If you want to create panoramic views on Android, you can use PanoramaGL library. The 0.1 r1 version was released today, please check http://code.google.com/p/panoramagl-android/ and https://code.google.com/p/panoramagl-android/wiki/UserGuide.
Google provides VR View
VR view allows you to embed 360 degree VR media into websites on
desktop and mobile, and native apps on Android and iOS. This
technology is designed to enable developers of traditional apps to
enhance the apps with immersive content.VR view supports mono and stereo 360 images and videos. Images and video need to be stored in the equirectangular-panoramic (equirect-pano) format, which is a common format supported by many capture solutions.
I'm working with the mobile graphic framework LWUIT (V. 1.2) to develop an application for Nokia N97.
Results are striking and elegant but I have a problem: when I rotate mobile screen, menu bar doesn't switch from bottom to the right of screen. Commands remain on the bottom while correspondent mobile buttons are now on the right...
Is there an event that I can intercept when the user open or rotate mobile screen? Or I have to extend some library class to make this behaviour automatic? Or anithing else?
Anyone of you can describe a solution?
Thanks in advance
I didn't use LWUIT much, but you can insert following parameter to jad:
Nokia-MIDlet-App-Orientation: portrait
This should disable auto-rotating on Nokia S60 5th.
If you want to catch an event when the screen rotates, you can check canvas.getWidth() and canvas.getHeight(). If device's screen is not square, its width and height should change.