I'm trying to consume Custom Control in Windows 8 Metro Apps. It's working fine if I'm refering my custom control in other project within same solution but unable to successfully add reference of control to a different project in different solution.
Everytime I add reference to the control extension in my project, I always get this error "Insufficient memory to continue the program"
I've taken the help from this link but its not working on Windows 8 Release preview:
http://timheuer.com/blog/archive/2012/03/07/creating-custom-controls-for-metro-style-apps.aspx
Windows 8 Release Preview
Visual studio 2012 beta
Related
I'm running Android Studio 2.1.2 on Ubuntu 14.04. When installing I chose to download API 24 without thinking and now it gets selected every time I start a new project. Because umake provided Android Studio with JDK 1.7, the Design View always shows an error 'Android N requires JDK 8'.
I can get past this by unchecking 'Automatically Pick Best' and choosing a lower API, but now the Design View is blank. I have to edit the xml and remove the following line;
app:layout_behavior="#string/appbar_scrolling_view_Behavior"
Now I can finally see the Activity I'm building in the Design View.
What I'm looking for is a way to stop Android Studio from always having 'Automatically Pick Best' checked and API 24 selected every time i start a new project. Is this possible? It's a pain to have to go through all those steps each time.
Android Studio installs API 24 by default there is no way around this when you first install (at least that's the way it is with my ubuntu distro - you cannot uncheck API 24 even when you choose to do custom installation settings). sudo umake android
After the install, and before I created a new project I clicked the cog to open 'Configure' which allowed me to open the SDK Manager. In here I was able to install API 23 Marshmallow and delete API 24 Android N.
Now when I create a new project API 23 is selected and the Design View works fine.
I created a very simple windows form app in visual studio 2012 on a Windows 7 machine that has been working on Windows 7 for a few years with no issues. The user upgraded to Windows 8.1 recently and when I tried to install the app, there is no error message but it doesn't work. It appears to install and creates the desktop shortcut but the application won't launch. What I can I do to make it work on Windows 8.1? I've tried using the 'run application made for previous versions of windows" but the app doesn't appear on the list and I can't seem to find the location when I try to browse to it. It seems like it should be a simple fix but I'm very inexperienced and need some help. Any suggestions are greatly appreciated.
I finished a windows phone project. And try to do Debug->Start windows phone application analysis on visual studio 2012 (also 2013), but it doesn't work, and a dialog box pops up:
now I want to start windows phone application analysis on my project. how can I do this??
PS: I tried create new app from the windows phone template, it has the same error!
I had the same issue and alternatively i had error when opening .sap files too with :
Microsoft.Smartdevice.Connectivity.DeviceNotFoundException
This last error point me that you have to install SDK Update for Windows Phone 7.8 and everything work now.
Surprising that this prerequisite is not specified.
I have downloaded the Windows Phone SDK 8.0 from MS site. I have installed it in two ways :
WPexpress_full installed via web.
wpsdkv80_enu1.iso (1.6 Gb) download and install.
In both the cases, I could not find the store menu. I have developed an app and it has to be submitted to the Windows Phone Store. I could not find any solutions over these forums. I need some guidance.
Note: I also tried to find this menu by looking in Tools - > customize options. That did not work for me.
You cannot submit Windows Phone 8 apps using just Visual Studio. You have to login here and submit the XAP with your app using the New App dialog:
Windows Phone Dev Center
You can actually begin the app submission process with the store from Visual Studio 2012 via the menu with: Project >>> Store >>> Reserve App Name...
However, this is just a link to the actual website: https://appdev.microsoft.com/StorePortals/en-us/Developer/Catalog/ReleaseAnchor
I downloaded Microsoft visual studio express 2012 for windows phone.
But when I go to new project, I can't find HTML5 app for visual c++ project template.
However HTML5 app for visual c# and visual basic is found.
It seem like microsoft done this on purpose (don't know why).
Does anyone know guide to create new HTML5 app with visual c++ project template?
any link would be useful.
edit: I did more searching and found this
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj206940(v=vs.105).aspx
HTML-based phone apps aren’t a supported app model in Windows
Phone 8. However, a developer can create a managed app with a XAML
front end that uses an embedded browser control to display local HTML
content,
However this only apply to windows phone 8 and not windows 8
which is the source of confusion for me.
This is because the HTML app template is a WebBrowserControl hosted inside in small XAML/.NET app layer, and it isn't currently possible to write a XAML/C++ app on WP8.
If you need to add C++ you should be able to add a Windows Runtime component to your app and call through to that: although that would mean calling through from JS->.NET->WinRT.