How to run Sencha Touch Application in Eclipse - android

i am new to sencha touch & phone gap.i want to run simple hello word app in eclipse.but i dont know how to do it.if any one knows it than let me know fast
Thanks in advance
Aamirkhan I.
UPDATE:
Well there is a plugin availble for eclipse in which we can easily create any sencha,jquery mobile,phonegap project's,just need to follow some steps to integrate that plugin..see MY POST for that plugin guide,i updated my answer just to help other's who don't know how to write sample application in phonegap eclipse.
Thanks

follow this folder structure.
---your application name
-------src
--------------your activity class
-------gen
--------------generated files
-------android2.2
--------------generated files
-------Referenced Library
--------------Phone gap referenct which is placed in the libs folder
-------assets
--------------create folder www
---------------------place your html files & create sub folders for sencha files(
-------bin
--------------auto generated files
-------libs
--------------phonegap-1.3.0.jar
-------res
--------------some auto generated files
--------------create xml folder in that place phonegap.xml and plugins.xml files
-------Android Manifest
-------proguard.cfg
-------project.properties

Start by doing the Getting Started tutorial of PhoneGap on whatever OS you want to work.
http://phonegap.com/start
You should get your Hello World pretty easily
And if you want to go further you can do that great Sencha Touch tutorial :
http://www.sencha.com/learn/a-sencha-touch-mvc-application-with-phonegap/
Hope it helps

I would suggest you to use Apatna studio for the Sencha client development. It helps to build web applications quickly and easily and it is one of the Eclipse based powerful web development engine.
http://aptana.com/
Find Aptana Studio 3 Release Updates site: http://download.aptana.com/studio3-rcp/plugin/update/
Another alternative is Spket plugin for eclipse for Javascript. Spket Update site: http://www.spket.com/update/
Once your are done with the client development, you can follow the below link to build the different version of mobile application builds using phone-gap. Visit here for Phonegap developers reference link

Related

Writting React Native with android and iOS code in the same code base?

Looking through the documentation (https://facebook.github.io/react-native/) it seems you need 2 different files ones with file ending in .ios the other .android
I find it hugely confusing now I'm starting to write code do I need 2 repos to write this code
Yes, you do need to write to the specific platform you are working on at the time. If you are working on iOS / Xcode, then the .ios files will automatically be the once run when compiled, and vice versa.
If you are not writing any platform specific code, you can copy the code from whatever components are working on in your current platform over to the other platform, and they should work fine there.
You could use some strategy to share the same code base.
I found a project where it was made:
Mobile, desktop and website Apps with the same code -
https://github.com/benoitvallon/react-native-nw-react-calculator

Importing jQuery mobile app into eclipse

hi¡¡¡ wish you can help me with this problem¡¡¡ thanks in advance.
I've made a project in a drag-and-drop builder for
creating cross-platform mobile apps and websites, and now, i want to make an app native, apk extension, in order to take it into Android Market. After finish the project, i receive a source code bundle for Eclipse (phonegap project).
The link to the phonegap project is this http://www.mediafire.com/download/i3keb345k8y51lh/codiqa-android-f6e7a438-1377719055.zip
Everything works really fine in the project, but when i make the apk archive.......... is not so fine.
Let me explain you, step by step what i am doing, maybe you can tell me if something's wrong and how i can fix it.
Step 1: I export my project as phonegap project (android). I receive a *zip, and i unzip it in my computer .
Step 2: I open Eclipse program and create a "android project from existing code" (file>new>project>android project from existing code")
Step 3: I select the root directory where i've unzipped my codiqa project, and click finish.
Step 4: I export the project as an Android aplication (right button>export>export android application), follow the steps, and i get my application. (In the Manifest, i change debuggable to false.)
Step 5: I install it in my phone, and now come the problems.
Problem 1: I can not open anything from my app. For example, when you normally open a file o website in your phone, you can receive the standard "what program do you wish to use", but not in my app.
Another example, i have a mediafire link in the app in order to download an archive,.......... no matter how many times i press the download button, never work, never download.
Hope you can tell what's wrong and how to fix it, THANKS¡¡¡
You might need to try different platforms.
Sigma Mobility http://sigmamobility.com/ allows building mobile apps using jQuery for free through drag and drop feature, it also allows one to attach Java scripts and CSS styles.
you can through app preview download the source code , and to get cordova project source, you might contact SigmaMobility support for the same.

Multiple webviews in phonegap projects

I am new to phonegap platform. Have some queries plz help me out.
First of all my question is that "what exactly is cordova cleaver"? plz answer in layman language.
Second if somebody says "each module running through one main webview object" then does this mean that the app has only one webview.
Thanks,
Vishal.
with cleaver you can change a native view to show html
If you want to use cleaver, you have to include cordova as a framework.
in the .dmg you have a pdf explaining the steps to include cordova as a framework and how to use it.
I supose you need cordova installed, because if you don't install it, you can't get the cordova.framework

Infragistics controls for eclipse

I want to use Infragistics controls in my android application which i am creating in Eclipse IDE. But i cannot find a way to integrate these controls with eclipse. I have downloaded the file named NetAdvantage from
http://www.infragistics.com/products/android/
But I cannot find a way to use it in my project. When I try to install it, it installs it for Visual Studio. Can anybody please tell me some way as my application is in java not in C# or VB.NET
I assume that you are referring to the IGUANA UI toolset? In this case I suggest choosing the "Iguana UI 2012 Complete Bundle" download option on the IG Website.
IGUANA UI actually does not require installation - the toolset as well as the documentation and product samples (including sample source code) are all available in the downloaded zip.
Please let me know if this helps.

How does android source code work?

I have download a set of android source code, which has folders such as "bionic, bootable, build, dalvik, development, frameworks, hadware, packages, prebuilt" and so on. When I browse the whole code, wonder how "import android.preference.PreferenceActivity;" works in Settings.java(D:\android-srce\Google-source\packages\apps\Settings\src\com\android\settings\Settings.java). I guess there is a android.jar file somewhere after compilation. But how does Settings.java import PreferenceActivity correctly?? I'm a beginner in Android, please help me.
Sounds like you have downloaded the source code to the Android OS. If you want to build your own ROMS then you need to study about building the OS for a particular hardware platform. This is not trivial.
If you want to build an Android app that runs on an Android device then you want to download the SDK instead - start at Android SDK and follow your nose, buy a book, read the sample code.
There is not a lot of information how to change parts of Android. However, you can read information that is connected with the aosp tag. The first cite is source.android.com After the installation of android build system you can see video from marakana group. You'll find a lot of valuable information there.

Categories

Resources