How can I email an XML string in android as a file attachment without actually creating a physical File?
I want to just build an XML data string (backup data) and have the user email it.
Is there any way to disable the use of the "dynamic" keyword in .net 4?
I thought the Code Analysis feature of VS2010 might have a rule to fail the build if the dynamic keyword is used but I couldn't fine one.
PhoneGap and Titanium allow you build native iPhone Apps based on HTML and JavaScript.
Has anyone gained experience with both? What are the differences?
Background: i'm using InstantRails 2.0
I'm wanted to add a new column to an existing table using the following syntax:
ruby script/generate migration add_fieldname_to_tablename fieldname:string
So I tried
ruby script/generate migration add_invites_to_user invites:integer
ruby script/generate migration add_invites_to_users invites:integer
And to test it further
ruby script/generate migration AddInvites
ruby script/generate migration AddInvites invites:integer
All of the above give me
builder.rb:175 in 'build': Illegal route: the :controller must be specified! (ArgumentError)
I want to build an Axis2 client (I'm only accessing a remote web service, I'm not implementing one!) with Maven2 and I don't want to add 21MB of JARs to my project. What do I have to put in my pom.xml to compile the code when I've converted the WSDL with ADB?
I need to delete a huge chunk of my data in my production database, which runs about 100GB in size. If possible, i would like to minimize my downtime.
My selection criteria for deleting is likely to be
DELETE * FROM POSTING WHERE USER.ID=5 AND UPDATED_AT<100
What is the best way to delete it?
Build an index?
Write a sequential script that deletes via paginating through the rows 1000 at a time?
I created very simple Context Menu using Shell Extension in C#. It works fine under Windows XP 32 bit but under Windows 7 64 bits menu items not appearing.
I tried to build Setup output to x64 but no effect.
Simple Source contains ContextMenu and Setup project is under http://bit.ly/9nGd41
Looks like Wow6432 should be handled by Setup project, same for registration and adding to Global Assembly Cache
I would be appreciate for help / suggestions with this issue.
I am attempting to publish a 3.5 MVC website on my build server through cruise control.
Having looked around on the net it appears you need to wrap the ASP Net Compiler. I was hoping that this task can be called through MSBuild.
Any ideas on how this is done?
I can build a simple dll consisting of a source file, a header file and a definition but now I am progressing beyond a simple toy dll and working towards something more complex.
The DLL I am trying to compile has 2 source files, 2 headers and the dreaded stdafx pair.
To compile normally you would use /Yc to compile the pch and /Yu to use it.
How do you specify that with in the constraints of mojo-native's compiler options?
I have a very little idea about what database file system is.
Can somebody out here explain to me what actually a database file system is, and what its applications are?
How is it different from a conventional file system?
How I can build it?
I'm trying to use KSoap2 library.
I put the file Ksoap2-android-assembly-2.5.7-jar-with-dependencies.jar in the directory workspace myproject libs
Then I setted it in build path. (libraries)
I have error just when I run the application:
11-27 10:32:56.260: E/dalvikvm(1593): Could not find class 'org.ksoap2.serialization.SoapObject', referenced from method
associated to this code line:
SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
I tried also with the steps suggested in this thread exception while using ksoap2 library for android
whitout success
I'm trying to add the Hyves API with DotNetOpenAuth. It requires me to add a method name and some other stuff when accessing RequestTokenEndpoint and AccessTokenEndpoint. (http://trac.hyves-api.nl/wiki/APIUserAuthorization)
RequestTokenEndpoint is no problem with "PrepareRequestUserAuthorization(Uri, requestParameters, null)"
However I can't find a way to do this with AccessTokenEndpoint. Is there an easy way or can I intercept "ProcessUserAuthorization()" in a way?
I tried to manual build a request but no luck yet.
Is there a free API or some other way to determine what carrier a cell phone number is registered with?
I'd like my application to broadcast text messages without them picking their carrier from a list.
UPDATE:
Interestingly, a coworker found the answer: http://developer.whitepages.com/
UPDATE2:
Well the whitepages license agreement is so restrictive that you can't build an app for it. Any other ideas?
We use Subversion locally, and we're working on a project that uses a fork of Fluent NHibernate, which is hosted on Github.
I'd like it set up so that a single svn checkout will retrieve everything necessary to build the project, but maintain the ability to fetch HEAD updates from github.
Is there any way I can pull code from the Git repository as though it was an svn:external dependency? Can I just check the .git folder into our Subversion repository and just run git fetch when I need to, then svn commit the results?
Hi
I have Flex Builder Professional Ver 3 (Built with Eclipse) version.
I need to build an application with charts. The problem is that there are no charting components to be seen. There is no datavisualization.swc file in the libs folder.
What could be the problem? Any ideas?
Regards,
Vinayak
I'm looking to build a simple site centered around a simple faq system in php. The faq concept is simple, but I want to have an administrative-access backend for editing and creating the entries, and securing a login seems more complex and time-consuming, so I'm looking for suggestions for code to start me off.
Does anyone know of any open source php scripts or snippets that would work for administrative login to some php scripts that could be used as a simple faq system? Or both, the faq php code + web administrative access code?
When using ANT to build my Java application I keep getting this error. I have tried multiple times to use SQLJDBC.JAR and SQLJDBC4.JAR but continually receive this error message. I am completely stumpped why this error is received even after upgrading to sqljdbc4.jar.
[javadoc] java.lang.UnsupportedOperationException:
Java Runtime Environment (JRE) version 1.6 is not supported by this driver.
Use the sqljdbc4.jar class library, which provides support for JDBC 4.0.
I'm trying to use add_custom_command to generate a file during the build. The command never seemed to be run, so I made this test file.
cmake_minimum_required( VERSION 2.6 )
add_custom_command(
OUTPUT hello.txt
COMMAND touch hello.txt
DEPENDS hello.txt
)
I tried running:
cmake .
make
And hello.txt was not generated. What have I done wrong?
Who is responsible for calling CoInitialize and CoUninitialize if
1- I host a COM dll within a surrogate process (either by using dcomcnfg utility or COM+ wizard)?
2- I build a ISAPI DLL that contains COM objects?
Can you recommend a tool that can analyze a SQL database table, read the table columns, and populate an .aspx page with appropriate controls (i.e. textboxes with matching labels)?
See this demo of ComponentOne InputPanel for WinForms for the functionality desired.
Are there any built-in tools for ASP.NET 2.0 WebForms that can help build a scaffold page for any given database table or entity?
Are there any free components out there to help achieve this goal?
I get a .apk does not exist error when exporting Android project in Eclipse using android-sdk_r06-mac_86.
I never got the error in the previous version of the SDK.
Off course the .apk file doesn't exist. I'm trying to build and sign it.
How do I fix this problem?
I prefer to getting it to work in Eclipse again.
hi,
im a bit new at extension development, but im about to embark upon a project to build a ffox extension.
Does anyone know if its possbile, with minimal adaption, to make a firefox extension compatible with ie8 as a plugin and if so, are there any caveats i should be aware of?
I guess its just javascript code wrapped around the ffox or ie8 wrapper, but would really appreciate to learn from someone who has experience.
Cheers
Ke
When I use the [Debug] button in Gallio, the breakpoints in my unit tests are not hitting. The unit tests are written with MbUnit/Gallio. I am using MbUnit/Gallio version 3.1 build 397 with Visual Studio 2010 Beta 2. The unit tests run to completion in Gallio Icarus, but they run past the breakpoints. I see the symbol tables loading in VS, but it does not stop at the expected breakpoint, so I am unable to debug it.
Hi All,
I am trying to integrate MyspaceID into our new application (which doesn't run on myspace) where we would like to use OAuth for authentication then pulling Myspace user profile data.
Can we use OpenSocial client library to build off-site (myspaceid) applications? or I have to use Myspace SDK?
How can I build a function
slice(x, n=2)
which would return a list of vectors where each vector except maybe the last has size n, i.e.
slice(letters, 10)
would return
list(c("a", "b", "c", "d", "e", "f", "g", "h", "i", "j"),
c("k", "l", "m", "n", "o", "p", "q", "r", "s", "t"),
c("u", "v", "w", "x", "y", "z"))
?