including sencha touch 2 in eclipse - android

i am using sencha touch 2 for first time .i have installed mds applaud plugin with sencha touch support for eclipse
i start project by including sencha touch library as shown below.
then i add sencha code as follows
but when i run the programme in android emulator instead of printing hello world it shows blank white screen as below.
can anyone help me how to run this application sucessfully ?

I'm pretty new to this, but I found that you can test the view in your browser by directing it to the folder that the app is in. For example, I just created an app called "TS2". The app is in the folder C://xampp/htdocs/ts3 so I direct my browser to http:// my ip here /ts3/assets/www/. Of course I got the apache server running in XAMPP.
One more thing, I created the new app in the bash console and then imported it to Eclipse. In the screen you capped I selected "Create project from specific source directory" and then there is another option called something like import.
I hope this helps but, as I said, I'm still learning myself.

Related

Build Phonegap Hydrated App Screen

I am creating a mobil project with phone gap. My project include few page tag in one index.html file. When I build my project without Hydration, all page are shown in main page on Galaxy Note 4. When I build with hydration, my project is shown normally. But when application starting, a page is showing ("Loading Hydrated Application"). I don't want to show this page. How can I close this page?
I suspect the only way to keep "Loading Hydrated Application" from showing is to build without Hydration enabled.
That being said, I had a similar problem with the PhoneGap Robot showing up on a brief splash screen as my app loaded on a mobile device. I found the image somewhere in the 'www/res/' directory and changed it to my company logo. Problem solved for me.
Perhaps there is a similar process happening for the Hydration message. Try looking in the images to see if it is there, and if so, replace it with something more appropriate.

Using Project Tango Unity example projects

I have tried to use the Project Tango unity examples found here; https://github.com/googlesamples/tango-examples-unity with no success.
I have never used Unity before, and have successfully completed the Codelab: Motion Tracking example fromt he developer resources: https://developers.google.com/project-tango/apis/unity/unity-codelab-motion-tracking.
I downloaded the example files mentioned at the top, open one of the projects (tried several, all have the same problem). Once the project is open, I open the scene that come with it, I go to Build Settings, change platform to Android, change the Bundle Identifier and set the Minimum API Level to Jelly Bean 17 and finally click "Build and Run".
Now it starts to build the project, everything goes fine and the Unity logo shows up on the Tango. And that's it, the Unity logo shows up, no error messages on the computer, but nothing more happens. The program stalls at the Unity logo.
Am I missing some crucial step to get the example projects to actually run?
Thanks in advance!
The example code is Unity 5 based project, so please use the 5.x version of Unity to open it. If you use Unity 4.x version, the scene won't be opened up properly.
However, the code lab is based on Unity 4.6 and it is independent from our sample code. I understand this is a little bit confusing now, we are working on make sure the version are unified.
In short, I would suggest you open our example code with Unity 5.x version. You will be able to run it without a problem.
It was blank empty scene build. thats why after the unity logo it didn't load any scene or do anything.
You need to go to Unity Build Setting and drag and drop all the scenes from the examples folder in it.
Once you have all the scenes. Make sure that AreaDescriptionManagement is on the top of the list.
That is the only step missing from you.
Now, build and run. Everything should be fine.

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.

ajax navigation error when using phonegap and ran locally

Sorry for the complete newbie question but i'm not having much luck.
I've created a project through eclipse with the phonegap plugin and deployed it as an android app onto a tablet to run locally - but I'm getting the 'Note: Navigation may not work if viewed locally' bar being added on the bottom of the pages.
How do I get round this? I thought if it was packaged up in this format I wouldn't have to install an android webserver onto the tablet and run it through the browser?
All guidance is much apreciated.
I had the samme error, and it turned out that jquery.mobile was included twice. Removal of the twin reference resulted in removal of the Note.

SystemNotification Phonegap (Android)

I just recently started doing some Android app development, based on Phonegap (due to my web based background (PHP/MySQL)) and jQuery mobile. First tests are promising, but the next level is a bit too much for me.
I'm trying to integrate this plugin: https://github.com/saileshmittal/phonegap-system-notification-plugin
I have followed the readme file and my app seemed to be working fine (no notifications just yet but also no errors) but when I opened my project this morning, Eclipse showed the following errors:
Invalid ZIP archive: src/com/phonegap/myapp/SystemNotification.java [in myapp]
Invalid preference page path: XML Syntax
Next to this error, I don't quite understand how to show the system notification. I have tried the following:
navigator.SystemNotification.createStatusBarNotification('contentTitle', 'contentText', 'tickerText');
and:
navigator.systemNotification = new SystemNotification();
navigator.SystemNotification.createStatusBarNotification('contentTitle', 'contentText', 'tickerText');
Again, my background is web based. I'm familiar with PHP, MySQL, Javascript, jQuery, etc. but Java is completely new to me. The objective to my app at this point is to show some checkboxes (loaded from an external server) and save which ever checkbox is checked. This seems to be working fine. I'm testing showing the checked ones as a system notification. Seeing I have an Android powered phone, I'm working off that right now, planning to port it to iPhone and other devices later on.
If somebody could point me in the direction of push notification for later purposes, I'd appreciate it.

Categories

Resources