[android-developers] Re: Filtering NFC intents, NDEF message external type

2011-10-19 Thread MrChaz
Yeah, this seems to have appeared somewhere post 2.3.3 On Oct 19, 8:50 am, Kamen Goranchev kamen.goranc...@gmail.com wrote: Hi, The solution to this problem is already available. In your case the intent filter should look like this:                 intent-filter                     action

[android-developers] Re: Writing to External Storage Help

2011-10-12 Thread MrChaz
phones like the galaxy s do a similar thing where /mnt/sdcard is the internal memory and /mnt/sdcard/external_sd/ is the actual SD personally I ended up kludging a solution where I query android.os.Build.MODEL and switch on it. I think it might be a legacy issue to do with having large amount of

[android-developers] Re: CAN WE RUN THE APPLICATION AFTER THE PHONE IS LOCKED AND CONTINUE THE APPLICATION AFTER IT IS UNLOCKED

2011-08-30 Thread MrChaz
LIVE WALLPAPERhttp://android-developers.blogspot.com/2010/02/live-wallpapers.html -- 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

[android-developers] Re: EGL/OpenGL ES Frame Rate Stuttering

2011-08-30 Thread MrChaz
My first guess would be garbage collection. You use TraceView to get a nice graphical output of what's going 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

[android-developers] Re: P2P on NFC ~ Reader/Transmitter

2011-08-30 Thread MrChaz
You might want to look at libNFC -- 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] 2.3.3 NFC Tag app breaks 2.3.2 NFC apps

2011-02-27 Thread MrChaz
The in built Tags app in 2.3.3 appears to use the TECH_DISCOVERED action which means that will obscure any 2.3.2 apps that use TAG_DISCOVERED... This is of course dependant on the TECHs that the Tags app is filtering - is there any public list of which ones? -- You received this message

[android-developers] Re: Atrix OpenGL issues

2011-02-24 Thread MrChaz
The Atrix is a tegra2 powered device so is really quite difference from the GPUs in the nexus and droid. -- 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

[android-developers] Re: openGLES different behavior on different devices

2011-01-20 Thread MrChaz
We're going to need to see the rendering code to be able to help. You can use the debugger to step through and find the line that is causing the problem -- 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] Re: Count of activities in App's stack

2011-01-18 Thread MrChaz
This might be a good place to look: http://developer.android.com/reference/android/app/ActivityManager.html -- 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

[android-developers] Re: Performance issue with mapview when using large number of items

2011-01-13 Thread MrChaz
You could try and merge over-lapping icons or detect when people are scrolling and add/remove icons appropriately. -- 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

[android-developers] Re: 3G data is paused when phone goes to idle/sleep

2011-01-07 Thread MrChaz
Using a WakeLock keeps the system awake and will keep a 3G data connection alive. -- 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

[android-developers] Re: Trying to get my head around multi screen densities.

2011-01-06 Thread MrChaz
afaik The system should scale the images for you. -- 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] Re: Can not decode high resolution picture

2011-01-05 Thread MrChaz
An image that large is likely too big to be loaded into memory. There's not much you can do about that other than making it smaller or breaking it into a number or smaller images. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Help me on AsyncTask

2011-01-04 Thread MrChaz
If it's crashing then take a look at the exception that's logged it'll give you a line number. -- 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

[android-developers] Re: Converting Touch Inputs to Vectors

2010-12-30 Thread MrChaz
You might want to look at the GestureDetector ( http://developer.android.com/reference/android/view/GestureDetector.html) as it's designed to do pretty much this exact task iirc. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Does Android's GPS location provider do a built-in optimization?

2010-12-30 Thread MrChaz
1) You're using the GPS and the CPU so it's going to drain the battery like any other task. The system deals with talking GPS etc all you're doing is registering a *listener *which receives the information when updates happen. -- You received this message because you are subscribed to the

[android-developers] Re: Change Texture

2010-12-30 Thread MrChaz
onDrawFrame() will be called repeatedly and in there should be a piece of code like glBindTexture(GL10.GL_TEXTURE_2D, textures_ids.get(0)); that's the bit that is selecting the texture to be drawn, all you'll need is an if statement or something to make it use the other one. -- You received

Re: [android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)

2010-12-20 Thread MrChaz
Aah, assumptions. Do you know if it'll be released as an ADP 4? -- 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] Re: Passing Arguments to service

2010-12-10 Thread MrChaz
Add it to the Intent that you're using to start the service. -- 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] Re: Adding buttons to a notification

2010-12-10 Thread MrChaz
From a poke around here: http://developer.android.com/guide/topics/ui/notifiers/notifications.html#CustomExpandedView it looks like you need to call setOnClickPendingIntent() on the RemoteViews passing the id of the button and a pending intent to handle the click. -- You received this message

[android-developers] Re: 512x512 high res icon required?

2010-11-18 Thread MrChaz
You forgot to mention the required 1024 'feature' image as well, whatever the hell that is! On Nov 17, 2:39 pm, ymst a...@gmail.com wrote: I've noticed that app's update/publish screen on Developer Console suddenly requires  High Resolution Application Icon which is 512x512 24bpp

[android-developers] Re: Developing games for Galaxy Tab

2010-11-02 Thread MrChaz
I think he's talking about textures looking bad scaled up, there's not a lot you can do about that other than use higher quality source material On Nov 2, 7:36 am, Mark Murphy mmur...@commonsware.com wrote: 2010/11/1 limtc thyech...@gmail.com: On 11月2日, 上午2时14分, Mark Murphy

[android-developers] Re: Weird problem with ListView

2010-09-29 Thread MrChaz
At a guess I'd say it's caused by the listview recycling views. There's a long talk here about ListView: http://code.google.com/events/io/2010/sessions/world-of-listview-android.html On Sep 29, 2:51 am, John Gaby jg...@gabysoft.com wrote: I have a ListView which presents a table of items.  The

[android-developers] Re: Payment on updates?

2010-09-29 Thread MrChaz
I have a feeling the download notification says 'authorizing' or some such when you download an update for a paid add. They may think they're being charged again. On Sep 29, 10:34 am, Pieter pie...@gamesquare.nl wrote: I received the following comment today: Great little appbut you have to

[android-developers] Re: Android Market Licensing: Now Available!

2010-07-28 Thread MrChaz
Great stuff, I'll certainly be implementing this as soon as I can. Thanks :) On Jul 27, 6:55 pm, Trevor Johns trevorjo...@google.com wrote: Android fans, For those of you who haven't already heard through our blog, we've just launched the Android Market licensing service:

[android-developers] Re: Market behaving strangely today

2010-06-01 Thread MrChaz
factory reset of my phone seems to have 'fixed' the issue. Not exactly ideal. On May 31, 8:32 pm, String sterling.ud...@googlemail.com wrote: On May 31, 1:12 pm, MrChaz mrchazmob...@gmail.com wrote: I'm having the same trouble, from a little searching it seems to be related to me choosing

[android-developers] Re: Market behaving strangely today

2010-05-31 Thread MrChaz
I'm having the same trouble, from a little searching it seems to be related to me choosing the update my mail address from googlemail.com to gmail.com Which is a massive pain. On May 31, 8:30 am, Neilz neilhorn...@gmail.com wrote: Firstly I'm not able to download anything from the markets... the

[android-developers] GestureOverlayView throwing exception when used with Linkify

2010-05-28 Thread MrChaz
Hi, Anyone else run into this and have a solution? Basically I have a GestureOverlayView over the top of a TextView. The TextView has Linkify.addLinks(tv, Linkify.ALL) called on it. If you click on an URL in the TextView the following exception is thrown Running 2.2 (apparently a pre-release

[android-developers] Re: GestureOverlayView throwing exception when used with Linkify

2010-05-28 Thread MrChaz
. Is this really what you want? The problem is not using a GestureOverlayView with a TextView, the problem comes from the Context you are using. On Fri, May 28, 2010 at 7:36 AM, MrChaz mrchazmob...@gmail.com wrote: Hi, Anyone else run into this and have a solution? Basically I have

[android-developers] Re: GestureOverlayView throwing exception when used with Linkify

2010-05-28 Thread MrChaz
the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? The problem is not using a GestureOverlayView with a TextView, the problem comes from the Context you are using. On Fri, May 28, 2010 at 7:36 AM, MrChaz mrchazmob...@gmail.com wrote: Hi, Anyone else run into this and have a solution

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-30 Thread MrChaz
You just need a 2pin to 3pin converter and the charger will work just fine in the UK :D On Apr 30, 4:15 pm, feilfly feil...@gmail.com wrote: finally, I received it. But the charger is EU standard not UK standard :-( On Apr 30, 3:09 pm, Ottavio Vanini ottavio.van...@gmail.com wrote: Hi all,

[android-developers] Re: can i run .exe in android and what is opengl o/p format?

2010-04-20 Thread MrChaz
No, you'll need an .apk file which is the installer for android applications. Nearly all phones support openGL ES1 The newer ones (N1, Droid etc) support openGL ES2 via the ndk On Apr 20, 10:25 am, mmkr manutd...@gmail.com wrote: Hi all,       I'm new to opengl. Is it possible to run the

[android-developers] Re: Rendering scaled bitmap with high fps

2010-04-17 Thread MrChaz
That's an awfully large texture. Seeing as loading the texture is a one time penalty then openGL really ought to be faster in the long run On Apr 16, 2:42 am, Frederic frede...@mayot.net wrote: I'm in the following situation: I have a large bitmap (~1280x1024) that I'd like to display on

[android-developers] Re: Not using a WakeLock so why does the device stay awake?

2010-04-13 Thread MrChaz
iirc, that flag means the system gets a wake lock for the life of the activity for you. On Apr 13, 9:52 am, westmeadboy westmead...@yahoo.co.uk wrote: I have a service which, when started, does some stuff (like downloading files) typically taking about 2-3 minutes. If I start this service and

[android-developers] Re: Performance comparison NDK vs SDK

2010-04-07 Thread MrChaz
tips for performance improvements. Anyway, 100 Sprites is not very much if you are already using OpenGL... So may be you are right and the only solution is to target high end devices for your next project. 2010/4/6 MrChaz mrchazmob...@googlemail.com I was hoping that someone had tried

[android-developers] Performance comparison NDK vs SDK

2010-04-06 Thread MrChaz
Does anyone have any numbers showing the difference in performance between the NDK and SDK? I'm curious how much difference it makes in terms of fps / number or polys on the screen that kind of thing -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Performance comparison NDK vs SDK

2010-04-06 Thread MrChaz
, Don't use function calls. Avoid any Abstraction, etc. SERIOUSLY? But back to your question: The performance advantage of NDK vs SDK can be anything from 0-1%. It all depends. 2010/4/6 MrChaz mrchazmob...@googlemail.com Does anyone have any numbers showing the difference

[android-developers] Re: 2-D Graphics Performance after Motorola Droid 2.1 Update

2010-04-02 Thread MrChaz
Wow that is a big difference in performance! On Apr 2, 6:29 pm, Phil tesujiga...@gmail.com wrote: I have observed a marked difference in frame rate of 2-D (Canvas) graphics following a 2.1 update on the Motorola Droid. Details are here:

[android-developers] Re: How good is the Android Dev Phone 2?

2010-03-29 Thread MrChaz
It's basically the HTC Magic iirc so the same as the G1 but without the keyboard. On Mar 29, 2:07 pm, Simone simone.russ...@gmail.com wrote: I was considering buying it, is it as good as the Nexus One? Wich features does it lack? Thanks Simone -- You received this message because you are

[android-developers] Re: Being legally harassed, by a large iPhone developer

2010-03-22 Thread MrChaz
I guess it depends on just how similar the layout of the levels are, they might have a case for IP infringement. I don't think they can have any claim over the gameplay etc but if the art style and layout is a clone they I dunno IP law seems really complicated :( I would seriously contact a

[android-developers] Re: how to get the total size of sdcard?

2010-03-19 Thread MrChaz
Something like this should work: StatFs stat = new StatFs(Environment.getExternalStorageDirectory().getPath()); long bytesAvailable = (long)stat.getBlockSize() * (long)stat.getBlockCount(); long megAvailable = bytesAvailable / 1048576; the cast to

[android-developers] Re: Can i use real number? for example 0.5

2010-02-10 Thread MrChaz
dp is a way of keeping things consistent over varying screen densities. If you don't want to do that you could specify one of these: px Pixels - corresponds to actual pixels on the screen. in Inches - based on the physical size of the screen. mm Millimeters - based on the physical size of the

[android-developers] Re: Android: Draw a scalable Rectangle

2010-02-09 Thread MrChaz
That should be easily doable with a Surface, Canvas and a Paint object. Draw the bitmap onto the canvas, then draw the rectangle around it and display it on the surface. On Feb 9, 6:43 am, warrior chandu.ku...@gmail.com wrote: Hi All,     Can anybody help me to draw a scalable rectangle around

[android-developers] Re: how to load XML files dynamically

2010-02-04 Thread MrChaz
The LayoutInflater has an inflate() method which lets you do this: http://developer.android.com/reference/android/view/LayoutInflater.html On Feb 4, 12:00 pm, Shekhar shekhar...@gmail.com wrote: Hi Folks, I need help on how to load XML  file dynamically in the code.I have an activity and for

[android-developers] Re: Using bitmap data to copy pixels to a new bitmap

2010-02-01 Thread MrChaz
The getResources() method is defined in the Context class so you'll need access to a context or be calling it from within a child class like an Activity. On Jan 30, 2:26 am, lyon lyonbeck...@gmail.com wrote: In ActionScript development, there are two classes, Bitmap, and BitmapData. Bitmap uses

[android-developers] Re: How to achieve ultra smooth OpenGL/ES animation

2010-02-01 Thread MrChaz
The easiest way to achieve a smooth rotation is to multiply the rotation amount by the time difference between the current frame and the last frame - that way the amount moved is constant over time. On Feb 1, 5:18 pm, tomei.ninge...@gmail.com tomei.ninge...@gmail.com wrote: Hello Android

[android-developers] Re: OpenGL Fillrate Issues

2010-01-28 Thread MrChaz
like toon warz. I'll check out light racer 2d. Expect an email soon :) @mrchaz you can detect on which device you are running by checking via the android.os.build.Build.Model String (writing this from the top of my head, just google for android build). I use the SimpleEglConfigChoser and don't

[android-developers] Re: OpenGL Fillrate Issues

2010-01-27 Thread MrChaz
@Kevin You might want to look at the rokon engine a good basis for doing a 2D game as it takes care of pretty much all the rendering work. @Mario I was hoping to avoid using the build number as that is a temporary fix only. @Ralf The accepted work around for the touch slow down issue is to put a

[android-developers] Re: OpenGL Fillrate Issues

2010-01-26 Thread MrChaz
Am I right in thinking that the Galaxy likes a depth of 16? I guess this might also be a good to place to ask how I'd find out the type of phone the game or whatever is running on so that I can start accounting for this stuff? On Jan 26, 1:00 am, Ralf Schneider li...@gestaltgeber.com wrote: I

[android-developers] Re: ATTENTION ANDROID TEAM: Take back control of Android.

2010-01-17 Thread MrChaz
Marks right, generally things work well. Although there do appear to be some differences between handsets in terms of their openGL support - seems like droid has some issues with png formats (at least from what I've seen on message boards) On Jan 17, 2:35 pm, Mark Murphy mmur...@commonsware.com

[android-developers] Re: subclasses vs constructors

2010-01-15 Thread MrChaz
A constructor is what is called when you create a new instance of a class i.e. new Integer() calls the constructor of the Integer class. A subclass is a class which extends another class. You do this so that you can share functionality without duplicating code On Jan 15, 7:40 am, Duey Oxburger

[android-developers] Re: Sprites VS 3D ?

2010-01-15 Thread MrChaz
2D is certainly easier because you're leaving out a whole dimension when working with movement, camera and collision. I should think it's probably less expensive in terms of memory too because you won't have as complex i.e. large vertex array - although I'm guessing a bit. On Jan 15, 9:36 pm,

[android-developers] Re: HTC Hero (and others) and 100% Awake Time

2010-01-09 Thread MrChaz
Maybe your app running it coincidently causing a problem with something in the SenseUI widgets - they do fancy stuff with messages etc don't they? On Jan 9, 3:32 am, Doug dougforp...@gmail.com wrote: Hello, I have an app that works on any version of Android from 1.5 up - this makes it

[android-developers] Re: How do I get full-sized image back from Camera using MediaStore.IMAGE_CAPTURE ?

2010-01-08 Thread MrChaz
As far as I know it's bugged and you can't get full resolution images via the intent. I ended up just creating my own camera activity. On Jan 8, 5:26 pm, Ray Benjamin ray.benja...@gmail.com wrote: Hi, I managed to figure out how to get the camara application to give me an image, but it is

[android-developers] Re: I want to make a Toast to prompt again and again on screen after every 5minutes.

2010-01-07 Thread MrChaz
If you want to notify the user of something from the service you'll want to use the NotificationManger to create and show a Notification On Jan 7, 6:28 am, Manoj linkex.ma...@gmail.com wrote: Hi, Please help me out on the issue as I want to make a Toast to promt again and again on screen by a

[android-developers] Re: Nexus 2.1 one sale, WHERE is the SDK!

2010-01-05 Thread MrChaz
From the QA Jason Chen: Q: Why was it necessary for Google to design the phone? Why couldn’t it just be an HTC phone running the new flavor of Android? And will these new features becoming to Droid? A: It’s inaccurate to say Google designed the phone (points to HTC CEO). [Google] is just

[android-developers] Re: Nexus 2.1 one sale, WHERE is the SDK!

2010-01-05 Thread MrChaz
Thanks for replying Dianne, it's nice to see an official face in one of these threads. I have to say though that with the best will in the world chances are things are still going to break somewhere, although admittedly minor ones. The other thing, which is more important imo, is engaging with the

[android-developers] Re: When call mWifiManager.isWifiEnabled , it crash. thanks in advance.

2009-12-17 Thread MrChaz
Have you added the permission to read the wifi state? Can you post the exception that is thrown? On Dec 17, 7:13 am, zz zt1082 zt1...@gmail.com wrote: When I call mWifiManager.isWifiEnabled() , program is crash. my Code is: - import

[android-developers] Re: Forward search queries to one single activity that handles search

2009-12-15 Thread MrChaz
As I understand it you only want the intent-filter in the activity that does the searching. The intent filter says the to platform hey I can do this Then in the activities you want to use the search you can startActivityForResult() On Dec 15, 12:11 pm, Stefan Klumpp stefan.klu...@gmail.com

[android-developers] Re: Forward search queries to one single activity that handles search

2009-12-15 Thread MrChaz
activities accept search input (meaning pressing the search button opens up the search box), but then as soon as the search gets started it should be handled by the one single search activity. I hope that helps to better understand my problem. On Dec 15, 1:50 pm, MrChaz mrchazmob

[android-developers] Re: Alarms, Receivers and Wakelocks...oh my!

2009-12-11 Thread MrChaz
The code I'm using has a static method in the service I'm about to start that creates a wake lock that I then reference from within the started service. I took it from a discussion about WakeLocks in here and it seems to work. private static PowerManager.WakeLock _wakeLock = null;

[android-developers] Re: How to keep mobile network alive even if screen is off

2009-12-10 Thread MrChaz
Take a look at the PowerManager and the WakeLock Be careful with them though because keeping the cpu awake will drastically reduce battery life. On Dec 10, 11:30 am, Alex Tang tangli1987...@gmail.com wrote: Dear everyone,      I want my service keeps network connection alive even if user

[android-developers] Re: T-Mobile Carrier Billing

2009-12-10 Thread MrChaz
That's probably the best thing to happen to the market, I wonder why they're being quiet about it. I also wish it worked for foreign currencies but progress is progress so I mustn't grumble On Dec 10, 8:00 pm, polyclefsoftware dja...@gmail.com wrote: Apparently they've started rolling it out:

[android-developers] Re: fwd: get the file path from a URI instance

2009-11-17 Thread MrChaz
If I remember rightly, the gallery returns you a content uri so you'll want to do something like: getContentResolver ().openInputStream(uri) On Nov 17, 5:53 am, Abhi abhishek.r.sha...@gmail.com wrote: Hi Dianne, I am trying to do the following. I have an Image viewer where in the user picks

[android-developers] Re: Displaying Text such as score in an OpenGL game

2009-11-17 Thread MrChaz
It's not that bad, you can just copy the LabelMaker and NumericSprite classes and then call them in the same way that example does in the render. At least that's all I'm doing for my little 2D effort. On Nov 17, 2:10 am, Kevin S. dada...@gmail.com wrote:    I have a the beginnings of an Open GL

[android-developers] Re: Is there a list of standard Intent specifications?

2009-11-15 Thread MrChaz
/ category /intent-filter On Nov 14, 9:30 pm, Mark Murphy mmur...@commonsware.com wrote: MrChaz wrote: I'm looking into getting my application to show up when the user tries to 'share' a picture via the Gallery application I can't, however, find any information about how exactly to go about

[android-developers] Re: Is there a list of standard Intent specifications?

2009-11-15 Thread MrChaz
Thanks mark, I really didn't want to have to crawl around code to find how it's sending the picture i.e. as a content uri and how it's storing it (EXTRA_STREAM) still, it works now. Thanks again. On Nov 15, 12:42 pm, Mark Murphy mmur...@commonsware.com wrote: MrChaz wrote: That's the one I'm

[android-developers] Is there a list of standard Intent specifications?

2009-11-14 Thread MrChaz
I'm looking into getting my application to show up when the user tries to 'share' a picture via the Gallery application I can't, however, find any information about how exactly to go about this. I get that I need to declare an intent filter for the SHARE action, what I can't seem to find is how

[android-developers] Re: Screen Sizes with 1.5, 1.6 and 2.0

2009-11-13 Thread MrChaz
It seems like the links in the reference are broken 1.6 lets you specify which screen sizes you support and what to do in each case, so you'll be ok compiling against that. I'd still download the 2.0 and create an emulator image running that at the droid screen- resolution. By default android

[android-developers] Re: 3D Developers - Motorola Droid OpenGL ES Specs are in

2009-10-29 Thread MrChaz
Thanks for that, Assuming Anandtech is right about the 3gs that chip is actually better. I'm guessing they'll open 2.0 later - they did hint at another sdk by years end. On Oct 29, 3:35 am, Robert Green rbgrn@gmail.com wrote: I just got my hands on this phone.  Here's my summary: 1)  

[android-developers] Re: how to be paid by the market?

2009-10-29 Thread MrChaz
The money is sent straight to my bank account so I guess that's a wire transfer. On Oct 28, 10:02 pm, shadow_of__soul shadow.of.sou...@gmail.com wrote: Hi, i'm interested to develop games for the android platform, but i have a question that i haven't been able to answer. i'm from

[android-developers] Re: Android 2.0

2009-10-28 Thread MrChaz
For what it's worth, I believe the biggest causes of apps breaking on the newer devices are them having trouble with the new screen densities / sizes, and them using private APIs.  We got the screen support out earlier in 1.6 and have been trying to beat that drum to get people to start to

[android-developers] Re: OpenGL ES 2.0?

2009-10-28 Thread MrChaz
There's been no word on any hardware that supports 2.0 yet On Oct 28, 6:47 pm, gigadude e.a.hutch...@gmail.com wrote: Is there a timeline for GLES 2.0 support (hopefully in the NDK as well)? Thanks for any info! --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Google: please change your release process

2009-10-27 Thread MrChaz
That's a slippy slope to start on JP, not long until we're building for vendor specific custom OS's and then versions of those OS's. Say what you will about Apple but having a super tight target platform makes everyones life so much easier. Heck, just look at the dominance of consoles. roll on

[android-developers] Re: Android 2.0

2009-10-27 Thread MrChaz
Yeah it would but given it's their job to support the community and the community is demanding more maybe they should start to look at their practices. On Oct 26, 11:41 pm, Marco Nelissen marc...@android.com wrote: On Mon, Oct 26, 2009 at 4:29 PM, Frank arro...@gmail.com wrote: Why is the

[android-developers] Re: Multitouch support in Android 2.0

2009-10-27 Thread MrChaz
Thanks for the info, Wouldn't this Finger 1 up: MotionEvent ACTION_POINTER_1_UP with one pointer, whose ID is 1. need to be ID of 0? Or am I mis-understanding the purpose of the UP action? On Oct 27, 4:45 pm, Dianne Hackborn hack...@android.com wrote: It's basically just some new APIs on

[android-developers] Re: Google: please change your release process

2009-10-27 Thread MrChaz
Sorry if I confused Mark, I was speculating on a gloomy possible future not suggesting something that we needed to do. Just riffing on the idea of having to create vendor builds if they end up running exclusive new (or keep old) versions of Android On Oct 27, 2:12 pm, Mark Murphy

[android-developers] Re: Google: please change your release process

2009-10-26 Thread MrChaz
That's almost worse than being apparently incompetent. Assuming the rumours around Droid are right it's going to be packing openGL ES 2 which is not 100% compatible with 1.0 and who knows what other changes there will be with the different graphics chip in there. Personally I feel like there are

[android-developers] Re: paid apps

2009-10-16 Thread MrChaz
It seems that a lot of US cards don't allow foreign currency purchases so if you application isn't in dollars they can't buy it. On Oct 16, 1:08 am, Andrei gml...@gmail.com wrote: For paid apps on average there is like 15 - 20% declined credit card rate, why is it so high? The message is: The

[android-developers] Splintering of the Market

2009-10-11 Thread MrChaz
Having just received an e-mail from the Google about up-coming changes to the market I was wondering what other people thought of it. The bit that I don't like the sound of is: First, we have added the ability to target applications by carrier in all countries. For example, if you are showing

[android-developers] Re: Android Game Framework ?

2009-10-06 Thread MrChaz
Rokon looks pretty good and sounds pretty much like what you're looking for. You'll never be able to avoid writing the game loop but at least Rokon removes a whole bunch of the engine code. On Oct 5, 10:57 pm, vetch oldpete...@gmail.com wrote: I do not know if Rokon is good or great. I looked

[android-developers] Re: Is it possible to upgrade HTC Magic G2 from 1.5-Cupcake to 1.6-Donut ?

2009-09-29 Thread MrChaz
At some point, when 1.6 is finished, the update will be pushed to your phone and it will ask you if you want to update. Otherwise I think you can either flash your phone or apply the update manually. On Sep 29, 1:09 pm, Kasmoori Bindu bindukasmo...@gmail.com wrote: Hi, I am currently using

[android-developers] Re: MyLocationOverlay causing crash in 1.6 (Donut)

2009-09-26 Thread MrChaz
Well if they will install a non-released version of the OS then that's to be expected. On Sep 25, 10:04 pm, CaptainSpam captains...@gmail.com wrote: Recently, two independent users with 1.6 (Donut) on their phones have informed me that my app crashes after it enters a MapView, just as soon as

[android-developers] Re: OpenGL 2D Game Framework

2009-09-20 Thread MrChaz
Wow, thanks. I look forward to checking this out. On Sep 18, 2:08 pm, rich...@stickycoding.com rich...@stickycoding.com wrote: I've been working on a game framework for a little while, and while its far from perfect, I've put the current version online. To be honest, I haven't used much

[android-developers] Re: How To Programmatically Turn On/Off WIFI?

2009-09-16 Thread MrChaz
Add uses-permission android:name=android.permission.CHANGE_WIFI_STATE/ uses-permission uses-permission android:name=android.permission.ACCESS_WIFI_STATE/ uses-permission to the manifest file On Sep 16, 4:36 am, !oEL runzhou...@gmail.com wrote: Hi, Second question of the day, how do I

[android-developers] Quick Text to Speech example

2009-09-16 Thread MrChaz
Saw a couple of posts from people looking for info on the new text to speech library so I had a whirl at getting it running. Seems to work without any kind of permissions or anything - took about 5 minutes, I must say I'm really impressed! I'm sure this probably isn't best practice but it works

[android-developers] Re: WHY?!Touch the screen opengl change to slow,please help me!

2009-08-01 Thread MrChaz
This is a know problem - caused by the system spamming touch events (I think) The work around is to put a Sleep() call into the event handler On Aug 1, 10:54 am, wanzi ! wanzihe...@gmail.com wrote: I run the 1.5API DEMO :SpriteTexture (openggl demo),   everything is ok,but when I touch the

[android-developers] Re: TextView changing from other thread

2009-08-01 Thread MrChaz
You can't update a UI component from a thread that isn't the main (UI ) thread. You ought to be able to post() back to the main thread. On Aug 1, 10:02 pm, Illidane illid...@gmail.com wrote: Hi! I'm writing some game using OpenGL and have two views : SurfaceView for OGL and TextView for my

[android-developers] Re: everyone likes compliments :*)

2009-07-31 Thread MrChaz
A man walking in a bar On Jul 31, 7:32 pm, greg sep...@eduneer.com wrote: Step 7 of exercise 3 in the Notepad Tutorial at    http://developer.android.com/guide/tutorials/notepad/notepad-ex3.html mentions that onPause() and onResume() are also complimentary methods.  Sadly, when they ran, I

[android-developers] Re: Texture appears white in the real device but not in the emulator

2009-07-24 Thread MrChaz
/8342dab8331955dd?q=#8342dab8331955dd On Jul 24, 3:03 am, Thiago Assis thiagoassis@terra.com.br wrote: Mr. MrChaz,     As I have already mentioned I'm using texture with sizes power of 2. (I still have the problem.)     Thanks for your contribution.     Regards, Assis On Jul 23, 1:52 pm

[android-developers] Re: Texture appears white in the real device but not in the emulator

2009-07-23 Thread MrChaz
The device requires the textures to be sizes in the power of 2. e.g. 64x64, 128x128, 256x256 etc you can have 64x128 etc too On Jul 23, 6:24 am, Thiago Assis thiagoassis@terra.com.br wrote: Texture appears white in the real device but not in the emulator Hello fellows,   I’ve already

[android-developers] Re: SurfaceView speed optimization suggestions (or just kick it up to openGL)?

2009-07-23 Thread MrChaz
Are your hiccups being caused by the GC firing? A quick look at Logcat should tell you if it is. On Jul 23, 2:16 pm, Jason Van Anden jason.van.an...@gmail.com wrote: I am trying to optimize my graphics app.  I have read the best practices and have employed these and they have helped but, I am

[android-developers] Re: Any way to enable gps programmatically??

2009-07-22 Thread MrChaz
AFAIK No, you used to be able to but it was removed in 1.5 due to security concerns. On Jul 22, 10:31 am, Georgios Galyfos yorg...@gmail.com wrote: Hi, I was wondering if there is a way of enabling the GPS programmatically through an application without going to the menu Settings Security

[android-developers] Re: Android Game

2009-07-22 Thread MrChaz
Activities are analogous to pages. Assuming you mean that your game had those 3 panels all visible at once they would be a View in an Activity On Jul 22, 8:28 am, Cold coldda...@gmail.com wrote: I finished 50 percent of my game in J2SE only to clear out my concepts to the game,,, but now i m

[android-developers] Re: SurfaceView to slow for games? OpenGL necessary to do games?

2009-07-22 Thread MrChaz
The SurfaceView is fine for games, at least simple ones. Have a look at the LunarLander sample. http://developer.android.com/guide/samples/LunarLander/index.html On Jul 21, 9:33 pm, klirr haskell...@gmail.com wrote: I use SurfaceView for my game, tried normal View first but that was to slow.

[android-developers] Re: Is there a way to determine if a user has purchased a specific application in the market?

2009-07-22 Thread MrChaz
Assuming they still had it installed it you could just query the PackageManager for it. Otherwise I dunno, maybe it's possible to write stuff into the SharedPreferences somehow On Jul 21, 11:34 pm, Mike michaeldouglaskra...@gmail.com wrote: Use case goes like this: 1) Dev puts game for sale

[android-developers] Re: Some Basic Questions

2009-07-22 Thread MrChaz
I'd start by reading through this: http://developer.android.com/reference/android/app/Activity.html On Jul 21, 7:31 pm, Evan Ruff evan.r...@gmail.com wrote: Hey guys, I'm just starting to refine my first Android application and I was wondering if you could help me with a couple of general

[android-developers] Re: App doesn't run after update

2009-07-20 Thread MrChaz
From the 1.5 r3 release notes: When an application requests access to device camera (through android.hardware.camera), the CAMERA permission check is now properly enforced. On Jul 20, 7:31 am, doubleslash doublesl...@gmail.com wrote: I've been developing an app which uses the camera. It worked

[android-developers] Re: SDK 1.5_r3 is available

2009-07-17 Thread MrChaz
fyi, this just got pushed to my phone On Jul 17, 6:35 pm, Dan Morrill morri...@google.com wrote: Hi, all! I wanted to let you know that a new SDK has been released:  1.5_r3 is now available.  This is a minor release, and includes a Japanese IME and fixes for a few bugs, including a

[android-developers] Re: OpenGL leaking garbage

2009-07-16 Thread MrChaz
I had a similar problem which appeared to be related to my use of texturing with glTexturePointer() but maybe it's something to do with using GL_FLOAT. It's entirely speculation on my part though... On Jul 16, 3:33 pm, PaulT dr.paul.thomas.android.st...@googlemail.com wrote: Hello everybody,

  1   2   >