I am learning Titanium, and today I created a new Alloy Project in Titanium Studio, but on Screen when I got textbox, then in emulator, textbox is showing but no blinker. Any method to show blinker?
Related
I have created a Cross platform application to create an android application. In Main page I have a toolbar and listview that lists the data from sqlite database. it was working all well and now when I am trying to do change to the same screen to add some more controls, its not working when I run the project to debug. New controls are not visible on the screen. Its always showing the old screen as it is.
i don't have the rep to comment, but I've found that kind of scenario often with Android.
Changing UI components don't update.
When I do UI changes I'll often uninstall the app off the Android first, as the most reliable way, as I'm sure I've done the "clean solution", delete bin/obj folders and still had issues with the app on the droid not being fully updated to the new UI.
In multiple Windows Store App tutorials i have come across, where Visual Studio 2012 is used, the user is told to delete MainPage.xaml and replace it with a new item called Basic Page.
Since Windows Store Apps is not available in the version I'm using (Visual Studio 2015 Ultimate), when creating a new project, I went with Windows Universal Blank App. The problem is I can't find the Basic Page item in the version I'm using.
Is there an equivalent item I can use instead?
Edit: YouTube tutorial link
I know absolutely nothing about Windows Store Apps and Universal Apps, but was told by my CS teacher that I should use Windows Universal App, when creating the project. The tutorial was his recommendation, and he expects that I finish it during the weekend, so I can't ask him about it. I'm guessing there must be some difference between WSA and WUA. I can't see any item that looks like Basic Page, and I don't really know why the guy is replacing the MainPage.xaml with a Basic Page, so i'm clueless about what to do now.
You should use Blank Page option instead.
Difference between Basic Page and Blank Page
Basic Page- This on addition also adds some boilerplate code related to navigation inside your app along with back button and Appname header in XAML code.
Blank Page- Only adds a default page with basic navigation.
Make sure you have installed app development SDK's, since under C# you are supposed to get Universal option which I am not seeing in your current screenshot.
If you install Windows 8.1 SDK then you might get Basic Page template option. But for windows 10 SDK you can use Template10 add it as nuget package which already contains these navigation related boilerplate codes.
There used to be a pretty nifty command in xcode 5 where you could simulate the document. I mean when you pressed this option, only the UI of the app got loaded and then you can just see how the autolayout is working.
I forgot where this is and I'd upgraded to Xcode 6.0. COuld anyone help me where this option is in xcode?
Yes, it is gone. There's no way to get it back.
However, you can instead preview .xib or storyboard files in assistant editor. This dose not open a new window, however, the storyboard file shows the UI preview by default.
I have a universal app for Windows and Phone in VS2013, and I have a page in the shared project of the solution.
When creating pages in the Windows project, the XAML preview window shows a tablet.
When creating pages in the Phone project, the XAML preview window shows a phone.
When creating pages in the shared project, the XAML preview window shows a... tablet.
As I try to put more pages in the shared project, I'd like to have a quick way to sanity-check my UI on both form factors without having to actually run the project. Sadly, there is no option in the Device panel to switch between preview devices.
How can I preview the XAML of a shared project page in the phone without actually running the project?
You don't need to run the project.
There is an easy way to switch between the different design views using the dropdown that is present above the xaml code of the shared project as shown below.
Step 1: Locate the dropdown
Step 2: Click on the dropdown arrow
Step 3: Change the Project to .WindowsPhone
Step 4: Change it back whenever required.
Hope it helps
In your XAML View. Above the XAML code in the top tool bar you can find a dropdown that will let you switch between YourApp.Windows and YourApp.WindowsPhone. This way you can easily switch views.
Hope it helps.
I'm very new to OSX programming and I've been trying out a few examples in various articles and I've been facing a problem ; at that point I decided to follow tutorials from "Cocoa Programming for MacOSX" and Im running into the same problem.
My project name is "Random" and when I click "Build and Run", it shows the status as "Random running". However I don't see the window that pops up. Why does this happen?
I had a look at this SO thread and unfortunately it does not help.
[EDIT]
"Random" is a Cocoa application for Mac.
[EDIT2]
I tried doing the same with a new cocoa application and the problem persists. Here is what I did. Create a new cocoa project named "blah". Click "Build and Run" - from what I am reading im supposed to see an empty window - however I dont see the same.
[EDIT3]
My Xcode version details :-
Xcode IDE: 1610.0
Xcode Core: 1608.0
ToolSupport: 1591.0
Generally you will have a window visible if you have it in the xib that is loaded with you main menu and it is marked to be visible at launch... This should be all set up if you chose the window based application, if you chose document based then you will get a window when you select new from the file menu