Full MSDN Library 2010 for Visual Studio x86 & x64 AND Windows Phone 7 [Torrent] - Windows Phone 7 Development and Hacking

Hey all,
Now you can download manually the full MSDN library for Visual Studio 2010 both 32.bit & 64.bit editions, in addition to the Windows Phone 7 MSDN library.
It is all updated till May 2010, and it is approximately 6.58 GB!
!! Important Note Before Downloading !!
When choosing the place to download the file, choose this path:
Vista/7 :"C:\ProgramData\Microsoft\"
OR
After downloading, "Cut" and "Paste" in the mentioned directory with full replacing old files.
* Mod EDIT *
Links removed; warez not permitted on this forum.

hanaheeno said:
Hey all,
Now you can download manually the full MSDN library for Visual Studio 2010 both 32.bit & 64.bit editions, in addition to the Windows Phone 7 MSDN library.
It is all updated till May 2010, and it is approximately 6.58 GB!
!! Important Note Before Downloading !!
When choosing the place to download the file, choose this path:
Vista/7 :"C:\ProgramData\Microsoft\"
OR
After downloading, "Cut" and "Paste" in the mentioned directory with full replacing old files.
* Mod EDIT *
Links removed; warez not permitted on this forum.
Click to expand...
Click to collapse
Hi Bro
Give this, but no for torrent
Thanks

Isnt this included with the VS 2010 DVD? Just select install documentation on the last screen during VS 2010 install

Ca5c4d3 said:
Isnt this included with the VS 2010 DVD? Just select install documentation on the last screen during VS 2010 install
Click to expand...
Click to collapse
yep, i'm pretty sure it does.
but hanaheeno mentioned "It is all updated till May 2010, and it is approximately 6.58 GB!"

imatrix said:
yep, i'm pretty sure it does.
but hanaheeno mentioned "It is all updated till May 2010, and it is approximately 6.58 GB!"
Click to expand...
Click to collapse
Visual Studio 2010 was realised on May 12th so I am guessing its the same thing
This might not be available to Express Editions

Of course it is updated!
Ca5c4d3 said:
Visual Studio 2010 was realised on May 12th so I am guessing its the same thing
This might not be available to Express Editions
Click to expand...
Click to collapse
Correction:
April 12, 2010 was the official launch of visual studio 2010 worldwide.
And this MSDN Library is really updated from Microsoft @ May 2010, and it is not a joke.

I'm impressed you know. Specially because there is no MSDN Library for Visual Studio 2010.
You use the integrated Help Manager to install the necessary topics you wish to have information about, and can update these as well.
It's available for everybody, also Expression editions, under Help > Manage Help Settings
Here you can click "Install from Online", and pick for example, Windows Phone 7 as one of the things you want to install documentation for.
So effectively what you provide is your local downloaded version, likely full of unnecessary crap most people don't care about, hosted on a remote terrible slow mirror (is that even legal?), and how can we trust you haven't included malware in your package?
Really, it's pointless to try and distribute something Microsoft distributes themselves, specially when the result is a larger and more obscure package on a slower mirror. Instead you should be providing the information and help to others can install the documentation parts into the Help Library themselves.
And yes, it's called the Help Library now, not MSDN Library.
P.S. The Help Library for Visual C# and Windows Phone are combined around 260 MB. I pity those who downloaded 6,5 GB of useless data

Related

UK Good Beer Guide - mobile

Hi,
I know this is a long shot, but someone more knowledgeable than me might know the answer.
I am keen to use the mobile version of the UK Good Beer Guide Mobile Good Beer Guide. In the FAQs available from the links from the attached page, it says that touch screen and WM phones aren't yet supported, but mysteriously implies that it might be possible to get it working.
Regrettably, the application is not officially supported on the following phones, however a version of the application may still be available:
* Apple iPhone
* Windows Mobile
* Touch screen phones
* Phones released before 2006
* Phones with no internet browser
Click to expand...
Click to collapse
I have installed it, the phone recognised the Java files and compiled them. The application shows in the Java link on the programs page, but only shows a white screen when it is started. I was hoping someone could shed some light on the subject. The zip folder contains a .jar and .jad file. He are a couple of links to the downloads SonyEricsson C905 and Samsung GT S5603 as examples of the files.
Is an emulator needed or a certain version of Java?
Cheers.
Wonder why they do it as a mobile application rather than just subscription access to the server the data resides on?
I have the pubs stored in Memory Map and Copilot...don't really need things like tasting notes when I'm somewhere different...just need to know where there is real ale
(given how few phones appear to be supported it would be far easier to say it works on the following: 1, 2 and 3 rather than list hundreds of phones that it won't work on!)
morfis said:
Wonder why they do it as a mobile application rather than just subscription access to the server the data resides on?
I have the pubs stored in Memory Map and Copilot...don't really need things like tasting notes when I'm somewhere different...just need to know where there is real ale
Click to expand...
Click to collapse
I have bought the POIs for TomTom, but the mobile version would be better than dragging the paperbook around giving you back ache . I'm also a bit of a real ale geek .
(given how few phones appear to be supported it would be far easier to say it works on the following: 1, 2 and 3 rather than list hundreds of phones that it won't work on!)
Click to expand...
Click to collapse
You're not wrong
Only a month until the next (even more bloated?) book comes out. Have e-mailed them about the lack of phone support in the hope they'll sort it out before then (and maybe do native poi files for other satnav/mapping as they have been promising for over a year).......I'm not holding my breath

Anyone able to get JavaFX on their Dash?

Hi People,
If you go here: Google "javafx for windows mobile download" you can DL the JavaFX update from SUN, which I did. It installed fine. (Sorry, my account is apparently too new to post the link).
It also comes with a few demo apps to try. But when I try to run it, I get an error:
"Calculated only a partial product UUID!This can cause problems with the correct device identification."
I called T-mobile and explained this, and that I had just updated the Dash to the latest T=Mobile/Windows CE OS version 5.2.1236, build 17741.0.2.1.
Of course they said they can't support any 2rd party apps. They also questioned whether the Dash was "too old" to run JavaFX. I have a hard time believing that last part. It runs plain old Java just fine.
I am hoping someone could try the DL I mention above and post the results, with the goal of getting JavaFX working on my/other peoples Dash.
As a footnote,I found this error posted a few other places with no answer.
likesjava said:
Hi People,
If you go here: Google "javafx for windows mobile download" you can DL the JavaFX update from SUN, which I did. It installed fine. (Sorry, my account is apparently too new to post the link).
It also comes with a few demo apps to try. But when I try to run it, I get an error:
"Calculated only a partial product UUID!This can cause problems with the correct device identification."
I called T-mobile and explained this, and that I had just updated the Dash to the latest T=Mobile/Windows CE OS version 5.2.1236, build 17741.0.2.1.
Of course they said they can't support any 2rd party apps. They also questioned whether the Dash was "too old" to run JavaFX. I have a hard time believing that last part. It runs plain old Java just fine.
I am hoping someone could try the DL I mention above and post the results, with the goal of getting JavaFX working on my/other peoples Dash.
As a footnote,I found this error posted a few other places with no answer.
Click to expand...
Click to collapse
i just downloaded it and it does work. my thoughts are that you probably need to upgrade your rom. your version 5.2.1236 is a bit dated and my guess is that's why it's not working for you. currently im running 3vo 6.5 and it's working just fine, overclocked to 274. try updating your OS/rom first, it should work after that.
btw there are plenty of forums around here that give good tutorials on updating your OS/rom if you've never done it before. study and up and take the plunge!
likesjava said:
I called T-mobile and explained this, and that I had just updated the Dash to the latest T=Mobile/Windows CE OS version 5.2.1236, build 17741.0.2.1.
Of course they said they can't support any 2rd party apps. They also questioned whether the Dash was "too old" to run JavaFX. I have a hard time believing that last part. It runs plain old Java just fine.
Click to expand...
Click to collapse
one more thing, tmobile isn't very tech savvy when it comes to this sort of thing. they have much info at their fingertips but they have to search to find it and most of them aren't that good at it. they are trained on newer phones but not the older ones. trust me i'd know, i used to work at a tech center. they have a decent database with logs on problems customers have had in the past and solutions, but the rep on the phone isn't always able to find the info. i was one of the better ones but they didnt want to move me to permanent tech even though that's what i was good at, and instead shuffled me to cust service to argue with people about their bills... so i quit
anyway, it's best to come here first and ask rather than ask them. we'll probably save you some time
Thank you Young!
I took the plunge and downloaded and flashed EXCA-3VOLUTION_WM65_3VO.3.00.112509. Along the way I applied the app unlock as instructed. I wonder - would the app unlock alone have been enough?
Well, in any case JavaFX is up and running! Yay! - thanks to you
I had no idea that there were people writing all sorts of new OS etc for these phones - I'm just a phone user.
Now - silly question but - none of these new ROMS allow free wifi or Internet access do they?
hey, what is JavaFx ??? Does it like JBed Java ?
It runs on any device that can run Java. Think of it as a prettier, fancier, high tech looking java. Its actually pretty fun to program as well. And its free (the development environment).
Here are some Google results for your question:
JavaFX is a software platform for creating and delivering rich Internet applications that can run across a wide variety of connected devices. ..
What is JavaFX?
JavaFX is a rich client platform for building cross-device applications and content. Designed to enable easy creation and deployment of rich internet applications (RIAs) with immersive media and content, the JavaFX platform ensures that RIAs look and behave consistently across diverse form factors and devices.
The JavaFX platform release includes the following components:
* JavaFX SDK which includes the JavaFX compiler and runtime tools, graphics, media, web services, and rich text libraries to create RIAs for the desktop, browser and mobile platforms.
* NetBeans IDE for JavaFX which provides a sophisticated integrated development environment for building, previewing, and debugging JavaFX applications. The editor features a drag-and-drop palette to quickly add JavaFX objects with transformations, effects and animation. This IDE also comes with its own set of Building Block samples and the JavaFX Mobile Emulator, a mobile phone simulator.
* JavaFX Production Suite is a suite of tools and plugins that enable designers to export graphical assets to JavaFX applications.
likesjava said:
Thank you Young!
I took the plunge and downloaded and flashed EXCA-3VOLUTION_WM65_3VO.3.00.112509. Along the way I applied the app unlock as instructed. I wonder - would the app unlock alone have been enough?
Well, in any case JavaFX is up and running! Yay! - thanks to you
I had no idea that there were people writing all sorts of new OS etc for these phones - I'm just a phone user.
Now - silly question but - none of these new ROMS allow free wifi or Internet access do they?
Click to expand...
Click to collapse
np, glad to be of help. it woulda been nice if my email program let me know i had a reply earlier though
anyway, about the free wifi and internet... no programs can do that, that i know of. there are ways to hack into other peeps networks for free bandwidth from pc's (as i've seen it done), but if you want free internet on the phone there's only a few simple options...
1. pay for it, either through a phone carrier ex: tmobile, at&t, etc. or get a router for your home network and at least then you can connect to your home wifi.
2. find a starbucks, local coffee house, hospital, or any place that is pumpin out free wifi and hop on the network.
anyway, even if there were those types of 'programs' you couldn't post about it here cuz it would get taken off immediately and the person posted would probably get banned. they're not too friendly about that stuff

Microsoft Apportunity Contest for New and Existing Windows Phone devs

I heard that Microsoft is currently sponsoring a contest for developers called the "Go Mango Apportunity Contest".
Every time you publish an app between now and December 31, 2011, you get an entry to win one of five Samsung slate tablet pcs. In addition, each time you publish 5 apps during this time period, you also get an entry to win free advertising for one app you made of your choice. The free advertising will run on the Windows Phone Application Network for about 60 days and include 25K impressions.
New developers to Windows Phone are especially welcome. If you're new to developing for Windows Phone or new to developing (programs for mobile operating systems) in general, I see this a great opportunity to get your program (idea) out there and get some recognition for it. If you've developed for Android or iOS, I found a "translation guide" that gives you the Windows Phone equivalent for the Android or iOS programming concept. The url for it is http://windowsphone.interoperabilitybridges.com/porting. If you don't have the new Mango SDK yet (or are working with an earlier version of the Windows Phone SDK, you can find it at http://bit.ly/GoMango.
More details and the code (and url) needed for entry (it's totally free to enter) can be be found at http://bit.ly/rEB5PY
Edit: If you can't get to the site, the code needed to enter is: E8YRA
Update (11-25-11): If you are using Azure in your Windows Phone app that you publish, not only do you get the 1 normal entry into the Apportunity contest, but you also get 1 extra entry as well just for using Azure in your Windows Program app.
Also, for students, for every 3 apps you publish into the contest, you can get a free phone running Windows Phone.
More details can be found here: http://bit.ly/uqdKLe

[APP] Lemon v1.3.0.1

Lemon
MODERN BROWSING
FEATURED
Massive Overhaul - completely rewritten to optimize the code and unify the overall interface
OTA Updates - updates require little to no user interaction
Security - hide and lock the browser with the touch of a button
Privacy - browsing history is only stored locally and can even be automatically deleted on exit
Auto Complete - suggests words depending on your history
Screenshot - nothing special, but you may take HD screenshots right within the browser
Notepad - notes that save automagically
Open Source - the source has now been released
Click to expand...
Click to collapse
NEW
Privileges Fixed - no longer runs needs to run in administrator mode thanks to @SixSixSevenSeven
Click to expand...
Click to collapse
BUGS
Outdated Browser Component - this browser is based off IE7 on some computers
Mishandles Links - links that open in a new window or tab will most likely open in your default browser
Click to expand...
Click to collapse
Lemon has been abandoned for quite some time now and I have removed the screenshots and download links. I am considering coming back to this project in the near future when I have time to put Windows on my MacBook. Until then, however, you may play with the source.
Source // Website
Maybe post some screenshots, or possibly a download?
netham45 said:
Maybe post some screenshots, or possibly a download?
Click to expand...
Click to collapse
Thank you for the recommendations Just uploaded 3 screenshots and added a download link towards the bottom.
Nice start. No go on RT.
cx1 said:
Nice start. No go on RT.
Click to expand...
Click to collapse
I wonder why this is not working on the RT.. I wish I had this device to test some things on. Anyways, this build was focused on 4.0 .NET framework made in visual studio 2012 for windows 8 Desktop. Thanks for trying.
EDIT: Problem is with the installer, download the ZIP below it and use that. I will try to find a fix for the installer. Sorry for the inconvenience.
mellowdev said:
I wonder why this is not working on the RT.. I wish I had this device to test some things on. Anyways, this build was focused on 4.0 .NET framework made in visual studio 2012 for windows 8 Desktop. Thanks for trying.
Click to expand...
Click to collapse
Try targeting 4.5 for Windows RT.
netham45 said:
Try targeting 4.5 for Windows RT.
Click to expand...
Click to collapse
Just updated to .NET 4.5
Nope will not run on RT unless I'm doing something wrong?
THEBIG360 said:
Nope will not run on RT unless I'm doing something wrong?
Click to expand...
Click to collapse
hmm, any errors being displayed? Or just not opening?
EDIT: Problem is with the installer, download the ZIP below it and use that. I will try to find a fix for the installer. Sorry for the inconvenience.
You would need to target "Any CPU" in the .NET code, and recompile any third-party x86 libraries that you are using to target ARM, and it would probably work then. Most (although not all) of the system libraries on Win8 are also on Windows RT, and (at least in the case of .NET libraries), the ones that aren't can sometimes be brought over from a Win8 box anyhow.
GoodDayToDie said:
You would need to target "Any CPU" in the .NET code, and recompile any third-party x86 libraries that you are using to target ARM, and it would probably work then. Most (although not all) of the system libraries on Win8 are also on Windows RT, and (at least in the case of .NET libraries), the ones that aren't can sometimes be brought over from a Win8 box anyhow.
Click to expand...
Click to collapse
At the moment, I am trying to get geckoFX 15 and xulrunner 19 added to the project so I do not have to use the default WebBrowser component given in Visual Studio. If you would like, I could send you the source and maybe you could help porting to Windows RT and adding geckoFX? Btw after v1.0 this will be Open Source to all Thanks for all the support guys.
Works now thanks, scrolling is a little hitchy how ever its a great start. On another note would it be possible to make the onscreen keyboard auto pop up?
Will the flash be optimized, the browser is really fast. Its just the flash side of things that is buggy.
Seems to bypass the Flash whitelist on Windows RT. That's quite handy.
Re: [APP] Lemon Browser v0.9.7.3
I can surely attempt the auto pop up on screen keyboard, also the glitchy scrolling will be fixed soon. Thanks
Sent from my Nexus 4 using xda premium
Just FYI: a web browser requiring Administrator to run is absolutely unacceptable. Browsers should run with extremely limited permissions (lower than standard user, ideally) rather than elevated permissions. I fixed this by hand-editing the .EXE file's embedded manifest to run AsInvoker (rather than RequireAdministrator). You should change the manifest in VS. Preferably, the whole thing would run in a low-IL sandbox the way IE does, and/or use some other sandboxing technique.
Also, there's little reason, especially for RT-targeted builds, to use Debug unless you include the source files and expect people to use them when reporting bugs. Release builds are typically smaller and faster.
Finally, could you get this to use a somewhat less awful rendering engine than IE7? I don't mind using Trident in general, but IE7 is archaic and awful. How do you justify "faster than Chrome" on a browser that can't even pass Acid2, much less run a modern speed benchmark? Gecko would be awesome, though I don't believe anybody has managed to port it to RT yet so that would be x86-only at first.
There are other things I'd like to see, ranging from simple UI conventions (double-clicking the tab bar, tapping Alt to show the menu bar, etc.) to some significant security issues (loading mixed content - that is, HTTP content on an HTTPS site - is a potentially serious risk).
Re: [APP] Lemon Browser v0.9.7.3
I appreciate the feedback, about the debug, i honestly did not even think about that, its just much faster to update using the debug folder. I will make it the release build next time. Next - about the admin permissions - Unfortunately this is needed to enable the temporary download of version.txt (allows OTA updates). And I was not planning on targeting the RT at all. I simply made this on my windows 8 laptop and released to the public for however they would like. I am now working on a 3D FPS though and will be releasing the code to this very shortly. And for the IE7 subject, I tried using firefox component but it does not allow the "LoadComplete" sub. Simply put, I do not know how to do 'if web page loaded' do this. I need this feature so i can load favicons etc. Please understand that this was made < 1 week ago. I highly appreciate all the comments though because I can not even begin testing all of these. Plus with school and other activities I do not expext this to be a huge project. Just simply a fun project (focused on gui) to add to my projects. Thanks again
Sent from my Nexus 4 using xda premium
No worries on the Debug/Release, just a tip.
The admin thing, though... that's a serious problem. If the problem is just downloading a file, download it to the local application data folder instead of the install directory. If auto-updating is desired, make a separate updater that runs as Admin, and have the browser launch the updater program when it detects an update.
That said, though, admin is only needed if the browser is "installed" to a location where Admin is required to write. Programs installed in (for example) the user profile don't require this. In fact, on machines where the user *can't* get Admin (think about computers at a school, library, or office), the fact that it can install and run without requiring admin is a major advantage.
I understand that this is a side project for you, and I applaud you for hobby programming and sharing it with us, that's fantastic to see. I also do quite like the GUI, although I find it a bit bare-bones at the moment. Additionally, you getting it to work on RT is fantastic. However... I cannot in good conscience recommend using a web browser that sets the state of environment security back by nearly seven years. The web is an extremely hostile "place" and we've learned many lessons over the years. one of the critical ones is that web browsers are simply too easy to attack for them to be trusted; the only safe way to use one is to assume it will be compromised, and run it in a suitable contained environment. Microsoft did his with the IE7 Protected Mode on Vista betas in 2006, but even on XP it was possible to run IE as a non-Admin.
Re: [APP] Lemon Browser v0.9.7.3
I will admit chrome will always be my favorite browser Just wanted to throw something visually appealing together though after seeing all the horribly designed ones on youtube lol. If anyone would like the source just email me. The code is (slightly cluttered) but OCD friendly. everything labeled and named properly. If someone would like the source, i recommend also downloading the android holo icons from their site. That is what I am currently using and this allows identical pre-made light / dark icons.
Sent from my Nexus 4 using xda premium
Hello !
really thank for this build ! :good:
A question:
Can you integrate a download manager which allow us to download files with screen off but which avoid the complet stand-by state of the tablet during the download ?
Because with IE it's impossible to download something with the Surface screen OFF.
It could be a really cool feature, and the only browser which allow that ! :highfive:
@+
*********_
Edit:
Oh......
Your browser yet intagrate this feature !
Cool... Now I can download big files with screen Off !
I love you
samco08 said:
Hello !
really thank for this build ! :good:
...
Cool... Now I can download big files with screen Off !
I love you
Click to expand...
Click to collapse
Thanks! I appreciate that aha. Major update (kinda lol) will be released soon. Have to work on Mango Tools first (I might toss a thread up on this tool) but this can be found on my site mellowdev.net It just allows you to easily perform ADB commands on android phone. Anyways right after this I will work on v0.9.8! Hoping to add lots of cool, unique features to give this browser an edge. I know that speed means a lot and I have received many complaints on using the IE7 component. However my focus at the moment is to add features. Web browsing for most is just type in words and search. I want this to be so much more. So anyways aha thanks again. Love the support here!

[Lib][Java/JAR] RegIOLib - Java/Registry In/Out Communications Lib

Hey there,
I thought it was time to release something new
A bit of background storyline:
My last projects were all VB/.Net programs, and they were somewhat great, sure. But I was missing the Linux portability and the programs aren't available on all Windows version - Which bugged me a lot. So I finally started coding in Java again! I'm also porting Universal Android Toolkit to Java, so I can easily create a Linux version of that as well.
(If you want to make that happen faster, please donate to me. I managed to fix my laptop, but I've only got a 60GB HDD and I need that much space alone for Windows and I have no income, I'm only 16 )
Anyways, now that you know where I'm coming from, as I'm porting Universal Android Toolkit to Java, I need access to the registry to save the application's settings and easily access them. But unlike .Net languages, Java doesn't have built-in support for this kind of operation, so I looked around and grabbed bits and pieces of code and stuck them together into a Java Class Library.
Thus, RegIOLib was born.
It's licensed under the GPL 3.0 (License info included in the source).
Downloads
Sourceforge
Source Code
http://github.com/Beatsleigher/RegIOLib
EDIT:
I forgot to mention the following: To get access to the Windows registry, the application needs to be started with administrative rights!
You can either achieve this by starting the app via a launcher (Which is what I tempt to do) or by right-clicking the file and allowing it to run as admin.
Beatsleigher said:
It's licensed under the GPL 3.0 (License info included in the source).
Click to expand...
Click to collapse
So closed source applications may not use it?
nikwen said:
So closed source applications may not use it?
Click to expand...
Click to collapse
Of course they can use it
Just add a link to this thread and my website, done.
But if you're coming from some major company or something, then I would like something more
Beatsleigher said:
Of course they can use it
Just add a link to this thread and my website, done.
But if you're coming from some major company or something, then I would like something more
Click to expand...
Click to collapse
According to the GPL they can't because it requires the source code of derivative work to be published. That's the "problem" with that license if you use it for libraries.
Due to that the LGPL exists.
http://www.tldrlegal.com/license/gnu-general-public-license-v3-(gpl-3)
Limited commercial use. Must include source code. So no, GPL libraries and closed source applications do not mix.
An inelegant solution (which is the one I have always used actually) is to save settings in a file in %APPDATA%, no admin rights are required to edit files in there, or roll your own registry library for the application. Or Beatsleigher could LGPL it, but its his project, his license, I think he has full right to stick it under GPL if he wants to.
Although I dont think saving into a registry key is really cross platform Neither is %APPDATA% but using the %APPDATA% method is simple file read/write so on a cross platform application you can simply change the filepath dependent on the current execution environment.
System.getenv("APPDATA") will return the filepath for the current users APPDATA folder on windows. System.getProperty("user.home") works on linux and I think OSX to get the home directory. I dont think user.home works properly on windows. But it should be easy to switch between the 2 methods, add on an extra bit for where your settings file is and detect which to use at runtime.
Disadvantage (and to some advantage, depends on what the application is doing and whether the author likes it or not) is that saving configuration files as actual files means the user can play around with them. APPDATA is by default a hidden folder. But chances are most users dont even know what the registry is so in a way your settings might be more secure left in there.
Even possible to have an application load settings from the registry on windows and files on everything else.
SixSixSevenSeven said:
Or Beatsleigher could LGPL it, but its his project, his license, I think he has full right to stick it under GPL if he wants to.
Click to expand...
Click to collapse
Of course, he has that right. It's his code. The GNU even collected some reasons for sticking with the GPL.
Just wanted to point out that the GPL says that all derivative work (which includes programs that use libraries licenced under the GPL) must be GPL'ed (and therefore open source'd), too.
SixSixSevenSeven said:
http://www.tldrlegal.com/license/gnu-general-public-license-v3-(gpl-3)
Limited commercial use. Must include source code. So no, GPL libraries and closed source applications do not mix.
An inelegant solution (which is the one I have always used actually) is to save settings in a file in %APPDATA%, no admin rights are required to edit files in there, or roll your own registry library for the application. Or Beatsleigher could LGPL it, but its his project, his license, I think he has full right to stick it under GPL if he wants to.
Although I dont think saving into a registry key is really cross platform Neither is %APPDATA% but using the %APPDATA% method is simple file read/write so on a cross platform application you can simply change the filepath dependent on the current execution environment.
System.getenv("APPDATA") will return the filepath for the current users APPDATA folder on windows. System.getProperty("user.home") works on linux and I think OSX to get the home directory. I dont think user.home works properly on windows. But it should be easy to switch between the 2 methods, add on an extra bit for where your settings file is and detect which to use at runtime.
Disadvantage (and to some advantage, depends on what the application is doing and whether the author likes it or not) is that saving configuration files as actual files means the user can play around with them. APPDATA is by default a hidden folder. But chances are most users dont even know what the registry is so in a way your settings might be more secure left in there.
Even possible to have an application load settings from the registry on windows and files on everything else.
Click to expand...
Click to collapse
No, as far as I'm aware, only Windows has a registry. I could be wrong though. In the past 5-6 years that I've been developing, I was only developing in VB.Net - A decision that I highly regret nowadays
But I'm so used to being able to save my settings in the registry where no 'normal' user can modify them and cause the program to misbehave, that I'd like my java programs to do so as well.
And seeming as Universal Android Toolkit is a big, big project (I've been developing it for over a year now and I'm constantly adding new features and now I'm porting it to Java making it really hard to release, but I'll get there eventually.
As soon as I've got the major stuff sorted out, I think I'm ready to release a Pre-Release candidate for testing and bug-fixing, but like I said, I'm still having some trouble and then I need to figure out a way to get those settings saved on Mac OS and Linux machines, for which I've already written some classes, but only to install ADB and stuff... And I'm getting side-tracked again, aren't I?
Anywhosers, I think I'm going to leave it under the GPL, even though you're right and that that means that closed-source programs can't use it, but I'll think of something. Even if it's a commercial license, say someone pays 2$ per program. I don't know.
But for the thing you said with %AppData%, what you can do on Linux machines, is (in Java)
Code:
private final String userProf = System.getenv("user.home");
final File tempDir = new File(userProf + "/Temp/(.)<Program>/temp.file");
private void setupTempDir() {
Path tmp = tempDir.getParentFile().getPath();
if (!tmp.exists()) {
tempDir.createNewFile();
}
}
That should solve that problem, then you COULD create some sort of settings file, but then it's just a pain to get and save the settings when you're using multiple GUIs, like me.
And then there's another way of doing that in Android apps, which I haven't figured out yet, mainly because I haven't even started with Android apps and I don't have the hard drive space to do so :/
Beatsleigher said:
Anywhosers, I think I'm going to leave it under the GPL, even though you're right and that that means that closed-source programs can't use it, but I'll think of something. Even if it's a commercial license, say someone pays 2$ per program. I don't know.
Click to expand...
Click to collapse
OK, no problem. The GPL, however, says that you may not relicense it. :/
(All of my comments I've posted yet sound as if the GPL is a bad license. To clarify that: I don't think so. I prefer it for applications, but use the LGPL or Apache v2 license for libraries.)
Beatsleigher said:
(If you want to make that happen faster, please donate to me. I managed to fix my laptop, but I've only got a 60GB HDD and I need that much space alone for Windows and I have no income, I'm only 16 )
Click to expand...
Click to collapse
I'm 17 and I have a 64GB SSD. C#, C++ works great.
Anyway 700 lines of license make no sense. The same about the portable registry library for linux. Could you tell the purpose of it?
Useless guy said:
I'm 17 and I have a 64GB SSD. C#, C++ works great.
Anyway 700 lines of license make no sense. The same about the portable registry library for linux. Could you tell the purpose of it?
Click to expand...
Click to collapse
GPL isn't 700 lines last time I checked, also I left a link to a simple description of it above (I do love tldrlegal).
There is no registry for linux, no one mentioned a portable registry for linux.
SixSixSevenSeven said:
GPL isn't 700 lines last time I checked, also I left a link to a simple description of it above (I do love tldrlegal).
There is no registry for linux, no one mentioned a portable registry for linux.
Click to expand...
Click to collapse
I did
Anyways, now that you know where I'm coming from, as I'm porting Universal Android Toolkit to Java, I need access to the registry to save the application's settings and easily access them.
Click to expand...
Click to collapse
nikwen said:
OK, no problem. The GPL, however, says that you may not relicense it. :/
(All of my comments I've posted yet sound as if the GPL is a bad license. To clarify that: I don't think so. I prefer it for applications, but use the LGPL or Apache v2 license for libraries.)
Click to expand...
Click to collapse
I'm working on a license for it and any other such things. So I'll release it again for commercial and closed-source programs when it's done.
And yes, it does sound like you think it's a bad license. But meh. Everyone has their own opinion, I guess.
Useless guy said:
I'm 17 and I have a 64GB SSD. C#, C++ works great.
Anyway 700 lines of license make no sense. The same about the portable registry library for linux. Could you tell the purpose of it?
Click to expand...
Click to collapse
GPL isn' 700 lines.
That's cool for you, that you've got that stuff. I don't. Anyways, I'm getting away from .Net languages, and C# is easy for anyone to learn. Especially if they're coming from VB, like me.
C++ isn#'t my kinda thing, as you can't natively create GUIs in it. You always need some kind of library for that sort of stuff.
And I didn't intend this for use with Linux. Everyone that has basic knowledge of these operating systems knows that Linux, BSD, Mac OS etc. don't have registries. And I never even noted that I'm attempting to use registry stuff in Linux. I said I'm porting Universal Android Toolkit to JAVA, and that I need access to the WINDOWS registry to save the application's settings in the reg, so that users can actively change the settings if the program starts misbehaving.
Useless guy said:
I did
Click to expand...
Click to collapse
I said JAVA, not Linux. What I probably did say, however, is that I'm porting my program to Java so that it can easily be ported to said OSs. But never that I'm attempting to save my settings in the registry in all OSs.
Beatsleigher said:
C++ isn#'t my kinda thing, as you can't natively create GUIs in it. You always need some kind of library for that sort of stuff.
Click to expand...
Click to collapse
Lolwhat?
Beatsleigher said:
C++ isn#'t my kinda thing, as you can't natively create GUIs in it. You always need some kind of library for that sort of stuff..
Click to expand...
Click to collapse
Errm, those libraries are written in C or C++... native code such as C and C++ are the only languages which can create GUI's. VB.net/C#/anything else .NET use libraries too which in the case of WinForms and WPF are just wrappers around win32 functionality implemented in C.
Beatsleigher said:
And yes, it does sound like you think it's a bad license. But meh. Everyone has their own opinion, I guess.
Click to expand...
Click to collapse
I love the GPL. I use it for everything (except libraries).
But I'll stop the off-topic now.

Categories

Resources