The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,861 other subscribers

Archive for the ‘Mobile Development’ Category

openOV; vrij van a naar b

Posted by jpluimers on 2013/12/31

Interessant voor software developers: publieke APIs voor OV informatie

Het team van openOV werkt aan het publiek beschikbaar stellen van openbaar vervoer informatie, vrij toegankelijk voor iedereen.

Ik vraag me af of ze iets met Actuele spoorkaart Nederland te maken hebben:

Kaart en geodata: © OpenStreetMap
Actuele treintijden: NS-Reisinformatie
Visualisatie: M. van der Loos

–jeroen

via:

Posted in Development, Mobile Development, Power User, SOAP/WebServices, Software Development, Uncategorized | Leave a Comment »

Generating complex math visualizations in SVG using C# and ILNumerics – Scott Hanselman

Posted by jpluimers on 2013/12/15

Funny how Generating complex math visualizations in SVG using C# and ILNumerics and MathViz (no, not this MathViz!) look so similar.

I hope the MathViz code becomes public one day.

–jeroen

via: Generating complex math visualizations in SVG using C# and ILNumerics – Scott Hanselman.

Posted in .NET, Delphi, Development, HTML, HTML5, iOS Development, Mobile Development, Software Development, Web Development | Leave a Comment »

Remote Android screen monitoring and viewing

Posted by jpluimers on 2013/11/25

Another one in the “WordPress Missed schedule” series.

Below are the Android remote screen monitoring/viewer/mirror tools I know about:

  • For a long time, I have used Droid@Screen: an Open Source,  Java based mature cross platform tool that uses ADB (it can even restart it for you in case it hangs) with lots of features (zooming, no temporary files, device recognition, disabling emulator devices, etc). There are some Screen Shots | Droid@Screen.
  • A while ago, I saw android-screen-monitor – Android Screen Monitor – Google Project Hosting. It is a mixed Java/C++ solution that only works on Windows.
  • Recently, Jim McKeeth open sources his Android Screen View: Android Screen View | The Podcast at Delphi.org. It is written as a quick hack in Delphi XE5, so right now it has less features and works in a more crude way than the two Java based tools, but it shows the potential of doing similar things with Delphi.

I primarily use Droid@Screen as so far it works best for me.

But I keep a close eye on the other two just to make sure I don’t miss improvements.

–jeroen

Posted in Android Devices, Delphi, Delphi XE5, Development, Java, Missed Schedule, Mobile Development, Power User, SocialMedia, Software Development, WordPress | 1 Comment »

Android 4.2+: enable USB debug mode (Nexus 4, Nexus 7, etc)

Posted by jpluimers on 2013/11/15

Researched this a long while ago, but just presented this at my Delphi cross-platform session on ITDevCon 2013 (of which some sessions have been broadcasted on YouTube):

With Android 4.2 and up, they did hide the debug mode a bit.

Perform these steps one to enable debug mode:

  1. Go to “Settings”.
  2. Scroll down to “About phone” or “About tablet”.
  3. Tap on “About phone” or “About table” to go to the “About” screen.
  4. In the “About” screen, scroll down, to “Build number”
  5. Tap on “Build number” seven (7!) times. It will give you some messages until finally it shows “You are now a developer”.
  6. (On some devices): confirm with the PIN code for your phone.

The above steps unlocked the “USB debugging” mode.

To enable or disable “USB debugging” mode:

  1. Go to “Settings”
  2. Choose “Developer Options”
  3. Choose “Debugging”
  4. Choose “USB Debugging”

–jeroen

via:

Posted in Android, Android Devices, Delphi, Delphi XE5, Development, Missed Schedule, Mobile Development, Power User, SocialMedia, Software Development, WordPress | 1 Comment »

Dianne Hackborn – Google+ – A few days ago I wrote a post trying to correct a lot of…

Posted by jpluimers on 2013/10/01

A long while ago, Dianne Hackborn write a G+ post that is still very relevant:

some real background on why Android’s UI was designed the way it is and how it actually works.

Recommended reading when you are interesting in the Android UI model, how it was designed to both support threading and application isolation at the same time.

–jeroen

via: Dianne Hackborn – Google+ – A few days ago I wrote a post trying to correct a lot of….

Posted in Android, Development, Mobile Development, Software Development | Leave a Comment »

I need to check this out: KBOX — a miniature Linux distribution integrated with a terminal for non-rooted Android devices

Posted by jpluimers on 2013/09/12

On my research list:

I need to check out KBOX — a miniature Linux distribution integrated with a terminal for non-rooted Android devices.

It seems to add a lot of normal unix/Linux commands to your Android terminal emulator, but does not require root access.

I usually use a Windows or Mac system to browse the files on my Android device, but this should be much more convenient and aid both software developers and power users.

Now I need a remote ssh access to my Android device (:

–jeroen

via: KBOX — a miniature Linux distribution integrated with a terminal for non-rooted Android devices – Kevin Boone’s Web site.

Posted in Android, Android Devices, Development, Mobile Development, Power User, Software Development | Leave a Comment »

On Windows: Do not install the Android SDK ADT bundle in a path with spaces

Posted by jpluimers on 2013/08/28

Some 20 years after someone thought it was a nice idea to allow spaces in path names on Windows, it still is a bad idea to rely that just “works” for everything.

Today I tried to see if it still applied what I mentioned 2 years ago during the German BASTA! Fall conference in the Rheingoldhalle when talking about cross platform .NET development using MonoDroid/MonoTouch/Visual Studio:

Android SDK
– http://developer.android.com/sdk/index.html
– Windows:
- http://dl.google.com/android/installer_r13-windows.exe
- http://dl.google.com/android/android-sdk_r13-windows.zip
Do not install in a directory with spaces (not C:\Program Files, but C:\android-sdk)

And it does still apply: though not mentioned in the Android SDK/ADT documentation, most of the batch files in the Android SDK ADT bundle are not compatible being stored in a path that has spaces.

Unquoted referrals to paths like this are used in most SDK batch files:

cd /d %~dp0

The only way to run these batch files is with the current directory being the directory of the batch file itself, or referring to them in their fully quoted form.

Another correct way would be to use short names, but that’s only done in find_java.bat:

%~dps0

Summary of the batch files and how they are affected:


+ …\adt-bundle-windows-x86-20130522\sdk\build-tools\android-4.2.2\dx.bat
+ …\adt-bundle-windows-x86-20130522\sdk\tools\android.bat
+ …\adt-bundle-windows-x86-20130522\sdk\tools\ddms.bat
+ …\adt-bundle-windows-x86-20130522\sdk\tools\draw9patch.bat
+ …\adt-bundle-windows-x86-20130522\sdk\tools\hierarchyviewer.bat
+ …\adt-bundle-windows-x86-20130522\sdk\tools\jobb.bat
+ …\adt-bundle-windows-x86-20130522\sdk\tools\lint.bat
+ …\adt-bundle-windows-x86-20130522\sdk\tools\monitor.bat
+ …\adt-bundle-windows-x86-20130522\sdk\tools\monkeyrunner.bat
+ …\adt-bundle-windows-x86-20130522\sdk\tools\traceview.bat
+ …\adt-bundle-windows-x86-20130522\sdk\tools\uiautomatorviewer.bat
– …\adt-bundle-windows-x86-20130522\sdk\tools\lib\find_java.bat
+ …\adt-bundle-windows-x86-20130522\sdk\tools\lib\post_tools_install.bat
* …\adt-bundle-windows-x86-20130522\sdk\tools\proguard\bin\proguard.bat
* …\adt-bundle-windows-x86-20130522\sdk\tools\proguard\bin\proguardgui.bat
* …\adt-bundle-windows-x86-20130522\sdk\tools\proguard\bin\retrace.bat
– …\adt-bundle-windows-x86-20130522\sdk\tools\templates\gradle\wrapper\gradlew.bat
– compatible with spaces in path
+ incompatible with spaces in path
* won't run at all when current directory is different from directory of batch file

view raw

gistfile1.txt

hosted with ❤ by GitHub

(Side note: most incompatible batch files correctly do `for %%i in (“%cd%”) do set prog_dir=%%~fsi`)

So: make sure “…”  is a path not containing spaces.

–jeroen

Posted in Android, BASTA!, Conferences, Development, Event, Mobile Development, Software Development | Tagged: , , , , , , , | Leave a Comment »

Dutch stop of the RAD Studio in Action LIVE! event: September 7th, Leiden (close to Amsterdam) with extra conference track.

Posted by jpluimers on 2013/08/27

The Dutch stop of the RAD Studio In Action LIVE! tour is on September 7th.

The venue location is via Holiday Inn Leiden Hotels: Haagse Schouwweg 10, 2332 KG  Leiden, The Netherlands.

It is close to the advertised “Amsterdam Netherlands” (about half an hour drive), close to the A44 highway and close enough to public transport. And it is indeed on Saturday September 7, 2013

Full day event: RAD Studio In Action LIVE! + conference track Read the rest of this entry »

Posted in Android, Android Devices, CodePlex, Conferences, Delphi, Delphi XE4, Delphi XE5, Development, DVCS - Distributed Version Control, Event, FreePascal, git, iOS Development, Lazarus, Mercurial/Hg, Mobile Development, Power User, Software Development, Source Code Management, SourceForge, Subversion/SVN, TFS (Team Foundation System) | Leave a Comment »

Android Play download race condition?

Posted by jpluimers on 2013/07/09

I submitted the report below to Google. What do you think, race condition?

I think this is a race condition somewhere.

Steps to reproduce:
1- Play notifies you there are multiple Apps (preferably many) that need manually updating
2- Manually select the first app and start the download for it
3- While the app is downloading, and there are more apps to update, perform step 2 for the remaining apps
4- Every some apps, there will be an app in the list that stalls before the percentage counter becomes visible (usually it displays “Downloading” forever)

This problem does not reproduce if:
A- there is only one app to download
B- if (while other apps are downloading) you do not select a fresh app to update

It does not matter if this is over WiFi, or mobile data connection. Soft/Hard rebooting the device does not help either, nor the version of the Play app (it has been this case for at least a couple of months, I only found time now to investigate the full matrix of reproducible steps, and factors influencing reproducability).

Time consuming workaround: cancel the stuck download, and retry, then continue with the list of other apps.

–jeroen

Posted in Android, Android Devices, Development, Mobile Development, Power User | Leave a Comment »

Paul Burke – Google+ – Slides from my talk at the New York Android Designers…

Posted by jpluimers on 2013/03/29

Great stuff, not only for Android design: Paul Burke – Google+ – Slides from my talk at the New York Android Designers….

Posted in Android, Development, Mobile Development | Leave a Comment »