[android-developers] Adding AdMob jar to javac breaks compilation

2013-05-24 Thread Felipe Monteiro de Carvalho
Monteiro de Carvalho -- -- 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

[android-developers] Re: Adding AdMob jar to javac breaks compilation

2013-05-24 Thread Felipe Monteiro de Carvalho
thanks, indeed that was the problem! Felipe Monteiro de Carvalho -- -- 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

Re: [android-developers] apkbuilder was deleted, how to replace it?

2013-05-21 Thread Felipe Monteiro de Carvalho
.bat file! And what I am doing at the moment, simply stay with the old SDK, does not seam to be a solution as I just found that new phones don't work with older SDKs... thanks in advance, Felipe Monteiro de Carvalho -- -- You received this message because you are subscribed to the Google

[android-developers] apkbuilder was deleted, how to replace it?

2013-05-18 Thread Felipe Monteiro de Carvalho
no idea how I would call a java class from my script. Any ideas how to make my script start working again? Not using ant is a must-have requirement for my script, so please no solutions which involve using ant. thanks in advance, Felipe Monteiro de Carvalho -- -- You received this message

Re: [android-developers] Trying to use the ListView

2012-06-19 Thread Felipe Monteiro de Carvalho
On Monday, June 18, 2012 7:26:47 PM UTC+2, MagouyaWare wrote: I need it to be 100% pure code, without any kind of XML Just out of curiosity, why? From my experience it is much much easier to use XML layouts unless there is a really really good reason not to... I am not writing a Java

Re: [android-developers] Trying to use the ListView

2012-06-19 Thread Felipe Monteiro de Carvalho
On Tuesday, June 19, 2012 4:43:10 AM UTC+2, TreKing wrote: You don't know Java or how to use your IDE well enough. I am not using any Java IDE, I am using a script to compile the project and I don't plan on changing that. Yes, I am not familiar enough with Java to use those complicated

Re: [android-developers] Trying to use the ListView

2012-06-19 Thread Felipe Monteiro de Carvalho
Basically, putting my problem into simpler words I need the following: A ListView created completely programmatically (no XML at all) and which can display items with a Title and a smaller Description. I have found lots of examples for programatically creating a ListView, but they all use

[android-developers] Re: Trying to use the ListView

2012-06-19 Thread Felipe Monteiro de Carvalho
in the end. Maybe the guy forgot it... thanks, Felipe Monteiro de Carvalho -- 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

[android-developers] Trying to use the ListView

2012-06-18 Thread Felipe Monteiro de Carvalho
, so, I read some tutorials and here is the code that I have so far: http://pastebin.com/ifHEb7Mk But it fails to compile: http://pastebin.com/ZYhaNsaQ Any ideas where am I getting it wrong? I am 100% lost here at why it refuses to accept my list =( thanks for any help, Felipe Monteiro de

[android-developers] Building a project without ant

2012-03-27 Thread Felipe Monteiro de Carvalho
Hello, I'd like to remove ant from my build process as ant often has wierd errors and is hard to install, so I am creating a Windows batch script to substitute it, but I have some issues: 1 How can I add JNI native libraries to the apk? I tryed everything I could think of, but aapt add just

[android-developers] Re: How to get pressed Unicode characters

2012-01-18 Thread Felipe Monteiro de Carvalho
://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revroot=lazarusrevision=34770 thanks, Felipe Monteiro de Carvalho -- 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

[android-developers] Re: How to get pressed Unicode characters

2011-12-30 Thread Felipe Monteiro de Carvalho
On Dec 29, 11:11 pm, lbendlin l...@bendlin.us wrote: you probably want to monitor the keyUp event rather than keyDown Yes, I am doing the character processing in keyUp, I just showed keyDown to show what kinds of events I am using. And now I have this code in the native part: case AKind of

[android-developers] Composing Key Up events into a Unicode Character

2011-12-29 Thread Felipe Monteiro de Carvalho
use KeyCharacterMap, but I have no idea how to use it and there are no examples =( Just to reinforce I'd like to mention again that I am not using TextView and nor do I wish to. thanks in advance for any tips, Felipe Monteiro de Carvalho -- You received this message because you are subscribed

[android-developers] How to get pressed Unicode characters

2011-12-29 Thread Felipe Monteiro de Carvalho
Monteiro de Carvalho -- 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

[android-developers] Re: How to get pressed Unicode characters

2011-12-29 Thread Felipe Monteiro de Carvalho
Hello, thanks, this moves me a bit closer. But I still have one problem. When I do a long press in the virtual keyboard to select for example 4 from the items inside the key r, I get first a r key and then a 4 key. How can I detect that this first r should be ignored in my character processing?

[android-developers] Re: Why don't i get a full stacktrace?

2011-12-02 Thread Felipe Monteiro de Carvalho
On 29 nov, 23:30, TreKing treking...@gmail.com wrote: Stop using Pascal? Seriously, why don't you stop trolling? If you don't know the answer then please refrain from sending e-mails. Felipe -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: How to handle the volume keys??

2011-02-18 Thread Felipe Monteiro de Carvalho
Thanks! I managed to do that, but actually I was expecting to be able to receive the keys while the phone has it's screen off. Is that possible? thanks, Felipe -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] How to handle the volume keys??

2011-02-17 Thread Felipe Monteiro de Carvalho
Hello, I would like to execute an event when the volume keys are pressed. Any ideas how I can do that? thanks! Felipe -- 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

[android-developers] Can't find View.setTextSize

2011-02-15 Thread Felipe Monteiro de Carvalho
Hello, I am using lot's of different controls and they all work fine, but now I am trying to issue View.setTextSize and it can't find it =( The Android docs say that this method exists and I want to access it from the lowest possible class, not from a top level class. Any ideas why it gives this

[android-developers] Re: Can't find View.setTextSize

2011-02-15 Thread Felipe Monteiro de Carvalho
Ah, I found the error. The class of this method is TextView, not View!!! thanks, -- Felipe Monteiro de Carvalho -- 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

[android-developers] Receiving Volume Button Event

2011-02-15 Thread Felipe Monteiro de Carvalho
Hello, Does anyone know how I can receive events from the volume buttons? And will the event arrive even if the screen is off? If not, any other button which I can receive with the screen off? thanks! -- You received this message because you are subscribed to the Google Groups Android

[android-developers] onCreate called on each app wake-up

2011-01-14 Thread Felipe Monteiro de Carvalho
Hello, I have create an Android application and I have the problem that each time that I click the Home button and click on the icon of the application in the desktop, onCreate is called again =( Which means that my GUI is recreated. Any ideas how to fix this? I searched and I found some