[android-developers] Re: getting latest version repo

2008-11-26 Thread Andrew Stadler
Reminder: android-developers@googlegroups.com is a list for discussion of application development using the SDK. For questions about building Android from open source, or about porting to other hardware, you'll get better responses from one of the lists described here:

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

2008-11-26 Thread Andrew Stadler
Reminder: android-developers@googlegroups.com is a list for discussion of application development using the SDK. For questions about building Android from open source, or about porting to other hardware, you'll get better responses from one of the lists described here:

[android-developers] Re: native audio interface / AudioRecord.h

2008-11-26 Thread Andrew Stadler
GnuHash- I'm sorry to be repetitive but as Dianne said: At this point: no native code is supported in the SDK. Using it may result in your application breaking when an update to the phone is delivered. Using C++ APIs will definitely result in you breaking in the future. Could this please be

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

2008-11-26 Thread Hunt Bae
Ok, Thank you for your reply... That's good advice for me Um, I'll contact the openhandsetalliance.com Thank you.. 2008/11/26 Andrew Stadler [EMAIL PROTECTED]: Dianne is absolutely right, Android is an Open Source platform and you or your partner companies are free to begin working on it

[android-developers] Re: Amazon MP3 Intent URI

2008-11-26 Thread Al Sutton
If you're writing an app with a link to it please remember that the MP3 store isn't available on every device. It doesn't even ship on the G1 if you buy it in the UK. Al. joe.monti wrote: How would one link to the Amazon MP3 store? What is the Intent URI syntax? Can anyone provide any

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

2008-11-26 Thread jarkman
Dianne - thanks for the confirmation. I had spent a while banging my head on this issue, convinced that there ought to be an easy way if only I found the right ContentProvider magic. I can see that we will need to solve similar problems more than once, and I would love to stay in the world of

[android-developers] AIDL in same process

2008-11-26 Thread Louis
Hi, All Our team want build some services which provided to 3rd party, and we are trying to design the interfaces which using the AIDL, and also, we want to build our own application base on this services also, and run in the same process, but is it still need using IPC to transfer the data

[android-developers] Re: Send message

2008-11-26 Thread Stefan Selariu
It works for me, but only if I have two emulators. From emulator 5556 I can send to emulator 5554. On Wed, Nov 26, 2008 at 6:58 AM, andrex [EMAIL PROTECTED] wrote: Hi all, can anyone help me, I want to send an auto message or an alert to the phone. I've trying this SmsManager sm =

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

2008-11-26 Thread Stefan Selariu
A more strange thing that happens is: If you send a message using the SmsManager it doesn't appear in the conversations within the Messages (Mms.app) application. After digging in the Mms source code I found that they have an MessagingNotification class that handles the notifications. What Mms.apk

[android-developers] For modular requirement

2008-11-26 Thread Louis
Hi, All: Our products which running in other platform are using the modular approach, which means if user want to add a new feature, he/she only need to download a new plug-in, but not reinstall the who application. And we used COM library base ideas to do that before, is there anyway to do it

[android-developers] Re: NotePad sample app bug

2008-11-26 Thread Peli
For the OI Notepad (which is based on Google's sample notepad application), we set the intent action manually from INSERT to EDIT, once it has been created. This way, it is not inserted multiple times on screen orientation changes.

[android-developers] Re: PLUGIN Eclipse

2008-11-26 Thread mimmolinox
help me please? On 24 Nov, 10:38, mimmolinox [EMAIL PROTECTED] wrote: This is the error: No repository found athttps://dl-ssl.google.com/android/eclipse/   Error reading update sitehttps://dl-ssl.google.com/android/eclipse/.   Unconnected sockets not implemented On 21 Nov, 16:10, [EMAIL

[android-developers] Re: PLUGIN Eclipse

2008-11-26 Thread Stefan Selariu
Install the plugin using the ADT archive. On Wed, Nov 26, 2008 at 3:54 PM, mimmolinox [EMAIL PROTECTED] wrote: help me please? On 24 Nov, 10:38, mimmolinox [EMAIL PROTECTED] wrote: This is the error: No repository found athttps://dl-ssl.google.com/android/eclipse/ Error reading

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

2008-11-26 Thread Rich
Presumably though I could popup some new view on part of the screen though, like the whitepages caller ID application? I'm using PhoneStateListener to detect an incoming call, how can I then popup a view on part of the screen? Thanks On Nov 25, 6:09 pm, Dianne Hackborn [EMAIL PROTECTED] wrote:

[android-developers] Standard widget styles

2008-11-26 Thread Andriy Zakharchuk
Hello all, I'm trying to implement a view similar to the Contact view (screen with a contact icon, name, favourite checkbox, dial number and send SMS actions) available in the Android emulator. And I'm interesting if there are any standard styles available for that. Particularly, I'm looking

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

2008-11-26 Thread loty
Mark, thanks for your reply. I can get other pages without problem but some static pages from my web site i just can't get to. What is weird about it is that I can navigate and view those pages in the browser in emulator or on my G1 but using the same exact URL in HttpClient doesn't work. I think

[android-developers] Re: Standard widget styles

2008-11-26 Thread Thao
Hello, What I could advise is to donwload the android source code. You have the source of contact application. It would help a lot ! On 26 nov, 14:03, Andriy Zakharchuk [EMAIL PROTECTED] wrote: Hello all, I'm trying to implement a view similar to the Contact view (screen with a contact

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

2008-11-26 Thread nimbus83
Thank you for your answer. On 25 Nov., 19:14, Dianne Hackborn [EMAIL PROTECTED] wrote: 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

[android-developers] Know about the Android Developers

2008-11-26 Thread Nigella
Android Developer Challenge - To support you in your efforts, Google has launched the Android Developer Challenge, which will provide $10 million in awards.

[android-developers] Re: Getting GPS Location in Android 1.0 SDK

2008-11-26 Thread crontabpy
anyone?having the same problem here On Oct 22, 12:29 pm, Matthias [EMAIL PROTECTED] wrote: Hi, no, it still doesn't work as expected. It only works when going through telnet and sending manual fixes using the geo command, but it never works via ADB and Eclipse GUI. Bummer. I run Linux

[android-developers] Re: SimpleCursorAdapter to Spinner getting CursorIndexOutOfBoundsException

2008-11-26 Thread wescorp
Thanks for the tip and your help Mark. btw, Your book is great. Cheers, Wes On Nov 16, 12:41 pm, Mark Murphy [EMAIL PROTECTED] wrote: After this I decided to implement a for loop just to see if I could display all the cursor information before I actually try to use it somewhere. Here's

[android-developers] Two applications respond to the same intent

2008-11-26 Thread Thao
Hello all, I've posted a question at the following link regarding issue I met when trying to replace the standard contact application that comes with android : http://groups.google.com/group/android-developers/browse_thread/thread/565d89d354691a/d4f9d6a5f9560ffd#d4f9d6a5f9560ffd I've done more

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

2008-11-26 Thread Mark Murphy
loty wrote: I can get other pages without problem but some static pages from my web site i just can't get to. Can you check your server logs and confirm that you are getting 404's there that match your 404's you're getting on the client? If they're there, do you see anything unusual in the

[android-developers] G1 Calendar app on Emulator/SDK?

2008-11-26 Thread ams163
Hello, We are trying to use the Calendar App/API on the emulator/latest SDK, but people here are saying that the app is not available in the SDK. Is there any way we can get it from source (android source) and add it to the SDK ourselves? We want to try and avoid having to download the full

[android-developers] Re: SSLSocket working sample code

2008-11-26 Thread Michael
The Email application that comes with Android has quite a bit of SSLSocket use. Check in the android source for that. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

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

2008-11-26 Thread Michael
#1 chunk data here indicates some unit of bytes (may be 512, 1024 etc) . it  would be better if you could point me to some example of such an application written in java which works on android This doesn't tell us anything at all. By what means do you want to get this data? HTTP? FTP? #2

[android-developers] Re: Getting File Descriptor For Pipe

2008-11-26 Thread Dave Sparks
This is unlikely to work because the OpenCore engine isn't setup to play from a pipe. It plays from a local file, which allows it to seek within the file, or from an HTTP or RTSP/RTP stream, which requires content formatted specifically for streaming. A future version of the SDK will support

[android-developers] Re: Deleteing from IMAP with built-in Email application.

2008-11-26 Thread Don Pellegrino
Sorry, I shouldn't have posted this to the board. In trying to answer my last question about bug reports I found that indeed there is an issue tracking system and the issue I mentioned has already been filed as Issue 1029 (http://code.google.com/p/android/issues/detail?id=1029).

[android-developers] Re: Android J2ME project

2008-11-26 Thread Dana Li
Hi all, We just had a NEW RELEASE today, please download and give a try! Thanks Dana (408)702-2103 [EMAIL PROTECTED] On Tue, Nov 25, 2008 at 9:31 AM, Jayabharath B [EMAIL PROTECTED]wrote: Ohh!! OK. Thanks On Tue, Nov 25, 2008 at 10:45 AM, Dana Li [EMAIL PROTECTED] wrote: This is a

[android-developers] Re: About GPS Support on Android

2008-11-26 Thread crontabpy
let me know the location too, please. On Oct 24, 12:45 pm, Mayank Rana [EMAIL PROTECTED] wrote: Hi, I haven't read how to test location services and I am still not able to find it. Please let me know the path or location of it. Thanks. Regards, _-_Mayank Rana_-_ On Thu, Oct 23, 2008

[android-developers] Re: how to inject a KeyEvent

2008-11-26 Thread Michael
That kinda seems like the wrong way to do things, simulating key events. But anyways, if you want to pass data between Activities, you add it into the Intent. See putExtra() and getExtra(). - michael --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Amazon MP3 Intent URI

2008-11-26 Thread joe.monti
Good point. Thanks for pointing that out. But if Amazon MP3 is available, does anyone know how to link to it? Thanks, - Joe On Nov 26, 6:10 am, Al Sutton [EMAIL PROTECTED] wrote: If you're writing an app with a link to it please remember that theMP3 store isn't available on every device.

[android-developers] Re: Send message

2008-11-26 Thread andrex
Hi Stefan thanks, but Can I send me a message, to the emulator how run the application? or what can I do if i want to send an alert to the user, something like a wap push message or maybe a reminder. I'll be thanks for the answers --~--~-~--~~~---~--~~ You received

[android-developers] Contacts Performance

2008-11-26 Thread Don Pellegrino
I have 620 contact records that I maintain in GNOME's Evolution on Linux. My first attempt at getting them onto a T-Mobile G1 was using syncevolution with Funambol and the Android Funambol client. The Funambol client is incredibly slow but I suppose that is an issue for discussion at the

[android-developers] Re: how to inject a KeyEvent

2008-11-26 Thread Dianne Hackborn
There is no plan at this point, though I imagine some time in the future some of these things may be allowed maybe under the guise of telling the user that the application can do anything they can or such. On Sat, Nov 22, 2008 at 8:33 AM, Dorn Hetzel [EMAIL PROTECTED] wrote: Is that a

[android-developers] Re: Enabling taps in ListView

2008-11-26 Thread Mark Murphy
David Orme wrote: I got no answer to this query on Android-Beginner so I'm reposting it here: I have a ListView where I've supplied a custom row object. I can both tap and long-tap using the hardware track ball (or the Enter key in the emulator), but these same gestures do not work on

[android-developers] Re: Two applications respond to the same intent

2008-11-26 Thread Dianne Hackborn
What is the manifest for your application? Note that addPackageToPreferred() was not intended to be in the final system, and it will be turned off in a future release (it is an old simpler way to manage preferred applications, which deeply conflicts with the current intent-based model). On Wed,

[android-developers] Re: AIDL in same process

2008-11-26 Thread Dianne Hackborn
Calls through an aidl interface in the same process are simple direct function calls, no overhead added. There is currently no way to bundle multiple .apks into a single thing that the users installs; the user will need to deal with them as separate applications they need to install. On Wed, Nov

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

2008-11-26 Thread Dianne Hackborn
On Wed, Nov 26, 2008 at 3:37 AM, jarkman [EMAIL PROTECTED] wrote: I have the slightly hazy idea that we could write our own Cursor that took a pair of Cursors and a join expression, so as to do this in a general way. That would be handy in all sorts of ways. Do you think that would be

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

2008-11-26 Thread Christine
When something like this happens, I use Wireshark to see what's actually going out to the web server. There must be something wrong with what's going out, or you wouldn't get a 404 error. On Nov 26, 4:00 pm, Mark Murphy [EMAIL PROTECTED] wrote: loty wrote: I can get other pages without

[android-developers] Re: AIDL in same process

2008-11-26 Thread Dave Sparks
IPC binder calls within the same process are treated as local C++ calls, i.e. they occur synchronously on the same thread. I'm not sure what you are asking in the second part of your question. Is this a request for dependencies in the Market, e.g. Application A requires Application B to be

[android-developers] Re: Deleteing from IMAP with built-in Email application.

2008-11-26 Thread Don Pellegrino
Thanks for the reply. My account was indeed setup manually. I'll look forward to the update then. If you are associated with Google perhaps you could update the status of Issue 1029 with this great news. Having access to the bug reports is so relaxing and so much better than the non-android

[android-developers] Re: Enabling taps in ListView

2008-11-26 Thread Christine
If clickable is not set, would clicking with the trackball or enter key work? I have noticed that the touch screen can behave weird when the clickable textview is small. It's hard to click in the right spot. On Nov 26, 6:36 pm, Mark Murphy [EMAIL PROTECTED] wrote: David Orme wrote: I got no

[android-developers] Re: About GPS Support on Android

2008-11-26 Thread Christine
It's called location based services On Nov 26, 5:32 pm, crontabpy [EMAIL PROTECTED] wrote: let me know the location too, please. On Oct 24, 12:45 pm, Mayank Rana [EMAIL PROTECTED] wrote: Hi, I haven't read how to test location services and I am still not able to find it. Please let

[android-developers] Re: Enabling taps in ListView

2008-11-26 Thread Romain Guy
Did you add focusable widgets inside your list item? If so, the list item cannot be tapped anymore. On Wed, Nov 26, 2008 at 9:55 AM, Christine [EMAIL PROTECTED] wrote: If clickable is not set, would clicking with the trackball or enter key work? I have noticed that the touch screen can

[android-developers] Re: PLUGIN Eclipse

2008-11-26 Thread Christine
Did you type that url in the Eclipse software update window as a new update site? On Nov 24, 10:38 am, mimmolinox [EMAIL PROTECTED] wrote: This is the error: No repository found athttps://dl-ssl.google.com/android/eclipse/   Error reading update

[android-developers] Re: PLUGIN Eclipse

2008-11-26 Thread Christine
Did you type that url in the Eclipse software update window as a new update site? On Nov 24, 10:38 am, mimmolinox [EMAIL PROTECTED] wrote: This is the error: No repository found athttps://dl-ssl.google.com/android/eclipse/   Error reading update

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

2008-11-26 Thread blindfold
Hi David, I can't seem to make coexist: SurfaceHolder for the camera ImageView for the filtered Bitmap to display. ... Do you know why I can't make the Camera's Surface and an ImageView Bitmap simultaneous members of the same active ViewGroup? I do not use ImageView myself so I cannot

[android-developers] Push Notification Techniques: Discuss

2008-11-26 Thread G
So here's something to think about while stuffing your face with turkey. What are some techniques that could be used for push notifications to an app (service) in android? The simplest option I can think of is what Fusion's visual voicemail uses, which is to monitor incoming SMS messages. The

[android-developers] Re: contextmenu getselectedtestid

2008-11-26 Thread G
@Override public boolean onContextItemSelected(MenuItem item) { // TODO Auto-generated method stub AdapterContextMenuInfo acmi = (AdapterContextMenuInfo) item.getMenuInfo(); long clickedId = acmi.id; } In the above case, clickedId is the id of the row that was long-

[android-developers] Re: Getting GPS Location in Android 1.0 SDK

2008-11-26 Thread crontabpy
hi there, I'm still trying to find out why does loc = locman.getLastKnownLocation(gps); always returns null value When I run this app, I telnet to the emulator and enter geo fix 25 25 while the emulator is with my app running. I still get null values. can anyone help?? below my app source

[android-developers] Re: Push Notification Techniques: Discuss

2008-11-26 Thread Mark Murphy
G wrote: What are some techniques that could be used for push notifications to an app (service) in android? SMS. Everything else remotely practical is some flavor of pull, in terms of who initiates the request for data (the device) and the timing of such requests (polling). The problem

[android-developers] Working on a Map editor for Alien Blood Bath...

2008-11-26 Thread Mast3rpyr0
Its a java app for desktops, so far i got the main GUI. Loading the sprite files though is where im stuck. if anyone can figure out the problem with loading the sprites i would love you forever :P http://code.google.com/p/abbmapbuilder/ code and test sprite is in the downloads section.

[android-developers] How to do a ScrollView in a LinearLayout correctly

2008-11-26 Thread MrSnowflake
How should we correctly use a ScrollView in a LinearLayout, where I want a static LinearLayout at the bottom of the main LinearLayout (let's call it layMain, the ScrollView just scroll and the bottom layBottom). An example (it's not a valid layout structure, only for demo):

[android-developers] Re: Push Notification Techniques: Discuss

2008-11-26 Thread MrSnowflake
What about a IMAP IDLE style of pushing. It too is real pushing, except your phone needs to keep the tcp connection alive, sending a NOOP every minutes or so. You could also use xmpp. On 26 nov, 20:06, Mark Murphy [EMAIL PROTECTED] wrote: G wrote: What are some techniques that could be used

[android-developers] Re: Getting GPS Location in Android 1.0 SDK

2008-11-26 Thread Ludwig
You always need a locationlistener in your app, otherwise the GPS updates seem not to be recorded. There have been quite a few previous posts on this which might be worth reading. Ludwig 2008/11/26 crontabpy [EMAIL PROTECTED] hi there, I'm still trying to find out why does loc =

[android-developers] Re: Push Notification Techniques: Discuss

2008-11-26 Thread Mark Murphy
MrSnowflake wrote: What about a IMAP IDLE style of pushing. It too is real pushing, except your phone needs to keep the tcp connection alive, sending a NOOP every minutes or so. This requires a constant Internet connection, which keeps the GSM radio alive all the time, which drains your

[android-developers] Re: Push Notification Techniques: Discuss

2008-11-26 Thread Tom Gibara
TCP/IP is packet based, so the CPU is not required until a packet arrives. And the radio is necessarily always on. So maintaining such a connection, though by no means free, is not as costly as one might at first think. My preference would be for an web service that allowed 3rd party apps to

[android-developers] Re: How to query for my current location?

2008-11-26 Thread crontabpy
Running example: package com.layout.test; import android.app.Activity; import android.content.Context; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; import android.util.Log; import android.view.Menu;

[android-developers] Re: Two applications respond to the same intent

2008-11-26 Thread Thao
Hi Dianne, This is my manifest : ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=www.mypackage.com android:versionCode=1 android:versionName=1.0.0 uses-permission

[android-developers] Re: Two applications respond to the same intent

2008-11-26 Thread Thao
Hi Dianne, This is my manifest : ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=www.mypackage.com android:versionCode=1 android:versionName=1.0.0 uses-permission

[android-developers] Re: Comment spam in android market :(

2008-11-26 Thread Max Binshtok
Googlers, please read! I recently posted my application and while overall the comments were very useful, there is abut 30% which are spam and one or two very offensive comments. If google can't/won't moderate the comments, WHY can't we as developers do that? Mystery to me... I'll tell you the

[android-developers] Re: Two applications respond to the same intent

2008-11-26 Thread Dianne Hackborn
I don't see anything in that manifest that could possibly cause your app to run in the acore process, so I am very confused by that. Some other comments: On Wed, Nov 26, 2008 at 12:20 PM, Thao [EMAIL PROTECTED] wrote: manifest xmlns:android=http://schemas.android.com/apk/res/android;

[android-developers] Re: How to do a ScrollView in a LinearLayout correctly

2008-11-26 Thread MrSnowflake
I've found it. In my case the ScrollView as actually inside a ViewAnimator. So, I set the layout_weight for this ViewAnimator to 1 and it was solved :D. On 26 nov, 20:44, MrSnowflake [EMAIL PROTECTED] wrote: How should we correctly use a ScrollView in a LinearLayout, where I want a static

[android-developers] Re: Push Notification Techniques: Discuss

2008-11-26 Thread Dianne Hackborn
On Wed, Nov 26, 2008 at 10:33 AM, G [EMAIL PROTECTED] wrote: P.S. To to folks at Google, please help us out. By not giving devs the ability to push notifications to our apps from the internet, you've seriously gimped our ability to design lots of killer apps and thereby boost the popularity

[android-developers] Re: Push Notification Techniques: Discuss

2008-11-26 Thread MrSnowflake
Mark, yeah, I missed that part in the OT, but Windows Mobile uses it for it's exchange push mail. And Google probably also uses it for the GMail and Calendar. And most I always have my connection open on my phone (a HTC Wizard for the record), probably like most people with an unlimited data

[android-developers] Re: Getting GPS Location in Android 1.0 SDK

2008-11-26 Thread crontabpy
you're right, finally I made it work. here's the code for who might be in the same issue as me: http://groups.google.com/group/android-developers/browse_thread/thread/ad6d7ddd57c51061/13f0b10817a2d440 But is there any way I decide to turn off or on the Gps? I just need to get current

[android-developers] Re: Push Notification Techniques: Discuss

2008-11-26 Thread MrSnowflake
On 26 nov, 21:10, Tom Gibara [EMAIL PROTECTED] wrote: ... My preference would be for an web service that allowed 3rd party apps to 'share' the update mechanism already used in Google's applications. There are lots of difficulties in terms of the scale of that service (something that Google

[android-developers] Re: Push Notification Techniques: Discuss

2008-11-26 Thread Dianne Hackborn
On Wed, Nov 26, 2008 at 1:01 PM, MrSnowflake [EMAIL PROTECTED] wrote: I was thinking about such a standardized system too: it requires the phone to only have 1 service running for possible dozens of tasks. Actually I was hoping (since this first SDK) we could use the xmpp (GoogleChat, or what

[android-developers] Re: Comment spam in android market :(

2008-11-26 Thread Al Sutton
I'd just like to remind you that by supporting the other application directory sites you can give Google a commercial prod to make the changes you want. The carriers they have agreements with get a cut of sales made through market (when they start to happen), so if you want to hit them

[android-developers] Re: Getting GPS Location in Android 1.0 SDK

2008-11-26 Thread Christine
I don't think that having a locationlistener would switch on the GPS, but I may be mistaken. On Nov 26, 9:59 pm, crontabpy [EMAIL PROTECTED] wrote: you're right, finally I made it work. here's the code for who might be in the same issue as

[android-developers] initializing chosen item for ListView.CHOICE_MODE_SINGLE

2008-11-26 Thread j
I would like to show previously chosen item in the List10 of APIDemo app. i.e. What method do I call to programmaticly choose a single item in a single choice (CHOICE_MODE_SINGLE) listview? Code from APIDemo: public class List10 extends ListActivity { @Override public void

[android-developers] Re: Push Notification Techniques: Discuss

2008-11-26 Thread Mark Murphy
And the radio is necessarily always on. Yeah, but... I was under the impression that, in normal operating mode, the GSM radio is in a low-power state. That's why you have talk time versus standby time in mobile device battery life specs -- when a call begins, the radio stays in a

[android-developers] MediaPlayer seek on startup

2008-11-26 Thread David Given
I'm trying to play streaming music. The user has previously requested that the stream start a certain way into the stream. How do I do this? What I'm finding is that if I do: mediaplayer.setDataSource(...); mediaplayer.prepare(); mediaplayer.seekTo(...); ...then the seek happens *after* the

[android-developers] Re: Push Notification Techniques: Discuss

2008-11-26 Thread Dorn Hetzel
If I open a datagram socket to listen on a particular UDP port and leave it open but don't send anything, does that keep the radio on? If a listening socket doesn't keep the radio on, then an application could send a couple packets to register it's IP and port and then shut up and wait for

[android-developers] Re: Push Notification Techniques: Discuss

2008-11-26 Thread Mark Murphy
If I open a datagram socket to listen on a particular UDP port and leave it open but don't send anything, does that keep the radio on? If a listening socket doesn't keep the radio on, then an application could send a couple packets to register it's IP and port and then shut up and wait for

[android-developers] Re: Push Notification Techniques: Discuss

2008-11-26 Thread Tom Gibara
So, the question is: with an open-but-quiet Internet connection on a carrier data network, how much power draw is there from the GSM radio? I'm probably beyond the limits of my understanding here, and definitely well beyond the limits of my competency :) But that won't stop me from choosing to

[android-developers] Re: MediaPlayer seek on startup

2008-11-26 Thread Dave Sparks
You must always call prepare() before seekTo(). The player engine needs to read the first part of the stream to identify the stream type and required codecs and read the content index (if it exists). On Nov 26, 2:55 pm, David Given [EMAIL PROTECTED] wrote: I'm trying to play streaming music.

[android-developers] 回复:[android-devel opers] Re: how to access file system

2008-11-26 Thread front999
Thank you for your reply. Do you mean we can access whole file system (e.g. /root/, /, /usr/lib) without permission from user? In my understanding, the accessible file system should be the Java file system which is not the real file system, and it might be a part of real file system. Image we

[android-developers] Re: AIDL in same process

2008-11-26 Thread Louis
Yes, the request comes from Market, other company want to use our services, but for some devices, user may not install our application at all. On Nov 27, 1:49 am, Dave Sparks [EMAIL PROTECTED] wrote: IPC binder calls within the same process are treated as local C++ calls, i.e. they occur

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

2008-11-26 Thread dmanpearl
Hello Blindfold, Thanks for your help. I solved the user interface problems I was experiencing by using a separate thread to do my image processing. I'm still using an ImageView, and without problems. Perhaps I will try a Canvas in a SurfaceHolder later in this exercise to compare speeds.

[android-developers] Re: Database storage

2008-11-26 Thread plusminus
*bump* On 11 Nov., 08:28, g1ster [EMAIL PROTECTED] wrote: Is there a way to store a SQLitedatabaseinstance to an external storage like a SD card? Mydatabaseis growing and don't want it to take up all the internal storage. Thanks!!! --~--~-~--~~~---~--~~ You

[android-developers] Re: Database storage

2008-11-26 Thread plusminus
I receive an exception that says like Filename contains Pathseparators I'm using /sdcard/folder/file with SQLiteOpenHelper. Thanks in advance. Best Regards, plusminus On 26 Nov., 21:41, Dianne Hackborn [EMAIL PROTECTED] wrote: Uh, you can just create it with a path to a file on the SD card.

[android-developers] Re: SQLiteDatabase on SDCard possible?

2008-11-26 Thread plusminus
Got it, seems like SQLiteOpenHelper works only with dbs in the data- folder of the app. This does it: SQLiteDatabase.openDatabase(/sdcard/my.db, null, SQLiteDatabase.CREATE_IF_NECESSARY); On 26 Nov., 21:53, plusminus [EMAIL PROTECTED] wrote: Changed topic to expressive title.

[android-developers] Trouble with BitmapFactory.decodeResource

2008-11-26 Thread CaseyB
I use this line: mIcon = BitmapFactory.decodeResource(context.getResources(), R.drawable.icon); after which mIcon is not null, but its width and height are both -1 and nothing is drawn. Is there something obvious that I'm missing? Here's my call to draw it: canvas.drawBitmap(mIcon, null, new

[android-developers] Problem with the sqlite database

2008-11-26 Thread bharath kumar
Hi AndroidDev, 11-24 19:27:38.287: ERROR/Database(5891): Leak found 11-24 19:27:38.287: ERROR/Database(5891): java.lang.IllegalStateException: /data/data/com.vista.examples.List/databases/ev_data SQLiteDatabase created and never closed i got the above error .how to resolve the problem.? Also

[android-developers] Problem with the sqlite database

2008-11-26 Thread bharath kumar
Hi AndroidDev, Please let me know whether i can use SQLiteDatabase.openDatabase(getDatabasePath(EVENT_DATA).toString(), null,SQLiteDatabase.OPEN_READONLY ); to get the reference to the database Is this is the correct way to get reference to database? Please help guys its

[android-developers] Re: Problem with ContentResolver

2008-11-26 Thread Ilan
Any luck with this one? I realy need it to be an MP3 file On Nov 13, 12:53 am, Thustle [EMAIL PROTECTED] wrote: Thanks for the workaround Ernest. I'll try that for now and hope that a true solution presents itself soon. Dave On 12 Nov, 19:57, Ernesto [EMAIL PROTECTED] wrote: Hello

[android-developers] SIM Application Toolkit functionality supported by Android Application

2008-11-26 Thread Prabhu A L
Hi All, We wish to know more about the SIM Application ToolKit functionality supported by Android Application in present and coming release. Present Release (1.0) has minimum implementation of Supplementary services, SMS, DTMF and event list proactive commands as per the Specification. We are

[android-developers] OnScreen Keyboard

2008-11-26 Thread Rui Castro
Hi, I implemented an OnScreen Keyboard in the Android framework. It works with all applications and it's possible to answer calls :) I already uploaded the changes to Android repository, here ( http://review.source.android.com/4801) and here ( http://review.source.android.com/3087). I've tried to

[android-developers] How to enable screen transition when launching Activity

2008-11-26 Thread Tomei Ningen
This question was asked before http://groups.google.com/group/android-developers/browse_thread/thread/d5baa0831af53d80?q=android+G1+screen+transition#8cb9752ead82d2eb but I'll ask it again :-) On earlier Android SDK, when you are in home screen, and you launch an app (like Contacts), there's an

[android-developers] Stock Ticker ?

2008-11-26 Thread Ward Willats
Howdy all. I need the classic horizontal scrolling ticker for an app I am doing. I see the Ticker class was removed from the old SDK. Tried to use TextSwitcher and a TranslateAnimation. Almost works, but even though the TextViews inside the TextSwitcher hold some really long text just fine

[android-developers] Arabic ((( farsi ))) on android

2008-11-26 Thread [EMAIL PROTECTED]
hello everyone I need some help please!!! can any one make application to support and reading Arabic on android i really need to have Arabic or Farsi on my android ((( to use on my website and reading BBC , and send sms ))) if anyone can help please send this application to android market to we

[android-developers] WAV (GSM 6.1) Support?

2008-11-26 Thread Wiggles
Is there anyway to get .wav(GSM 6.1) audio files to play on Android? Or is there anyway to get this feature added in later updates? I get my voicemails for work emailed to me in this format and cannot change the sending format. --~--~-~--~~~---~--~~ You received

[android-developers] OSGi Felix Application in Android 1.0 SDK

2008-11-26 Thread 張騰文
Hello: I have some projects about porting OSGi in Android. I had found out some resource OSGiAndroid project in eclipsecon2008. Following is svn respository site: * http://eclipsesvn.cloudsmith.com/eclipsecon2008/com.cloudsmith.android/trunk/com.cloudsmith.android.felix/

[android-developers] How to install APK file on Android handset

2008-11-26 Thread Wizzz
hi all, I just see a very promising app on androidfreeware.org which is call Xlive, it would be exactly what i need in order to use proper e-mail application on market place. But as this app can't be found on Android market, i downloaded it via the browser of my handset. But when i clicked on

[android-developers] Need Help

2008-11-26 Thread [EMAIL PROTECTED]
I a real noob to these things but if ne one can help me it will be appriciated if i have a phone with windows mobile or some other platform how do i upgrade [or ne thing to that effect] to androd can i just down load a installation file or something it reall import for me to know please help feel

[android-developers] android.provider.CallLog.Calls

2008-11-26 Thread Myaz
Hello, I'm in the planning stages of writing an application that will use the data stored in the CallLog.Calls class. I was wondering if anybody could tell me how much data it can store? I ask, because on the information page for said class (http://code.google.com/android/

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

2008-11-26 Thread Jérémie Gavard
Thanks for this precision. Does this issue on emulator planned to be solved soon? I am trying to develop an application around video streaming. On Nov 25, 10:58 pm, Dave Sparks [EMAIL PROTECTED] wrote: The media framework does support RTSP with RTP payloads. The OpenCore code includes an

[android-developers] Re: WAV (GSM 6.1) Support?

2008-11-26 Thread Dave Sparks
There is no support for GSM 6.1 and no plans to support it at this time. On Nov 26, 9:14 am, Wiggles [EMAIL PROTECTED] wrote: Is there anyway to get .wav(GSM 6.1) audio files to play on Android? Or is there anyway to get this feature added in later updates? I get my voicemails for work

  1   2   >