[android-developers] tenho um sansung GT-i7500, e nao consigo fazer a atualizaçao do android market(dá erro de servidor)

2012-10-29 Thread pedro miguel padre nosso martins
-- 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 th

Re: [android-developers] Re: Publish and Debug

2011-09-21 Thread Leonardo Martins Scaramel
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 > -- Leonardo Martins Scaramel MSN: xx11_leona...@hotmail.com Fone Cel: 5475-9955 "Até Mais e Obrigado pel

[android-developers] Publish and Debug

2011-09-20 Thread Leonardo Martins Scaramel
nges on my apk, but I can't run it on my device because it has diferent signature from the apk installed from the market. I'm using eclipse for development. I really have to unsintall the market downloaded apk to run the debug? or there is another way to do this? -- Leonardo Martins Scar

[android-developers] Nexus S as developer phone

2010-12-21 Thread Rafael Martins
Hi, Anyone knows if Nexus S will be available for developers on Android Market? Regards! -- 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 gro

Re: [android-developers] About the character encoding

2010-10-22 Thread Julio Martins
Chinese guys, any comments about this? Julio On Thu, Oct 21, 2010 at 6:05 AM, Marcin Orlowski wrote: > On 20 October 2010 21:53, Julio Martins wrote: > > Friends, > > > > I am developing an application that has a module for sending SMS alerts. > I'm > > w

[android-developers] About the character encoding

2010-10-20 Thread Julio Martins
Friends, I am developing an application that has a module for sending SMS alerts. I'm worried about the character encoding. What better way to encode the string to be sent and the receiver not interpret as funny characters. Has anyone experienced this? Especially characters that are not part of my

[android-developers] Android logo :D

2010-09-02 Thread Martins Streņģis
http://www.engadget.com/2010/09/02/shocker-googles-android-logo-boosted-from-atari-lynx-title-ga/ -- Mārtiņš Streņģis -- 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

Re: [android-developers] help

2010-08-31 Thread Martins Streņģis
http://www.lifeguardsiow.co.uk/images/ring.jpg :) -- 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+uns

Re: [android-developers] Re: On screen orientation changes activity restarted.

2010-08-16 Thread Martins Streņģis
sounds like daily wtf :) -- 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

Re: [android-developers] Re: On screen orientation changes activity restarted.

2010-08-16 Thread Martins Streņģis
as i said earlier for some reaosn it doesnt work on emulators. that fix works only on real phones -- 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 t

Re: [android-developers] Re: On screen orientation changes activity restarted.

2010-08-15 Thread Martins Streņģis
i dont know why but i doesn't work on emulator on phones it works just fine try it :) -- 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,

Re: [android-developers] On screen orientation changes activity restarted.

2010-08-15 Thread Martins Streņģis
add android:configChanges="orientation" to your manifest in each activity -- 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] Re: Detect Wifi Enabled/Disabled

2010-08-12 Thread Martins Streņģis
WifiManager lWifiManager = (WifiManager) IntroVideoActivity.this.getSystemService(Context.WIFI_SERVICE); TelephonyManager lTelephonyManager = (TelephonyManager) IntroVideoActivity.this.getSystemService(Context.TELEPHONY_SERVICE); // if we have a fast connection (wifi o

Re: [android-developers] Organizing the res/drawable folder

2010-08-10 Thread Martins Streņģis
you can add prefixes to your images like ico_ bicon_ profile_activity_ and so on -- 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

Re: [android-developers] Controlling an app's cache size

2010-08-10 Thread Martins Streņģis
for file cache i use file.lastModified() if smaller then my cahce time for example if file wasnt modified for 8 hours it will be deleted and when you access that file use file.setLastModified(System.currentTimeMillis()); int timeout = 60 * 60 * main.imagecache; //main.imagecachen int hours for kee

Re: [android-developers] Custom View

2010-08-08 Thread Martins Streņģis
why you just dont create a xml file which has those properties ? :) -- 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 andro

Re: [android-developers] Persist a variable value

2010-08-05 Thread Martins Streņģis
db is simple :) but if you dont want db you could try files -- 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-dev

Re: [android-developers] Re: Socket Timout in a simple HttpGet

2010-08-05 Thread Martins Streņģis
i know about socket timeout and it's no need to set something huge it needs about 65 seconds but for user 65 sec is way to long after about 60 seconds phone renews wifi device id is: String device_id = Secure.getString(this.getContentResolver(), Secure.ANDROID_ID); it's needed to send push notific

Re: [android-developers] Re: Socket Timout in a simple HttpGet

2010-08-04 Thread Martins Streņģis
thx for advice :) but the problem persists on real phones not emulators I have samsung with android 2.1 buggy when recievs push notification htc desire 2.2 buggy on push and the old good htc tattoo 1.6 works like hell nothing can stop it :D i cant recieve noticications on emulators becouse they d

[android-developers] Re: Socket Timout in a simple HttpGet

2010-08-04 Thread Martins Streņģis
btw on gprs it's working fine -- 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

[android-developers] Socket Timout in a simple HttpGet

2010-08-04 Thread Martins Streņģis
08-04 11:25:03.562: WARN/System.err(10330): java.net.SocketException: The operation timed out 08-04 11:25:03.572: WARN/System.err(10330): at org.apache.harmony.luni.platform.OSNetworkSystem.connectSocketImpl(Native Method) 08-04 11:25:03.572: WARN/System.err(10330): at org.apache.harmony.lu

[android-developers] Re: Nexus One for developers

2010-07-29 Thread Rafael Martins
OK. I was asking because I've heard that the Nexus was available for developers and for me there's just ADP2. I wanted to check if this is because I'm brazilian or not. Thanks! On Jul 29, 10:41 am, "{ Devdroid }" wrote: > > But I'm looking for a Nexus to developers like Android Dev Phone 2 > > (H

[android-developers] Re: Nexus One for developers

2010-07-29 Thread Rafael Martins
egardless if > you're a developer or not. > I.e.http://www.expansys.com/d.aspx?i=193858 > > Maybe not in local stores in your country, but definitely alternative > online markets than the Google N1 website itself. > Where are you based? > > On Jul 29, 9:06 pm, Rafael Mar

[android-developers] Nexus One for developers

2010-07-29 Thread Rafael Martins
Does anyone know when will be possible to buy the Nexus One from the market as a registered developer? -- 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 f

Re: [android-developers] Re: tattoo apps on market

2010-07-24 Thread Martins Streņģis
it seems that http://groups.google.com/group/android-developers?hl=en

[android-developers] tattoo apps on market

2010-07-24 Thread Martins Streņģis
Hi there! in my manifest file i added Problem is that i dont see my app in market with htc tatto (ldpi res) but i see with my samsung (hdpi or mdpi res) all drawable are in folders named drawable-mdpi drawable ldpi and drawable hdpi in correct sizes 36px 48px and 72px question is why

Re: [android-developers] Re: Asynchronous Http Request

2010-06-02 Thread Martins Streņģis
c'mon infinite loop :) -- 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 Fo

Re: [android-developers] Asynchronous Http Request

2010-05-31 Thread Martins Streņģis
Mark you forgot while(1){ HttpGet get = new HttpGet("http://www.microsoft.com";); } :) -- 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 g

Re: [android-developers] Refreshing an activity on a tabwidget

2010-05-27 Thread Martins Streņģis
i use listview.setAdapter(); for refreshing dont know if it's correct but it works for me -- 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 grou

[android-developers] popupCharacters selection

2010-05-10 Thread Martins Mozeiko
following - I press key u, hold it, popup shows only one character ū (not selected), I must release my finger from touch screen, then press this ū character, release finger, and only then it is entered to text field. Thanks. -- Martins Mozeiko -- You received this message because you are subscribed to

[android-developers] Re: Android SDK for Windows 7

2010-02-25 Thread Martins
tall Windows Vista or XP on my > computer? I have Windows 7 x64 and had no problems with using Android SDK + NDK and Eclipse with it so far. -- Martins Mozeiko -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gro

[android-developers] Re: ClearTaskOnLaunch flag is not working

2010-01-15 Thread Rafael Martins
I solved the problem here adding android:finishOnTaskLaunch ="true" for all the activities except the root. Probably this is not the best way, but android:clearTaskOnLaunch="true" is not working (If someone knows why, please help us). On 14 jan, 08:15, Android Developer wrote: > Hi, > > I have tw

[android-developers] Offline SDK installation

2010-01-11 Thread Martins Mozeiko
for Windows Skipping incompatible archive: Usb Driver package, revision 3 for Windows Please advise what to do in this situation. -- Martins -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

[android-developers] Offline SDK installation

2010-01-08 Thread Martins
for Windows Skipping incompatible archive: Usb Driver package, revision 3 for Windows Please advise what to do in this situation. -- Martins -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

Re: [android-developers] Re: Android and VOIP

2010-01-02 Thread Ricardo Martins
The problem with sipdroid is that it's tied to pabxes.org. If you want to use on your local sip pbx (asterisk) you can't do it. jotobjects escreveu: > Where was the announcement or rumor on VOIP for google voice on > android? > > Also, there are VOIP products using sipdroid that supposedly do th

[android-developers] Sip voip apps for android: Is sipdroid the only joice?

2009-12-20 Thread Ricardo Martins
Hi all! Is there anyone working on an SIP voip app for android? I tried sipdroid app but it is still tied to pabxes.org. It's a problem for people trying to use this app on locally installed pabxes. It adds a quite high amount of delay. Is there anyone interested in a bounty for working on sipd

[android-developers] To free sipdroid from pabxes.org

2009-12-19 Thread Ricardo Martins
Is anyone working on to free sipdroid app from pabxes.org? It's a problem for people trying to use this app on locally installed pabxes. It adds a quite high amount of delay. Sipdroid: http://sipdroid.org/ Is there anyone interested in a bounty for that? We could release this on sipdroid commu

[android-developers] Android Market - SharedPreferences

2009-12-18 Thread Rafael Martins
If a user installs an update of an app using the Android Market, the SharedPreferences persists? -- 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 th

[android-developers] Re: Service - Activity (simplest way)

2009-08-30 Thread Rafael Martins
o call > that you want, including things like handing it the activity.  To be very > careful though that when the activity is destroyed all references the > service may have to it are removed, or you will have significant leaks. > > On Sun, Aug 30, 2009 at 9:31 AM, Ra

[android-developers] Re: Service - Activity (simplest way)

2009-08-30 Thread Rafael Martins
e  much safer if you explicitly connect them together.  There are many > ways a static object can be cleared or not yet set (by your process being > killed) when you aren't expecting it. > > On Sat, Aug 29, 2009 at 2:42 PM, Rafael Martins > wrote: > > > > > > >

[android-developers] Re: Service - Activity (simplest way)

2009-08-29 Thread Rafael Martins
es. > > On Sat, Aug 29, 2009 at 9:04 AM, Rafael Martins > wrote: > > > > > > > > > Hi, folks! > > > I'm searching for the simplest way to implement a communication > > between an activity and a service when both are running at the same > >

[android-developers] Service - Activity (simplest way)

2009-08-29 Thread Rafael Martins
Hi, folks! I'm searching for the simplest way to implement a communication between an activity and a service when both are running at the same process. I've already made it using binders like the official example in the API Demo, but I want to call activity's methods from the service. So, I've m

[android-developers] Installing application in Mobile without Android OS

2008-08-18 Thread Felipe Cardoso Martins
There are some way to developer some application using Android Framework and generate some Jar file to install in normal mobile as J2ME? Thank's! Felipe Cardoso Martins [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subsc

[android-developers] Re: Final SDK build available (84853); deadline extended to Tuesday, August 5?????

2008-07-15 Thread Rui Martins
This just looks as another weird form of leaking propaganda. --~--~-~--~~~---~--~~ 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 unsu

[android-developers] Re: Application layout - Android

2008-07-15 Thread Rui Martins
Packaging them all on a single package, wouldn't change your "small effective classes". Packaging is just that "packaging", i.e. put some stuff in the same bag ! It will only have any impact, if you reuse the packages, which is the reason packages exist, to provide code reuse. Packages are just l

[android-developers] Re: About set background

2008-05-14 Thread Rui Martins
I had some problems with setting background too, namelly in an Activity ! The background image is always stretched or compressed in order to fit the window. Besides not having any options, for tiling, stretching, etc. the real problem is that this is always done in every redraw. What I mean is,

[android-developers] Re: PNG size changed

2008-05-05 Thread Rui Martins
Maybe its just converting them to the default screen format of RGB_565, so that no processing is done later when running the aplication. Just a will guess ! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Dev

[android-developers] Re: How to create my own menu?

2008-04-21 Thread Rui Martins
As far as I know, you only have the Activity menus, that are triggered with the menu button. If you want something else, you will have to roll your own ! There isn't any floating or view Menu out of the box. Once again, as far as I know. On Apr 21, 6:55 am, Wei Yongqiang <[EMAIL PROTECTED]> wr

[android-developers] Re: Has anybody been able to blur an image?

2008-04-20 Thread Rui Martins
Just guessing here, but several stuff to verify. - you probably should set the Filter flag, after adding a MaskFilter, and not before. (just to be sure, although not state anywhere). - Are your shure that your originalBitmap has a Alpha channel ? Verify! - If there is an Alpha channel on ori

[android-developers] Re: A question about OpenGL SurfaceView in DEMO

2008-04-17 Thread Rui Martins
I tried this Handler throwing messages at a specific rate solution. But I must admit I'm not terribly happy with it. The problem is that if not enough processing power is available, the messages accumulate ! Making the application seem sluggish due to input Lag, since touch events seems to be pl

[android-developers] Re: does the cell id is unique?

2008-04-17 Thread Rui Martins
Cell ID identifies the current GSM cell where the mobile phone is using. Many phones can be using the same cell ! Your phone only uses one cell at once, but can negotiate data with more than one, when doing transfer from one cell to the other. Cell IDs, as far as I known can be reused in differ

[android-developers] Re: Add more features on my application

2008-04-16 Thread Rui Martins
Suggestion, read the contest rules. In my opinion, they can only judge what they see, and according to the 4 evaluation vectors that where defined. Anything that isn't implemented is futurology ! :) But that's why there is a second round in the contest, i.e. the prizes on the first round, will a

[android-developers] Good Luck to everyone !

2008-04-14 Thread Rui Martins
Dear fellow developers These have been some hard debugging months (3 for me). I have send my submission, and received the confirmation, so everything is well, now I can get back to my family, and rest at night once again :) Would like to thank all the Google guys who took all our critics, and

[android-developers] Re: Really Hard to Debug Matrix BUG !

2008-04-13 Thread Rui Martins
existing Matrix > you need to use the pre/post methods. > > > > On Sat, Apr 12, 2008 at 3:18 PM, Rui Martins <[EMAIL PROTECTED]> wrote: > > > The following Code works, and does what we expect: > > > android.graphics.Matrix myMatrix = ne

[android-developers] Re: Tiled Drawable

2008-04-13 Thread Rui Martins
Thanks I had it working already, after figuring out some undocumented behaviour with the shader Matrix Transform. http://groups.google.com/group/android-developers/browse_thread/thread/cc8436dc851bc837# I'm also using a composeShader for some nicehacking :) On 13 abr, 02:02, Steve Oldmeadow <[E

[android-developers] Really Hard to Debug Matrix BUG !

2008-04-12 Thread Rui Martins
The following Code works, and does what we expect: android.graphics.Matrix myMatrix = new android.graphics.Matrix(); myMatrix.reset(); myMatrix.setScale( 1, 1 ); myMatrix.preTranslate( 100.0f, 36.5f ); This code, DOES NOT work, i.e. does NOT do what we expect

[android-developers] BitmapShader undocument feature!

2008-04-12 Thread Rui Martins
When using BitmapShader, the results might be surprising, or look strange or just erroneous. This looks like a bug or problem, because the class/methods documentation is missing some important info. Nowhere in the documentation is stated that the bitmap will be pinned down to the screen absolut

[android-developers] Re: DrawRect can throw a NullPointerException

2008-04-12 Thread Rui Martins
matic, if they also present this bug ! On 12 abr, 16:01, Rui Martins <[EMAIL PROTECTED]> wrote: > Apparently, on M3, canvas.drawRect(...) will throw a > NullPointerException, when the rectangle is out of the screen, zero > area or something similar. Haven't tested on M5 either

[android-developers] DrawRect can throw a NullPointerException

2008-04-12 Thread Rui Martins
Apparently, on M3, canvas.drawRect(...) will throw a NullPointerException, when the rectangle is out of the screen, zero area or something similar. Haven't tested on M5 either. Haven't debugged it further, just asking, maybe someone already knows the answer. So I can't quite exactly pinpoint the

[android-developers] Re: Tiled Drawable

2008-04-12 Thread Rui Martins
ers inside class BitmapFactory ? If the Factory Pattern is being used, then shouldn't they all be in the same place !? This generates confusion, in my opinion. . On 12 abr, 15:09, Rui Martins <[EMAIL PROTECTED]> wrote: > Gee, found it, BitmapFactory. > > I think, I'm

[android-developers] Re: Tiled Drawable

2008-04-12 Thread Rui Martins
Gee, found it, BitmapFactory. I think, I'm starting to feel the stress of the approaching date ;P, and so much stuff still to do. On 12 abr, 09:30, Rui Martins <[EMAIL PROTECTED]> wrote: > Replying to myself :) > > I went digging in the documentation, and found

[android-developers] Re: Tiled Drawable

2008-04-12 Thread Rui Martins
poseShader ? Thanks On 12 abr, 09:30, Rui Martins <[EMAIL PROTECTED]> wrote: > Replying to myself :) > > I went digging in the documentation, and found > BitmapShaderhttp://code.google.com/android/reference/android/graphics/BitmapShade... > > Believe me that Shad

[android-developers] Re: Tiled Drawable

2008-04-12 Thread Rui Martins
r, 09:26, Rui Martins <[EMAIL PROTECTED]> wrote: > Is there any thing similar to a tiled drawable ? > i.e. can we set the bounds of a drawable larger than it's associated > bitmap, but somehow control the appearence, so that instead of a > resize, it just tiles the bitmap

[android-developers] Tiled Drawable

2008-04-12 Thread Rui Martins
Is there any thing similar to a tiled drawable ? i.e. can we set the bounds of a drawable larger than it's associated bitmap, but somehow control the appearence, so that instead of a resize, it just tiles the bitmap to fill the area defined by setBounds(...) ? Or is anything similar to this behav

[android-developers] Re: Sample.XML Layout examples equivalents of Style Constants

2008-04-12 Thread Rui Martins
base yours on, and just put the modified > values in your owntheme. > > There are a number of examples in ApiDemos: > > http://code.google.com/android/samples/ApiDemos/res/values/styles.html > > On Apr 10, 9:59 pm, Rui Martins <[EMAIL PROTECTED]> wrote: > > > *** BUMP

[android-developers] Re: Progress bar problem

2008-04-10 Thread Rui Martins
Do you really need to use that syncrhonized(lock) ? Doest it work fine without it ? If no one else is messing with the progressDialog, why would you need to lock it ? There shouldn't be any concurrency issues. On 10 abr, 22:59, AkaZn <[EMAIL PROTECTED]> wrote: > Hi > > I want to show a progress

[android-developers] Re: Sample.XML Layout examples equivalents of Style Constants

2008-04-10 Thread Rui Martins
*** BUMP *** Can anyone give some light on this subject ? Thanks On 10 abr, 17:48, Rui Martins <[EMAIL PROTECTED]> wrote: > Just an extra note: > > The Styles & Themes XMLlayoutfile format info, is not very useful, > since it does not look anywhere near > comple

[android-developers] Re: Sample.XML Layout examples equivalents of Style Constants

2008-04-10 Thread Rui Martins
Just an extra note: The Styles & Themes XML layout file format info, is not very useful, since it does not look anywhere near complete. http://code.google.com/android/reference/available-resources.html#stylesandthemes --~--~-~--~~~---~--~~ You received this messag

[android-developers] Sample.XML Layout examples equivalents of Style Constants

2008-04-10 Thread Rui Martins
If we need to define our own Theme for example, but would like to closelly follow an already existing theme, it would be very usefull, to be able to access example Layouts, with content equivalent to the current Style constant definitions, like defined in http://code.google.com/android/reference/a

[android-developers] Re: changing to the newest version of the sdk problems

2008-04-10 Thread Rui Martins
some of the first Sticky Threads, are named: - "New version of Android SDK released!" - "M3 to M5 Porting and Migration Tips " There you can find some more info, specially this link: http://code.google.com/android/intro/upgrading.html They are just there, hiding in plane sight ! :) On Apr 10

[android-developers] Re: Getting gray scale for color

2008-04-10 Thread Rui Martins
Chandan, that will not give you a gray color ! Just an intensity. Then you have to use that to generate a gray RGB. Besides, that the color components, should be weighted differently, due to different sensitivity of the eye color receptors for each color. There is a colorFilter for Gray scale

[android-developers] Re: View Activity Communicaton

2008-04-09 Thread Rui Martins
Once again thank you for the feedback. I would then suggest for someone to review the examples, since I'm 99% sure that I got the Application suggestion, from an Android Documentation example, I just can't pin point it right now. Currently, it's working a lot better and faster, by using activity

[android-developers] Re: View Activity Communicaton

2008-04-09 Thread Rui Martins
Once again thank you for the feedback. I would then suggest for someone to review the examples, since I'm 99% sure that I got the Application suggestion, from an Android Documentation example, I just can't pin point it right now. Currently, it's working a lot better and faster, by using activity

[android-developers] Re: View Activity Communicaton

2008-04-08 Thread Rui Martins
I checked my code, and I was giving the Application to the View Constructor, as the context, which I believe is correct, although we can also pass the activity (this) My code was: setContentView( new GameMenuView( getApplication() ) ); > Well, you have a range of choices: > > - U

[android-developers] Re: View Activity Communicaton

2008-04-08 Thread Rui Martins
Thanks a lot dor the input. >From all that was said, I believe that I may be feeding the View Constructor with something else than the activity, probably something like Application or similar, I know I copied one example from the SDK, if I'm not mistaken, I'll have to check when I get back home

[android-developers] Re: View Activity Communicaton

2008-04-07 Thread Rui Martins
w components through androidManifest.xml. I only declare my Activities there and that's it. On 8 abr, 06:54, Rui Martins <[EMAIL PROTECTED]> wrote: > Another Example: > How do we call our activity finish method, from our activity view > class ? > > Inside an Activity co

[android-developers] Re: View Activity Communicaton

2008-04-07 Thread Rui Martins
agree that probably should use messaging, since this helps to decouple the several application parts, but the current API, is not very helpful, in making the common message usage simple. Any help on this would be great too. Thanks On 8 abr, 06:22, Rui Martins <[EMAIL PROTECTED]> wrot

[android-developers] Re: bitmap image changed. but why?

2008-04-07 Thread Rui Martins
You are doing something really strange! First you setup a bitmao as your canvas bitmap = Bitmap.createBitmap(100, 100, true); Canvas canvas = new Canvas(bitmap); But later, you use your canvas ( which uses your bitmap as it's buffer) and you draw on it, using itse

[android-developers] View Activity Communicaton

2008-04-07 Thread Rui Martins
I have been programming for android since January, and I must say, that I still don't get how the communication between Views and Activities is accomplished successfully. The whole design on this communication is "fuzzy" at least for me. NOTE: using M3 currenlty. Examples: Activities can have

[android-developers] Re: Are you satisfied or disappointed with the level of support from Google, for Android?

2008-03-29 Thread Rui Martins
The biggest problem think is the lack of synchronization, between what is on the docs and what is on code. Which takes us to scavange the forums for extra info, that might have been "leaked", like "stuff X actually doesn't work as documented". And this steals a lot of development time. But this

[android-developers] Re: Graphics performance

2008-03-26 Thread Rui Martins
There is a Static Method (createBitmap(...)) that knows how to build a Bitmap from a int buffer (32bits per pixel, ARGB), check that out, maybe it's faster. Haven't check it out against setPixel. // for M3 Bitmap.createBitmap( colorBuf, w, h, false ); // for M5, you need to replace the false wit

[android-developers] Re: ImageView - Translate Pixels from View to Bitmap

2008-03-26 Thread Rui Martins
You probably have to find out the relative/absolute position of the view to it's parent(s). I I'm not mistaken there is a method that returns exactly that. Can't remember which, check the docs for "View". If you have applyed some sort of transformation (rotate, translate, etc...) you will need to

[android-developers] Re: How to post a new key event?

2008-03-26 Thread Rui Martins
Is your keyboard event handle, "onKeyDown(...) method, returning the correct values when they process a specific key ? Do you call the super.onKeyDown(...) and return it's result, when you don't process a key that you don't recognize ? Does commenting the onKeyDown(...) method make the EditText

[android-developers] Re: Coding conventions

2008-03-26 Thread Rui Martins
make obvious in some specific situation, that something is a member variable, I use: this.variableName But if this need arises often, there must be something wrong with the application class architecture, in my opinion. See ya Rui Martins --~--~-~--~~~---~--~--