Creating a popup notification using Sencha 2 iphone toolkit - sencha-touch

I am exploring using Sencha 2 for making a mobile app - iphone first - using their packaging system. I need my app to be able to send notifications regardless of what app they are using - I could not find this in the Sencha API - is this possible?
Thanks!

After some research and since I intend to package this up with PhoneGap it looks like this is what I will be using: http://www.easyapns.com/

Related

Do I have to code my site with NativeScript and VueJs for a separate native app or I could just directly convert it to native?

I am new to NativeScript and I just used VueJs since last year only. I already got a working website with admin page and dashboard made with VueJs and Bootstrap for my front-end.
I have read about nativescript these past few weeks and I planned to make my website native.
Should I rewrite my website with admin functions in nativescript or could I just use nativescript to enable my website as native app in android?
Thank you.
If you have coded your app with Vue or Angular and if you choose NativeScript to build your native mobile app, then you will be able to reuse the data model, services, basically anything that is not related to UI.
We call it native mobile app for a reason, your UI is pure native here, more or less equivalent to building a mobile app using Java (Android) / Objective C (iOS). You will have access to all native UI components and device apis, which is why you have to recode your UI.
What you must be looking for is something like Corodova / PhoneGap (Hybrid mobile app) which can just take your web app and wrap it inside a WebView.

I'm trying to make a react native app that is able to open Spotify and play a song

I have an app that i would like to connect to spotify so when my user pushes a button it will search in spotify for a song/playlist with predefined parameters that i will set. For example i will have two buttons one for hip-hop and the other for country. Once the user pushes a button I would like to redirect them to spotify and search the corresponding button title and maybe play the song. Similar to what shazam does to discovered songs you search on the app.
Spotify has a pretty mighty sdk and you should use it. To be able to access all features you need to use their SDK on native side. The topic is too big to answer it here via Stackoverflow.
React-Native native Module Guide for Android -
React-Native - Android Modules
React-Native native Module Guide for iOS -
React-Native - iOSModules
Spotify's Android SDK Guide -
Android
Spotify's iOS SDK Guide -
iOS

Worklight Hybrid app back button issue on IOS9

Worklight hybrid apps back buttons are broken on IOS9 because following piece of code is broken.
window.history.back();
As per following link the solution is to use WKWebView instead of UIWebView.
https://github.com/jquery/jquery-mobile/issues/8254
We are using worklight 6.2.x, which generates IOS code, is there any alternate way to resolve this issue ?
Found a configuration change in JQuery Mobile that resolves this issue.
Problems with window.history using JQuery/Javascript on Cordova app in IOS9
The way it works in Worklight Hybrid applications is that Cordova’s ViewController is used to display, to render, the web resources - the app. This ViewController that is provided by Cordova (and cannot be replaced) uses iOS’s UIWebView.
Therefore, until Cordova addresses this in the Cordova codebase by moving from using UIWebView to using WKWebView this defect cannot be fixed in Hybrid apps generated by Worklight - because they use what Cordova supplies them with.
As a possible workaround, perhaps you can look at implementing your navigation like how it is done in the Multipage application here: https://github.com/MobileFirst-Platform-Developer-Center/MultiPageApp/blob/release71/apps/MultiPageApp/common/js/main.js
The sample project is meant to run in MobileFirst Platform Foundation 7.1, but the JavaScript is the same also in Worklight 6.2.

Sencha Touch google drive integration

i'm developing a mobile app in Sencha Touch 2. I need to use dropbox or google drive for storing data and then share that data to a user.
I need to ask if any documentation available for integrating any of dropbox or google drive in Sencha Touch 2 (Android, iOS).?
You can start with integrating with APIs:
https://www.dropbox.com/developers/core/docs
https://developers.google.com/drive/web/
From the Sencha I don't think that you need anything specific. You can use existing controls like List or DataView.

Is Sencha UI and SenchaTouch only meant for web applications accessed from device or for native apps too?'

As I am new to PhoneGap and SenchaTouch I want to know the basic information . I understand that sencha Touch is only for web applications accessed from device. I am correct Please clarify my doubt that is 'Is Sencha UI and SenchaTouch only meant for web applications accessed from device or for native apps too?'
Thank you
Lakshmi
Sencha touch is a web toolkit, provides API to create interface looks similar to Native UI. But, however it is still a web application with a native look. However, if you want to crate the native packaging (application build) and if you want to access the device hardware features like camera, sensor then you can go for PhoneGap. PhoneGap can warp the HTML and JavaScript code and helps you to generate native builds for each platforms.