[android-developers] por favor, divulguem!!! Pinheirinho

2012-01-24 Thread Guilherme Lunhani
Sorry for this message in forum, but what is happening in Brazil IS VERY,
VERY IMPORTANT, and needs visibility...

For those who not speak portuguese to...  READ THE EMAIL  below the news in
portuguese

...Please share this, please...

https://www.facebook.com/guzz.junqueira/posts/142712285845718

#Pinheirinho URGENTE

Segundo P, que está lá em Pinheirinho, a polícia de São Paulo está
removendo os corpos das pessoas que foram assassinadas e de pessoas
gravemente feridas do hospital de São José dos Campos.

Abaixo publicamos na íntegra tudo que informou através do Facebook o jovem
que está na cidade.

Post e comentários extraídos de:
https://www.facebook.com/muhammadpailatif/posts/10150726383138625

Pedro Rios Leao, no Facebook:

URGENTE!! URGENTE!!! Atenção!!! REPASSEM polícia municipal de São josé, o
Hospital Municipal, e a ROTA, da polícia militar do estado de São Paulo
estão SEQUESTRANDO os feridos e mortos, e SUMINDO com os corpos! Isso é
REAL! ALCKMIN ASSASSINO! SE MOBILIZEM AGORA!!!

Eu tenho inúmeros depoimentos e provas circunstanciais, tenho certeza
ABSOLUTA do que estou falando. Depende da mobilização da internet ser ágil
para cobrar uma resposta do governo federal, para não deixar o governador
sumir com as provas físicas (os corpos)

Fonte? Eu estive no hospital. A direção negou qualquer tipo de recebimento
de paciente, devagar apelei para a moça da recepção. Ela falou que se eu
soubesse o nome, ela me deixava visitar. Consegui o nome de David
Washington Castor Furtado, levou um tiro nas costas, enquanto carregava um
bebê. Segundo inúmeras testemunhas, o tiro foi disparado por um guarda
municipal. Outra enfermeira me falou que tinham chegado duas crianças
mortas.

ele não quis falar comigo, porque estava APAVORADO, Estou tentando
convence-lo de que ele só vai permanecer vivo enquanto as pessoas lembrarem
o nome dele

conversei com a familia dele, que estava no hospital

A polícia também sumiu com o corpo de 2 crianças, e matou um homem, em
plena luz do dia, as 10 da manhã, na frente da Igreja e sumiu com o corpo.
Todos os feridos com mais gravidade no confronto foram levados pela
polícia, e, com exceção do david washington, cujo nome vazou para imprensa,
todos estão desaparecidos.

Tenho vídeos, Leonardo Eloi, de depoimentos e de confusão. Mas acredite,
eles não estão mentindo.

cara, ta dificil atualizar as postagens, a internet aqui ta uma merda, o
clima é de pânico. Me ajuda a divulgar, faz escandalo, eu to fazendo o que
eu posso.

To buscando, eu upei um vídeo, mostrando as pessoas na Igreja, e foi a
primeira vez que alguém me falou do cara que foi morto na rua as 10 da
manhã

To tentando organizar as lideranças para catar os nomes dos mortos e
feridos, mas é muita confusão e as pessoas estão com muito medo de falar.
Acho que em uns dois ou três dias eu consigo depoimentos melhores. Mas a
atualização vai ficar complexa... divulga, e mano, acredita, eu não estou
falando porque eu ACHO. Só tive certeza depois de visitar o hospital.

Os links são só de depoimentos, no hospital eu não consegui puxar a
camera, meu deus! Olha só, quando o hospital está mentindo e uma enfermeira
vem te dizer a verdade chorando, bom Já existem vídeos que mostram a
polícia atirando na população.

Eu sei, mas existe um aparelho de estado para apagar provas. A situação é:
a polícia federal quase trocando tiro com a PM ontem. Isso aqui é uma
guerra civil, que tem muito pouco a ver com prova.

A mídia sequer está aqui...
Pedro Rios Leao
URGENTE!! URGENTE!!! Atenção!!! REPASSEM polícia municipal de São josé, o
Hospital Municipal, e a ROTA, da polícia militar do estado de São Paulo
estão SEQUESTRANDO os feridos e mortos, e SUMINDO com os corpos! Isso é
REAL! ALCKMIN ASSASSINO! SE MOBILIZEM AGORA!!!Pedro Rios Leao
URGENTE!! URGENTE!!! Atenção!!! REPASSEM polícia municipal de São josé, o
Hospit...al Municipal, e a ROTA, da polícia militar do estado de São Paulo
estão SEQUESTRANDO os feridos e mortos, e SUMINDO com os corpos! Isso é
REAL! ALCKMIN ASSASSINO! SE MOBILIZEM AGORA!!!Ver mais..há 10 minutos ·

---
# Pinheirinho URGENT

According to P, which is there in Pinheirinho, police in Sao Paulo is
removing the bodies of people who were killed and seriously injured people
in hospital in Sao Jose dos Campos.

Below we publish in full all through Facebook said the young man who is in
town.

Post and comments taken from:
https://www.facebook.com/muhammadpailatif/posts/10150726383138625

Leao Pedro Rios, on Facebook:

Urgent! URGENT! Warning! Go over the municipal police in San Jose, City
Hospital, and ROTA, Military Police of São Paulo are hijacking the wounded
and dead, and fading with the bodies! This is REAL ! Alckmin KILLER!
Mobilizes NOW! 

I have numerous testimonials and circumstantial evidence, I'm absolutely
sure of what I'm talking about. It depends on the mobilization of the
Internet to be responsive to demand a response from the federal government
not to allow the governor to carry away 

[android-developers] DexFile Error meaning

2011-07-07 Thread Guilherme Lunhani
Hi,

In a project that i'm working, in some point of development
i found this Exception in DexFile.class, before the application
running my Laucher Activity...

I go to Google and search some
articleshttp://stackoverflow.com/questions/4502445/dexfile-class-error-in-eclipsethat
help search
the error in source
codehttp://android.opensourceror.org/2010/01/18/android-source/,
but none of lit my doubts about where
my/debugging error comes: what's the meaning of the Exception
in DexFile.class/DexFile.java?

This is my error trace:

Thread [3 main] (Class load: gml.android.mixdroid.MixDroidUtils)
dalvik.system.DexFile.defineClass(java.lang.String,
java.lang.ClassLoader, int, java.security.ProtectionDomain) line: not
available [native method]
dalvik.system.DexFile.loadClassBinaryName(java.lang.String,
java.lang.ClassLoader) line: 209
dalvik.system.PathClassLoader.findClass(java.lang.String) line: 203

dalvik.system.PathClassLoader(java.lang.ClassLoader).loadClass(java.lang.String,
boolean) line: 573

dalvik.system.PathClassLoader(java.lang.ClassLoader).loadClass(java.lang.String)
line: 532
*gml.android.mixdroid.StartActivity.onCreate(android.os.Bundle) line: 89
*// this is my Laucnher
android.app.Instrumentation.callActivityOnCreate(android.app.Activity,
android.os.Bundle) line: 1047

android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityRecord,
android.content.Intent) line: 2459

android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityRecord,
android.content.Intent) line: 2512
android.app.ActivityThread.access$2200(android.app.ActivityThread,
android.app.ActivityThread$ActivityRecord, android.content.Intent) line:
119
android.app.ActivityThread$H.handleMessage(android.os.Message) line:
1863

android.app.ActivityThread$H(android.os.Handler).dispatchMessage(android.os.Message)
line: 99
android.os.Looper.loop() line: 123
android.app.ActivityThread.main(java.lang.String[]) line: 4363
java.lang.reflect.Method.invokeNative(java.lang.Object,
java.lang.Object[], java.lang.Class, java.lang.Class[], java.lang.Class,
int, boolean) line: not available [native method]
java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object...)
line: 521
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() line:
860
com.android.internal.os.ZygoteInit.main(java.lang.String[]) line: 618

dalvik.system.NativeStart.main(java.lang.String[]) line: not available
[native method]

Thanks!


-- 
-- 

GUILHERME

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] ListView change children Views position when clicked

2011-06-30 Thread Guilherme Lunhani
Hi all!

I have a little ListView in custom ListActivity with following shape in
onCreate():

[ListElement 0]:
   [TextView: String a]
   [EditView: String b]
[ListElement 1]:
   [TextView: String x]
   [EditView: String y]

When perform a click in any of these EditViews (which will have listeners),
something strange happens:

[ListElement 1]:
   [TextView: String x]
   [EditView: String y]
[ListElement 0]:
   [TextView: String a]
   [EditView: String b]

but when BACK button of emulator is pressed, the original layout back;

Any Ideas for this behaviour?

Below, i put the code of overrided method in my custom ListAdapter
(getView()) and the ListActivity
launched

ListActivity:

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

//setting bundles to edit new IP and Port
Bundle bundle =
getIntent().getExtras()!=null?getIntent().getExtras():null;

setIp(!(bundle.equals(null))?bundle.getString(StartActivity.MY_IP):null);

setPort(!(bundle.equals(null))?bundle.getInt(StartActivity.MY_PORT):null);

//setting list
setContentView(R.layout.list_layout);

//now set Edit fields
try {
setListAdapter(new OSCLayoutAdapter(this,
getViewWithResources()));
} catch (Exception e) {
Log.d(TAG, cannot possible to set List of Edit Fields , e);
}
}

Overrided method in ListAdapter:

@Override
public View getView(int position, View convertView, ViewGroup
parent) {
View v = convertView;

if(v==null){
LayoutInflater inflater = (LayoutInflater)
getContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
v = inflater.inflate(R.layout.basic_edit_layout, null);
TagsHolder tag = new TagsHolder();
ViewHolder views = new ViewHolder();

Log.d(TAG, Configuring View +v.toString());
Log.w(TAG, Setting View Tags );
switch (getItemViewType(position)) {
case OSCLayoutOrder.EDIT_IP:
Log.w(TAG, Setting  sub title tag);
tag.text = Set new IP;
Log.w(TAG, Setting  OSC value tag);
tag.oscContent = OSCConfigActivity.getIP();
break;
case OSCLayoutOrder.EDIT_PORT:
Log.w(TAG, Setting  sub title tag);
tag.text = Set new Port;
Log.w(TAG, Setting  OSC value tag);
tag.oscContent =
String.valueOf(OSCConfigActivity.getPort());
break;
}

v.setTag(tag);

try{

Log.i(TAG, Tags: +tag.text+, +tag.oscContent);

//TODO populate Edit fields according tags
views.textView = (TextView)
v.findViewById(R.id.textView);
views.editText = (EditText)
v.findViewById(R.id.editText);

Log.d(TAG, Setting children views according tags...);
views.textView.setText(tag.text);
views.editText.setText(tag.oscContent);
views.editText.setTextColor(Color.DKGRAY);

Log.d(TAG, Setting children listeners...);
}
catch (Exception e) {
Log.e(TAG, not possible to populate the View);
return v;
}
}
return v;
}
Thanks!

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Problem on create many different Views with ArrayList

2011-06-03 Thread Guilherme Lunhani
Hi all,

I'm trying to populate many different widgets (SeekBars and Buttons)
in a RelativeLayout with ArrayList objects, but when I run/debug
application,
LogCat give me errors;

It is not the first time I face problems to populate Views with ArrayList
Is there a better option to make this?

06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): Not possible to set
UI
06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490):
java.lang.ClassCastException: android.widget.RelativeLayout
06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490):
atgml.android.mixdroid.MixDroidFadersActivity.onCreate(MixDroidFadersActivity.java:90)
06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): at
android.app.ActivityThread.access$2200(ActivityThread.java:119)
06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): at
android.os.Handler.dispatchMessage(Handler.java:99)
06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): at
android.os.Looper.loop(Looper.java:123)
06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): at
android.app.ActivityThread.main(ActivityThread.java:4363)
06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): at
java.lang.reflect.Method.invokeNative(Native Method)
06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): at
java.lang.reflect.Method.invoke(Method.java:521)
06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): at
dalvik.system.NativeStart.main(Native Method)

and the written code:

 @Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.horizontal_fader_layout);


try {
surroundSeekBars = new ArrayListSeekBar();
surroundTextViews = new ArrayListTextView();
groupChannelsButtons = new ArrayListButton();
groupRadioButtons = new ArrayListRadioButton();

groupChannelSeekBar = (SeekBar)
findViewById(R.id.seekBar_group_channel);
groupChannelTextView = (TextView)
findViewById(R.id.textView_group_channels);
mainVolumeSeekBar = (SeekBar)
findViewById(R.id.seekBar_mainVolume);
mainVolumeTextView = (TextView)
findViewById(R.id.textView_mainVolume);

for(int id: R_RESOURCES_SURROUND_SEEKBAR){
surroundSeekBars.add((SeekBar) findViewById(id));
}
for (int id : R_RESOURCES_GROUP_CHANNEL_BUTTONS) {
groupChannelsButtons.add((Button) findViewById(id));
}
for (int id : R_RESOURCES_GROUP_CHANNEL_RADIOBUTTONS) {
groupRadioButtons.add((RadioButton) findViewById(id));
}
} catch (Throwable t) {
// TODO Auto-generated catch block
Log.e(TAG, Not possible to set UI, t);
}
}

Thanks for any help!

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Problem on create many different Views with ArrayList

2011-06-03 Thread Guilherme Lunhani
I found this thread:

http://stackoverflow.com/questions/2216811/creating-dynamic-view-multiple-a-view-x-times-get-set-value-for-each-group


2011/6/3 Guilherme Lunhani gcravi...@gmail.com

 Hi all,

 I'm trying to populate many different widgets (SeekBars and Buttons)
 in a RelativeLayout with ArrayList objects, but when I run/debug
 application,
 LogCat give me errors;

 It is not the first time I face problems to populate Views with ArrayList
 Is there a better option to make this?

 06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): Not possible to set
 UI
 06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490):
 java.lang.ClassCastException: android.widget.RelativeLayout
 06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490):
 atgml.android.mixdroid.MixDroidFadersActivity.onCreate(MixDroidFadersActivity.java:90)
 06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): at
 android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
 06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): at
 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
 06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): at
 android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
 06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): at
 android.app.ActivityThread.access$2200(ActivityThread.java:119)
 06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): at
 android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
 06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): at
 android.os.Handler.dispatchMessage(Handler.java:99)
 06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): at
 android.os.Looper.loop(Looper.java:123)
 06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): at
 android.app.ActivityThread.main(ActivityThread.java:4363)
 06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): at
 java.lang.reflect.Method.invokeNative(Native Method)
 06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): at
 java.lang.reflect.Method.invoke(Method.java:521)
 06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): at
 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
 06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): at
 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
 06-03 18:36:49.026: ERROR/MixDroidFadersActivity(490): at
 dalvik.system.NativeStart.main(Native Method)

 and the written code:

  @Override
 public void onCreate(Bundle savedInstanceState) {
 super.onCreate(savedInstanceState);
 setContentView(R.layout.horizontal_fader_layout);


 try {
 surroundSeekBars = new ArrayListSeekBar();
 surroundTextViews = new ArrayListTextView();
 groupChannelsButtons = new ArrayListButton();
 groupRadioButtons = new ArrayListRadioButton();

 groupChannelSeekBar = (SeekBar)
 findViewById(R.id.seekBar_group_channel);
 groupChannelTextView = (TextView)
 findViewById(R.id.textView_group_channels);
 mainVolumeSeekBar = (SeekBar)
 findViewById(R.id.seekBar_mainVolume);
 mainVolumeTextView = (TextView)
 findViewById(R.id.textView_mainVolume);

 for(int id: R_RESOURCES_SURROUND_SEEKBAR){
 surroundSeekBars.add((SeekBar) findViewById(id));
 }
 for (int id : R_RESOURCES_GROUP_CHANNEL_BUTTONS) {
 groupChannelsButtons.add((Button) findViewById(id));
 }
 for (int id : R_RESOURCES_GROUP_CHANNEL_RADIOBUTTONS) {
 groupRadioButtons.add((RadioButton) findViewById(id));
 }
 } catch (Throwable t) {
 // TODO Auto-generated catch block
 Log.e(TAG, Not possible to set UI, t);
 }
 }

 Thanks for any help!




-- 
-- 

GUILHERME

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] A little Hi and our old Unable to establish connections...

2011-05-25 Thread Guilherme Lunhani
Hi all,

I'm happy to join in this group; i'm new on Android apps, and hope I can
share with community a lot!

This is my first question to group (I apologize for large email in a first
time...):
I making a little Activity that connect in network and (will) make OSC
connection http://opensoundcontrol.org/introduction-osc;
in onResume() the Activity check Network/OSC connections, and start a
AlertDialog
if necessary.

When the Activity try make an OSC connection (see code below), LogCat
receive Error messages;
OSC accpet UDP connections, but i don't know what is happening...

05-25 10:32:22.026: ERROR/FaderAcivityTest(321): Unable to establish a
connection-
05-25 10:32:22.026: ERROR/FaderAcivityTest(321): java.net.SocketException:
Permission denied (maybe missing INTERNET permission)
05-25 10:32:22.026: ERROR/FaderAcivityTest(321): at
org.apache.harmony.luni.platform.OSNetworkSystem.createDatagramSocketImpl(Native
Method)
05-25 10:32:22.026: ERROR/FaderAcivityTest(321): at
org.apache.harmony.luni.platform.OSNetworkSystem.createDatagramSocket(OSNetworkSystem.java:155)
05-25 10:32:22.026: ERROR/FaderAcivityTest(321): at
org.apache.harmony.luni.net.PlainDatagramSocketImpl.create(PlainDatagramSocketImpl.java:149)
05-25 10:32:22.026: ERROR/FaderAcivityTest(321): at
java.net.DatagramSocket.createSocket(DatagramSocket.java:198)
05-25 10:32:22.026: ERROR/FaderAcivityTest(321): at
java.net.DatagramSocket.init(DatagramSocket.java:84)
05-25 10:32:22.026: ERROR/FaderAcivityTest(321): at
java.net.DatagramSocket.init(DatagramSocket.java:68)
05-25 10:32:22.026: ERROR/FaderAcivityTest(321): at
com.illposed.osc.OSCPortOut.init(Unknown Source)
05-25 10:32:22.026: ERROR/FaderAcivityTest(321): at
com.illposed.osc.OSCPortOut.init(Unknown Source)
05-25 10:32:22.026: ERROR/FaderAcivityTest(321): at
gml.android.surround.osc.CheckConnectivity.makeOSCPortOut(CheckConnectivity.java:64)
05-25 10:32:22.026: ERROR/FaderAcivityTest(321): at
gml.android.surround.FaderActivityTest.onResume(FaderActivityTest.java:156)
05-25 10:32:22.026: ERROR/FaderAcivityTest(321): at
android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1149)
05-25 10:32:22.026: ERROR/FaderAcivityTest(321): at
android.app.Activity.performResume(Activity.java:3763)
05-25 10:32:22.026: ERROR/FaderAcivityTest(321): at
android.app.ActivityThread.performResumeActivity(ActivityThread.java:2937)
05-25 10:32:22.026: ERROR/FaderAcivityTest(321): at
android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2965)
05-25 10:32:22.026: ERROR/FaderAcivityTest(321): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1889)
05-25 10:32:22.026: ERROR/FaderAcivityTest(321): at
android.os.Handler.dispatchMessage(Handler.java:99)
05-25 10:32:22.026: ERROR/FaderAcivityTest(321): at
android.os.Looper.loop(Looper.java:123)
05-25 10:32:22.026: ERROR/FaderAcivityTest(321): at
android.app.ActivityThread.main(ActivityThread.java:4363)
05-25 10:32:22.026: ERROR/FaderAcivityTest(321): at
java.lang.reflect.Method.invokeNative(Native Method)
05-25 10:32:22.026: ERROR/FaderAcivityTest(321): at
java.lang.reflect.Method.invoke(Method.java:521)
05-25 10:32:22.026: ERROR/FaderAcivityTest(321): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
05-25 10:32:22.026: ERROR/FaderAcivityTest(321): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
05-25 10:32:22.026: ERROR/FaderAcivityTest(321): at
dalvik.system.NativeStart.main(Native Method)
05-25 10:48:14.791: INFO/dalvikvm(321): Debugger has detached; object
registry had 492 entries
05-25 10:48:15.887: DEBUG/ddm-heap(321): Got feature list request

The code above returns an OSCPortOut
:http://www.illposed.com/software/javaosc.html
/**
 *  Return an OscPortOut; null if error occured;
 * @param ip
 * @param port
 * @return
 */
public static OSCPortOut makeOSCPortOut(String ip, int port, String
activityTag){
try {
InetAddress net = InetAddress.getByName(ip);
return new OSCPortOut(net);
} catch (UnknownHostException uhe) {
Log.e(activityTag, Unable to establish a connection-, uhe);
return null;
} catch (SocketException se) {
Log.e(activityTag, Unable to establish a connection- , se);
return null;
}
}

And AndroidManifest.xml

?xml version=1.0 encoding=utf-8?
manifest xmlns:android=http://schemas.android.com/apk/res/android;
  package=gml.android.surround
  android:versionCode=1
  android:versionName=1.0
uses-sdk android:minSdkVersion=7 /
uses-permission
android:name=android.permission.ACCESS_NETWORK_STATE/uses-permission

application android:icon=@drawable/icon
android:label=@string/app_name
activity android:label=@string/app_name
android:name=.FaderActivityTest
intent-filter
action