How to reset Motorola XOOM

Hi,

for some time I am a happy owner of Motorola XOOM tablet, it is great and I would recommend it to anyone, the battery life is great, 3 days of using it (playing, browsing web, music, youtube) for over 14 days(!) when you just need to check email daily:) All great but when there is some app that will freeze system then you are stuck. With phone I could just take out the battery but with the tablet it is not possible. The leaflet that comes with tablet doesn’t explain how to do it either but search engine is always handy:) so following link describes how to soft-reset the tablet:)

Comparing Strings in JAVA

Hi,

for last few weeks I am doing JAVA programming for Android, and as my background is mainly with ActionScript I wasn’t aware of JAVA nuances with String comparison, I thought that the equality operator will work i.e. a == “a”, but it isn’t. The String class (java.lang.String) offers comparison methods for that, the ones that I like are: equalsIgnoreCase and equals as they in result returns boolean value.

best regards

AIR for Android with FlashDevelop

Hi,

I have been playing with AIR for Android lately but I could do it only from Flash CS5, recently I have found that my embedded fonts wasn’t displayed in the android application, after further investigation it was Flash CS5 problem and latest Flex SDK:

<flex-sdk-description>
<name>Flex 4.1</name>
<version>4.1.0</version>
<build>16076</build>
</flex-sdk-description>

I have reverted to the earlier version of SDK:

<flex-sdk-description>
<name>Flex 4.0</name>
<version>4.0.0</version>
<build>7219</build>
</flex-sdk-description>

and it worked but not when Flash CS5 was used. So because I couldn’t use Flash CS5 and have fonts embedded I have searched for solution to use FD to build air for android applications.

I have found this and that and using that knowledge I have compiled AIR for Android project for FlashDevelop that works perfectly for me, it builds APK file and uploads it to the connected device (not emulator – which is slow anyway) and runs it. I have used Project image (PNG) from fazermokeurs version project.


UPDATE: well I know why fonts were not embedded, it was due to the new way of embedding fonts (As CFF “Compact Font Format”) used by default for the Flash Text Engine, you may find info here and here.

The AIR for Android