Profile cover photo
Profile photo
Raymond DeCampo
About
Posts

Post has attachment
Migrated to GitHub Pages
This blog has been migrated to GitHub Pages. See you there: http://labnotes.decampo.org/
Add a comment...

Post has attachment
Publishing to the Maven Central Repository
As an exercise in creating a Java library and submitting it to the Central Repository, I created an implementation of the xirr (irregular internal rate of return) function in Java. If you are interested in what needs to be done to publish to the Maven Centr...
Add a comment...

Post has attachment
XSLT Utilities
Some XSLT re-usable templates for posterity:
Add a comment...

Post has attachment
Connect to Microsoft VPN from Fedora 24
New box, new OS, time for another edition of trying to connect to Microsoft's VPN software. This time it is Fedora's turn. This first part is adapted from my previous editions for Ubuntu and ultimately are sourced from an Ubuntu forums post by user sweisle...
Add a comment...

Post has attachment

Post has attachment
Dipping my toes into the Node.js ecosystem
Just to get my feet wet, I published a Node.js module called xirr . When I was writing the unit tests for the module I had a particular case where the Newton's method implementation was not converging and the library I was using returned false. My son, who...
Add a comment...

Post has attachment
Connect to Microsoft VPN from Ubuntu 16.04 Xenial Xerus
I recently upgraded from Ubuntu 14.04 on my main desktop machine and discovered that my VPN connection to Windows 2008 Server no longer worked. The bugaboo turned out to be the routing table which no longer requires a gateway entry. Here I have rewritten...
Add a comment...

So I am starting to write some proof of concept code for my app at this point and I am struggling with setting up my environment for efficiency. I have found when I make a change to a JS file in my app, I need to stop and restart the emulator in order for the change to be recognized. Changes to HTML files are instant. I am using Android Studio and the SDK emulator.

I thought that maybe updating the WebView cache mode as described in http://stackoverflow.com/questions/13411077/phonegap-not-updating-js-file might be the way to go but I don't see how to do that with the mobile SDK.

I'd appreciate any advice as to reduce my latency from making code changes to seeing them run.

Post has attachment
I noticed that version 4.1.2 of forcedroid is available and I am trying to get through the TrailHead "Getting Started with Hybrid Development". I have forcedroid@4.1.2 and cordova@6.1.1 installed. I also have shelljs@0.5.3 installed locally. I used the command "forcedroid create --apptype=hybrid_local --appname=HelloWorld --targetdir=. --packagename=com.promergent.android.helloworld" to create my app and it finished successfully.

However when I try to build the project I get an error about a duplicate entry in the manifest:

:processDebugManifestC:\Android\test\HelloWorld\platforms\android\AndroidManifest.xml:30:9-104 Error:
Element activity#com.adobe.phonegap.push.PushHandlerActivity at AndroidManifest.xml:30:9-104 duplicated with element declared at AndroidManifest.xml:6:9-135
C:\Android\test\HelloWorld\platforms\android\AndroidManifest.xml Error:
Validation failed, exiting
FAILED

I went in to the AndroidManifest.xml and removed the first reference to PushHandlerActivity. Now I get this error:

:processDebugResourcesC:\Android\test\HelloWorld\platforms\android\build\intermediates\manifests\full\debug\AndroidManifest.xml:35:23-41 : No resource found that matches the given name (at 'icon' with value '@drawable/sf__icon').

FAILED

However, I see that sf__icon.png exists in the platforms/android/SalesforceSDK/res/drawable-*/ directories. I am thinking there is some kind of build issue where the Salesforce Mobile SDK cordova plugin is not being included in the build.

I'd appreciate any suggestions.

My kid is looking to install Minecraft mod kits - is there a community of vetted mod kits that I can be (reasonably) certain are safe?
Add a comment...
Wait while more posts are being loaded