Tomcat server creation in Android Studio - android

I am developing an application which requires setting up a Tomcat server. But in Android Studio, I am unable to find how to add Tomcat servers. Can anyone help me out on that?

Android Studio does not provide any integration with Tomcat. You need to either manage your Tomcat server outside of the IDE, or switch to IntelliJ IDEA Ultimate which provides both the Android development features from Android Studio and integration with Tomcat.

Related

how to make an android app in linux web server

I want to make android applications by giving users a form and submit on my linux hosted web server.And after taking the details from user i want to create an android app for the user on the linux web server itself.But i dont know how to do the setup for making android application in linux hosted web server.
I have complete setup available in eclipse in my local machine.But is there any way i can make the apps runtime in my linux web server.
I have installed ant and java jdk in linux server but i dont know how android sdk needs to be installed on the server.
Please guide me on this.
Yoy have problemas in concepts, Android application is android application, your app always will be in Android device. If you cant to comunicate with linux, you can use a WebService, Rest API of anothe stuffs like this.
When you want to create an android application you need a Android SDK, IDE and Java.
Java i think you know how to install, install Java JDK.
IDE- Download Android Studio from official website.
Android SDK- Downloand when you have Android Studio.

Test-Driven Development (TDD) using Xamarin and StackMob?

I am interested in using StackMob as my BeAAS on a project using Xamarin to create an Android and IOS version of my mobile app. I am using the StackMob.NET solution from
https://github.com/ermau/StackMob.NET.
I was successful at running the demo from the Android emulator however, I am unable to make successful contact to StackMob via NUnit (Visual Studio or Xamarin Suite).
Is this because I am not attempting a connection from within a mobile View? Or is it possible to create test methods that can connect to StackMob?
Also, has anyone tried integrating StackMob with Xamarin or .Net?

Unable to use windowsazure.mobileservices in my mono for android app

I am trying to get Windows Azure Mobile Services up and running but can not for the life of me find the DLL anywhere on my PC. I installed the SDK already.
I thought I read somewhere that this DLL is only available for use in Windows 8 development environments. Is this true? I am running Windows 7. If so is there another way around accessing my database in the cloud?
You need to use the version of the DLL that Xamarin ported from the original code. Download it from their component store: http://components.xamarin.com/view/azure-mobile-services/
well that depend on the way you start developing your application. if you developed the script on Windows Azure Mobile Cloud Service and then download the project from the portal, I am sure you wont face any problems of the above.

Windows Azure Toolkit for android

I read Windows Azure Toolkit for Android to understand how I can connect Android with Windows Azure. I still unclear after I read the blog since they didnt provide the basic tutorial or sample on how we can connect. Does anyone manage to connect android to Windows Azure. Appreciate if you advice me on how or where I can find start up package to connect Windows Azure with Android. Thanks.
try this; http://www.wadewegner.com/2011/08/windows-azure-toolkits-for-devices-now-with-android/, from the actual developer who built the toolkit for Android.
it is my understanding that the toolkit that you can download includes a sample application that you can open, and test on the Android emulator.
"The library project includes the full source code to the storage client and authentication implementations.
Once you configure your workspace in Eclipse, you can run the simple sample application within the Android emulato"
if that doesn't help, let me know and I will find somebody that can help you.

Eclipse : Creating Web Service via Apache Axis2 & Tomcat server 7

I'm trying to create a web service using eclipse. for that i have install tomcat server 7.and also i have set the "windows--->preference--->server(run time environment) & web service(Axis2 preference )" correctly.
when I try to create a dynamic web project it gives errors as follows.
Failed while installing Axis2 web services Core 1.1.
Reason:
Failed while installing Axis2 web services Core 1.1.
I can't manage this problem please help.
Lahiru,
When installing Apache Tomcat there are a few recommendations. First you want a fresh install with the latest download from http://tomcat.apache.org/download-70.cgi. I suggest Tomcat 7 as is latest version is backwards compatible.
From there you'll be able to use the .zip file after right-clicking on your Project and "Adding" it to you 'Java Build Path'. From there you will want to access your Server tab go to New->Server then select to 'Download additional adapter Servers' (or something close to that) and install a server adapter for Apache Tomcat. I use Geronimo which works pretty well along with their core version too.
If you're still having problems after reinstalling with a fresh copy try Stopping the Server and "re-publishing" or just "publishing" your instance of Tomcat. Sometimes that does the trick.
Hope this helps.

Categories

Resources