I am brand new to the play framework and could use a little bit of help understanding first why the play framework is useful, and how to install and use it on windows vista. The project that I will be working on will be to make a custom API that will power a photo sharing software to be accessed by mobile and desktop devices. I tried to go through the installation guide on the play website but I couldn't get it to work (unfortunately i'm not very good when it comes to manual installations in the command line on windows).
I would like to be able to run one of the sample projects included, but I am unsure of how to get the play command installed on the command line to run it. Any help would be greatly appreciated. Thanks in advance.
open a command window then type :
c://pathtoplaydirectory/play
Related
I am pretty new to coding. I help run a small charity and a friend of a friend set up a website for us which I have been running for the last few years. I have managed to sort things out with a lot of copy and pasting and trial and error but I have now hit a wall.
I could not deploy to the server so I went back and reinstalled everything. I got further with the process this time but then it told me to update the SDK. I downloaded the newest SDK but cannot add this to my project in eclipse.
I have learned a lot over the years but I am still pretty dense when it comes to certain things. Find error image here
If anyone can help and explain it in laymen terms I'd appreciate it.
Many Thanks
Here you can find information about how to manage the Cloud SDK in Cloud Tools for Eclipse.
You can either allow Cloud Tools for Eclipse to download and install
an SDK for you, or you can point it to a specific SDK you've installed
outside of Eclipse.
Managing the SDK for Your Project
I'm in 2nd year of bachelor and working on my final project which is on the end of 3rd year.. But the project is on Java. I want to make it run in my laptop and on my phone. But I have a Microsoft Lumia 640. And I know how to create apps for my phone just in C#. Is it possible to design a mini software, and run it inside a C# app in my phone?
No, natively Windows Phone doesn't support Java but you can take a look to codename one where in their manifesto says that you will able to make mobile application for any platform only using java.
If you habe the java application as a jar lib you can use ikvm (a jvm for .net) and then you can theoretically run java bin code on the windows phone... you will need to take a look because maybe the issue will be how to deploy that jar to your phone at runtime
I'm planning to write a software (with GUI and sounds) that should run under Android and Windows 7/8
I guess the best approach for this is to use Java?
I am new to Android and Java development so my questions are:
-So can I use one development platform to create both (APK & JAR), namely Java?
-As far as I understand for Android I need to compile (from same source?) a .APK file and for Windows a .JAR file ?
(The .JAR will run in the Java Runtime that is installed in Windows)
-If I use Java what would be the best IDE, something like Google's Android Studio (will it allow to create .JAR?) or Oracle's JDK (Java SE Development Kit) ?
thank you
I don't think it is possible to write an app that will run on both OS's, since all GUI components are part of different frameworks (Android SDK for Android, SWT/Swing/... on Windows), and not compatible with all OS's.
You best bet is probably a web-based app. You can run it in the browser on dektop and either on a mobile browser on Android, or package it as a fullscreen WebView running your web app. The best part is it would also work on iOS.
You could also write your app for desktop in Swing and then convert it to an Android app, you can find questions on StackOverflow on the subject, such as this one.
Hope this helps ;)
I am running Windows 7 32-bit Starter OS and I wonder if anyone would be willing to help walk me through the set up for the Java SDK, Eclipse "Indigo" IDE and Android SDK/ADT set-up as I have basically made a bloody mess of it.
I am working out of a couple of books whose instructions are more or less: "go to the download page and follow the instructions" and of course I have, but I keep hitting a brick wall and I am going to delete, re-download, and re-install the entire set-up starting from scratch in the morning.
I was using App Inventor, and had no appreciation of how much work was being done for me behind the scenes until I jumped off into this and will probably try to go back to it if and when Google completes the hand-off of the software to MIT and makes the sourcecode public like they are saying next year. Hmmmm.......
If I can work this out, I will make a click-by-click tutorial out of it and post it for others -who are bound to be having the same issues- to use... it's a rough thing to try to work out something starting from jump street and not knowing where to go when its holding up your entire operation.
I come looking for help -but will help back in return and have lots of stuff I can help with... GUI design is one area I see a lot of folks needing help with- simple little things sometimes make an unbelievable difference, etc.
Anyway if someone will help, point to help, or mention anything that will help, I will be glad.
I also have a list of compiler/console errors and warnings that I am getting when I try to import/run the example code from the books I am working out of -if that will tell anyone anything-. Also glad to receive e-mails about this from anyone.
Kind Regards, mark-p.
http://www.vogella.de/articles/Android/article.html is one of the best step by step on-line instructions on how setup your development environment
I successfully installed Android SDK in my Windows 7 machine last week and that too with all the latest updates.
http://developer.android.com/sdk/installing.html is itself a good resource. These instructions are applicable to the latest JDK version 7, Eclipse Indigo, and SDK Version 15.
The basic steps would be:
Download Install JDK 7 from Java site.
Download Eclipse Indigo as you would have done already.
Install the Android SDK from http://developer.android.com/sdk/index.html. Use the latest installer available ( Currently installer_r15-windows.exe). Note that this installation will install the sdk into Program Files\Android by default.
Run Eclipse. Go to Window -> Preferences. You will see a Android tab on the left if your SDK was installed properly.Ensure that your SDK location is same as your actual installation path.
5.Install the ADT Plugin for Eclipse.Go to Help->Install New software. Check http://developer.android.com/sdk/eclipse-adt.html#installing for detailed instructions.
Now go to Window-> Android SDK Manager.This should launch a window and the SDK Manager will try to retrieve the list of installed/available packages from the Google repository. Make sure that your internet connection is correct. If your are using a proxy server, go to Tools of SDK Manager and give the IP and port of the proxy server. I believe I wasted a lot of time since I missed the proxy settings. Also you may need to force https:// to http request.
The above step should list out a set of packages including Android 4.0(API 14) which is the latest platform available today. Select the different packages and on installation and restart of Eclipse, you should be ready to start with your Hello Android program.
I just installed Eclipse Classic to develop a BB app in Java..
Im following this steps bit im stuck trying to install the BlackBerry Java Plug-in item cause it tells me the plugin requires 'org.eclipse.ui' but I cant figure out how to install that.. Im pretty sure I need to add a repository to the eclispe sites but I cant find the address... anyone care to give me a hand??
thanks in advance
What version of eclipse are you running?
The BB plugin is compatible with 3.5 only; trying to install on 3.6 will cause these issues.
Also, I would strongly recommend installing throgh the eclipse plugin updater/installer to avoid issues later - the standalone installer doesn't play nicely with updates to the plugin version the last I tried it.
The update URL to use if you go this route is http://www.blackberry.com/go/eclipseUpdate/3.5/java -- you will also need to register for a blackberry developer account (free) if you decide to go this route: http://na.blackberry.com/eng/developers/ (You will be prompted for login credentials during plugin installation.)