Hy I am new to visual studio .I search a lot and successfully create first application of android in visual studio 2010 using c++ but I don't find anything related to GUI.Please help me I want to create button,imageview,textbox etc in my android application using visual studio 2010 with c++
regards
To use native(C++) code in android application you need Android
NDK
Are you sure you want to create a GUI for Android using C++ there several libraries to create layouts with few XML/Java lines? For your question I suggest you read the Android NDK documentation to know how to properly implement C++ in your project.
Related
I want to develop a library for Xamarin Forms just like how we do in native iOS and android, like .framework or .a for iOS and .aar and .jar for Java Android.
I researched a lot and saw that we can create a nuget Packages based on Platform dependent environment .. But In my case I want to create a SDK which will only make HTTp calls and hence I don't want to use any platform dependent code .
I also found that we can create .Net Standard Library, but didn't get any useful material or Link to work Forward.
My Requirement is to create a SDK which can be used in Xamarin Forms Project . Can SomeOne Please guide me.
Thanks in advance
I am developing an library in C++, that support both Windows and Android. I used Visual Studio 2013 with vs-android. I decided to move to Visual 2015, that supports Android native development. If I start new native application project, it's work fine both on emulator and physical device, but I have a problem with my project ported from VS 2013. Windows configs works ok, but I don't have option to add Android target in project configurations. Is it possible to add support for Android without creating new solution? I was looking for that on MSDN, but I didn't find anything.
The way to go will be to add an Android project from the Visual C++-> Cross-platform section in the File->New project menu, and share common code between two platform used a shared project component. The 'OpenGLES2' application should provide a good example to follow on how do this.
https://visualstudiogallery.msdn.microsoft.com/61b15204-e6ae-4f9a-a59a-b3d916e1bb3f
Hope this helps.
I'm almost completely new to Android development, but can I use the new Android Studio to edit and run C++ code? Will I be able to import and use a C++ library with Android Studio in order to make an Android app?
Although it might be possible with some wrapper like explained here : android studio with cpp (not sure I did not try it) I suggest you to use Java as a programming language. You can also make your android application with unity by using C# or JavaScript if its a game.
Of course you can. Use android NDK for this: https://developer.android.com/tools/sdk/ndk/index.html
is java native interface is available is possible using android studio ,if yes any good tutorials to follow .
https://developer.android.com/sdk/installing/studio.html
in this page showing ndk is coming soon in android studio
Android studio supporting is not so powerful like eclipse but ofcourse you can use ndk.
See this links:
http://ph0b.com/android-studio-gradle-and-ndk-integration/
http://www.shaneenishry.com/blog/2014/08/17/ndk-with-android-studio/
I think it must help you.
I would like to know if it is possible to develop smartphone applications using VB.NET rather than C# with the MonoDroid Visual Studio addin?
Also, if possible could anyone point me in the right direction of some example code in VB.NET not C#?
Many thanks in advance.
Here is an article
From http://mono-android.net/FAQ
Currently Mono for Android does not support Visual Basic.
We are looking at adding support for
Visual Basic on upcoming versions of
Mono for Android.
Technically, what needs to happen is
the following: we need to provide the
Visual Basic helper library (part of
Microsoft.VisualBasic.dll) and compile
it to work with the Mono for Android
mscorlib.dll instead of the standard
Mono 2.0 mscorlib.dll
With the above it will be possible to
use Microsoft's Visual Studio to
compile VB code that will run on Mono
for Android. But we want to support
Mono's own Visual Basic compiler, but
that will also require the compiler to
run using the Mono for Android
mscorlib.dll. This is not difficult,
but requires time to get done and
integrate into our release process.
At this point there is no ETA on when
the above will happen. [enter link
description here][1]
[1]: http://mono-android.net/FAQ
Not at this time. You can find an explanation in the FAQ, but the first few lines state:
Does Mono for Android support Visual
Basic?
Currently Mono for Android does not
support Visual Basic.
We are looking at adding support for
Visual Basic on upcoming versions of
Mono for Android.