[android-developers] Re: Android shared preferences assignments not persisting between emulator sessions

2011-04-23 Thread Zsolt Vasvari
No idea about the MODE_PRIVATE stuff, but I use PreferenceManager.getDefaultSharedPreferences() and it works fiine. Why do you need to control the file name? On Apr 23, 12:15 pm, roschler robert.osch...@gmail.com wrote: I am using the following code to save data to my Android application's

[android-developers] Re: Heap size - why so small?

2011-04-23 Thread Zsolt Vasvari
You know what they say -- it's not the heap size, but how you use it. On Apr 23, 4:30 am, Fabio Yasusi Yamamoto fabi...@gmail.com wrote: Hi I'm trying to understand why the heap size of a single application is so small. I mean, there are phones with limited RAM, and the heap size is about

Re: [android-developers] Re: Android shared preferences assignments not persisting between emulator sessions

2011-04-23 Thread Kostya Vasilyev
Robert, Do you start the emulator with Wipe data option, by any chance? If you are, that explains it, as wiping the data means well, wiping the data. The preferences are stored in the file system of the emulated Android device, just like on a real phone, not directly within the host

[android-developers] Fwd: Handle Multi Screen

2011-04-23 Thread Me
-- Forwarded message -- From: Me tonasirin...@gmail.com Date: Wed, Apr 20, 2011 at 6:11 PM Subject: Handle Multi Screen To: android-developers@googlegroups.com Hi Community I am using smack for a chatting module in my application … Now there is need to handle the multi chat

Re: [android-developers] Re: java

2011-04-23 Thread Marcin Orlowski
On 23 April 2011 07:24, hoss7 hoss...@gmail.com wrote: php and c++ and c# Learning java would possibly make your development easier though. Regards, Marcin Orlowski *Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy... *Date In Tray* http://bit.ly/dateintraypro - current

[android-developers] Re: Heap size - why so small?

2011-04-23 Thread Ali Chousein
48MB is (or better should be) good enough memory for any app. What do you want to keep in memory? The world map with a rich set of POIs? On Apr 22, 10:30 pm, Fabio Yasusi Yamamoto fabi...@gmail.com wrote: Hi I'm trying to understand why the heap size of a single application is so small. I

Re: [android-developers] Re: java

2011-04-23 Thread luiX_
Well, I think C# and Java are quite similar, maybe I would start by doing some examples in pure Java (J2SE) just to feel comfortable with the syntax and then try following some Android examples. You could also tru monodroid if you want to develop just one particular app :) Good luck! El

Re: [android-developers] Re: Heap size - why so small?

2011-04-23 Thread luiX_
I think (as in I'm not sure at all xD) it's for saving memory, I mean: 48Mb sounds enough for almost everything and if it used more, will be draining battery I need to make it to the end of the day :P El 23/04/2011 12:13, Ali Chousein ali.chous...@gmail.com escribió: 48MB is (or better should be)

[android-developers] ListActivity Memory leak with onConfigurationChanged

2011-04-23 Thread Taf
Hi, I'm using a ListActivity, with onConfigurationChanged. I'm doing this because I don't want onCreate to be called so i don't have to reload data in the list view every time I change orientation. I've found that when I call setListAdapter in the onCreate method of my ListActivity , after a

Re: [android-developers] apps-for-android.googlecode.com/svn

2011-04-23 Thread Mark Murphy
Run: android update project -p . from the directory containing AndroidManifest.xml -- this will generate default.properties for you. Most likely, it'll complain about not having a target, which means you'll need to also add the -t switch with an appropriate build target API level. On Fri, Apr

[android-developers] Re: TabActivity not the main activity

2011-04-23 Thread Axel B
Thank you! Actually, my tabActivity was not complete, my mistake. Problem solved. On 23 avr, 00:35, Mark Murphy mmur...@commonsware.com wrote: Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine LogCat and look at the stack trace associated with your error. On Fri, Apr

Re: [android-developers] ListActivity Memory leak with onConfigurationChanged

2011-04-23 Thread Mark Murphy
On Sat, Apr 23, 2011 at 6:55 AM, Taf neild...@gmail.com wrote: I'm using a ListActivity, with onConfigurationChanged. I'm doing this because I don't want onCreate to be called so i don't have to reload data in the list view every time I change orientation. That is a poor rationale. Use

Re: [android-developers] Re: Is there a min SDK level for android.hardware.telephony feature?

2011-04-23 Thread Mark Murphy
On Fri, Apr 22, 2011 at 11:46 PM, Zsolt Vasvari zvasv...@gmail.com wrote: However, I notice this does not work (returns false) for some devices that definitely do have telephony (e.g. HTC Legend and Motorola Milestone). In both cases, they are running SDK 7, so I wonder whether this particular

[android-developers] How to point a marker on google map according to our choice.

2011-04-23 Thread lbendlin
Your question is ambiguous. Please state the problem you have and what you have tried to solve 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

[android-developers] Re: java

2011-04-23 Thread DanH
I'd suggest you get a decent book on Java and play around with it a bit before tackling Android. Shouldn't take a lot with your background, but a few days doing that would be time well spent. (Trying to think of an application to implement, but nothing coming to mind at present. Maybe someone

[android-developers] Re: ListActivity Memory leak with onConfigurationChanged

2011-04-23 Thread Taf
Hi Mark, Yes, I think I'll have to look at using the the way you've suggested. It was just that onConfigurationChanged seemed like a really nice and simple way of achieving what I wanted. Though it does say somewhere in the docs that it should be used as a last resort. Not sure why? I guess it

[android-developers] Re: replace transparent color bitmap with alpha

2011-04-23 Thread Bob Kerns
OK, color me confused. Why are you expecting to do this with PorterDuff? PorterDuff works on images (or colors) with alpha to combine them. The alpha controls how they combine. I don't see any way to get information from the color channels to the alpha channel via PorterDuff. The output alpha

Re: [android-developers] Re: ListActivity Memory leak with onConfigurationChanged

2011-04-23 Thread Mark Murphy
On Sat, Apr 23, 2011 at 7:19 AM, Taf neild...@gmail.com wrote: Hi Mark, Yes, I think I'll have to look at using the the way you've suggested. It was just that onConfigurationChanged seemed like a really nice and simple way of achieving what I wanted. Though it does say somewhere in the docs

Re: [android-developers] Re: Is there a min SDK level for android.hardware.telephony feature?

2011-04-23 Thread Mark Carter
I've experienced this with the following devices: Motorola Milestone (7), Spice Mi-310 (8), HTC Desire (7), Samsung Galaxy Apollo (7), T-Mobile myTouch 3G Slide (7), ZTE Racer (7), Nokia N90 (10), Taiwan Mobile T2 (7), Samsung Galaxy 5 (7), HTC Legend (7) I expect some more devices will pop up

[android-developers] Re: java

2011-04-23 Thread Robert
WIth those 3 languages you should be good. I had trouble wrapping my head around the Android Activity Lifecycle. Suggest you read the following and reference often: http://developer.android.com/guide/topics/fundamentals.html http://developer.android.com/guide/topics/fundamentals/activities.html

[android-developers] Re: Display list of saved tables to be opened

2011-04-23 Thread Robert
Well I would put the names into a table that you can read (and maybe some descriptive info too) but you didn't look far to find your answer. A quick google for sqlite select tables found: http://www.sqlite.org/sqlite.htmlin there is a section Querying the database schema go read that and

Re: [android-developers] Re: java

2011-04-23 Thread Filip Havlicek
What we do with students is implementing a common command-line database (of employees, cars etc) or a sudoku solver/generator. Practices most of the basic Java stuff, not bad for a beginner. And I'm pretty sure there are a lot of other options (possibly more interesting), although these are easy

[android-developers] Ignoring magnetic field sensor, calibrating the accelerometer

2011-04-23 Thread Socrates
I'm trying to use the accelerometer sensor for a game. 1) I am currently ignoring the magnetometer and using a static value for the magnetic field vector. My reasoning is that the magnetometer is subject to interference and will likely give more varied values than the accelerometer, so I'd like

[android-developers] Re: peculiar or undocumented behavior of ExifInterface?

2011-04-23 Thread mukgup
Looks like the know issue in android. http://code.google.com/p/android/issues/detail?id=14772q=exifcolspec=ID%20Type%20Status%20Owner%20Summary%20Stars -- 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 to disable key press events!!

2011-04-23 Thread Pratik Prajapati
Hi Marcin, For the In-flight entertainment kind of device. When ever there is any accoutrement to be made, the android based unit must get muted and all key ( mounted on the device + external key pad ) must get disabled for that much time. Any effective solution? Regards, Pratik Prajapati On

[android-developers] Where can I find the new widget template PSDs for Android 2.X?

2011-04-23 Thread Eric Li
Hi, The widget frame PSDs found in Widget Design Guidelines are outdated as the style has been changed since Android 2.X. Where can I obtain those Android 2.X style PSDs like the one below? Thanks. Regards, Eric

Re: [android-developers] How to disable key press events!!

2011-04-23 Thread Mark Murphy
On Sat, Apr 23, 2011 at 9:51 AM, Pratik Prajapati pratik.prajap...@gmail.com wrote: For the In-flight entertainment kind of device. When ever there is any accoutrement to be made, the android based unit must get muted and all key ( mounted on the device + external key pad ) must get disabled

Re: [android-developers] Re: how to access desktop files from android app remotely?

2011-04-23 Thread Nikolay Elenkov
On Thu, Apr 21, 2011 at 3:50 PM, Peter Webb r.peter.w...@gmail.com wrote: You can't plug your droid into your home Windows network and use Windows networking to access file systems (as far as I know); presumably because it is either very difficult or impossible. Sure you can. Most file

[android-developers] Re: Ignoring magnetic field sensor, calibrating the accelerometer

2011-04-23 Thread Igor Prilepov
1. Yes, there are a lot of issues related to the magnetic sensor but people still use it for thousands years so the real question is do you need it or not. 2. I don't know what does it mean baseline values. Accelerometer always returns noise values (as well as any other sensor) - this is a

[android-developers] Re: Timezone Question

2011-04-23 Thread String
No offense, Bob (and I do mean that, I value your posts on this forum), but I think we can safely assume that the OP knows how to calculate times of sunrise and sunset. He's already showing that in his app, from the sound of things, and is probably doing OK with that aspect. The issue at hand

[android-developers] Problem setting file permissions when filename has a space

2011-04-23 Thread Paul
I have a question over at StackOverflow that's been sitting there for over a month, and wondered if maybe someone here (or a Googlite) could answer it. http://stackoverflow.com/questions/5149739/android-problem-setting-file-permissions-when-filename-has-a-space I have an app where I store .png

Re: [android-developers] Problem setting file permissions when filename has a space

2011-04-23 Thread Mark Murphy
I have put an answer in the SO question. In a nutshell, don't put them in the cache dir. Use openFileOutput() and set MODE_WORLD_READABLE. On Sat, Apr 23, 2011 at 11:43 AM, Paul pmmen...@gmail.com wrote: I have a question over at StackOverflow that's been sitting there for over a month, and

[android-developers] Re: Problem setting file permissions when filename has a space

2011-04-23 Thread Maps.Huge.Info
Have you tried escaping the space? path/to/file\ name.png -John Coryat -- 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] Wifi manually turned off, freezes phone, requires battery removal

2011-04-23 Thread Cris94107
Users are reporting a unique bug in my Remote Control App that when they manually turn off wifi, their phone locks up, and requires battery removal. While I will work to fix this bug within my own App (Songbird Remote), I would think this is a bug in the Android OS, and there should be no way a

[android-developers] Re: java

2011-04-23 Thread DanH
Yes, something to become familiar with SQL would be good, though the Android interfaces differ significantly from vanilla Java's. And any sort of puzzle solver would exercise the basics. On Apr 23, 8:10 am, Filip Havlicek havlicek.fi...@gmail.com wrote: What we do with students is implementing

RE: [android-developers] Re: Timezone Question

2011-04-23 Thread Tommy
Jake, I have a vb project that auto detects Time Zone and Day Light Savings Time.. I found these JS files online and they seem to work great.. TimeZoneDetection.js : //Provided by http://www.michaelapproved.com/articles/timezone-detect-and-ignore-daylight-

Re: [android-developers] Problem setting file permissions when filename has a space

2011-04-23 Thread Dianne Hackborn
No shell commands are part of the SDK. Using shell commands is likely to result in your app breaking randomly across devices and platform versions. The recommended way to do this is to write a content provider, which the other app can call ContentResolver.openFileDescriptor() etc. It is

Re: [android-developers] Wifi manually turned off, freezes phone, requires battery removal

2011-04-23 Thread Kostya Vasilyev
Cris, FWIW - I've never seen this particular problem, but have seen WiFi get into a state where it's technically enabled, and yet does not function at all (i.e. no scans, no connectivity). -- Kostya 23.04.2011 20:10, Cris94107 пишет: Users are reporting a unique bug in my Remote Control

[android-developers] progressbar spin counterclockwise?

2011-04-23 Thread B Lyon
I was looking into a simple way to get the (small) ProgressBar to spin counterclockwise, and it seems to come down to the class AnimatedRotateDrawable, which looks to be hard-coded to spin clockwise - it sets the angle increment to 360/framesCount, with no apparent option to change the sign of the

RE: [android-developers] Re: Timezone Question

2011-04-23 Thread Tommy
Forgot to mention. I'm not sure if you are already using this but the Navy has a nice pearl script you can POST to and retrieve a good bit of Sun/Moon data. They have to forms one allows you to enter the city name and state to get the data (not all cities are listed) the other allows you to

[android-developers] 'E-Mail Developer' button creating a lot of spam?

2011-04-23 Thread Matt M
Hello, I added an E-Mail Developer button to my application and ever since I get random e-mails throughout the day that either have an empty message body or just one or two words in a different language (looks like Russian or something similar, sometimes an Asian language). Occasionally I get one

[android-developers] Re: Ignoring magnetic field sensor, calibrating the accelerometer

2011-04-23 Thread Socrates
Here's what I mean by a baseline value: I'm using SensorManager.getOrientation() to determine the device's orientation. I am only concerned with the difference in orientation relative to a static orientation (which I'm referring to as the baseline value) at any given time. The baseline value could

Re: [android-developers] 'E-Mail Developer' button creating a lot of spam?

2011-04-23 Thread Kostya Vasilyev
Yeah, I see it happen with my applications as well. One user was nice enough to send me emails asking who the hell I was. Several of them, actually (guess my email address was somehow added to their contact list). In recent versions of my apps I removed my email from one place and changed it

[android-developers] Re: replace transparent color bitmap with alpha

2011-04-23 Thread BusyByte
I was able to get it to work with the following code: final Paint paint = new Paint(Paint.ANTI_ALIAS_FLAG); final int transparentColor = Color.parseColor(# + imageTrans); Xfermode mode = new AvoidXfermode(transparentColor, 0, Mode.TARGET); paint.setXfermode(mode);

Re: [android-developers] progressbar spin counterclockwise?

2011-04-23 Thread Mark Murphy
You could not use a ProgressBar, but rather your own Drawable resource (e.g., a PNG file) and a RotateAnimation. Or, you could use a pair of AnimationDrawables, each referring to the same set of underlying PNG files, just in the opposite sequence. On Sat, Apr 23, 2011 at 12:51 PM, B Lyon

Re: [android-developers] apps-for-android.googlecode.com/svn

2011-04-23 Thread J Handal
Thanks Mark, BTW I found the command android update project -p: @ directory: C:\Users\JH\Desktop\Android 2.2\android-sdk_r06-windows\android-sdk-windows\tools -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] apps-for-android.googlecode.com/svn

2011-04-23 Thread nathan forbes
On Apr 23, 2011 1:20 PM, J Handal jhand...@gmail.com wrote: Thanks Mark, BTW I found the command android update project -p: @ directory: C:\Users\JH\Desktop\Android 2.2\android-sdk_r06-windows\android-sdk-windows\tools -- You received this message because you are subscribed to

[android-developers] parsing an image from an xml file from a network

2011-04-23 Thread Siva Kannabiran
in my app when i click a button it goes on to a url and it returns back an xml file. The xml file recieved is opened in a new activity called B as a list view. The xml file is as follows Search Searchdata id1/id First_nameRaj/First_name

Re: [android-developers] progressbar spin counterclockwise?

2011-04-23 Thread Dianne Hackborn
This is basically a special class for that progress spinner design. Which is now old. In HC the spinner looks different. If you try to hack on whatever spinner you happen to get from the platform you are running on to do something different, you will probably fail in one way or another as you

Re: [android-developers] progressbar spin counterclockwise?

2011-04-23 Thread B Lyon
thanks Dianne - yeah I expected someone asking that custom seems to be where I need to go if this is to be messed with at all, and that's what I needed to know On Sat, Apr 23, 2011 at 1:45 PM, Dianne Hackborn hack...@android.com wrote: This is basically a special class for that progress spinner

Re: [android-developers] parsing an image from an xml file from a network

2011-04-23 Thread Nasif Noorudeen
pass values through bundle and intent On Sat, Apr 23, 2011 at 11:11 PM, Siva Kannabiran sivasanka...@gmail.comwrote: in my app when i click a button it goes on to a url and it returns back an xml file. The xml file recieved is opened in a new activity called B as a list view. The xml file is

[android-developers] Re: ListActivity Memory leak with onConfigurationChanged

2011-04-23 Thread Taf
OK, that's a fair point. I've changed my code to use onRetainNonConfigurationInstance now, and this seems to work nicely. Thanks. On Apr 23, 12:28 pm, Mark Murphy mmur...@commonsware.com wrote: On Sat, Apr 23, 2011 at 7:19 AM, Taf neild...@gmail.com wrote: Hi Mark, Yes, I think I'll have

[android-developers] Re: how to center aligned multiline text

2011-04-23 Thread Manish Garg
:-(. I dont think it will be good workaround. I need to make my application compatible to different form factor and in case of tablet it is coming in one line. So I can't put new line character. On Apr 22, 3:10 pm, Kostya Vasilyev kmans...@gmail.com wrote: Manish, As far as I can tell, when

Re: [android-developers] 'E-Mail Developer' button creating a lot of spam?

2011-04-23 Thread Marcin Orlowski
I have contact form built-in (so you type there and the it launches MUA for sending). Former versions had no message length check. This resulted in flood of empty mails as these users (to not offend them more :) most likely found sending empty mail accurate entertainment. In later revisions I

Re: [android-developers] progressbar spin counterclockwise?

2011-04-23 Thread B Lyon
thanks for the tips, Mark. I'll play with it. It might need to be an animation list or whatever btw - RotateDrawable would be a two-line way to do it (custom little icon seems to get animated fine) to replace the indeterminate drawable, but RotateDrawable seems to insist on rotating clockwise,

Re: [android-developers] progressbar spin counterclockwise?

2011-04-23 Thread Dianne Hackborn
I don't know off-hand if progress bar has an API to set the drawable. If so, just use that. If not you'll need to roll your own. It would probably be easy to copy the code out of the framework. On Sat, Apr 23, 2011 at 12:52 PM, B Lyon bradfl...@gmail.com wrote: thanks for the tips, Mark.

Re: [android-developers] progressbar spin counterclockwise?

2011-04-23 Thread Romain Guy
ProgressBar lets you change the drawables (setProgressDrawable()). On Sat, Apr 23, 2011 at 12:59 PM, Dianne Hackborn hack...@android.comwrote: I don't know off-hand if progress bar has an API to set the drawable. If so, just use that. If not you'll need to roll your own. It would probably

Re: [android-developers] progressbar spin counterclockwise?

2011-04-23 Thread B Lyon
Diane it does have a public setIndeterminateDrawable - I can set it with a RotateDrawable and it works to spin whatever I want there... which is cool and easy... it just apparently does it clockwise only... I just need to replace it with something that can spin stuff backwards and I need to

[android-developers] Re: Codecs on Android

2011-04-23 Thread Bob Kerns
Um, the platform documentation? http://developer.android.com/intl/de/guide/appendix/media-formats.html Your specific device documentation, from the manufacturer, if you're interested in what additional formats are supported? Really, you kind of lost me when you start talking about people

[android-developers] Phone for development

2011-04-23 Thread Raghav Sood
Hi, I was thinking of buying a new phone for development and zeroed in on Samsung Galaxy Pro B7510http://www.samsung.com/in/consumer/mobile-phone/mobile-phone/smartphone/GT-B7510LKAINU/index.idx?pagetype=prd_detail. I wanted to know if this is a good choice and if any of you have used it how is

[android-developers] Re: 'E-Mail Developer' button creating a lot of spam?

2011-04-23 Thread Maps.Huge.Info
I use a link and most of the time the contact e-mails are legit. Sometimes, I get those odd character ones and of course the empty ones as well. I would say for every odd one I get twenty good ones so I'm happy with the current state of affairs. -John Coryat -- You received this message because

[android-developers] Connect to emulator with Putty?

2011-04-23 Thread David Williams
All, Is there a way to connect to the Android emulator (I am on Windows 7) with Putty? I did a search and tried connecting to ports 5554 and on the localhost, but that didn't work. -- David Williams Check out our

[android-developers] WebView and geolocation questions

2011-04-23 Thread Moose
I have been attempting for a few days now to get a webview to work with a location based service. Every post I can find seems to say the same thing - create a webchromeclient and override onGeolocationShowPrompt(). I have gone as far as directly creating a copy of this and running it. Code:

[android-developers] path to sqlite3 database

2011-04-23 Thread lloyd1949
By default, the sqlite3 database is stored at /data/data/package name/databases/database name Is it possible to change the storage location to a path on the sd card for example? If Yes, would this be something like overriding something like the sqliteopenhelper, setting some global parameter?

[android-developers] Re: path to sqlite3 database

2011-04-23 Thread lbendlin
You may have to change it anyhow, as any database you in the package is readonly. You can place the database onto SD card but be aware that the card may be removed by the user. eventually you can use a simple buffer copying private void copyDataBase() throws IOException { // Open your

[android-developers] Re: Display list of saved tables to be opened

2011-04-23 Thread Bob Kerns
It's a database design question, not an Android question. That's not evading answering you -- it's probably the most helpful thing I'll tell you! Understanding that your question really has nothing in it related to Android will help you find the information you need, beyond anything I can tell

Re: [android-developers] progressbar spin counterclockwise?

2011-04-23 Thread lbendlin
why not simply transform the view of the progressbar, with a scale transform along the center vertical? -- 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: Display list of saved tables to be opened

2011-04-23 Thread Bob Kerns
Generally speaking, if you need to query the schema at runtime, you're probably not making good use of SQL -- unless you're making some sort of schema-agnostic general tool. Creating a table per project is not generally a good approach. It really doesn't let the database be a database, and may

Re: [android-developers] Connect to emulator with Putty?

2011-04-23 Thread Mark Murphy
Make sure you are using telnet, not SSH or another protocol. Putty works fine for me, with telnet on 5554, on Vista. On Sat, Apr 23, 2011 at 5:49 PM, David Williams dwilli...@dtw-consulting.com wrote: All, Is there a way to connect to the Android emulator (I am on Windows 7) with Putty? I

[android-developers] Re: WebView and geolocation questions

2011-04-23 Thread Maps.Huge.Info
Have you considered using Android code to write your own location service? You have a lot more options doing it this way. -John Coryat -- 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: Android shared preferences assignments not persisting between emulator sessions

2011-04-23 Thread roschler
@Kostya, no I don't use Wipe Data. I don't know what the exact underlying problem was at this point but I managed to fix things by manually deleting the sharedpreferences file from the emulator's shared_prefs folder while in the ADB shell, and then recreating it as an empty file using echo -n

Re: [android-developers] Re: Click event on Edit-Text's Right Drawable.

2011-04-23 Thread Sunil Lakhiyani
hey Zsolt Vasvari can you please explain in detail? and any code or example would be great help for me. Thanks On Fri, Apr 22, 2011 at 8:52 PM, Zsolt Vasvari zvasv...@gmail.com wrote: I messed around this for a long time in my app and finally I decided that the simplest way was to have a

[android-developers] Re: WebView and geolocation questions

2011-04-23 Thread Moose
My purpose in developing this app is to enable access to a webapp. A particular tool in this webapp using google maps. The webapp also needs to function on a browser. I am confused by the lack of functioning samples and the unhelpful documentation available. If anyone has any experience

Re: [android-developers] Re: WebView and geolocation questions

2011-04-23 Thread Mark Murphy
On Sat, Apr 23, 2011 at 7:19 PM, Moose coatedmo...@gmail.com wrote: My purpose in developing this app is to enable access to a webapp. A particular tool in this webapp using google maps. The webapp also needs to function on a browser. Either write an HTML5 offline-cached Web app, or use

[android-developers] Re: Ignoring magnetic field sensor, calibrating the accelerometer

2011-04-23 Thread lbendlin
the initial values are not inaccurate, they are just not what you think they should be. Define lying flat on the table - are you sure the table is level? in both dimensions? Etc. Instead of fighting the sensor you could include a calibration function in the app that accepts the user's

Re: [android-developers] Re: WebView and geolocation questions

2011-04-23 Thread Moose
Thanks for the suggestion, I will definitely be looking into phonegap - I have seen it mentioned a lot lately. I added the call to enable geolocation - the link to the sample code I posted isn't actually my own stuff. It still doesn't make any sense that this functionality doesn't work as is

Re: [android-developers] progressbar spin counterclockwise?

2011-04-23 Thread B Lyon
thx Are you referring to the setScaleX/Y new in SDK 11, which seems to be certainly the way to try there? On Sat, Apr 23, 2011 at 6:23 PM, lbendlin l...@bendlin.us wrote: why not simply transform the view of the progressbar, with a scale transform along the center vertical? -- You received

Re: [android-developers] progressbar spin counterclockwise?

2011-04-23 Thread Dianne Hackborn
On Sat, Apr 23, 2011 at 3:23 PM, lbendlin l...@bendlin.us wrote: why not simply transform the view of the progressbar, with a scale transform along the center vertical? You don't know what it actually does. If the original poster for some reason actually needs some animation that rotates

Re: [android-developers] progressbar spin counterclockwise?

2011-04-23 Thread lbendlin
no need for that . Use a simple Canvas scaling during dispatchdraw. That is supported all the way down to API3 @Override protected void dispatchDraw(Canvas canvas) { canvas.save(Canvas.MATRIX_SAVE_FLAG); canvas.scale(-1f,1f, getWidth() * 0.5f, getHeight() * 0.5f);

[android-developers] Re: 'E-Mail Developer' button creating a lot of spam?

2011-04-23 Thread Zsolt Vasvari
I have just about 0% spam rate from contact e-mails. Actually, I don't remember receiving a single non-legitamate e-mail. I guess it depends on the kind of user base your app attracts. On Apr 24, 5:25 am, Maps.Huge.Info cor...@gmail.com wrote: I use a link and most of the time the contact

[android-developers] Honeycomb / 3.0 / OpenGL ES / Broken / Again!?!

2011-04-23 Thread MichaelEGR
Greets, I finally jumped the shark and got the G-Slate and all my 3D demos from the simplest to the much more complex result in a blank screen. I just got the G2x too and have the Nexus S, N1, G1, Droid, etc. and my engine / platform works great on every OS 1.5+... Auriga3D flies (old build too).

Re: [android-developers] progressbar spin counterclockwise?

2011-04-23 Thread lbendlin
Now who would commit such a user experience continuity* atrocity? * yes, I made that up. -- 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] VP8 Codec Support GB Capabilities

2011-04-23 Thread scs sek
Hi All, Does any one has the answer for VP8 GB support spec. like version, max bit rate support and max frame rate (ex. nexus one or nexus S based)? Regards SCS -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Re: Timezone Question

2011-04-23 Thread Bob Kerns
While one hopes he does, it's not always a good assumption. But that aspect wasn't the intended focus of my remarks. The point is -- the timezone SHOULD have absolutely ZERO impact on the actual calculated times. There are really only three ways to get an error here that I can see. (Chime in if

Re: [android-developers] progressbar spin counterclockwise?

2011-04-23 Thread B Lyon
that is pretty simple and seemed to work (I needed to put it in an overridden onDraw in this case) well, there *was* a reason I was curious to see about getting it to go counterclockwise - and I am curious to go look at the HoneyComb one now thx again all On Sat, Apr 23, 2011 at 9:36 PM,

Re: [android-developers] Honeycomb / 3.0 / OpenGL ES / Broken / Again!?!

2011-04-23 Thread Dianne Hackborn
I am not aware of any existing GL applications that completely break like this. I have run lots and lots of the top applications on Xoom without trouble. Applications also haven't generally broken on previous platform releases, and I am pretty sure there are many applications on Market that

[android-developers] Re: Honeycomb / 3.0 / OpenGL ES / Broken / Again!?!

2011-04-23 Thread MichaelEGR
Yes apologies and thanks for your quick reply. You provide great info and are timely which is appreciated.. I'd be glad to buy a round for the Android team... um how large is it again? Android graphics team? um the really cool graphics folks? at I/O ;) I should not be allowed to post on the

Re: [android-developers] Re: WebView and geolocation questions

2011-04-23 Thread Moose
So I might have discovered my problem. I borrowed a friends phone and tested my app on it. It works. The device I had been testing it on was the motorola xoom (wifi only). By logcat, it seems that on the phone (CM6), does make the call to onGeolocationPermissionsShowPrompt, while the tablet

Re: [android-developers] Re: Honeycomb / 3.0 / OpenGL ES / Broken / Again!?!

2011-04-23 Thread Romain Guy
What exactly doesn't work in your application? We have tested many OpenGL applications and games from Market, found and fixed bugs. We also sometimes found issues that were in the apps themselves but nothing as dire as what you are describing (although I couldn't really parse what your problem is

[android-developers] How to install Sense UI into my HTC Magic

2011-04-23 Thread Nicholas Key
Hi Android Dev group members, I've been searching high and low about installing Sense UI into my HTC Magic (the one that is loaded with Google ION) but couldn't find any relevant search results. This is the closest I could find: http://developer.htc.com/google-io-device.html There are several