I have creatd a webmap on ArcGis online.
The embedded map is in an iframe.
I am using HTML and Javascript to develop something whith Phonegap.
Does ArcGis have a JS API similar to GoogleMap?
yes it's perfectly possible and fully documented in their api
you can find the full docs here
There is also this repo on github with a phonegap/arcgis starter set up
It is possible.
Use the ArcGis API https://developers.arcgis.com/javascript/ instead of the GoogleMaps API.
If your project targets Phonegap, it is even more easy: https://github.com/Esri/quickstart-map-phonegap
A set of simple samples that show how to get started with the ArcGIS API for JavaScript and PhoneGap/Cordova. These samples provide best practices for using PhoneGap and Cordova across different device operating systems and within the PhoneGap/Cordova application lifecycle.
Related
I am fairly new to the OpenTripPlanner and would like to implement it into a small portion of an already built website. Is this possible and if so how would I go about adding it?
The OpenTripPlanner platform provides a web front-end to plan journeys so you can embed that into your website using an iframe.
http://docs.opentripplanner.org/en/latest/Basic-Tutorial/#simple-one-step-server
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe
I'm looking to design an app for use on both iOS & Android. It will have a few tabs, with one tab dedicated to navigation. I'm hoping to use the Google Maps API to run the map, which will include basic mapping features such as route planning.
I've done some research into PhoneGap and from what I can gather I can use web technologies (HTML, Javascript etc.), in which I already have a proficiency, to build the app, which I can then package into an iOS and/or Android app.
So if I went ahead with using phone gap, could I use the Google Maps Javascript API to build the navigation part of the app and then use PhoneGap to package it into an iOS/Android application?
The beauty of cordova is that you always have good plugins which are relatively simple to install and use.One of the plugins available for using google map in cordova apps is given below
https://github.com/mapsplugin/cordova-plugin-googlemaps
However you can also go ahead using the Google maps javascript API in cordova to build the navigation part of your application. I recently used this in my cordova app and it worked very well. I have used the features of Google maps like navigation, adding custom markers, place auto complete etc.
Just wondering if its possible to build side bar add-ons for LibreOffice/OpenOffice with HTML, CSS and Javascript.
The other alternative idea would be to use the UNO api and an embedded browser to display a web app and allow interaction. We have a single base for Google Apps and Microsoft Office built as a web app. If we can use a browser and the UNO api then we can have LibreOffice as a deploy target too from the same codebase. Has this been done before?
Any ideas or help would be really appreciated. :)
This is an example of the app that Ill be porting over (all sample data):
Google Apps:
Excel for iPad
Excel for Mac
Excel Online (Office 365)
Follow the instructions on this page for building a panel via an extension (NOT via the C++ core).
The primary file to create is called Sidebar.xcu. Several other files are needed as well. There is an example of all of these files further down on the page.
The example is written in Java, and it may be easier to implement the whole sidebar in Java rather than Javascript/CSS/HTML. However it is possible to write extensions using Javascript.
I need to create an internal admin app. The app needs to be able to:
For V1
- Wrap and execute javascript code
- Will not rely on any iOS code other than perhaps the code necessary to load the javascript.
- Uses local storage
For V2
- Work offline (which means javascript code needs to be loaded in)
Any ideas on how to go about implementing such a thing?
By far the easiest and best supported way is to use Apache Cordova. They did all the work of wrapping a Webview in a native app and have a rich set of plugins for integration with all kinds of mobile APIs.
Since the app will be running in an embedded browser you can simply access the normal Localstorage APIs.
The Cordova tutorial by #ccoenraets may be a good way to get started.
From my findings the following two are great solutions:
Ionic
Apache Cordova
Iam using PhoneGap/Cordova + Backbone for developing a cross platform mobile application. Using phonegap i can access almost all the functions of the device. Is there somehow possible to access or change the device's profile using PhoneGap or using backbone ? I searched a lot but couldn't find any relevant results..!!
Is there any documentation available on this ?
Any help will be very much appreciated..!!
I didnt get what you means about "device's profile". You talking about accounts?
About Phonegap/Cordova you can do everything that a native app can. But sometimes you need to write a native plugin to interact with device. I already had to do that to do push notifications using a third lib.
You write a native class to do something, register it in plugins, give permissions and then call it with your javascript.
You can find documentation here: http://cordova.apache.org/docs/en/3.4.0/guide_hybrid_plugins_index.md.html#Plugin%20Development%20Guide
Add this cordova plugin into your project.
https://github.com/apache/cordova-plugin-device
Put these line of codes into your view page
alert(device.cordova);
alert(device.model);
alert(device.name);
alert(device.platform);
alert(device.uuid);
alert(device.version);