I'm going to implementing design for android application using HTML5 and css , previously in one application I had used Iscroll but iscroll have lots of issues like flickring and double tap) so I dont want to use it any more so want to discuss you all (phonegap android developer that which scroll should be best to use in my android application so that it does not create any issue.
Please suggest.
Use overthrow.js.. it works fine with android.. I have implemented.. Simple overflow property doesnt support in android < 4
You can try TouchScroll.There are some examples here.
Related
I am developing an application with the use of Ionic 3.
I would like my app to look the same on all platforms and I want to use a kind of a mix of android and ios styles.
In general, I will go for android (md) mode of the app, but I want to override certain elements to have ios styles.
For example, I would like my toasts, popovers and alert to have ios style and transition animations.
I can't seem to find a way to do it, please help :)
Thank you
I want to have a scrollabeView (pagingControl) exactly like this image, where I can show 2 pages at the same time or more and swipe between them on Ios And Android.
In iOS you can have a look at the property clipViews. For Android it is currently not possible without adjusting the SDK. Have a look at this ticket: https://jira.appcelerator.org/browse/TIMOB-25635. It is a feature request to have this kind of layout. Also it features some links that explain how to add it to the sdk.
I fixed this problem by creating this widget com.developatic.pagingControl. I hope that will be useful.
I was creating an app with Cordova that contains a CSS Grid Layout. The problem is that it shows on some devices and on the others, the elements are on top of each other. I think the problem comes from webkit versions that don't support Grid Layout. So my question is, can I force the use of a certain version of webkit so this works? I also would like to know which version I should force for it to work. Here's an example of a CSS Grid Layout
Your help would be greatly appreciated!
Cordova uses the webview app that is installed in the device by default. If you wish to use another webview, you need to embed it in your app. Something like Crosswalk can assure you to use only the webview you provide.
I am trying to achieve IOS Mail like swipe effect in Android. I have gone through several links and blogs but nothing was as good as IOS Mail app. I also searched SO but nothing was helpful.
I tried below link:
https://github.com/47deg/android-swipelistview
https://github.com/dharanikumar/IOS_7-SwipeGesture-Android
https://github.com/baoyongzhang/SwipeMenuListView
This is what I want:
How can I apply these effects in Android ListView? Is there any library or some piece of code which might be helpful?
Not sure what are the issues you've had with the other libraries, but you can try this one:
AndroidSwipeLayout
I'd also like to point out it's kinda futile to try to mimic a specific app of another platform in terms of look & feel.
I am a newbie to Android development and was using PhoneGap to develop a simple application. Can anyone please answer the below questions?
In all the sample applications found in the internet, they use a single index.html file. How to develop an application in phonegap containing more than one page?
How can we navigate from one page to another?
I want to have the same code to work in iphone also, so if I create more than one activity will the same code work in Iphone?
Sorry, it was a dumb question and since I was new to phonegap development I had no idea what I was doing.
The problem was that at the beginning I considered it like developing an android application. If you consider it like developing a website, you will find that the answer is very simple.
So for example, in my home page I provided two anchor tags which will point to my webpages which will handle the other two functionalities. ie. In my sample application to create and list profiles, the homepage would look like this.
< a href="addProfile.html" style="styling for the anchor to look like a button"/>
< a href="listProfile.html" style="styling for the anchor to look like a button"/>
We use JavaScript to navigate between all of the pages we have in our application, navigating within a frame.
And yes, if it works in PhoneGap, it should work in both Android and iOS.