i had an jquery page , i want to add it to the android activity,how it could be done? - android-webview

I am new to android developement.i had created one page in jquery using html and css and i want to add it to the android activity but i am unable to do it,can anyone please provide me proper code for it?

If you're talking about how to make a hybrid app (using HTML/CSS/Javascript to make an application but still have native Android functionality) I would take a look into Phonegap. Just follow the directions and it lets you upload HTML/CSS and your AndroidActivity simply has to open it. Hope this helps.

Related

Ionicframework photo editor

I am trying to add a photo editor functionality to my ionic framework application. How ever I couldn't find a decent sdk that goes with it. I'd like add
aviary/creative
sdk but there is not an obvious way to do it. I tried angular-aviary plugin for cordova but that is not working anymore. Please help me find a good photo editor sdk that works with cordova/ionic framework. Any help would be appreciated, thanks...
I've spent about a week looking for the same thing. Beyond the Creative SDK there is also the img.ly PhotoEditor SDK which offers Android, IOS, and HTML5 as well. But as with Creative none of it is easily compatible with Ionic. I'm still looking for a solution but would be very interested if others have ideas as well!
Have a look at the PhotoEditor SDK Cordova Plugin Demo and the guide for integrating the editor under Ionic and Cordova to get an idea of how to get the editor working under Ionic. Basically, it works like this:
The idea is to create a Cordova app that allows the user to open an image from their photo library and edit this image using the PhotoEditor SDK on iOS and Android. This is done by using an existing library to access native photo pickers on both platforms and passing the path to the found image to a plugin. The plugin manages the configuration and opening of the PhotoEditor SDK’s editor and passes the edited image back to Cordova.
I was in search of this functionality and founded a proper documentation for ionic Framework from PhotoEditor SDK . Please follow the instructions given here to add Photo Editing functionality in ionic app Quickstart for ionic Framework
Hope it will help someone.

Inner browser in Worklight App using JQuery Mobile

I want to use an inner-browser to open a webpage inside the JQueryMobile based Worklight App. Right now I am pushing user out of App to the external Safari browser on iPhone.
I do not have much experience in JQuery Mobile.
Kindly suggest how i can achieve this? Or better workaround.
Thanks
This has got nothing to do with jQuery Mobile.
Make use of Cordova's InAppBrowser (requires Cordova 2.3 so be sure to use Worklight 5.0.6).

How to make a plugin like app in iphone

I want to make an plugin like app in iphone for mobile web browser, in which i want to use safari (or any browser) current link and also link which is present on the web page, when i click on it my app should invoke for using targeted link.
I know plugins are not supported in mobile browser,
Can anybody have any solution without jailbreak?
Thanks in advance.

Add PhoneGap to existing native app

I have an existing objectiveC native app for iPhone. Can i add a button in native app so that clicking on to that will bring up phonegap UI (ie, which use phonegap framework). Is there any way to acheive this.
As much as I know/explored -
On click of a button you can open up an HTML page in your web view(as we do it while building a PhoneGap app.).
But if you want to open the same Native App to get converted in PhoneGap app that's not going to work for sure.
Hope it helps. :)

Is jQuery needed for PhoneGap?

I am new to Phonegap to develop native Applications. I cant see any jQuery files under WWW folder. Why should i download it?
Is it possible to bring UITabBar, UITableView everything through Phonegap and javascript without jQuery? What is senchaTouch, what is the purpose of it? Anybody can give clear direction?
jQuery is not required to make apps with PhoneGap. However, if you would like to, you can use jQuery in your apps if you wish (jQuery just uses Javascript itself).
UITabBar and UITableView are native iOS controls. PhoneGap does not provide a way for you to use those at the moment. But if you take a look at the PhoneGap roadmap, you will see a bullet point marked "Native Controls" - so don't give up hope!