Big Data/Analytics Zone is brought to you in partnership with:

I'm a Windows Azure MVP, the principal developer for OakLeaf Systems and the author of 30+ books about Microsoft software. The books have more than 1.25 million English copies in print and have been translated into 20+ languages. Forbes Magazine ranked me seventh in their "Who Are The Top 20 Influencers in Big Data?" article of 2/3/2012. Roger has posted 37 posts at DZone. You can read more from them at their website. View Full User Profile

Running the SurveyApplicationCS Demo Project under Android Jelly Bean 4.2

01.06.2013
| 3172 views |
  • submit to reddit

My (@rogerjennLightSwitch HTML Client Preview 2: OakLeaf Contoso Survey Application Demo on Office 365 SharePoint Site post updated 12/25/2012 describes the SurveyApplicationCS, a SharePoint App with a Visual Studio LightSwitch HTML Client Preview 2 client UI autohosted in Windows Azure.

imageI purchased a 32-GB Nexus 7 tablet when Google made them generally available in late June 2012. My interest in the product stemmed from the desire to gain familiarity with the Android operating system without the need to enter into an extended cellphone contract or pay a premium for an unlocked Android cellphone. My wife and I are satisfied Verizon feature-phone customers with LG VX8360s on a low-cost plan.

My attempts to run SurveyApplicationCS from https://oakleafsystems210.sharepoint.com failed until 12/21/2012. On that date, I finally was able to log in to OakLeaf Systems’ SharePoint Online Developer Edition site:

imageimage
The message reads: “Some apps, such as Get Started with Apps for Office and SharePoint, are not supported in Mobile View. Tapping on the title area can bring up navigation window [sic]” (right).Tapping the blue title bar opens the OakLeaf Systems Team Site’s main menu with a link to the SurveyApplicationCS demo’s landing page (below left).
imageimage
Tapping the Add button lets you add a survey (right). Tapping a My Product Surveys List item opens the main page with a products list for that customer (below).The Add New Survey page lets you select from predefined lists of customers and products, as well as shelf positioning and survey year, month, day and time of day.
imageimage
Tapping the Photos button opens the Photos screen with thumbnail tiles for previously uploaded images (right).Tapping a tile opens a larger photo facsimile (below left). The Full Image Url data is for troubleshooting.
imageimage
Tapping Delete Photo opens a confirmation form. Closing the photo and tapping Add Photo open a Choose an Action form (left).Tapping the SkyDrive app tile opens the shared folder list (below left). Both SkyDrive and Google Drive apps are installed.
imageimage
Tapping a folder item opens tiles of available images (right).Tapping the desired tile should but doesn’t add the image to the SharepPoint list. I receive a “Failed to upload image” message (see Problem 1).
imageimage
If you add new or edit existing items without clicking the Save button, the Apply Changes form lets you select the appropriate action before you leave the screen.If your session times out, you’ll receive a “You do not have permission to view this directory or page” message or see the above screen (see Problem 2.)

Problem 1: It’s surprising that a tile for Google Drive doesn’t appear in the Choose an Action form. All the above screenshots were uploaded to Google Drive with the Drive app. I don’t know whether Android, the SkyDrive app or the SharePoint App framework is responsible for inability to upload new images. (The Nexus 7 has only a front-facing camera, so it isn’t suited to in-store photography.)

Problem 2: This message will appear when you click the blue Site Pages: DevHome title bar and select the SurveyApplicationCS menu choice after your SharePoint session has timed out. Rebooting (Power Off) the Nexus was the only solution I found for this problem. I can’t determined whether the SharePoint App framework or Android is responsible for the timeout problem. The present timeout setting is way too short.

I’ve alerted Joe Binder of the Visual Studio LightSwitch team about these problems for further investigation.

Downloading OakLeaf’s SurveyApplicationCS Source Code

You can download the C# source code for the customized Visual Studio 2012 SurveyApplicationCS project here from my SkyDrive account. Click here for prerequisites.

Debugging This Application with Fiddler2

Fiddler2’s Configuring Android / Google Nexus 7 pages provide details to:

Get Traffic to Fiddler

Fiddler runs as a proxy on port 8888 on your Windows PC; you can easily proxy traffic from your Google Nexus device through Fiddler to debug it.

Note: The "Device Debugging" topic is covered in greater depth in the Fiddler Book. …

Decrypt HTTPS

After you have basic proxying working, the next step is to get HTTPS decryption working. …

Some Recent Nexus 7 Kudos

Erick Mack (@EricCMack) reported “Former Mac evangelist Guy Kawasaki says he's purged all iOS devices from his life” in a deck for his Former top Apple fanboy now rocks all Android devices article of 12/12/2012 for C|Net News:

imageKawasaki was quoted in ReadWrite saying he no longer uses any Apple mobile products:

"I fell in love with Android on the smartphone, and then I got a Nexus 7 and started using Android on the tablet as well... To me the great irony is that Apple's slogan was 'Think Different,' but today if you think different you're looking at Android."

Kawasaki says he sees no reason to switch back to iOS now that the iPhone 5 has LTE and the iPad Mini offers a similar form factor to the Nexus 7.

imageToday he says he uses a Samsung Galaxy S3 and loves the fact that he can use the same cable interchangeably between his Nexus 7 and GS3.

"What a concept! A standard cable," Kawasaki said.

See my Get the Right On-The-Go (OTG) Micro-USB Cable for Nexus 7 Tablets post of 12/22/2012 regarding “A standard cable.”

imageLindsey Turrentine (@lturrentine) asserted “CNET editors unveil the 10 best and most influential tech products of the year” in a deck for her Galaxy S3 beats iPhone 5 for best device of 2012 article of 12/11/2012 for C|Net News:

3. Google Nexus 7, the superior small tablet 
imageCertainly not the first 7-inch tablet on the market, Google entered the fray with the Nexus 7 in 2012 and left the competition behind, struggling to differentiate themselves. The tablet's native, streamlined Android 4.2 OS -- flexible and open but friendly -- paired with a vivid 1,280x800-pixel-resolution screen and $199 price make it the best small tablet, period. (Read the full Nexus 7 review.)

4. iPad Mini, the luxury latecomer 
The iPad Mini arrived so late to the small-tablet race that the competition had already left the starting blocks and rounded the bend. Playing catch-up to the Nexus 7,Kindle Fire HD, and Nook HD proved difficult for the Mini, especially with a lower-resolution screen and significantly higher price than the rest. In spite of those handicaps, Apple's latecomer earns an impressive silver in the tablet race, thanks to its slighly-wider-than-average screen, fantastically light weight, and impeccable fit and finish. (Read the full iPad Mini review.) [Emphasis added.] 

Lindsey: The #2 selection (iPhone 5 in this case) usually receives the silver medal, but the Nexus 7 is #3 while the iPad Mini is #4. Which is it?

Popularity of Tablets

Ryan Kim (@oryankim) reported Christmas Day: tablet activations outpace smartphones in a 12/27/2012 article for GigaOm’s Mobile blog:

imageChristmas Day, the biggest day for mobile device activations, lived up to its billing, said Flurry, which noted that device activations hit 17.4 million devices, up from 6.8 million a year ago. Tablets edged out smartphones for activations.

FlurryChristmas Day was huge — not just for present-hungry kids, but also for app developers and device makers. App analytics firm Flurry has tallied up the numbers from Christmas and found that downloads and activations shattered previous records, showing how people love their apps and are increasingly embracing tablets.

Device activations on Flurry’s network hit 17.4 million units, up 332 percent over the first 20 days in December, which represented a baseline of activity. That blew away last year’s mark of 6.8 million new device activations on a single day, said Flurry.

imageTablets were apparently the hot gift item, grabbing 51 percent of mobile device activations. This was the first Christmas that tablets edged out smartphones for activations. During the first 20 days of December, smartphones were activated four times more often than tablets.

FlurryFlurry noted that the most popular devices were iPads, Apple iPad Minis and Amazon Kindle Fire HD 7-inch tablets, and that Amazon in particular had a good Christmas, increasing its tablet activations by several thousand percent over its baseline during the first half of December. The big increase in Christmas tablet sales may reflect the falling price points of tablets, which are becoming more affordable with smaller 7-inch models.

FlurryWith all those new devices, it’s no surprise that app downloads soared on Christmas Day. Flurry said there were 328 million app downloads that day, up 112 percent over the baseline. That flew by last year’s record of 242 million app downloads. The download parade was steady all day long, hitting about 20 million downloads an hour at 11 a.m. local time and remaining steady all the way through 8 p.m.

Flurry, which said it detects 90 percent of iOS and Android devices activated each day, expects app download activity to remain high through New Year with a shot at hitting 2 billion downloads over this week for the first time ever.

Published at DZone with permission of its author, Roger Jennings. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)