Re: [android-developers] Re: Json - 2 Emulators

2011-10-07 Thread Diogo Salaberri
Any tutorial for port forward ? On Fri, Oct 7, 2011 at 8:46 AM, Paul Turchenko paul.turche...@gmail.comwrote: Why not use tcpip to do that? Just setup port forwarding in adb On Oct 6, 9:35 pm, Diogo Salaberri caxix...@gmail.com wrote: Hello guys, I want to transfer data from a emulator

Re: [android-developers] Re: Json - 2 Emulators

2011-10-07 Thread Diogo Salaberri
It's just for tests. I want to communicate 2 emulators cause bluetooth isn't avaiable. Another way to do ? On Fri, Oct 7, 2011 at 12:49 PM, Christopher Van Kirk christopher.vank...@gmail.com wrote: Sounds like an excellent way to bankrupt your customer. On 10/7/2011 12:06 PM, Zsolt Vasvari

[android-developers] Json - 2 Emulators

2011-10-06 Thread Diogo Salaberri
Hello guys, I want to transfer data from a emulator to another emulator, running on the same machine. But when the SMS was received, the message isn't like the message was send. Looks like a encode problem. 1) Is other method to do this data transfer ? 2) Over SMS, this is a recognized problem ?

[android-developers] Server for Android APP

2011-08-23 Thread Diogo Salaberri
Hello guys.. I want to developer an APP that will request and receive information from a remote server, basic exchange of information, like a json or xml. How can I do this, I know. But what is the better option for the server ? I want a server that stay waiting for my requests. Whats the better

Re: [android-developers] Server for Android APP

2011-08-23 Thread Diogo Salaberri
for me On Tue, Aug 23, 2011 at 1:41 PM, Diogo Salaberri caxix...@gmail.com wrote: Hello guys.. I want to developer an APP that will request and receive information from a remote server, basic exchange of information, like a json or xml. How can I do this, I know. But what

Re: [android-developers] Card Game Android

2011-07-01 Thread Diogo Salaberri
Hello, thanks for the answer. Which LIB do you normally use for this purpose ? Thanks, bye. On Fri, Jul 1, 2011 at 12:54 AM, Greg Donald gdon...@gmail.com wrote: On Thu, Jun 30, 2011 at 2:42 PM, Diogo Salaberri caxix...@gmail.com wrote: I was researching some way to developer a Card Game

[android-developers] Card Game Android

2011-06-30 Thread Diogo Salaberri
Hello people.. I was researching some way to developer a Card Game for Android OS. I saw many games, like Spider, and others. This kind of games, uses what kind of library to do the graphical interface, can be a Android Native or a third library ? In this mail I search for some hints, I hope

[android-developers] Help Please

2011-06-28 Thread Diogo Salaberri
Hi.. I have a problem, whe I start my aplication the launcher activity is called HOME, and that HOME automatically call other activity called LOGIN. Now, I have to finish this aplication when I click on default back button overwriting onKeyDown. The problem is, how can I do this, a simple finish

[android-developers] Finishing Activities

2011-06-28 Thread Diogo Salaberri
Hi.. I have a problem, whe I start my aplication the launcher activity is called HOME, and that HOME automatically call other activity called LOGIN. Now, I have to finish this aplication when I click on default back button overwriting onKeyDown. The problem is, how can I do this, a simple finish

[android-developers] Great Problem

2011-06-08 Thread Diogo Salaberri
hi guys, I need a help please. I got this error on my app: 06-08 14:42:33.584: ERROR/AndroidRuntime(269): java.lang.RuntimeException: Unable to start activity ComponentInfo{br.com.vivo/br.com.vivo.A_Home}: java.lang.NullPointerException Anyone can help me ? Thanks -- Atenciosamente; Diogo

Re: [android-developers] Great Problem

2011-06-08 Thread Diogo Salaberri
, TreKing treking...@gmail.com wrote: On Wed, Jun 8, 2011 at 9:48 AM, Diogo Salaberri caxix...@gmail.comwrote: Anyone can help me ? Your debugger and LogCat can. Use them to figure out what's NULL - then make it not null

Re: [android-developers] Great Problem

2011-06-08 Thread Diogo Salaberri
8, 2011 at 10:01 AM, Diogo Salaberri caxix...@gmail.comwrote: I guess that it not so simple. Sure it is - step through your debugger and print out log statements. At some point something is null. Find out what that is. I normally use that x TextView inside the onCreate() and after

[android-developers] Dinamically TextView's

2011-06-07 Thread Diogo Salaberri
Hi everyone.. I need a help. I want to insert dinamically in a LinearLayout some TextView's. Example: - When my activity build my layout I want to put a *for* that will calculate a number of TextView's I'll create. I hope you can help me. Bye, thanks. -- Atenciosamente; Diogo Bonoto Salaberri

Re: [android-developers] Dinamically TextView's

2011-06-07 Thread Diogo Salaberri
I try many codes but I didn't solve that problem. On Tue, Jun 7, 2011 at 10:15 AM, TreKing treking...@gmail.com wrote: On Tue, Jun 7, 2011 at 8:12 AM, Diogo Salaberri caxix...@gmail.comwrote: I want to insert dinamically in a LinearLayout some TextView's. Example: - When my activity build

Re: [android-developers] Dinamically TextView's

2011-06-07 Thread Diogo Salaberri
Doula hossaindo...@gmail.com wrote: Dynamically adding views should be based upon some event trigger... What the trigger are you firing??? On Tue, Jun 7, 2011 at 7:25 PM, Diogo Salaberri caxix...@gmail.comwrote: I try many codes but I didn't solve that problem. On Tue, Jun 7, 2011 at 10

Re: [android-developers] Dinamically TextView's

2011-06-07 Thread Diogo Salaberri
How can I do this ? On Tue, Jun 7, 2011 at 11:10 AM, TreKing treking...@gmail.com wrote: On Tue, Jun 7, 2011 at 8:25 AM, Diogo Salaberri caxix...@gmail.comwrote: I try many codes but I didn't solve that problem. What problem? You've indicated what you kind of, sort of want to do

Re: [android-developers] Dinamically TextView's

2011-06-07 Thread Diogo Salaberri
How can I put some textView in a LinearLayout dinamically ? On Tue, Jun 7, 2011 at 11:18 AM, TreKing treking...@gmail.com wrote: On Tue, Jun 7, 2011 at 9:13 AM, Diogo Salaberri caxix...@gmail.comwrote: How can I do this ? Do what? Explain your problem

Re: [android-developers] Re: How can I draw/move a point on screen ?!

2011-05-20 Thread Diogo Salaberri
If you see the first email from that thread, you'll see: *Any tutorial ? Any link ?* -- Atenciosamente; Diogo Bonoto Salaberri Bacharel em Ciência da Computação - UFPel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] internet not working with emulator?

2011-05-20 Thread Diogo Salaberri
hi.. - verify if you have internet acess on your computer - if you are testing through a app, verify if you add on your manifest.xml a permission to INTERNET_ACESS Bye -- Atenciosamente; Diogo Bonoto Salaberri Bacharel em Ciência da Computação - UFPel -- You received this message because you

Re: [android-developers] what will be the parameter of HttpGet httpget = new HttpGet(http://10.91.28.203);

2011-05-19 Thread Diogo Salaberri
Hi.. If you want to use localhost, try using http://10.0.2.2; instead of localhost on the URL. Because internally android uses localhost for the emulator. Verify your URL and good luck. Bye -- Atenciosamente; Diogo Bonoto Salaberri Bacharel em Ciência da Computação - UFPel -- You received

Re: [android-developers] what will be the parameter of HttpGet httpget = new HttpGet(http://10.91.28.203);

2011-05-19 Thread Diogo Salaberri
I've looked quickly your JSON, and I guess you have two Json's array. The first is called Categories, he's the main array, and the second is called Items. The Itens array you have repeatedly. Let´s go.. You have to start from the outside, receive categories put him in a var and now you can

[android-developers] How can I draw/move a point on screen ?!

2011-05-19 Thread Diogo Salaberri
Any tutorial ? Any link ? Thanks, bye. -- Atenciosamente; Diogo Bonoto Salaberri Bacharel em Ciência da Computação - UFPel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] How can I draw/move a point on screen ?!

2011-05-19 Thread Diogo Salaberri
Some more especific !? Thanks. -- Atenciosamente; Diogo Bonoto Salaberri Bacharel em Ciência da Computação - UFPel -- 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

Re: [android-developers] Re: How can I draw/move a point on screen ?!

2011-05-19 Thread Diogo Salaberri
I want to put a point on the screen and move him around it. Thanks, I waiting. -- Atenciosamente; Diogo Bonoto Salaberri Bacharel em Ciência da Computação - UFPel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] what will be the parameter of HttpGet httpget = new HttpGet(http://10.91.28.203);

2011-05-18 Thread Diogo Salaberri
// Create a default client HTTP DefaultHttpClient cliente = new DefaultHttpClient(); // Set post or get method and set the URL HttpPost post = new HttpPost(URL); // Here you can set a parameter, post.addHeader(Name, Value); // When you receive a response, you need to get this in a TRY/CATCH

Re: [android-developers] what will be the parameter of HttpGet httpget = new HttpGet(http://10.91.28.203);

2011-05-18 Thread Diogo Salaberri
verify your URL, are you requesting a local server our something like this ? On Wed, May 18, 2011 at 9:27 AM, Rocky rkjhaw1...@gmail.com wrote: Hi I'm not getting any response from below line. response = cliente.execute(post); On Wed, May 18, 2011 at 5:54 PM, Diogo Salaberri caxix

Re: [android-developers] Re: what will be the parameter of HttpGet httpget = new HttpGet(http://10.91.28.203);

2011-05-18 Thread Diogo Salaberri
Your code is right, but can generate erros because, normally, the response of a request have caracteres that can't be used like a native JSON. The response string need to be looked more carefully, use subString is a hint. bye -- Atenciosamente; Diogo Bonoto Salaberri Bacharel em Ciência da

[android-developers] ANDROID GAME

2011-04-20 Thread Diogo Salaberri
Hello guys.. I want to developer a game for android SO. Somebody have a hint to help me about the grafical interface. How, for example, can I put a card ( like a king of hearts ) in the screen ? Android has a native library to work with this ? See you.. thanks -- Atenciosamente; Diogo Bonoto

[android-developers] Native PDF Viewer

2011-04-15 Thread Diogo Salaberri
Hi.. I need to know if the android have ,as a native mode, a PDF viewer. And if don't have, he has a lib native that can I work easily with PDF. Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to