Showing posts with label Android. Show all posts
Showing posts with label Android. Show all posts

Friday, February 26, 2010

Android API

I've found one more black hole in Android platform code.

It is java.net.Socket.

Unfortunately, current implementation doesn't fully support a proxy.
Class has the next constructor public Socket(Proxy proxy).
There are tree types of proxy: DIRECT, SOCKS, HTTP.

Friday, February 19, 2010

Android proxy on Nexus One

I've got Nexus One for testing purposes.

That is a fantastic device.


The main thing is that device successfully uses APN proxy settings for outgoing Browser requests.

It has firmware 2.1-update1. May be "update1" is a key factor, but may be only emulators have the proxy problem, but real devices not?

Tuesday, February 9, 2010

Android PDK

Today I've hit on the interesting link http://pdk.android.com

This resource provides the information about Android Platform Development Kit.
M-m-m..

Thursday, January 28, 2010

Android 2.1 APN continuation...

I've tried to use TelephonyProvider.apk from Android 1.6 on Android 2.x in order to get using the proxy by browser.

Result is failed.

Thursday, January 14, 2010

Android 2.1 APN continuation...

Today I tested the next case.
Android Emulator 2.1 + Browser 1.6.

I've got the predictable result.
The old version of Android Browser also doesn't work with proxy on platform 2.1.

That is interesting, but ...

I suppose that the problem is in the telephony provider which can be used by Browser.

Tuesday, January 12, 2010

Android 2.1 APN

Android 2.1 release also has the same issue as previously reported at http://uhanov.blogspot.com/2009/12/android-20.html

See also the Android bugtracker issue.

We do not have the official Google comments yet.

Android 2.1

Again and again...

Google made us happy once again.

New version of Google Android 2.1 platform is now available at http://developer.android.com/sdk/android-2.1.html.

API difference report you can see at http://developer.android.com/sdk/api_diff/7/changes.html.

Thursday, December 17, 2009

Android 3-rd party source code

I think you know that Android has 3-rd party Java API.
For example it is Apache API in part of HttpClient 4.x.
That is good code.

Friday, December 11, 2009

Android 2.0 APN

The two last versions of Android emulator - 2.0 and 2.0.1 ignore a proxy settings for APNs.

I'm really upset.

Android application MIME type

Useful facts about Android:

The MIME type of typical Android application (apk file) is application/vnd.android.package-archive.

Thursday, December 10, 2009

Android Web Browser

Today I was surprised by the next news: Android web browser doesn't support queries by ftp protocol.

Instead of that Browser interprets a typed address as query string and send it to Google.


Wednesday, December 9, 2009

Android Benchmark

A Softweg Studio has announced that Android Benchmark was updated on Android Market.

New version has function for uploading a Benchmark results to the web site and compare it with others.


Monday, December 7, 2009

Android platform issues 2

Earlier I've written about NPE in Android platform HttpClient 4.x.

Today I've investigated the problem deeply.

Friday, December 4, 2009

Android secrets: 1

- Which type of resource file do you use to avoid hardcoding of strings?
- res/strings.xml
- Which one for the integers?
- Hm...

Google Android 2.0.1

December 4 Google released Android platform 2.0.1.
This release has only minor changes and bug fixes. But I like such progress.

Thursday, December 3, 2009

Android Platform issues 1

As you already know Android contains a 3-rd party Java API.
One of such open source projects is Apache HttpClient.

Tuesday, December 1, 2009

Android platform file system

On typical Linux file system the root directory "/" has a node number equaled 2.
Nodes with number 1 are bad blocks.
Other files and directories have different node numbers.

However, in practice, mobile file system yaffs2, which is used by Android platform has another behavior:
all directories in the root directory as well as the root itself have node number equaled 1!

Monday, November 30, 2009

Android ifconfig vs netcfg

On my Android emulator ifconfig shows nothing.

In order to get all interfaces on your emulator or device you could use netcfg:

# netcfg
lo       UP    127.0.0.1    255.0.0.0    0x00000049
dummy0   DOWN  0.0.0.0      0.0.0.0      0x00000082
rmnet0   DOWN  0.0.0.0      0.0.0.0      0x00001002
rmnet1   DOWN  0.0.0.0      0.0.0.0      0x00001002
rmnet2   DOWN  0.0.0.0      0.0.0.0      0x00001002
tiwlan0  DOWN  0.0.0.0      0.0.0.0      0x00001002

Thursday, November 26, 2009

Android Platform Web Browser

I'm in shock concerning the internal Android Web Browser.
The investigations show that no one of Android 1.5, 1.6, 2.0 platform releases don't support a file uploading through HTML form.



Android doesn't have internal file viewer.
It may be a reason.

Tuesday, November 10, 2009

Android Platform Benchmark

The first tax-free Benchmark for Android platform was provided by http://softweg-studio.com/.

Current functionality estimates the next features performance:
  • 2D graphic.
  • CPU.
  • Memory.
  • File system.