XCode + Phonegap + Sencha Can I deploy to other platforms? - xcode

I have to start work on phone gap. Till now i have found out that Sencha is a good way for developing ui thus i have chosen to use Phonegap + Sencha. I came to know that i can export the "www" folder to eclipse to deploy the app on android if I use Phonegap. So my question is, will I still be able to deploy it on android if I also use Sencha with Phonegap?? If so, how? I am following this url for developing in iOS:
http://www.sencha.com/learn/a-sencha-touch-mvc-application-with-phonegap/

use phone gap build service for any platform like
1) Android
2) iphone
and many more
for android in eclipse you will get the .apk file
for using phoneGap build service (which is free) you can get .apk file
phone gap build service

Related

How do I specify an App groups in the nativescript application (for iOS)

I'm developing an application with Share Extension in nativescript.
The Share Extension is developed using XCode and has an App Groups specified.
How do I specify an App Groups on the main application without the need to enter the XCode every build?

Appcelerator App Conversion iOS to Android.

One of our developer developed an app in appcelerator using alloy framework for iOS which works fine. Now we want to run the same app in Android, since the appcelerator is a cross platform tool, we wish to make the Android version of the App. I tried searching about it and explored the applcelerator ide for options but couldn't find it. Can some one please guide me into the right direction?
First of all have a look at this link : http://docs.appcelerator.com/platform/latest/#!/guide/Supporting_Multiple_Platforms_in_a_Single_Codebase this will guide you to update the application for multiple platforms.
Their are basically two different ways to port any application from android to iOS or vise-versa, but before that just let me clear one more thing to you about tiapp.xml.
In the tiapp.xml of your project you need to updated the Development Target by checking for which platform you are developing the application for (iPhone, iPad, android, Mobile Web).
Option 1 :
Cross Platform is build to make code re-usable (i.e. re-use same code for all the platforms), but we have exceptions with many things. Their are lot of components that work fine in iOS but when you use them in android then you will face errors. So in that case you just need to apply conditions for android and iOS like below :
if(OS_ANDROID)
// do something
else if(OS_IOS)
// do something
What you need to do is that you need run the application in android simulator and test the application for these changes and then apply the changes accordingly.
Basically a developer has to target the UI for both the platforms, as their will not be any logical differences between the two. Also their will be UI changes between the same components, like for example a picker in iOS will not look the same as it will when you look it in an android application.
Option 2 :
Now in the project you have assets folder with the platform that you have selected in the tiapp.xml (i.e. iPhone, android etc).
You can create similar structure in the style and view folder, create two folders iOS and android in both the directory (i.e. style and view).
First, move .tss of style folder (except app.tss and index.tss) in the iOS folder, then copy the files in the android folder also.
Repeat the similar process with the View folder also.
Now you have two different structures (i.e. view and styles) according to their platform. Now you can run the application in android simulators and resolve the error that you face.
Hope this small information helps the cause, you can also have look at the documentation of all the components from below link :
http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.TableView

Samsung Grand mobile Not showing UI but I can see UI in emulator

I am trying to deploy app on Android device But I am not able to see the UI. My device configuration as below
Handset : Samsung Grand
OS : Android 4.2 (API 17)
in project properties I set the application Tab like this
please let me know what wrong with it. Similar configuration for Android Emulator I cab able to see the UI.
Try creating a apk in release mode and then install the apk manually.

How to install applications on blackberry z10 Simulator for testing

How to install applications to blackberry z10 Simulator,usually in older versions of simulator we used browse from file section -->load java program and load the desired file on simulator, But for BlackBerry Z10 The Simulator can be entirely run on virtualmachines(like vmwareworkstation),
The only way i figured it out is
create an bb sandbox account-->download the desired application from it, any alternative to install bar files/bb z10 files straightaway into simulator of blackberry z10?
I need to install without using eclipse,any ideas?
You'll need to use command line tools to do this without Eclipse. Some of them are listed here, and a complete deployment example is shown here.
You'll need a debug token for your simulator (blackberry-debugtokenrequest), package your app (I think you're already doing it as you're exporting to the sandbox) with blackberry-nativepackager, then deploy with blackberry-deploy.

Phonegap Build Windows Phone change pin to start text

So i've been building a windows phone app with phonegap build. I'm using the config.xml file. Does anyone know how to change the pin to start text?
This may not be relevant to Phonegap Build but I had exactly the same problem when building a WP8 app locally. I found the only way to change this is by doing the following:
In your Phonegap project, open platforms\wp8\Properties\WMAppManifest.xml in a text editor.
Change the value of Title.
Un-pin the app and then re-pin. The title should now be updated.
This doesn't feel like the right way to do this but changing the PhoneGap config.xml doesn't seem to make any difference.

Resources