How to setup an Android Development Environment for Samsung Galaxy Tab

In the next I will show you how to setup all the software related to the development of android applications for Samsung Galaxy Tab in Windows 7 (32 Bit) environment.

1) Create a folder named android that will contin all the software. It is important that the complete path MUST NOT contain any space to avoid aby problems !
For example: c:\android

2) Download & Install Java SE Development kit JDK 7, with all default option in path C:\android\jre7\
Link: http://www.oracle.com/technetwork/java/javase/downloads/index.htm
File Name: jdk-7-windows-i586.exe

3) Download & UnZip evolution IDE in c:\android\evolution Eclipse Classic v 3.7
Link: http://www.eclipse.org/downloads/
File Name:  eclipse-SDK-3.7-win32.zip
Att.: Evolution does not have a setup: it is only a zip with all the file inside

4) Download & Install Android SDK in path C:\android\android-sdk
Link: http://developer.android.com/sdk/index.html
File Name: installer_r12-windows.exe
Att: Sometimes it happened that when I launched the adroidSDK I got the error “Java SE development Kit (JDK) not found” (the launcher did not recognise the presence of JDK): in this case the solution it is to press the BACK button and then press the NEXT.
After the installation of Android SDK launch the SDK manager, and verify in “Installed Package” all the package installed in setup. I have installed only the follow, and uninstalled all the others.
– Android SDK Platform-tools, revision 6
– SDK Platform Android 2.2 API 8 revision 3
– Galaxy Tab Addon by Samsung Electronics, Android  API 8 revision 1

5) Start Eclipse and select Help -> Install New Software -> Add
Name: ADT
Location: https://dl-ssl.google.com/android/eclipse
Confirm & wait the end of refresh, and at the end install Android DDMS and Android Development Tools

6) In Eclipse select Window -> Preferences -> and select Android. Browse to select where you have installed the android sdk (C:\android\android-sdk).

Now we have to create the AVD (Android Virtual Device) to test/debug the application without the need to install these into a real physical device

From Eclipse Window -> “Android SDK and AVD Manager” -> Virtual Device -> New.

Name: Galaxy Test
Target: Select “Galaxy Tab Addon”

That’s all

Now it is possible to create an “Hello Word” project in Eclipse.
File -> New -> Android Project.

BCM450 & Gateway Cisco 2821

The last afternoon I wasted many hours on this inter-connection !

I had to connect a brand new Avaya Nortel BCM 450 to Cisco 2821 in the ISDN/E1 plug. After several tests I found that it is not possible to use a standard cable of any type.

I had googled and found the post in linkografia, with success: below is the complete pin-connection.

Continue reading

BCM450: Issue on MOH after release upgrade

In the next days I upgraded to R6 (from R3) a Nortel/Avaya BCM 450.
After this upgrade we have verified that is not possible to add wav file for MOH: we got the following error.

"Playlist ADD failure: list output error"

To resolve the issue the following steps below.

1) Reboot the system
2) Re-enter with Avaya Business Element Manager in the pbx
3) Take a screen shot of Configuration->Applications->Music
4) Administration->Backup and Restore->Restore from: Factory Default & select Restore button.
5) Select OK.
6) Take care to restore only ‘IP Music.’ Verify that only IP Music has been selected, then respond Yes to proceed with restore.
7) Restore complete – Select OK
8) Select Configuration->Applications->Music and submit the value like 3)

Now you should be able to add wav file to play list !

Att.: I think that you can follow the same steps for Nortel/Avaya BCM 50 too, but I have not tried.

Avantfax Cover

A few days ago I had the need to personalized/create a cover page for use with Avantfax, the famous web interface to Hylafax. I had little time to use the service provided by the site Avantfax itself.

I thought it was easier to create cover page, but it is really a nightmare !

If you want to create a text-only cover page, the most convenient is to use a page created in html: to make sure everything works you MUST install html2ps (see link).

Att.: I think that should work with pages with pictures, but I could not get it to work ! I have installaed all the dependencies (ImageMagick, etc etc) but…. nothing…… I have obtained only text in my fax, all the image disappered  !

To obtain  cover page with images, I have used Freehand from adobe: in that page I have used the next value.

XXXX-to
XXXX-to-company
XXXX-to-location
XXXX-to-voice-number
XXXX-to-fax-number
XXXX-regarding
XXXX-from
XXXX-from-company
XXXX-from-location
XXXX-from-voice-number
XXXX-from-fax-number
XXXX-page-count
XXXX-todays-date
XXXX-comments0 … XXXX-comments30

At the end I have save it in freehand format, and exported the file in encapsulated postscript (.eps) (NOT  “encapsulated postscript wtih TIFF Preview”),  and I have renamed the extension of the file  eps in ps: you have the brand new cover for Avantfax (maybe…) !

You can run into a problem ! Some field won’t be reported correctly.

If all works fine if you launch

grep XXXX cover.ps

You MUST obtain someting like next.

0 0 32 0 0 (To / Company: XXXX-to-company) ts
0 0 32 0 0 (Fax number: XXXX-to-fax-number) ts
0 0 32 0 0 (Date: XXXX-todays-date) ts
0 0 32 0 0 (From: XXXX-from) ts

…with all the field used in the cover page. If you do not get all the fields used then the cover-page , that page will not work properly !

My real case:

>grep XXXX cover.ps
0 0 32 0 0 (:XXXX-todays-date) ts
0 0 32 0 0 (XXXX-regarding) ts
0 0 32 -0.058502 0 (: XXXX-p) ts
0 0 32 -0.058502 0 (XXXX-comment) ts
0 0 32 -0.058502 0 (XXXX-comment) ts
0 0 32 -0.058502 0 (XXXX-comment) ts
0 0 32 -0.058502 0 (XXXX-comment) ts

The field XXXX-page-count and  XXXX-comments0 etc etc disappeared !

To solve I have opened the file with nano in Linux, and I have modified like next.

Old

....
{
f1 [18 0 0 18 0 0] makesetfont
0 0 32 -0.058502 0 (: XXXX-p) ts
-0.2159 0 rmoveto }
true
[0 0 0 1]sts
{
f1 [18 0 0 18 0 0] makesetfont
0 0 32 -0.058502 0 (age-count) ts
}
....

New

....
{
f1 [18 0 0 18 0 0] makesetfont
0 0 32 -0.058502 0 (: XXXX-p) ts
-0.2159 0 rmoveto }
true
[0 0 0 1]sts
{
f1 [18 0 0 18 0 0] makesetfont
0 0 32 -0.058502 0 ( ) ts
}
...........

The same for  XXXX-comment (for all the field related to comment)

Old

....
{
f1 [18 0 0 18 0 0] makesetfont
1816.7482 1930.0422 m
0 0 32 -0.058502 0 (XXXX-comment) ts
-0.2159 0 rmoveto }
true
[0 0 0 1]sts
{
f1 [18 0 0 18 0 0] makesetfont
0 0 32 -0.058502 0 (s0) ts
}
....

New

....{
f1 [18 0 0 18 0 0] makesetfont
1816.7482 1930.0422 m
0 0 32 -0.058502 0 (XXXX-comments0) ts
-0.2159 0 rmoveto }
true
[0 0 0 1]sts
{
f1 [18 0 0 18 0 0] makesetfont
0 0 32 -0.058502 0 ( ) ts
}....

Linkografia
http://www.avantfax.com
http://user.it.uu.se/~jan/html2ps.html
http://pbxinaflash.com/forum/showthread.php?t=3645&page=12
http://www.adobe.com/products/freehand/