Posts Tagged ‘app’

The Twitter XML/JSON Feed API Transition Situation

A few weeks ago Twitter stopped supporting this URL convention to grab XML feeds of a user’s timeline:


http://twitter.com/statuses/user_timeline/{{SCREEN_NAME}}.(xml|json)

Fortunately, it’s still possible to fix your apps with a drop-in replacement, which was probably always considered the “right way” to grab them anyway:


https://api.twitter.com/1/statuses/user_timeline.(xml|json)?screen_name={{SCREEN_NAME}}

The bad news is it doesn’t look like this will work for long. REST API 1 is now deprecated and the new REST API 1.1 is set to replace it any day now:

Version 1 of the REST API is now deprecated and will cease functioning in the coming months. Migrate to version 1.1 today.

Unfortunately, this migration path isn’t as easy as just dropping in a new URL. It appears even the read-only timeline XML/JSON feed requires an OAuth authentication token.

Installing Cordova (formerly PhoneGap) with Android SDK on Gentoo

Apache Cordova is an open source framework for rapidly generating mobile apps from HTML5, CSS and JavaScript. At present, Cordova supports 7 mobile platforms with plans to expand. Since it uses core web design languages Cordova allows web developers to become mobile phone app developers without having to learn Java, C++ or the proprietary APIs of each platform.

This write-up covers the installation steps listed but not expanded on at the top of Apache Cordova API Documentation: Getting Started with Android.

To get started using Cordova on Gentoo we must first install Eclipse:

# emerge eclipse-sdk --ask

 * IMPORTANT: 9 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy "eclipse-sdk" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-util/eclipse-sdk-3.5.1-r1::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Ralph Sennhauser <sera@gentoo.org> (18 Jul 2012)
# Unmaintained, multiple vulnarabilities. #351626
# A more recent source build maintained by the community is available in the
# seden overlay. A more recent binary is available in the java-overlay.
Which is not going to be as easy as I had hoped. Emerge layman:
# emerge layman --ask

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] app-portage/layman-1.4.2-r3  USE="-bazaar -cvs -darcs -git -mercurial -subversion -test"

Once layman has been installed add the following to your make.conf:

source "/var/lib/layman/make.conf"

Java-overlay uses subversion and seden uses git; you may also want to enable the mercurial USE flag if you plan on using other overlays. We’re going to use the java-overlay since when it comes to java binary and source-compiled doesn’t really make a difference (other than a lot of time).

# layman -a java-overlay
...

You may need to add eclipse-sdk-bin to package.keywords before it can be emerged:

# echo "dev-util/eclipse-sdk-bin" >> /etc/portage/package.keywords

Now install the package:

# emerge eclipse-sdk-bin

Now we need to install the :

$ wget http://dl.google.com/android/android-sdk_r20.0.3-linux.tgz
$ tar xvf android-sdk_r20.0.3-linux.tgz
$ android-sdk-linux/tools/android

Running “android” from the command line in the tools directory will bring up the Android SDK Manager in X windows. Select any additional packages you would like to install and hit the Install button.

Now we’ll download the latest version of the Android Development Tools plugin for eclipse at http://developer.android.com/tools/sdk/eclipse-adt.html. Start eclipse:

$ eclipse-bin-4.2

Now follow the installation guide at http://developer.android.com/sdk/installing/installing-adt.html:

  1. Start Eclipse, then select Help > Install New Software.
  2. Click Add, in the top-right corner.
  3. In the Add Repository dialog that appears, enter “ADT Plugin” for the Name and the following URL for the Location:

    https://dl-ssl.google.com/android/eclipse/

  4. Click OK.

    If you have trouble acquiring the plugin, try using “http” in the Location URL, instead of “https” (https is preferred for security reasons).

  5. In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
  6. In the next window, you’ll see a list of the tools to be downloaded. Click Next.
  7. Read and accept the license agreements, then click Finish.

    If you get a security warning saying that the authenticity or validity of the software can’t be established, click OK.

  8. When the installation completes, restart Eclipse.

After restarting Eclipse you will be presented with the Welcome to Android Development dialogue, install the new SDK, and optionally 2.2. You are now ready to proceed with the rest of the Getting Started guide.

Samsung Galaxy S III: Sexfone

After a series of rate hikes and cuts to Telus’ service coupled with the death of my Optimus One‘s SD card reader I decided it was time to get a big shiny phone. The kind that I could brag about.

Meet the $649 Samsung Galaxy S III:

Shown here having hot sex with my Optimus

His name is George, and we’ve become very intimate friends. Here’s why:

General 2G Network GSM 850 / 900 / 1800 / 1900
3G Network HSDPA 850 / 1700 / 1900 / 2100
Announced 2012, June
Status Available. Released 2012, June
Body Dimensions 136.6 x 70.6 x 8.6 mm
Weight 133 g
- Touch-sensitive controls
Display Type Super AMOLED capacitive touchscreen, 16M colors
Size 720 x 1280 pixels, 4.8 inches (~306 ppi pixel density)
Multitouch Yes
Protection Corning Gorilla Glass 2
- TouchWiz UI v5.0
Sound Alert types Vibration; MP3, WAV ringtones
Loudspeaker Yes
3.5mm jack Yes
Memory Card slot microSD, up to 64 GB
Internal 16/32 GB storage, 2 GB RAM
Data GPRS Class 12 (4+1/3+2/2+3/1+4 slots), 32 – 48 kbps
EDGE Class 12
Speed HSDPA, 42 Mbps; HSUPA
WLAN Wi-Fi 802.11 a/b/g/n, DLNA, Wi-Fi Direct, Wi-Fi hotspot
Bluetooth Yes, v4.0 with A2DP, EDR
NFC Yes
USB Yes, microUSB v2.0 (MHL), USB On-the-go
Camera Primary 8 MP, 3264×2448 pixels, autofocus, LED flash
Features Simultaneous HD video and image recording, geo-tagging, touch focus, face and smile detection, image stabilization
Video Yes, 1080p@30fps
Secondary Yes, 1.9 MP, 720p@30fps
Features OS Android OS, v4.0 (Ice Cream Sandwich)
Chipset Qualcomm MSM8960 Snapdragon
CPU Dual-core 1.5 GHz
GPU Adreno 225
Sensors Accelerometer, gyro, proximity, compass, barometer
Messaging SMS(threaded view), MMS, Email, Push Mail, IM, RSS
Browser HTML, Adobe Flash
Radio No
GPS Yes, with A-GPS support and GLONASS
Java Yes, via Java MIDP emulator
Colors Pebble blue, Marble white
- MicroSIM card support only
- S-Voice natural language commands and dictation
- Smart Stay eye tracking
- Dropbox (50 GB storage)
- Active noise cancellation with dedicated mic
- TV-out (via MHL A/V link)
- SNS integration
- MP4/DivX/XviD/WMV/H.264/H.263 player
- MP3/WAV/eAAC+/AC3/FLAC player
- Organizer
- Image/video editor
- Document editor (Word, Excel, PowerPoint, PDF)
- Google Search, Maps, Gmail,
YouTube, Calendar, Google Talk, Picasa integration
- Voice memo/dial/commands
- Predictive text input (Swype)
Battery Standard battery, Li-Ion 2100 mAh
Stand-by Up to 200 h
Talk time Up to 10 h

No more lagging. No more crashes. No more having to restart to switch to 3G after leaving a hotspot. Absolutely love Ice Cream Sandwich. One giant problem: does not ship with flash.

I read about Adobe dropping flash support for Android and Linux in general a couple months ago so I wasn’t shocked to see it missing. I was perturbed by the fact that it is not possible to install it from Google Play, which automatically opens when one goes to the Get Flash page on Adobe’s site. Apparently, it’s “not available in [my] country” which I felt was a little racist against Canadians.

The good news is it’s still possible to side-load the flash .apk from their Old Version archives at http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html. The page says the last version is intended for Ice Cream Sandwich, so no clue if this will still work once Jellybean has finished rolling out. Contrary to some guides, I’m able to play flash in the stock browser without having to use Dolphin.

Another unfortunate oversight is the lack of USB Mass Storage Device support; one can either connect with the MTP or PTP protocols but this forces (at least) linux users who want to quickly mount the external SD card to use camera software instead. Fortunately, this too can be remedied by side-loading an APK provided by Kopfgeldjaeger at http://forum.xda-developers.com/showthread.php?t=1711009.

I was tickled when my USB On-The-Go cable worked as soon as I popped it in. My new memory stick launched the stock file browser and my wireless USB keyboard and mouse also worked without intervention. Using a mouse on the phone is pretty friggin cool, if not practical.

Return top
foxpa.ws
Online Marketing Toplist
Internet
Technology Blogs - Blog Rankings

Internet Blogs - BlogCatalog Blog Directory

Technology blogs
Bad Karma Networks

Please Donate!


Made in Canada  •  There's a fox in the Gibson!  •  2010-12