I have been using Titanium for years now using Classic (even before Titanium was using eclipse or commonjs was a thing).
I am making the switch to try an app in Alloy and so far it isn't too difficult to grasp.
One thing I cannot figure out is I am not able to rename the very first view (and controller/model files) to anything other than index
I want my first view named login since my first screen will be a login screen.
I renamed the XML, TSS and JS file all to login.* and I get an error say no file called index was found.
I've searched and cannot find anything that answers this.
You can not change the name of the first view. The index controller will be fired first, you can open from there the login screen.
Related
Good day, I have such a problem. The application is made on the basis of webview, at the beta stage. And I faced such a problem that after the registration stage I need to launch a separate page in which the native elements and the webview are combined. Please give a tip on how to cope with this task
U.P.D The crux of the problem is this. I have a file that describes one webview page. I need to make sure that after the user is registered, he is thrown to another file, where the webview is also described, but in addition to the webview there are native menu elements for the user to navigate the application. If it's not clear, I can try to make a block diagram, maybe this will be clearer
I've created an app using Shoutem Builder, but the builder isn't able to do everything I need it to. I've created a local copy with shoutem clone so I can edit the screens myself; however, I'm unable to locate exactly where I would find the file(s) to add the code to the dozen or so blank 'About' screens I have in my app.
I've thoroughly searched the documentation, and while it's got information on editing a screen created using the CLI, I'm unable to find any thing related to how to locate and edit individual screens created in the builder. Would these screens need to be deleted using the builder and created one-by-one using the CLI in order to be edited locally?
AppName/extensions/shoutem.about/app/screens/AboutScreen.js, as seen here.
Each screen you add re-uses the same code from the About extension. It'd be rather wasteful to create a dozen of the same files.
If you need each of the different screens to have a different layout, you can consider making custom layouts for the About extension and then use each of those for each of the separate screens on the Builder. You can find out how to make custom layouts here.
I'm checking out DivShot for the first time, and have fallen at the first hurdle.
On launching the app, I get the page editing screen, as expected, with the Inspector, Components and Page Options tabs on the right hand side of the screen.
But on the left hand side, there is no Navigator. And I can find no reference to the Navigator anywhere on the screen (thinking it might be a collapsed area, or something).
Looking at the Intro video on the Divshot website, there do seem to be some minor differences (the lack of the Navigator notwithstanding), so I am wondering whether something has changed in the latest release...
In any case, I can see no way of add files/resources/folder structures other than new pages, because of the absence of the Navigator.
Can anyone shed any light?
Much appreciated :)
It sounds like you're using the now legacy version of Divshot. We recently launched Divshot 1.0 with file support and a completely revamped project structure.
Legacy: http://app.divshot.com
New Divshot: http://builder.divshot.com
It's on a separate instance so beta users have time to export their pages and finish anything up in the old version before upgrading. Since we moved from generic folders and pages to actual files we're offering a manual upgrade.
If you'd like to update you can just go to https://api.divshot.com/upgrade and follow the instructions there. We're pushing a notice to the old version right away to eliminate any confusion. Sorry about that!
I am new Application Developer with the Titanium. i want to develop new Application with Titanium and created a HelloWorld application. Every time my application starts up Than every time Titanium startscreen is show. how I remove this Titanium Startscreen.
I have also 1 question when i run the application in iPhone than show its title bar with windows.
but, in android have not show.
i use build custom with use if else statement i add the title bar. but, any syntax. whose add the tittle bar in android.
I have also occur this type problem than, i sort out this problem with the help of my friend.
I write below step by step.
go to the resource folder where u create ur application.
select the build folder and open iphone and copy the picture whose u want to show on screen.
and rename with default.png
I, think this is useful to you. Let try it.
I have a table view project with multiple controllers and another one that is a image gallery project and have a Three20 project added to it. I found it in internet.
So i want when a table view cell is tapped a image gallery opens. Both projects work fine when i test em separated . I tried dragging gallery project and adding it to my main project ,but and then adding a headers to my project ,but the only thing i got are errors. Any ideas
It's hard to tell you anything, because you didn't mention detailed information of your works. At least, we must know that if you are using XCode 4, what kind of errors you have got! and so on...
Moreover, do you know how to link static library into XCode project. That's the way it should work!