[android-developers] Re: Android Camera Preview Filter Using Camera.PreviewCallback.onPreviewFrame

2008-11-25 Thread blindfold
How come I recognize so many of these findings? ;-) 4. I believe that processing breaks down whenever I spend too much time in the onPreviewFrame function. That's what I observed too: so do the heavy duty image processing outside onPreviewFrame(), with supplementary frame skipping and

[android-developers] Re: another new return of findViewById???

2008-11-25 Thread Gameboy
I add android:configChanges=orientation in AndroidManifest.xml, but seems it does not work, onConfigurationChanged(Configuration newConfig) is not invoked when rotating. And the activity is still be detroyed and recreated again. Copy andorid doc, not sure why not work: ---Otherwise, the

[android-developers] Require Source code of tools

2008-11-25 Thread Amit
Hello friends, Can u please tell me where can i get the source code of tools provided in sdk. I need source code of DDMS and traceview. Any help appreciated. Thanks Amit --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] How to get the current city/country name?

2008-11-25 Thread Kakyoin
Is it possible to get the city name(I mean the city where the phone is in at the current time)? I need it as a parameter for google weather API, like this: http://www.google.com/ig/api?weather=city_name,country_name I tried browsing the classes in android.location package but have yet to find

[android-developers] message during install: ... has an ealier definition; blocking out

2008-11-25 Thread Jakob Sachse
what does this mean? the information is not sufficient, where have those definitions been found? In the one project that during install caused the message, in the android.jar in other project apk's? I double checked my sources and libs and can't find classes that are defined more that once.

[android-developers] Android on Motorola A810...

2008-11-25 Thread Sameer Oak
Hello ALL, Can Android be ported on Motorola A810? Has anyone done this? A little I have come to know that Android was ported on Motorola Ming A1200, the predecessor of Motorola A810. Regards, - sam. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Flaky network connections

2008-11-25 Thread joshv
I am not sure you are experiencing the same thing I am. It's not a transient waiting for the radio to turn on phenomenon. I spent several hours last night working with NetworkInfo. When NetworkInfo says I am connected, yep, I am connected. But when I am not connected, I can spin in a loop

[android-developers] Re: Call JavaScript functions in the WebKit?

2008-11-25 Thread Mark Murphy
David Orriss Jr wrote: I need to call a JavaScript function in a page in a webkit view and get a return value. Possible? Suggestions? I don't think you can get a result directly from calling loadUrl(javascript:yourfunctionhere()) on a WebView. However, you *could*: 1. Add a callback via

[android-developers] Re: Flaky network connections

2008-11-25 Thread Mark Murphy
joshv wrote: I am really starting to think that there is something wrong with my handset. I certainly have no problem with transient disconnects and such resulting from moving from cell to cell, or from 3G to wifi, or edge to 3G - but I am sitting 3 feet from a very stable access point.

[android-developers] Re: Flaky network connections

2008-11-25 Thread joshv
I can disclose the URL, it's publicly available and always up - yahoo finance csv stock price download. For example: http://finance.yahoo.com/d/quotes.csv?s=GOOG+Tf=sl1c1p2 It doesn't get much more highly available than this. I could test other URLs, but as I have mentionned before, the exact

[android-developers] Re: Flaky network connections

2008-11-25 Thread JP
I see, sure sounded like it though. In any case, to manage communications helped out a great deal to eliminate the breakdowns I've seen, similar to what you described. Once you've determined the root cause of your problem I recommend to pull in a layer that handles calls as I described. Other

[android-developers] Way to sell applications

2008-11-25 Thread [EMAIL PROTECTED]
Hi, I have my application ready for release. As far as I understood, the Market is currently only for FREE applications, though - and that does NOT include FREE TRIALS. So - when (if at all) will the market enable selling apps ? And - are there other channels ? Thanks in advance.

[android-developers] Re: Way to sell applications

2008-11-25 Thread Al Sutton
There are other channels, You might find Mogees (www.mogees.com) useful as they offer a method you can integrate with your app which distributed via any of the app directories (Marketplace, AndAppStore, etc.) Al. [EMAIL PROTECTED] wrote: Hi, I have my application ready for release. As

[android-developers] Re: Flaky network connections

2008-11-25 Thread JP
Not putting words in Mark's mouth but he meant to explain that you need to eliminate uncertainties; one being the site you try to access and if it's bomb proof as you describe; done. Next - you've got to isolate the problem. No way around it even though recreating the problem in a sandbox will

[android-developers] Can't retrieve page with HttpClient

2008-11-25 Thread loty
Have a weird problem - I'm trying to read a page from my web site but for some reason it just can't find it. I can navigate to my page in a browser no problem but if I use the same URL in HttpClient I get the 404 (File not found) from my host service. Any clues? Here is the code I use - seems

[android-developers] See this info on Android Developers

2008-11-25 Thread Gwendolen
=== Developer Challenge - Android To support you in your efforts, Google has launched the Android Developer Challenge, which will provide $10 million in awards — no strings ... ===

[android-developers] Re: Setting up intents for dynamic buttons

2008-11-25 Thread alexdonnini
Hello Julian, I think that you need to attach the button by name to the view. Please refer to this thread for information which might be relevant. http://groups.google.com/group/android-developers/browse_thread/thread/297073fb1c8579cc/df6767b1f70f86d6?lnk=gstq=alexdonnini#df6767b1f70f86d6

[android-developers] Re: Querys involving more than one table of Contatcs Content Provider

2008-11-25 Thread jarkman
I've been looking at a similar problem. Something like this: Cursor cursor = context.getContentResolver().query( Contacts.GroupMembership.CONTENT_URI, new String[] {Contacts.GroupMembership._ID,Contacts.GroupMembership.PERSON_ID,

[android-developers] Re: Flaky network connections

2008-11-25 Thread Tom Gibara
I just spent a minute knocking out a test case over a cup of tea. Seems to work fine for me on WIFI, GPRS, and 3G. Tom. void testConnection() { TextView view = (TextView) findViewById(R.id.message); HttpURLConnection conn = null; try { URL url = new URL(

[android-developers] Re: Flaky network connections

2008-11-25 Thread joshv
I appear to have found the problem. The polling thread was starting in the constructor of a different class, and NOT from the UI thread. I changed the code to launch the polling thread from the main UI thread in the call to the Activity's onResume method - and it seems to be working quite well

[android-developers] Re: Flaky network connections

2008-11-25 Thread Tom Gibara
No, its probably a bug in your code :) Tom. 2008/11/25 joshv [EMAIL PROTECTED] I appear to have found the problem. The polling thread was starting in the constructor of a different class, and NOT from the UI thread. I changed the code to launch the polling thread from the main UI thread in

[android-developers] Re: Flaky network connections

2008-11-25 Thread joshv
Tom, see upstream - it works fine for me now when I launch the polling thread from the UI thread. I was launching it from the constructor of another class, and for some reason this causes issues. It's quite reproducible. If I launch the polling thread from the UI thread it works. If I go back

[android-developers] Re: Flaky network connections

2008-11-25 Thread Tom Gibara
Yes, it's on the UI thread. I still think the balance of probabilities is a bug in your code. As far as I know, permissions are assigned on a app-process basis. And what's the likelihood of some unspecified change causing the problems, versus a race condition in your code triggered by a difference

[android-developers] Re: Call JavaScript functions in the WebKit?

2008-11-25 Thread David Orriss Jr
On Tue, Nov 25, 2008 at 4:44 AM, Mark Murphy [EMAIL PROTECTED] wrote: David Orriss Jr wrote: I need to call a JavaScript function in a page in a webkit view and get a return value. Possible? Suggestions? I don't think you can get a result directly from calling

[android-developers] Re: another new return of findViewById???

2008-11-25 Thread Michael
You probably want to use android:configChanges=orientation| keyboardHidden. Also, where in your manifest did you put this? It's a parameter of the activity section. And it works when I do it :) - michael --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: Sending a message from Service to Activity

2008-11-25 Thread G
Ah, found that part of the API demo now, must've learned binding from a different tutorial. Sorry for asking a dumb question :x On Nov 24, 9:02 pm, Mark K [EMAIL PROTECTED] wrote:   You need to set up the aidl as you have to connect to the service as you have, you then need to register a

[android-developers] Re: Android J2ME project

2008-11-25 Thread Dana Li
This is a produce from our company. On 11/24/08, Jayabharath B [EMAIL PROTECTED] wrote: Hi Dana, *J2ME Runner* is part of Android later platforms or is it a product from your company? Cheers On Thu, Nov 13, 2008 at 10:47 PM, Dana Li [EMAIL PROTECTED] wrote: We have a product called

[android-developers] Re: How to put a dialog box to another activity's foreground?

2008-11-25 Thread Jamie
Anyone? On Nov 24, 5:29 pm, android dev [EMAIL PROTECTED] wrote: Hi, I have an activity which listens to certain event from another application. In onReceive, I fire a dialog box.  How do I get the dialog box to appear on top of the other application?  What's happening is that the dialog

[android-developers] Re: ADB via USB

2008-11-25 Thread [EMAIL PROTECTED]
http://forum.xda-developers.com/showthread.php?p=2918876 On Oct 24, 2:06 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Yeah. I'm wating for a x64 driver myself :-\ On Oct 23, 12:28 pm, Declan Shanaghy [EMAIL PROTECTED] wrote: But is the driver x64 compatible? -Original Message-

[android-developers] How can I get the Contact Pointer of Google(Android) blow Issue

2008-11-25 Thread Hunt Bae
Hi! My name is Hunt Bae from Korea Telematics Business Association (KOTBA: http://www.kotba.org) which was established to promote telematics market in Korea with Gov't (Ministry of Knowledge Economy)and private sectors in Korea. The reason I am writing this Post to you is that since we have 55

[android-developers] subscribe

2008-11-25 Thread kiran raj
--~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For

[android-developers] OSGi Enterprise OSGi under Android

2008-11-25 Thread Miroslav Nachev
Hello, I would like to ask about any ideas about using of OSGi and Enterprise OSGi as primary Software architecture for Android applications. As you know OSGi is very popular in GSM Devices and it will be very helpful if Android natevliy support OSGi. Regards, Miro.

[android-developers] Re: Fw: [android-developers] Re: Android and bluetooth

2008-11-25 Thread supernova
Any idea when a version with BT support will be released? I need to choose a mobile platform for a project and BT support is required. On 24 nov, 13:45, Mark Murphy [EMAIL PROTECTED] wrote: Android geek wrote: That means, I will have to forget BT until the next release of SDK? You have two

[android-developers] Re: Anyone looking at Cell Broadcast on the G1?

2008-11-25 Thread Mauricio Mayer Soares
OK but, how to enable this feature on Android? Regards Mauricio On Oct 29, 10:55 pm, Rob Franz [EMAIL PROTECTED] wrote: Cell Broadcast is enabled/disabled by the network operator  - T-Mobile here in US doesn't enable it.  I don't believe ATT Mobility does either... On Wed, Oct 29, 2008

[android-developers] Re: Webkit - prevent reload of page when screen is popped out..?

2008-11-25 Thread vorun
look at WebViewDemo On Nov 23, 1:08 pm, David Orriss Jr [EMAIL PROTECTED] wrote: Hi, I have an app using the WebKit that I'm developing.  In my onCreate() method I'm loading my page:                 browser = (WebView) findViewById(R.id.webkit);                

[android-developers] Re: android htc touch HD

2008-11-25 Thread Pierre Bonnefoy
Hi, You should look there http://wiki.xda-developers.com/index.php?pagename=RaphaelLinux and in this related thread on their forum http://forum.xda-developers.com/showthread.php?t=402002 Pierre 2008/11/24 Josh Joy [EMAIL PROTECTED] Hi, Was wondering if anyone was working on putting

[android-developers] android.opengl.Matrix

2008-11-25 Thread Waylon Grange
Can someone explain to me why android.opengl.Matrix is implemented using floats and not fixed numbers? Am I right in thinking this is a big performance hit? Is there an alternative version or do I need to write my own? --~--~-~--~~~---~--~~ You received this

[android-developers] Editing the incoming call dialog

2008-11-25 Thread Rich
Can anyone offer some advice on how I can add/replace text on the dialog displayed when an incoming call is ringing? I guess I need a way to get a handle on the view. Thanks Rich --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Android SW development request

2008-11-25 Thread Dmitry
Dear All, we are UK-based transnational group developing and marketing mobile phones. Our main RD centre is based in Moscow, Russia. As we have interest to develop Android-based mobile phone novelty, please advise your terms of its S/W and apps development. Looking forward to your reply,

[android-developers] Building and running OpenCORE test framework

2008-11-25 Thread Android PT
Hi, I want to build and run the OpenCORE test framework. Can someone please guide me for this. Thanks --~--~-~--~~~---~--~~ 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] a softwares which makes music by shaking your cell phone ........download now

2008-11-25 Thread megaline
get it here www.2createaweb.blogspot.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] Android Download Service

2008-11-25 Thread lummie
I was wondering if there is a reusable Android Download service, e.g. like the one used by Android Market to download a file to a certain folder. e.g. You would be able to create a download intent, passing extras for the sourceUrl, destinationFolder and an intent to be called when the file has

[android-developers] Re: Android J2ME project

2008-11-25 Thread Jayabharath B
Ohh!! OK. Thanks On Tue, Nov 25, 2008 at 10:45 AM, Dana Li [EMAIL PROTECTED] wrote: This is a produce from our company. On 11/24/08, Jayabharath B [EMAIL PROTECTED] wrote: Hi Dana, *J2ME Runner* is part of Android later platforms or is it a product from your company? Cheers On Thu,

[android-developers] ACTION_VIEW uri.parse options (System Settings)

2008-11-25 Thread joshbeck
Ok, If I create a new intent like this: Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(market:// search?q=pname:com.android.MY_PACKAGE_NAME)); It launches the market. A couple of questions: -Where is this Market:// uri intent documented? (I can't seem to find it.) -What would I use

[android-developers] Re: Call JavaScript functions in the WebKit?

2008-11-25 Thread vorun
yes look at the WebViewDemo On Nov 24, 9:46 pm, David Orriss Jr [EMAIL PROTECTED] wrote: I need to call a JavaScript function in a page in a webkit view and get a return value. Possible?  Suggestions? -- David Orriss Jr. My blog:http://www.codethought.com/blog

[android-developers] Android on Motorola A810...

2008-11-25 Thread Sam Android
Hello ALL, Can Android be ported on Motorola A810? Has anyone done this? A little I have come to know that Android was ported on Motorola Ming A1200, the predecessor of Motorola A810. Regards, - sam. Connect with friends all over the world. Get Yahoo! India Messenger at

[android-developers] Plz help me getting solution for the below problem

2008-11-25 Thread sal123
Hi All, I am beginner to android development , it would be helpful if some one care to provide follwing solutions 1. Example application which can send and recieve chunk data across the data network(GPRS) and display the recieved data on the UI. 2. Procedure to configure android emulator

[android-developers] Validate preferences and save multiple changes at the end of a group of edits

2008-11-25 Thread Charles Harley
I am very impressed with the shared preferences framework within Android and the ability to specify preferences in an XML file. However, I would like to perform validation on preferences, particularly on preferences within a child preference screen. Is this possible and if so is there a standard

[android-developers] FLAG_ONEWAY for asynchronous communication between services

2008-11-25 Thread nimbus83
Hi, for research reasons I want to study the possibility for asynchronous communication between services in Android. Currently I'm using the FLAG_ONEWAY option in the AIDL interface of the services. What I see is that the asynchronous commmunication works fine when the services are implemented

[android-developers] Re: Calling youtube from Android

2008-11-25 Thread cse.tlin
Hi davidsparks, Can I get the drawable icon of youtube app from another app? I want to offer youtube service when user click this icon. Is it possible? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Android Download Service

2008-11-25 Thread Jean-Baptiste Queru
The download code that is used by the Android Market (and a few other system apps) is here: http://android.git.kernel.org/?p=platform/packages/providers/DownloadProvider.git;a=summary= Its primary interface to initiate downloads actually uses a content provider, not intents (though I have

[android-developers] Re: Android SW development request

2008-11-25 Thread Michael
Try reading stuff on http://code.google.com/android/documentation.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] Re: Plz help me getting solution for the below problem

2008-11-25 Thread Michael
#2 happens by default, there's no special configuration. As for #1, what is chunk data? Most networking operations in Android are done the same as in Java, with the Socket library. For displaying data, why not look at the example applications included in the source code, as well as the

[android-developers] Re: Require Source code of tools

2008-11-25 Thread Dave Sparks
The source for the entire project is at source.android.com. On Nov 25, 1:22 am, Amit [EMAIL PROTECTED] wrote: Hello friends, Can u please tell me where can i get the source code of tools provided in sdk. I need source code of DDMS and traceview. Any help appreciated. Thanks Amit

[android-developers] Re: Editing the incoming call dialog

2008-11-25 Thread Dianne Hackborn
Sorry, you can't do this with the SDK. On Tue, Nov 25, 2008 at 4:00 AM, Rich [EMAIL PROTECTED] wrote: Can anyone offer some advice on how I can add/replace text on the dialog displayed when an incoming call is ringing? I guess I need a way to get a handle on the view. Thanks Rich --

[android-developers] Re: Recorder Audio

2008-11-25 Thread Breno
Dave, But how about the codec, which is the kbps/sec rate? in AMR_NB there is a lot...thanks Breno On Nov 7, 1:01 am, Dave [EMAIL PROTECTED] wrote: Audio recording support is a bit rough in 1.0. The AMR-NB file format is described here: http://www.ietf.org/rfc/rfc3267.txt It's just a

[android-developers] Re: android htc touch HD

2008-11-25 Thread Dianne Hackborn
Hi, this kind of discussion should be on the android-porting list, thanks. On Mon, Nov 24, 2008 at 1:20 PM, Josh Joy [EMAIL PROTECTED] wrote: Hi, Was wondering if anyone was working on putting android on the htc touch HD? If there are any efforts, I would be willing to help out. Thanks,

[android-developers] Re: Android on Motorola A810...

2008-11-25 Thread Dianne Hackborn
Questions about porting Android should be on the android-porting list, thanks! On Mon, Nov 24, 2008 at 10:42 PM, Sam Android [EMAIL PROTECTED] wrote: Hello ALL, Can Android be ported on Motorola A810? Has anyone done this? A little I have come to know that Android was ported on Motorola Ming

[android-developers] Re: FLAG_ONEWAY for asynchronous communication between services

2008-11-25 Thread Dianne Hackborn
A oneway interface currently only applies when an IPC is needed to go through the interface -- that is when the callee and caller are running in different processes -- and is handled by Binder, the low-level IPC transport. When two interfaces are in the same process, calls on them are just direct

[android-developers] contextmenu getselectedtestid

2008-11-25 Thread Protocol-X
How do u the row id or position of a listactiviy when using a context menu. It always seems to always select 0 for the row id. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: how to obtain meda-data (like bit rate) from audio files ?

2008-11-25 Thread Dave Sparks
The metadata retriever currently doesn't support that level of detail. On Nov 24, 12:09 pm, AP08 [EMAIL PROTECTED] wrote: I checked android.provider.MediaStore.Audio.Media, but it can provide only limited data about audio file. I want to obtain data such as bit- rate, how do I get that ?

[android-developers] Re: How can I get the Contact Pointer of Google(Android) blow Issue

2008-11-25 Thread Dianne Hackborn
There is no need to get in contact with Google, Android is a fully open-source platform and you can get the source and start working with it: http://source.android.com/ On Mon, Nov 24, 2008 at 10:49 PM, Hunt Bae [EMAIL PROTECTED] wrote: Hi! My name is Hunt Bae from Korea Telematics Business

[android-developers] CacheManager.CacheResult

2008-11-25 Thread Peter
Has anyone been able to create a valid CacheResult object manually? I am using UrlInterceptHandler to return custom cached html pages. The instance variables of CacheManager.CacheResult are accessible within the android.webkit package only. And as far as I can tell there is no way to set the

[android-developers] Re: Notification details Activity never receives Intent used to fire it

2008-11-25 Thread Dianne Hackborn
It may or may not be the right thing to do. If you are not going to use the old intent, you should just use FLAG_CANCEL_CURRENT to first cancel the existing one so it can be replaced with your new one. On Tue, Nov 25, 2008 at 12:29 AM, Guillaume Perrot [EMAIL PROTECTED] wrote: Yes using

[android-developers] Re: can we assure that Application#onCreate always runs before the Provier#onCreate and Activity#onCreate

2008-11-25 Thread Dianne Hackborn
I wouldn't count on one or the other. For your problem, just have a global singleton for accessing the data, and retrieve that everywhere you need it. The first one who gets it will initialize it. On Mon, Nov 24, 2008 at 9:16 PM, magicpig [EMAIL PROTECTED] wrote: Hi, I have a

[android-developers] Re: Launch browser issue. Is this a bug for 1.0?

2008-11-25 Thread Dianne Hackborn
Hard to say without a stack crawl or anything. On Mon, Nov 24, 2008 at 11:10 PM, 3D [EMAIL PROTECTED] wrote: On Sep 29, 9:37 pm, april [EMAIL PROTECTED] wrote: url=http://www.google.com;; Intent i = new Intent(Intent.ACTION_VIEW,Uri.parse(url)); startActivity(i); I've been developing

[android-developers] Re: ACTION_VIEW uri.parse options (System Settings)

2008-11-25 Thread Dianne Hackborn
On Tue, Nov 25, 2008 at 9:29 AM, joshbeck [EMAIL PROTECTED] wrote: Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(market:// search?q=pname:com.android.MY_PACKAGE_NAME)); It launches the market. A couple of questions: -Where is this Market:// uri intent documented? (I can't seem

[android-developers] Re: How to put a dialog box to another activity's foreground?

2008-11-25 Thread Dianne Hackborn
This is working as intended, please don't try to work around it. Popping dialogs up on the user from outside of where they are currently working is an ugly thing to do. If you need to get the user's attention from outside of your application, the notification manager is the recommended solution.

[android-developers] Re: can we assure that Application#onCreate always runs before the Provier#onCreate and Activity#onCreate

2008-11-25 Thread magicpig
Thanks. Can we assure application#OnCreate run before activity#onCreate ? On Nov 25, 10:25 am, Dianne Hackborn [EMAIL PROTECTED] wrote: I wouldn't count on one or the other.  For your problem, just have a global singleton for accessing the data, and retrieve that everywhere you need it. The

[android-developers] Re: ListView selection highlight size

2008-11-25 Thread Andriy Zakharchuk
Have you tried setting your own list selector via android:listSelector or setSelector(int)? Hmm, when I read documentation first time I thought that it is a kind of an icon (checkbox or smth else) I can use in addition to the selection. Now, I played with it a little bit, and I guess that's

[android-developers] Re: HTTP compression lost when using 3G connection

2008-11-25 Thread melody
Thanks. I ran the test in the emulator, and the http compression was kept. So this does indeed seem to be a problem being caused by a proxy at T-Mobile. Not to be overly dramatic, but isn't this a pretty serious issue? I would think that under 3G, T-Mobile would very much want us all to be

[android-developers] Re: HTTP compression lost when using 3G connection

2008-11-25 Thread Jean-Baptiste Queru
It's actually not uncommon in the cell world to turn off compression on the public Internet, so that the proxy can have an easier time looking at the data and processing it to send it over the air (where it is compressed), i.e. trading Internet bandwidth for some CPU time on the proxy. JBQ On

[android-developers] Re: android.opengl.Matrix

2008-11-25 Thread Robert Green
Because your 3D world is virtual and infinite, meaning that it's not fixed at 0 to 100. Your whole world could be 0 to 1 if you wanted or -1000 to 1000. This means that you really need floats because there will be too much error if everything is rounded to the nearest whole number. Also, If

[android-developers] Re: android.opengl.Matrix

2008-11-25 Thread Waylon Grange
Maybe I wasn't too clear in my question but I am talking about using fixed point numbers (16.16). OpenGL has a fixed point version of almost all functions but the android.opengl.Matrix class is strictly floats. --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: connection with Gdata : problem

2008-11-25 Thread Declan Shanaghy
Following the recommendation from this thread: http://markmail.org/message/2do7hlyw6ka4dat2#query:android%20HttpsUrlConnection+page:2+mid:slnqe4wtk6k77e3r+state:results I have placed some modified jars here: http://www.shanaghy.com/gdatamod/ I modified the gdata source to override the https

[android-developers] Re: Dalvik and BOOTCLASSPATH

2008-11-25 Thread Koush
Ahh, I see. Thanks for the heads up on that documentation. I had looked at the dexopt source and it looked like that libraries in the boot class path were restricted to being in dependency order... so that basically shoots down my idea of overriding class loading. On Nov 16, 10:26 pm, fadden

[android-developers] Re: Dalvik and BOOTCLASSPATH

2008-11-25 Thread Koush
Also, I've tried just pushing a vanilla framework.jar and framework- apk.jar (as built from the source) to the emulator. This didn't work at first. I found that it was looking for EGLImpl, and then pushed lib/ libandroid_runtime.so to the phone to fix it, and though it worked, most of the

[android-developers] Re: Dalvik and BOOTCLASSPATH

2008-11-25 Thread Jean-Baptiste Queru
The issue of internet access on the emulator built from the open-source tree was resolved a while back, but you need to do a clean build and wipe data for it to stick. JBQ PS: this discussion is falling on the side where it should probably continue on one of the open-source lists (e.g.

[android-developers] Re: Is it possible to add a custom link in the Share Picture Via dialog?

2008-11-25 Thread Bill Napier
If you look at how the MMS App handles this: http://android.git.kernel.org/?p=platform/packages/apps/Mms.git;a=blob;f=src/com/android/mms/ui/ComposeMessageActivity.java;h=b4a00709c596b5da5cefc1486924aab6bbbf63fe;hb=HEAD#l2162 This is what they do: Uri uri =

[android-developers] Maps API Key to run in emulator, is it necessary??

2008-11-25 Thread crontabpy
hi there, kind of confused with this, found two documentations: http://code.google.com/android/toolbox/apis/mapkey.html Stated: Because MapView gives you access to Google Maps data, you need to register with the Google Maps service and agree to the applicable Terms of Service before your

[android-developers] Re: Maps API Key to run in emulator, is it necessary??

2008-11-25 Thread Henry Addo
Henry! http://www.addhen.org/blog On Tue, Nov 25, 2008 at 8:39 PM, crontabpy [EMAIL PROTECTED] wrote: hi there, kind of confused with this, found two documentations: http://code.google.com/android/toolbox/apis/mapkey.html Stated: Because MapView gives you access to Google Maps data,

[android-developers] Re: Maps API Key to run in emulator, is it necessary??

2008-11-25 Thread Henry Addo
Now getting a map key is enforced so you need to get the API key from Google before you can receive data with your MapView. Henry! http://www.addhen.org/blog On Tue, Nov 25, 2008 at 8:39 PM, crontabpy [EMAIL PROTECTED] wrote: hi there, kind of confused with this, found two documentations:

[android-developers] Re: Maps API Key to run in emulator, is it necessary??

2008-11-25 Thread Michael
Yes, now you need to have a real API key to use MapView. --~--~-~--~~~---~--~~ 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: Fw: [android-developers] Re: Android and bluetooth

2008-11-25 Thread Dave Sparks
Bluetooth is a big category. What feature(s) do you need? On Nov 25, 1:26 am, supernova [EMAIL PROTECTED] wrote: Any idea when a version with BT support will be released? I need to choose a mobile platform for a project and BT support is required. On 24 nov, 13:45, Mark Murphy [EMAIL

[android-developers] Re: Issues: Webview.loadData() trying to load a string created from a read file(asset) and a string

2008-11-25 Thread polo777
Hi, Finally I created the content provider overriding the openFile method so that I can use loadUrl() but still a part of the Javascript (of the page loaded) that worked when it was loading from the web or an asset file doesn't work here. I got a WebCore error telling me there is a parsing

[android-developers] Re: Streaming RTSP directly by suing MediaPlayer

2008-11-25 Thread Dave Sparks
The media framework does support RTSP with RTP payloads. The OpenCore code includes an RTSP/RTP client built on sockets that will handle buffering and transport controls. It does not work in the emulator environment due to some firewall issues in the emulator network layer. On Nov 24, 12:30 pm,

[android-developers] Re: Error after creating a service

2008-11-25 Thread G
If you could include the code from your service, it would help to diagnose the problem. As far as creating the service in eclipse, it's nothing more that creating a new class that extends Service (unless you're trying to implement an interface as well). I'd suggest starting with a new project and

[android-developers] Re: how to remove certain SMS notifications

2008-11-25 Thread G
I would like to be able to do this as well, but I think the folks at google deemed it a security risk (which is sad because SMS-intercept capabilities could allow almost any app to support some kind of push notification in a very simple way) On Nov 24, 1:13 pm, Tughi [EMAIL PROTECTED] wrote:

[android-developers] Intent variable required for onStart function

2008-11-25 Thread steve_macleod
Hi, Quick question, I am running a service (code below). I have a problem with the super.onStart(intent, startId) line. The onStart call expects and Intent as paremeter. How can I get this from the context below? Thanks package com.stevemacleod.prankapp; import java.io.IOException; import

[android-developers] Re: Intent variable required for onStart function

2008-11-25 Thread Dianne Hackborn
Er... the onStart() method takes Intent as a parameter, so that is what your onStart() method should be taking. This code looks like it was from a pre-1.0 version of the platform (and whoever wrote it didn't use @Override, naughty naughty!). On Tue, Nov 25, 2008 at 3:09 PM, steve_macleod [EMAIL

[android-developers] Re: Android Camera Preview Filter Using Camera.PreviewCallback.onPreviewFrame

2008-11-25 Thread dmanpearl
Peter and Jeff, Thanks for each of your fantastic help, I am very close to achieving a filtered preview display as required for my project - Modification of the Android Camera Display from onPreviewFrame. Here is my current stumbling block: I can't seem to make coexist: SurfaceHolder for the

[android-developers] Re: Intent variable required for onStart function

2008-11-25 Thread steve_macleod
Hi Dianne, OK Im new with this, but how do I get the initiating Intent object from the onStart function? thanks, On Nov 25, 11:43 pm, Dianne Hackborn [EMAIL PROTECTED] wrote: Er...  the onStart() method takes Intent as a parameter, so that is what your onStart() method should be taking.  This

[android-developers] Re: Intent variable required for onStart function

2008-11-25 Thread steve_macleod
Oh yeah should also say the example code im working from is in the Android Essentials book, and its quite outdated now... On Nov 25, 11:43 pm, Dianne Hackborn [EMAIL PROTECTED] wrote: Er...  the onStart() method takes Intent as a parameter, so that is what your onStart() method should be

[android-developers] Re: Intent variable required for onStart function

2008-11-25 Thread Mark Murphy
steve_macleod wrote: Hi Dianne, OK Im new with this, but how do I get the initiating Intent object from the onStart function? She's saying your onStart() callback should look like this: @Override public void onStart(Intent intent, int startId) { super.onStart(intent, startId);

[android-developers] Two questions about Toast

2008-11-25 Thread Jamie L
In the code below, I added a button to the toast, but I am facing two problems. 1. The button is not clickable! onClick is not called when I click on the button. 2. If I replace Toast.LENGTH_LONG with a number 1, the toast does not stay for 10 seconds. Is it by design that you can't add

[android-developers] Re: Querys involving more than one table of Contatcs Content Provider

2008-11-25 Thread Mark Murphy
jarkman wrote: I'd love to make a cursor which also included the name of the person, but as far as I know there is no way to do that with a single query. That's probably true. That is, as far as I can tell, there's no way to do a join via the content provider interface, and permissions

[android-developers] Re: Two questions about Toast

2008-11-25 Thread Romain Guy
1. The button is not clickable! onClick is not called when I click on the button. Toasts are meant only to display information, they are not meant for user interaction. Use a dialog to do this. 2. If I replace Toast.LENGTH_LONG with a number 1, the toast does not stay for 10 seconds.

[android-developers] Re: Two questions about Toast

2008-11-25 Thread Jamie L
My application listens to certain event from another app. As soon as the event is received, I want to displays a dialog or a toast to notify the user and give users a few action choices with buttons. We can't display a dialog because it doesn't pop up in the foreground over the other app. Toast

[android-developers] Re: Two questions about Toast

2008-11-25 Thread Romain Guy
You can use notifications :) (If it makes sense, that is) On Tue, Nov 25, 2008 at 4:52 PM, Jamie L [EMAIL PROTECTED] wrote: My application listens to certain event from another app. As soon as the event is received, I want to displays a dialog or a toast to notify the user and give users a

[android-developers] Re: Two questions about Toast

2008-11-25 Thread Jamie L
you can put buttons on notification? On Tue, Nov 25, 2008 at 4:55 PM, Romain Guy [EMAIL PROTECTED] wrote: You can use notifications :) (If it makes sense, that is) On Tue, Nov 25, 2008 at 4:52 PM, Jamie L [EMAIL PROTECTED] wrote: My application listens to certain event from another app.

  1   2   >