UIPageControl alike Android Phonegap? - android

Is there anything that I can use to mimic the UIPageControl in Android Phonegap? I've tried to research it but can't find any clue.

As far as I know in HTNL and Jquery i dont think you have any control to do such. You will have to implement it on your own. You will have to take an image tag in HTML with two buttons / handle the swipe event in jquery Mobile (http://jquerymobile.com/test/docs/api/events.html) and then upload a new image and call redraw on the page.

Related

Can you add swiping ability with a Progressive Web App?

I have researched this question and I can't find it anywhere. Does anyone know if you can add the ability to swipe on a smartphone with a Progressive Web App?
Yes. Look up Scroll Snap to see how to get your swipe stop points at the right place.
Look up Flexbox display as well.

How do I create a android webview mobile app with jquery mobile

I am pretty new to jQuery.I have heard of building mobile web apps with jquery mobile. I plan to open up a list view in jquery with horizontal navigation to sublists and further to a detailed page , sort of like a menu to submenu to a detailed page with images and text. Is there a way I can acheieve this in jquery? Also planning to add the jquery index.html? file in my android project and call it via webview. I just need some demo apps regarding listview and sublist navigation to detailed pages as reference. Anyone has any idea regarding the same?
Thanks!
Justin.
Well, for a start, you could check the demo API in here. You'll get a pretty demonstration of the listview, different widget you could use in JQM. For Android Webview, I can't help though

Is it possible to create an android app with full HTML design?

I want to know if it's possible to design my android app UI with HTML5 and CSS3.
If it's possible, is there any performance issue?
Android has WebView which can render HTML content, but it doesn't provide the same user experience as native apps so its use is generally discouraged.
Yes it possible. As rhoadster91 stated, you can use a normal Android WebView which loads your "index.html". All your HTML files should be in the "assets/www" directory. But you'll find plenty tutorials out there which explain everything step by step. Have a look at Googles developer site.
A second possibility would be Phonegap. It is a little tool which helps you to deploy your app for various devices (Android, iOS, WP,...) while coding your app only once in HTML.
I experimented with jquery mobile, native application and phonegap. Building a web application at first seemed very attractive at first as the coding is a lot easier compared to native applications. Here is my opinion based on my research:
Using phonegap slows your application responses, it loads slowly and together with jquery mobile the response and load time increases. So I didnot use it.
Using jquery alone was no different in Gingerbread mobile and on emulator you can clearly see the lag in switching between one div to another div. I didnot use it either.
What I did was use android Webview. I wrote my own javascript and css and placed them on the head section of my page. Used div for changing pages on button click. This approach worked really good giving nearly native performance.

How to achieve jQuery slideToggle functionality in Android

I am looking for jQuery slideToggle like functionality in Android. Is there any way to achieve this. I searched for long time but did not found any thing. Please suggest me some source code snippet if it is possible. I want to achieve right Google Map button action in the URL: http://360.az/vt/avaz

Displaying PDF in phonegap

May I know is there any other solution other then using childbrowser plugin to display a pdf in phonegap?
Thanks
I looked into this exact issue when developing an app that views PDF's. The childbrowser plugin is the best route. It's actually quite easy, and you can customize it any way that you'd like. Do you have a particular reason why you can't use the childbrowser?
From what I researched, you could also use 3rd party extensions to display pdf's, but in the end you'll still need to do most of what childbrowser plugin does, cause you will need to create a custom view that gets displayed when javascript is triggered.

Categories

Resources