Missing platform support? - azure-mobile-services

I want to connect an existing PhoneGap application to a newly created mobile service in Azure, but in the dashboard for the service I'm only presented with these three choices for the "Choose A Platform" option:
Windows Store
Windows Phone 8
iOS
Where is Android, HTML/JavaScript, Xamarin and the new PhoneGap option?

I take that you created a new mobile service using the new .NET backend. For now, the quickstart (starter) projects for that platform are only available in the four versions you see there (WinStore C#, WinStore JS, WinPhone 8 C#, iOS Objective-C), and others will be added soon.
However, the backend still supports other platforms (HTML/JS, PhoneGap, Android, Xamarin), it's just that we don't have the starter projects for those in the portal yet. You can take one of the supported ones, download the server project, and create the client project to talk to it.
Again, all supported platforms will get their quickstart projects added soon.

Related

Using Ionic to develop IBM MobileFirst Platform hybrid applications

I have mobile first development studio in my eclipse and by using that I created a new MobileFirst project and hybrid application. Added an Android and IOS environment to the application. I have idea of worklight. Ionic support is added using mobile first 7.1. How to install ionic? I have read many steps using all CLI based. Can any one guide me to install process of ionic.
It is not possible, or at least easily possible to use Ionic with a MobileFirst Hybrid project that was created in MobileFirst Studio.
Instead you should create a "pure" Cordova application, that uses MobileFirst's SDK.
You can read more on this in the following blog post: https://developer.ibm.com/mobilefirstplatform/2015/04/16/an-overview-of-using-the-ionic-framework-with-mobilefirst-hybrid-mobile-applications/

Worklight Facebook platform selection?

For Facbook integration in Worklight which platform should we select Android or Website
,
right now i am developing for android environment but later i will be doing for iphone and windows as well
Also were do i place the Facebook integration code in index.html(main) or in android project which is separately created ?
i am confused do reply
It looks like you are developing a Worklight-based Hybrid application, so in this case you should actually opt for the Facebook JavaScript SDK.
You can add it to your common\js folder and reference it in the common\index.html (just follow the instructions Facebook probably provides). This way you could easily 'extend' it to whichever additional environments you will add in Worklight Studio in your project setup.
Of course, you can also choose to use Facebook's native SDKs for each environment in your Hybrid application. In this case, you'll need to add the SDK in the iphone-ipad-or-android\native folder and follow Facebook's integration instructions (note that for iPhone the actual integration will be done in Xcode, not Eclipse).
If you choose to create a native application and bundle it with the Worklight SDK, then you should opt for the Facebook SDK dedicated to the specific OS. Here, you will add the SDK, again, by following Facebook's instructions.

Call phonegap plugin function within web app

i am building my first phonegap app and when i open the app i instantly redirecting (window.location) the user to my server where my web app is hosted. Is it possible to load the phonegap plugins from there? Because the "deviceready" event is not firing and i cannot call any plugin functions.
I can confirm that loading remotely does appear to allow access to native components (when scripts are properly loaded) and that cordova.jsdoes not appear to need to be loaded by the local index.html bootstrap.
Short answer: Yes
Some 'gotcha's'
You will have to supply correct cordova.js version for the platform browsing to your site.
you can look here for more info https://github.com/apache/cordova-js. This project hosts the core js elements, and builds the platform specific cordova.js lib
Any plugin api's your app wants to interact with must be pre-installed into the Native App
any plugin with native code will have to be added to the project and deployed to device bundled inside the app. There is no way to lazyload native code. The js portions of the plugin could be hosted on your server, however.
More information, some apps that do this
The PhoneGap Developer App uses a similar technique to what is describe above and what you want. The only difference is that it is meant as a dev tool, and the server is a local dev machine.
The Cordova App Harness also uses this technique of pre-bundling an app package with plugins, to be consumed by remotely hosted resources
You cannot, deviceready only functioning if the app run on mobile phone environment only. If web based or dekstop application, it won't trigger.
No , dont do that . loading remote website will not able to intract with your plugins . and the app will get rejected on istore too

Using phonegap to develop iphone app on visual studio

I am completely new to mobile app development and basically c#,.net developer.Recently i got a requirement to develop a iPhone application.Some experts suggested me to use icenium extension for visual studio and Phonegap. I want to know how to use/install phonegap for this and how does phonegap helps me to develop this application?what are the basic difference between icenium and phonegap as i know both helps to develop cross platform apps.
Telerik AppBuilder (formerly known as Icenium) is a set of IDEs and cloud-based build tools that allow you to use PhoneGap/Cordova to build cross-platform apps. You should read up on it and use their free trial here: http://www.telerik.com/appbuilder
Check out the Multi-Device Hybrid Apps (Preview) from Microsoft.
Don't you just love their naming conventions...
I haven't had a chance to try it myself as it requires VS2013 and Windows 8.1, but it looks promising.
Use Nomad. (Visual studio extension which integrates Adobe Phonegap Build)
Update:
From http://vsnomad.com/
Retiring Nomad
When we made Nomad free, we hoped the support load would be
manageable. However, we’ve found our users still expect a lot of
support for free tools. We don’t want to give our users false
expectations, so we think it’s better that they find another solution
with full support. For this reason, we will retire Nomad on September
1st this year.
Alternatives to Nomad
Nomad uses the open-source Cordova framework. This means you can move
Nomad projects to other vendors that use Cordova, including:
PhoneGap Build (Adobe)
Instead of using PhoneGap Build via Nomad, you can interact with it directly using the PhoneGap Build command line.
Multi-Device Hybrid Apps (Microsoft)
A Visual Studio extension that adds PhoneGap support.
AppBuilder (Telerik)
A Visual Studio extension similar to Nomad.

Can I create Background Services on Android using Phonegap Build?

I have been developing a phonegap application (HTML/jQuery) for Android devices and packing it in Phonegap Build.
I have a demand of having a background service that keep sending data to our web services every 1 minute. As far as I heard, it's only possible developing the background service in Java and communicating with the UI somehow.
My background is in .NET, so my question is: Is there another way of doing that apart from Java? Any good tutorial?
If not, Can I still keep using PhoneGap Build to pack the UI and the Background Service? Or do I have to have the whole Phonegap SDK installed in my machine?
You can't do it by Phonegap Build!
You have to install the whole set of tools (eclipse, android sdk and cordova), and then develop the service in Java, adding your HTML assets into the project. So that you'll get able to generate the APK containg Background Service and Webapp.