Re: [android-developers] Re: app2sd backward compatibility

2010-09-04 Thread Laszlo Fogas
Well, I tried to clean up before installing from Market. Let me paste here my manifest chunk, maybe you can spot something wrong. http://schemas.android.com/apk/res/android"; package="com.frankandchase.sudoku" android:versionCode="13" android:versionName="1.3.3" android:installLocation="preferExt

[android-developers] Re: Google TV applications

2010-09-04 Thread Maps.Huge.Info (Maps API Guru)
I don't see why we should have a problem with the "big boys" getting first dibs on a new category of device (like Google TV). They have the resources to invest in experimentation and will work with the Android people in a close and time consuming manner. Do you have the resources to throw a man yea

[android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-09-04 Thread Maps.Huge.Info (Maps API Guru)
Results of the test: 3 new downloads should have been registered but only two were added to the app totals. 3 new installs should have been added but only two were. Before: 754 total 139 active After: 756 total 141 active This shows there is something wrong with the market math. Each device had

Re: [android-developers] Re: Google TV applications

2010-09-04 Thread Dianne Hackborn
On Sat, Sep 4, 2010 at 7:20 PM, ben wrote: > I'm aware of how to make an app Google TV ready. I'm unhappy that > certain companies are being given the ability to get their app on > google tv devices before the market is available. This puts apps that > have to wait for the market at a huge disadv

[android-developers] Re: Market Server Bug -- Download Error

2010-09-04 Thread nubin...@gmail.com
Yes, do remember to check, as the consequence could be serious for your users: http://nubinewsblog.blogspot.com/2010/09/how-to-fix-download-error.html In the worst case (at least on Froyo), the user would "fail to download" the older version of my app, but does not press "cancel download" button.

[android-developers] Re: Capturing RAW data in Android 2.2(HTC Desire)

2010-09-04 Thread uday
Do u have any idea of how much memory of raw data will generate for the resolution 640x480 and 176x144?? Actually in my application we have image processing on raw data.. If it is not available then is there any approach to do that?? On Sep 4, 6:13 pm, blindfold wrote: > Yes. Raw images would al

[android-developers] Re: Phone storage running out after multiple installs

2010-09-04 Thread Jason
Hmmm.. yeah, makes sense. I wonder if my app is somehow not releasing something.. somewhere. The only thing that I'm doing that may be "slightly" left of center is loading a native lib. AFAIK there is no way to "unload" a native lib. Can't see a reason why this would cause a file handle to be l

[android-developers] Re: Google TV applications

2010-09-04 Thread ben
I'm aware of how to make an app Google TV ready. I'm unhappy that certain companies are being given the ability to get their app on google tv devices before the market is available. This puts apps that have to wait for the market at a huge disadvantage. On Sep 4, 12:43 pm, Michael MacDonald wro

[android-developers] Re: Bug in minSdkVersion or what?

2010-09-04 Thread Gustavo
Thank you very much for all your help guys. I'm not at work today so tomorrow I'll try taking those redundant lines off my manifest file and upload the app to see if I'm finally able to get my app visible for all android versions (1.6 and later, because now it's only being shown to 1.6 androids).

Re: [android-developers] Permission checked at install time, but what happens if the "permission user" is installed before the "permission definer"?

2010-09-04 Thread Dianne Hackborn
Generally, unfortunately, this doesn't work. As of froyo, if it is a signature permission, it will work -- the original app will be granted the permission once it is known. (This is safe because it is not a permission the user ever needs to be shown anyway.) But for a permission the user needs t

Re: [android-developers] Re: Bug in minSdkVersion or what?

2010-09-04 Thread Dianne Hackborn
Okay, look at it another way: the documentation you are quoting says that those control the different screen sizes you support. And let's say it states: "these attributes, and nothing else, determine the screen sizes you support." It doesn't say anything about what the values are if you don't spe

[android-developers] Re: Split Path to get filename and extension

2010-09-04 Thread Kumar Bibek
The file object you must be creating, has a few methods. Try experimenting, and I am sure, you will find it out easily. Try the method, file.getName() or something like that, I don't remember exactly. -Kumar Bibek http://techdroid.kbeanie.com On Sep 4, 1:41 am, Pedro Teixeira wrote: > Obviously

[android-developers] Re: Market Server Bug -- Download Error

2010-09-04 Thread Kumar Bibek
A lesson learnt. :) Yup, I always do that check. -Kumar Bibek On Sep 4, 8:34 pm, "nubin...@gmail.com" wrote: > I found a problem with the Market yesterday: > > Upload a new APK version 134 > After the upload finishes, cancels the upload > Upload a new APK (different than the last uploaded file,

[android-developers] Re: Phone storage running out after multiple installs

2010-09-04 Thread Chris Stratton
On linux, if you delete a file which soneone else has an open file handle to, it doesn't actually go away until all handles are closed (you just can't find it by name to open new ones). I'm guessing that when you install a new version during a development session the old version isn't completely g

[android-developers] Re: Bug in minSdkVersion or what?

2010-09-04 Thread Indicator Veritatis
It is not "being uber-pedantic". And your example of guns killing bunnies is irrelevant. It would have been relevant if you had followed the wording of the citation a little more closely, and said, "this gun lets me specify whether the bunny will live or die". But of course, you did not say that, s

[android-developers] Re: Arithmetic error (BUG)

2010-09-04 Thread Indicator Veritatis
Churky, you have complete missed my point about IEEE-754. By no means is it"a way to tell people that I can get a whole number from an arithmetic" -- whatever that was really supposed to mean. IEEE-754 is a standard for floating point computations. It describes the required accuracy for a wide var

[android-developers] Re: Sharing data between users

2010-09-04 Thread William Ferguson
Thanks for sharing Peter, that has really clarified a few things for me. On Sep 5, 4:16 am, Peter Eastman wrote: > I've been pushing ahead on this project.  I'd like to report my > progress for the benefit of anyone who comes across this thread.  And > perhaps someone can tell me if there's a bet

Re: [android-developers] Permission checked at install time, but what happens if the "permission user" is installed before the "permission definer"?

2010-09-04 Thread Mark Murphy
On Sat, Sep 4, 2010 at 5:56 PM, Flying Coder wrote: > However, in this case, I will get a SecurityException if I try to read > from the Astrid ContentProvider since that permission didn't exist > when my app was installed. That's very interesting. I've never tried this. I would have expected the

[android-developers] Permission checked at install time, but what happens if the "permission user" is installed before the "permission definer"?

2010-09-04 Thread Flying Coder
For example, I am adding an option to my app (Executive Assistant) to integrate with the Astrid TODO list app. Astrid defines the permissions necessary for doing this. My app uses those permissions. Everything works fine if Astrid is installed before my app. However, many users will use my app f

Re: [android-developers] Bluetooth as nfc

2010-09-04 Thread oguz gurler
Hi, Yes this is possible if you check bluetooth example; http://developer.android.com/guide/topics/wireless/bluetooth.html, you can easily develop this app. 2010/9/4 jake142 > Hi, > > I would like to simulate nfc using bluethooth beetwen 2 android > devices, device a and device b. > > - Devi

[android-developers] Re: Phone storage running out after multiple installs

2010-09-04 Thread Maps.Huge.Info (Maps API Guru)
You didn't say what OS version you have or how big your app is. I'm guessing you have a G1 and a HUGE app. I've never seen this happen myself but my apps are small and I'm currently testing on 2.2 devices. -John Coryat -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: OpenGL ES - Color Picking - Front/Back Buffer

2010-09-04 Thread Kostya Vasilyev
Agreed, but shouldn't it be: "the only thing that's *supposed* to swap buffers"? Clearly *something* causes the objects drawn with color for hit testing to be visible... -- Kostya Vasilyev -- http://kmansoft.wordpress.com 05.09.2010 0:59 пользователь "Robert Green" написал: The only thing that

[android-developers] Re: OpenGL ES - Color Picking - Front/Back Buffer

2010-09-04 Thread Robert Green
The only thing that swaps buffers in opengl es is eglSwapBuffers(). Something else is happening here but it's hard to see without more code. On Sep 4, 8:49 am, Kostya Vasilyev wrote: > Based on your explanation, seems like glClear sometimes does a "buffer > flip". > > I put it in quotes, since,

[android-developers] Phone storage running out after multiple installs

2010-09-04 Thread Jason
Hi all, This is more an annoyance than a real problem.. nevertheless: When testing my app on a device I go through several "installs", although it's really the Eclipse plugin doing this for me. After a while (not very long) the device starts complaining about insufficient storage. It seems that

Re: [android-developers] GOOGLE, WHAT IS GOING ON with the Active Install %? Bug in install to SDCARD is my guess!

2010-09-04 Thread TreKing
On Sat, Sep 4, 2010 at 6:16 AM, Fabrizio Giudici < fabrizio.giud...@tidalwave.it> wrote: > So, can you tell us which part of Google we should talk to in order to get > some answer to the problem? > This is as good as it's going to get, I think: http://www.google.com/support/forum/p/Android+Market

[android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-09-04 Thread Maps.Huge.Info (Maps API Guru)
I'm running a test that will be completed tomorrow. I have an old app which is currently unpublished on the market. The stats for that app haven't changed for weeks. Today, I set it to publish and downloaded it to three of my test devices, then promptly unpublished it. Tomorrow I should know if th

[android-developers] Re: Call PHP through URL

2010-09-04 Thread Jason
oops.. just read your previous post "Then how can I "grab" it and receive into my Android activity?" The line in the code I posted: client.execute(post); actually also returns a response: HttpResponse res = client.execute(post); So if your PHP script is printing out data to the http response

[android-developers] Re: Call PHP through URL

2010-09-04 Thread Jason
I was LITERALLY just coding this to submit a POST to google app engine. This code works for me (1.6 compatible.. and probably 1.5 actually): HttpClient client = new DefaultHttpClient(); HttpPost post = new HttpPost("https://someurl.com";);

[android-developers] Re: Call PHP through URL

2010-09-04 Thread svebee
Something like - http://www.anddev.org/novice-tutorials-f8/doing-http-post-with-the-current-sdk-t5911.html ? Just one thing isn't clear to me - what represents this line nameValuePairs.add(new BasicNameValuePair("id", "12345")); - especially ("id", "12345") - I think that "id" is the key and "1

[android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-09-04 Thread newbyca
just adding to the pile ... we've been seeing the same thing since around august 8 this year ... approximately a 10% drop in actives for our biggest app (~500K downloads). previously our active % has been steady or increasing since the release last september 2009. least we know we're not alone. --

[android-developers] Bluetooth as nfc

2010-09-04 Thread jake142
Hi, I would like to simulate nfc using bluethooth beetwen 2 android devices, device a and device b. - Device a will have start bluetooth when a button is pressed. - Device b will start bluetooth when my apps start - Device b will try to connect to device a automatically IF the distance between th

[android-developers] Re: Sharing data between users

2010-09-04 Thread Peter Eastman
I've been pushing ahead on this project. I'd like to report my progress for the benefit of anyone who comes across this thread. And perhaps someone can tell me if there's a better solution than what I'm doing. I'm trying to export data from my program in a way that users can easily share: emaili

Re: [android-developers] Re: Arithmetic error (BUG)

2010-09-04 Thread Frank Weiss
Admittedly, my example of precision calculation is overly simplified. In a real case, one would use % precision instead of absolute precision. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-deve

Re: [android-developers] Re: Arithmetic error (BUG)

2010-09-04 Thread Frank Weiss
Arithmetic error? Bug? Well, sort of, but no. Sort of, because at first sight it looks wrong. At least from a purely mathematical perspective and because we kind of think computers are purely methematical. But no, because this is not even a computer issue. Take for example the problem of dividin

Re: [android-developers] Re: Simple Key Event Questions

2010-09-04 Thread Dianne Hackborn
You can override EditText to return your own InputConnection. But... if you want KeyEvents, you won't get KeyEvents. Period. There are no KeyEvent objects involved in this ANYWHERE. At all. The user is touching on the screen (that is a touch event). The IME turns that into an edit operation

Re: [android-developers] Re: Android Radio streamer Class

2010-09-04 Thread Jeremy Wadsack
npr-android-app.googlecode.com But I think you could have found that with a little effort. ;) - Jeremy On Sep 3, 2010 1:59 PM, "Ahmed Shoeib" wrote: > do you have alink for this app > > On Sep 3, 10:29 pm, Jeremy Wadsack wrote: >> The NPR android app on Google code is open source. It streams m

Re: [android-developers] Re: SQLite implementation - need help!

2010-09-04 Thread Kostya Vasilyev
Without the angle brackets, right? adb uninstall com.shootingrange Like that? -- Kostya Vasilyev -- http://kmansoft.wordpress.com 03.09.2010 18:09 пользователь "kingh32" написал: Yes that is definately what iI did, replace with On Sep 3, 3:03 pm, Kostya Vasilyev wrote: > 03.09.2010 17:

Re: [android-developers] Google TV applications

2010-09-04 Thread Michael MacDonald
On 09/04/10 08:55, ben wrote: > I've seen a few preview videos of Google TV pop up on the internet. I > noticed they contained several apps such as GameTime and the Weather > Channel. I was wondering how this is possible since there's no API yet > and no announcement of one from Google. > > It's go

[android-developers] Market Server Bug -- Download Error

2010-09-04 Thread nubin...@gmail.com
I found a problem with the Market yesterday: Upload a new APK version 134 After the upload finishes, cancels the upload Upload a new APK (different than the last uploaded file, but still version 134) Publish 10 minutes later I found my app was missing from the Market. I went to Developer Console

[android-developers] Re: app2sd backward compatibility

2010-09-04 Thread Maps.Huge.Info (Maps API Guru)
You must be doing something odd. It works fine for me. Try uninstalling and reinstalling your app. It might be that having it already on your device and from a non-market source is confusing things. -John Coryat -- You received this message because you are subscribed to the Google Groups "Andro

[android-developers] Statistics on Rooted Phones

2010-09-04 Thread Tez
Hi, Is there any statistic/research study on the no. of users who root their phones? Cheers, Earlence -- 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

Re: [android-developers] Re: Arithmetic error (BUG)

2010-09-04 Thread Kostya Vasilyev
Yes, that's how it works in the wonderful world of computers. Floating point math is inexact, because numbers are represented in binary base, and those fractional numbers that look nice and round in decimal often don't have nice round representations in binary. So rounding is inherent, at least i

[android-developers] Re: Where is the View.setStyle() method?

2010-09-04 Thread Mark Wyszomierski
Ok thanks, I'll use the dimension resource facility, was not aware of it, Thanks On Sep 3, 9:52 pm, Dianne Hackborn wrote: > Also you can pass a style resource in to the constructor.  There is no > setStyle() method because you can't change the style after the view is > initialized. > > > > > >

[android-developers] Re: Simple Key Event Questions

2010-09-04 Thread Tez
How do I intercept the InputConnection Calls? Would I have to modify the IME or use a custom one? Having text change listeners would not be of use as I need key timing information. This I can only get thru KeyEvents. Cheers, Earlence On Sep 4, 12:39 pm, Dianne Hackborn wrote: > On Fri, Sep 3, 20

Re: [android-developers] Re: OpenGL ES - Color Picking - Front/Back Buffer

2010-09-04 Thread Kostya Vasilyev
Based on your explanation, seems like glClear sometimes does a "buffer flip". I put it in quotes, since, as far as I remember (from late-nineties), PowerVR chips use a completely different rendering technique, not based on color/depth buffers. Those were desktop chips, perhaps it's still the same

[android-developers] Re: Arithmetic error (BUG)

2010-09-04 Thread Churky
I was like to make a small correction as I posted the 2 numbers in correctly. My test values where 102 * 0.0254 which yields 2.5908, while i get a value of 2.59079998 Sorry for the incorrect information during the first post, as i was still busy confirming this problem with multiple peopl

[android-developers] Re: Arithmetic error (BUG)

2010-09-04 Thread Churky
So according to Koysta, The IEEE-754, is a way to tell people that I can get a whole number from an arithmetic, but Instead I am going to get a trailing slightly off value? So that means IEEE-754 is the answer to the US space shuttle Challenger exploding? And it is ok and acceptable? And I am talki

Re: [android-developers] Re: How to "printf" in android development

2010-09-04 Thread Kostya Vasilyev
Android log class can only output a single string message. For printing multiple values, build the message yourself using Java string "+" operator, or Java String.format(). -- Kostya Vasilyev -- http://kmansoft.wordpress.com 04.09.2010 0:00 пользователь "Kumar Bibek" написал: Sysout, does work

[android-developers] Re: Google TV applications

2010-09-04 Thread Mike dg
Special treatment. The SDK is scheduled to launch until sometime next year if I recall correctly and devices are supposed to be shipping this year. -Mike dg On Sep 4, 8:55 am, ben wrote: > I've seen a few preview videos of Google TV pop up on the internet. I > noticed they contained several apps

[android-developers] Re: Capturing RAW data in Android 2.2(HTC Desire)

2010-09-04 Thread blindfold
Yes. Raw images would also claim too much memory with typical high-res still images in the current Android memory model, so a compressed format such as JPEG is needed to get around that. There is no support for incremental block-based or scanline readout or something like that to process the image

[android-developers] Google TV applications

2010-09-04 Thread ben
I've seen a few preview videos of Google TV pop up on the internet. I noticed they contained several apps such as GameTime and the Weather Channel. I was wondering how this is possible since there's no API yet and no announcement of one from Google. It's going to make awfully difficult for people

[android-developers] resource in conflict

2010-09-04 Thread eli
Hi, My application has resource conflict problem. Did some investigation, seems like all the resources within the apk file are cached after they are loaded on demand. The cache is stored in Resources.java mDrawableCache. The key to retrieve the drawable from this cache is combining the data and as

Re: [android-developers] GOOGLE, WHAT IS GOING ON with the Active Install %? Bug in install to SDCARD is my guess!

2010-09-04 Thread Fabrizio Giudici
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 9/4/10 09:37 , Dianne Hackborn wrote: > Yet another less for me to keep the heck away from these threads. :p > So, can you tell us which part of Google we should talk to in order to get some answer to the problem? - -- Fabrizio Giudici - Java Arc

[android-developers] Re: Capturing RAW data in Android 2.2(HTC Desire)

2010-09-04 Thread uday
Thanks Blindfold.. So do u got any information regarding this?? What ever it may be the resolution currently Android is not able to do the Raw image capture.. am i right?? On Sep 1, 1:07 am, blindfold wrote: > Right, already on February 11 2009 Google's David Sparks wrote in > response to one of

[android-developers] Re: Unserializing objects via the Hessian web protocol leads to ClassNotFoundException

2010-09-04 Thread Kevin Read
On Aug 26, 6:10 pm, Kostya Vasilyev wrote: >   26.08.2010 14:24, Kevin Read ?:> I'll try to shoehorn the PHP class > names into the fully qualified Java > > class name. The issue here is that the web service is also used by the > > iPhone client, where the deserialization is completely custo

Re: [android-developers] Re: Call PHP through URL

2010-09-04 Thread Filip Havlicek
No, you just download the webpage as usual, it will contain the information you echoed. You form the webpage URL as a normal "browser-like" URL with parameters you want to send to your PHP script. Best regards, Filip Havlicek 2010/9/4 svebee > Tnx. Can you tell me what's the simplest way to do

[android-developers] Re: how to set eglSwapInterval when using GLSurfaceView?

2010-09-04 Thread Jason
There is an option on the GLSurfaceView to set the render mode: http://developer.android.com/reference/android/opengl/GLSurfaceView.html#setRenderMode(int) You could try setting it to RENDERMODE_WHEN_DIRTY - The renderer only renders when the surface is created, or when requestRender() is called

[android-developers] Re: Activity inside a view

2010-09-04 Thread viktor
You can use one activity and few views, and manage only their visibility, except if you have to use different view containers (MapView, ListView, ...). On 3 Вер, 23:04, Kumar Bibek wrote: > Yeah, you can use the LocalActivityManager, but for his situation, I > guess the best way would be to fol

[android-developers] Re: Call PHP through URL

2010-09-04 Thread svebee
Tnx. Can you tell me what's the simplest way to do this... I send some data to my PHP script, it calculates some data and outputs String "ABC123" on a screen (with PHP echo function). Then how can I "grab" it and receive into my Android activity? Do I need to use JSON (http://snipplr.com/view/4717

[android-developers] Re: Calling Tomcat server API's from Android app

2010-09-04 Thread viktor
What about Spring MVC, you can create your own servlet and from that call what you need throw http. This is very flexible issue and you dont need parse Beans on your mobile, -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this g

[android-developers] app2sd backward compatibility

2010-09-04 Thread Laszlo Fogas
Hello guys, I recently enabled the app2sd functionality in my app. To remain compatible with Android 1.5 i left intentionally the minSdkVersion at 3 and added android:installLocation="preferExternal" attribute to my manifest. Basically I followed what is listed in the following article: http://dev

Re: [android-developers] Market filtering for accelerometer or compass?

2010-09-04 Thread Dianne Hackborn
This is the feature for the accelerometer: http://developer.android.com/reference/android/content/pm/PackageManager.html#FEATURE_SENSOR_ACCELEROMETER Pay some attention as you add new featu

Re: [android-developers] Simple Key Event Questions

2010-09-04 Thread Dianne Hackborn
On Fri, Sep 3, 2010 at 10:48 PM, Tez wrote: > 1. I have registered a KeyListener on an EditText. When I use the soft > keyboard to input text, my listener is not called. How Do I intercept > these events? > InputConnection is how edit operations are delivered through an IME. These will appear a

Re: [android-developers] GOOGLE, WHAT IS GOING ON with the Active Install %? Bug in install to SDCARD is my guess!

2010-09-04 Thread Dianne Hackborn
Yet another less for me to keep the heck away from these threads. :p On Sat, Sep 4, 2010 at 12:35 AM, Ted Neward wrote: > You’re seriously going to feed this group the classic “It’s not my job and > those people don’t work here” line, and imagine that this is somehow > “growing” the community? >

Re: [android-developers] Re: Bug in minSdkVersion or what?

2010-09-04 Thread Dianne Hackborn
Also on that page: Default values for attributes The default values for the attributes differs, depending on the value of theandroid:minSdkVersion attribute in the application's manifest, as well as on the value of android

RE: [android-developers] GOOGLE, WHAT IS GOING ON with the Active Install %? Bug in install to SDCARD is my guess!

2010-09-04 Thread Ted Neward
You're seriously going to feed this group the classic "It's not my job and those people don't work here" line, and imagine that this is somehow "growing" the community? Either Google is invested in this platform, or they aren't, and right now judging by the voluminous cries for response on a nu

RE: [android-developers] Re: Calling Tomcat server API's from Android app

2010-09-04 Thread Ted Neward
What you need (it sounds like) is the Spring Remoting client and whatever other Spring bits it uses to compile & run successfully on the Android platform. It "should" work, in that I don't think there's anything in there that they need that isn't provided on Android, but Ted Neward Java, .NET,

[android-developers] Re: Android libraries

2010-09-04 Thread Lance Nanek
There's an Error Log view in Eclipse that is particularly helpful to check when trying to figure out why the Android plugin is failing to create the link to the library source code for a particular project. Usually it is something like having an illegal character, like a hyphen in the library proje

Re: [android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-09-04 Thread TreKing
On Fri, Sep 3, 2010 at 3:40 PM, Fabrizio Giudici < fabrizio.giud...@tidalwave.it> wrote: > BTW, I find it very disturbing that nobody from Google has confirmed that > there are no ongoing known bugs with the Market, as I and others have asked > about in this thread. > Really? That's really par fo