[android-developers] Re: How to set Gallery align property?

2008-09-17 Thread dailyLife
Thanks ,Megha Joshi. I give it a try. [EMAIL PROTECTED] 2008年9月17日 - Original Message - From: Megha Joshi To: android-developers Sent: 2008-09-17, 12:56:32 Subject: [android-developers] Re: How to set Gallery align property? Sorry I read center instead of left earlier...its seems

[android-developers] SqlLite!!???

2008-09-17 Thread Wesley Sagittarius
Hi, Any example on Sqllite??? wesley... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] Re: SqlLite!!???

2008-09-17 Thread dailyLife
API Demo or Google Android Notepad demo. [EMAIL PROTECTED] 2008年9月17日 - Original Message - From: Wesley Sagittarius To: Android Developers Sent: 2008-09-17, 14:44:19 Subject: [android-developers] SqlLite!!??? Hi, Any example on Sqllite??? wesley...

[android-developers] Re: SqlLite!!???

2008-09-17 Thread Wesley
hi, I can't find any example regarding sqlite in ApiDemo... Beside Sqlite... any alternative way to store data??? wesley. On Wed, Sep 17, 2008 at 2:50 PM, dailyLife [EMAIL PROTECTED] wrote: API Demo or Google Android Notepad demo. [EMAIL PROTECTED][EMAIL PROTECTED] 2008年9月17日 -

[android-developers] Re: SqlLite!!???

2008-09-17 Thread dailyLife
http://www.sqlite.org/ [EMAIL PROTECTED] 2008年9月17日 - Original Message - From: Wesley To: android-developers Sent: 2008-09-17, 15:18:10 Subject: [android-developers] Re: SqlLite!!??? hi, I can't find any example regarding sqlite in ApiDemo... Beside Sqlite... any alternative way to

[android-developers] Re: Intercept incoming call

2008-09-17 Thread Tauno T
I wonder if this will be possible on real devices? It should be according to the All applications are equal statement but has anyone further info regarding this? On Sep 17, 8:01 am, Megha Joshi [EMAIL PROTECTED] wrote: Unfortunately, you cannot intercept incoming calls in the sdk. 2008/9/16

[android-developers] onCreate method of SQLiteOpenHelper also seems to execute on opening - ?bug

2008-09-17 Thread gymshoe
I need to open an SQLite database if it exists, or create the database if it doesn't already exist. The android API makes this easy to do, but my problem is that I would like to execute additional code if the database is being created for the first time (i.e. this is the first time the user is

[android-developers] Acessing web services with ksoap

2008-09-17 Thread Christian Wiesbauer
Hi, there was a discussion about “Acessing web services with ksoap“ a week ago. The problem was that ksoap wasn’t working with the new Android SDK 0.9 anymore. There was also given a solution (changing the source of the HttpTransport class in the original ksoap2 library): Original

[android-developers] Code signing / App shops

2008-09-17 Thread Al Sutton
Guys, Yesterday I went to Mike Jennings talk on Android and floated an idea which seemed to be well received about allowing third parties to add digital signatures to applications so that they can vouch for the trustworthiness of the app. I've expanded on the idea a bit and put it up as a

[android-developers] Re: Video playback in Android emulator

2008-09-17 Thread Anil
I've done this, how about the path to be given to MediaPlayer's setMediaSource() method? On Sep 17, 10:36 am, Megha Joshi [EMAIL PROTECTED] wrote: You should install a sdcard on the emulator and then push the file to /sdcard dir. 2008/9/16 Anil [EMAIL PROTECTED] Hi, Can

[android-developers] Re: Video playback in Android emulator

2008-09-17 Thread Megha Joshi
Set the path to /sdcard/your_filename 2008/9/17 Anil [EMAIL PROTECTED] I've done this, how about the path to be given to MediaPlayer's setMediaSource() method? On Sep 17, 10:36 am, Megha Joshi [EMAIL PROTECTED] wrote: You should install a sdcard on the emulator and then push the file to

[android-developers] Re: Video playback in Android emulator

2008-09-17 Thread Megha Joshi
2008/9/17 Megha Joshi [EMAIL PROTECTED] Set the path to /sdcard/your_filename 2008/9/17 Anil [EMAIL PROTECTED] I've done this, how about the path to be given to MediaPlayer's setMediaSource() method? Perhaps you meant setDataSource(path), not setMediaSource()... On Sep 17, 10:36 am,

[android-developers] Re: SqlLite!!???

2008-09-17 Thread Peli
Beside Sqlite... any alternative way to store data??? Here are some alternatives: http://code.google.com/android/devel/data.html If you want other applications to access your data, the best way is still to use ContentProviders on top of an sql database. Peli

[android-developers] Programmatically sending MMS?

2008-09-17 Thread GiladH
Hey guys, is there a way for my app to issue an MMS ? If not, is there any other way that allows me to send large (as in 300K) binary data to a peer by his phone numer. SmsManager.sendDataMessage() will not do this trick, as it is limited to 133 bytes messages Tnx, Gilad

[android-developers] Ending a call

2008-09-17 Thread anu
I have successfully simulated an outgoing call (thanks to google forums and the contributors). However, when I try to end the call by calling finish() or finishActivity(int), the call does not end. Also, I get a lot of crashes and the TelephoneManager's getCallState() API does not return

[android-developers] Publish your intents

2008-09-17 Thread Peli
In an effort to create a public intent registration system, we would like to gauge how many potential intents there are. If you have implemented an intent for public use, or would like to see one being implemented, please post a comment here where we have started to collect intents: *

[android-developers] Problem when running SoundRecordingAPISample of Megha

2008-09-17 Thread ZIN
I have downloaded this project, and try running it in Android Emulator. When i click on the StopRecording Button, an alert appears : process com.android.samples.audio has stopped unexpectedly . I wonder there is a problem in this project. Can someone help me to fix that? Thanks,

[android-developers] Will there be any updates on audio encoding for audio caputring in later versions of the SDK?

2008-09-17 Thread HTP
Hi! The Audio encoding that is included in android is not filling my needs. It let you record audio of poor quality compare to the quality that JME offers. Will there be any upgrades on this in the next SDK release? AMR today in android let's you record audio in 8 khz and I think that is not

[android-developers] Re: Preloading map in MapView

2008-09-17 Thread austin_rockz
Is there any chance that it's gonna be supported in the final sdk? Think there are many applications that would profit from this feature... On Sep 16, 9:58 pm, Megha Joshi [EMAIL PROTECTED] wrote: 2008/9/16 [EMAIL PROTECTED] Hi, I want to preload a part of a map in MapView so that I can

[android-developers] 3d file loader

2008-09-17 Thread [EMAIL PROTECTED]
Hi. I'm looking for 3d file loader such as obj, md2, and md3. I found one project that already made 3d file loader. (http://code.google.com/p/android-gl/) However, it doesn't work at 0.9 version. What can I do with it? Is there any body who know about 3d file loader at android sdk? Can you tell

[android-developers] About SoundRecorder in Android ??

2008-09-17 Thread Baonq86
I'm studying about SoundRecorder. I've run a sample of google. It's link: http://groups.google.com/group/android-developers, file SoundRecordingAPISample.zip. I can run this file, there's not the problem but it stop when I click stoprecording button. Can anyone help me ?? Thank you very much !

[android-developers] 3D file Loader

2008-09-17 Thread [EMAIL PROTECTED]
Hi. I'm looking for 3D file Loader that can load obj, md2 or md3. I found one project that already made loder. (http://code.google.com/p/android-gl/) However, it doesn't work at 0.9 version. What can I do? Is there anyone who know about this? Is there any other 3d file loader for android? Please

[android-developers] Notifications from file system

2008-09-17 Thread indra
Hi, Is there any way out by which we can get the change/modify notifications on file system. I want to get notifications from SD CARD, like we do on the databases applying ContentObservers. Pls help. Thanks and Regards, Indra --~--~-~--~~~---~--~~ You received

[android-developers] query on local xml'files

2008-09-17 Thread Peterman
Hi I would like to do a query to a local xml'file located in my raw folder. With the m5 sdk, I use the Jakarta like a GDataCliente but with the new version of android (0.9) this class dont's exist. Somedoby know how I can do this? thanks --~--~-~--~~~---~--~~

[android-developers] Re: onCreate method of SQLiteOpenHelper also seems to execute on opening - ?bug

2008-09-17 Thread Mark Murphy
gymshoe wrote: So does onCreate behave differently than I thought? If it behaves as you describe, it feels like a bug. Is there a better way to do what I want? I don't know about better, but in onCreate(), you could check to see if your tables exist (select count(*) from sqlite_master

[android-developers] Re: Ending a call

2008-09-17 Thread Charlie Collins
End the call by pressing the end call button so that the Activities in the dialer app can end the call. I am not sure I understand the question, but you don't want to end a call manually, intentionally (users expect a call to work like a call, which they end when they want to).

[android-developers] Re: Intercept incoming call

2008-09-17 Thread Charlie Collins
I would disagree with the statement that this should be possible. User's expect a call to work like a call which works like a call and that would be sort of like a call ;). I think the idea is that certain key functions of the phone - calling, and going to the home screen - usurp other

[android-developers] Re: Intercept incoming call

2008-09-17 Thread Mark Murphy
I think the idea is that certain key functions of the phone - calling, and going to the home screen - usurp other functions. All non built-in key functions, e.g. applications, are still equal, but yes a few key functions have a higher priority I suspect there will be two tiers of development

[android-developers] iPhone store rejecting Apps' - news article. What restrictions do we expect from Google?

2008-09-17 Thread george_c
Any such restrictions expected from Google? Can anyone from Google comment what developers should expect in terms of what will not be allowed or restricted? George --- If you are thinking of writing applications for the iPhone, you might want to read this story first. The *New York Times* has a

[android-developers] Re: iPhone store rejecting Apps' - news article. What restrictions do we expect from Google?

2008-09-17 Thread Shane Isbell
T-Mobile has already published some restrictions on their dev portal, no pornographic applications. Another one that affects slideme: Storefront: An application using a link to provide an opportunity to buy or to purchase content being published on T -Mobile's delivery platform (currently mPower)

[android-developers] Re: iPhone store rejecting Apps' - news article. What restrictions do we expect from Google?

2008-09-17 Thread Shane Isbell
And as far as I know, Apple isn't saying that applications provisioned in their portal must insure that if Apple/ATT hosts a piece of content (ring-tone), it must be downloaded from their approved storefront, as opposed to some external site. From a practical matter, there is just no way that the

[android-developers] Re: Programmatically sending MMS?

2008-09-17 Thread Shane Isbell
You may be able to leverage: http://sourceforge.net/project/showfiles.php?group_id=102914package_id=113719 Article: http://java.sys-con.com/node/44695 Shane On Wed, Sep 17, 2008 at 1:50 AM, GiladH [EMAIL PROTECTED] wrote: Hey guys, is there a way for my app to issue an MMS ? If not, is

[android-developers] Re: Intercept incoming call

2008-09-17 Thread kstamm
Now now, we were told the Android was the first open source phone all the way down to the hardware. I expect call reception capability! It's the only thing that sets it apart from other smartphones. On Sep 17, 10:35 am, Charlie Collins [EMAIL PROTECTED] wrote: I would disagree with the

[android-developers] Re: Video playback in Android emulator

2008-09-17 Thread Megha Joshi
Could you send your 3gp file and the logcat output to debug this further? 2008/9/17 Anil Sasidharan [EMAIL PROTECTED] Hi, I'm getting the following exception when a 3gp file playback is attempted from /sdcard using the MediaPlayer sample application (part of ApiDemos). error:

[android-developers] Re: Preloading map in MapView

2008-09-17 Thread Megha Joshi
No, this isn't going to be supported in the final version for legal reasons. 2008/9/17 [EMAIL PROTECTED] Is there any chance that it's gonna be supported in the final sdk? Think there are many applications that would profit from this feature... On Sep 16, 9:58 pm, Megha Joshi [EMAIL

[android-developers] Re: Intercept incoming call

2008-09-17 Thread sectrean
This was to be the cornerstone of the application I've been working on. I had assumed that this would be supported because, Android does not differentiate between the phone's basic and third-party applications -- even the dialer or home screen can be replaced. Apparently, that applied to all

[android-developers] Re: Intercept incoming call

2008-09-17 Thread sectrean
This was to be the cornerstone of the application I've been working on. I had assumed that this would be supported because, Android does not differentiate between the phone's basic and third-party applications -- even the dialer or home screen can be replaced. Apparently, that applied to all

[android-developers] Re: iPhone store rejecting Apps' - news article. What restrictions do we expect from Google?

2008-09-17 Thread Al Sutton
George, From the Intro to Android talk at the Google Dev Day yesterday it came across that Google will not put barriers in the way of developers wanting to develop and deploy apps and they are actively pushing commercial agreements with their partners to keep this sentiment and keep the

[android-developers] Re: Preloading map in MapView

2008-09-17 Thread austin_rockz
A function preload(GeoPoint p1, GeoPoint p2, GeoPoint p3, GeoPoint p4) would be useful that preloads the whole area inside the rectangle defined by p1,p2,p3,p4 On Sep 17, 11:34 am, [EMAIL PROTECTED] wrote: Is there any chance that it's gonna be supported in the final sdk? Think there

[android-developers] Re: Intercept incoming call

2008-09-17 Thread Tauno T
I don't agree that changing the in call screen/incoming call screen/ outgoing call screen should be only available to handset manufacturers/ operators. A phone could do SO much more when applications could somehow hook into these screens (or even control the voice streams). Imagine an

[android-developers] problem in Http Connection

2008-09-17 Thread Nemat
Hi, I m working on Http Connection.I got an error URL could not be found.I've direct connection.internet is working well on emulator. What can be the reason? Help me.. Thanks in Advance --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: onCreate method of SQLiteOpenHelper also seems to execute on opening - ?bug

2008-09-17 Thread gymshoe
Initially, after accessing the db, I did a count (via creating a cursor, doing a rawquery, and checking thte count) of the table and it contained records like it was supposed to. However, doing this seemed cumbersome compared to the more elegant solution of using the features of onCreate()...

[android-developers] openjdk is not okay?

2008-09-17 Thread '2+
am planning to setup the android-sdk @ ubuntu8041 i have opensdk6 installed does this have to be the one from sun? your install guid is saying that ant is not compatible with gcj ... no? -- '2+ http://sarigama.namaste.jp/ is podcasting his microtuned music

[android-developers] Re: eclipse project opening problem

2008-09-17 Thread Jeff
I created a project but it does not open or allow me to close it. Every once in a while I can close it and I haven't done anything different. I other than that It seems to work well? thanks for the help On Sep 16, 2:36 pm, Megha Joshi [EMAIL PROTECTED] wrote: 2008/9/16 Jeff [EMAIL PROTECTED]

[android-developers] Re: onCreate method of SQLiteOpenHelper also seems to execute on opening - ?bug

2008-09-17 Thread gymshoe
I was able to obtain the expected function of the SQLiteOpenHelper method onCreate() with the code below, by including the database name in the SQLHelper constructor. Now onCreate() is only called for databases which are created, and not opened. public class SQLHelper extends SQLiteOpenHelper{

[android-developers] Re: iPhone store rejecting Apps' - news article. What restrictions do we expect from Google?

2008-09-17 Thread Al Sutton
As I read it you'll be able to sell anything from any site you like, it's only things available via mPower that have to be bought via the T-Mobile store. Al. Shane Isbell wrote: T-Mobile has already published some restrictions on their dev portal, no pornographic applications. Another

[android-developers] Re: Intercept incoming call

2008-09-17 Thread sectrean
That sucks. That was to be the cornerstone of the application I've been working on. I had assumed this would be supported because, Android does not differentiate between the phone's basic and third- party applications -- even the dialer or home screen can be replaced. I guess that's true

[android-developers] Re: Intercept incoming call

2008-09-17 Thread sectrean
That sucks. This was to be the cornerstone of the application I've been working on. I had assumed that this would be supported because, Android does not differentiate between the phone's basic and third- party applications -- even the dialer or home screen can be replaced. Apparently, that

[android-developers] Re: iPhone store rejecting Apps' - news article. What restrictions do we expect from Google?

2008-09-17 Thread Shane Isbell
On Wed, Sep 17, 2008 at 10:41 AM, Al Sutton [EMAIL PROTECTED] wrote: As I read it you'll be able to sell anything from any site you like, it's only things available via mPower that have to be bought via the T-Mobile store. And how exactly is the client application going to know that content

[android-developers] Re: Intercept incoming call

2008-09-17 Thread Megha Joshi
2008/9/17 friedger [EMAIL PROTECTED] I could imagine an application that accepts a call when the user presses a button like I am rushing out of the meeting, hang on another second. Instead of me wispering into the phone, the caller gets a proper response. So there is no way to do that,

[android-developers] Re: Intercept incoming call

2008-09-17 Thread Mark Murphy
I don't agree that changing the in call screen/incoming call screen/ outgoing call screen should be only available to handset manufacturers/ operators. A phone could do SO much more when applications could somehow hook into these screens (or even control the voice streams). I'm not

[android-developers] Re: problem in Http Connection

2008-09-17 Thread Mark Murphy
I m working on Http Connection.I got an error URL could not be found.I've direct connection.internet is working well on emulator. What can be the reason? Help me.. Did you add the INTERNET permission to your AndroidManifest.xml file? If no, try adding it and see if it

[android-developers] Re: Problem when running SoundRecordingAPISample of Megha

2008-09-17 Thread Megha Joshi
Seems like you haven't installed sdcard on the emulator before trying this demo. You must be seeing a sdcard access error in the logcat. Please install the sdcard and try again. For instructions on how to do that see below: http://code.google.com/android/reference/emulator.html#sdcard 2008/9/17

[android-developers] openjdk is not okay?

2008-09-17 Thread Stefan Handschuh
openjdk != gcj. I am also using openjdk and haven't experienced any problems so far. am planning to setup the android-sdk @ ubuntu8041 i have opensdk6 installed does this have to be the one from sun? your install guid is saying that ant is not compatible with gcj ... no?

[android-developers] Re: Notifications from file system

2008-09-17 Thread Megha Joshi
This feature is not implemented, please log a feature request in the public issue tracker. As a workaround, you could use a ContentProvider for the files you are interested in. Set ContentObserver on the ContentProvider. Every time the file is added/deleted, add/delete the corresponding _data

[android-developers] Content Providers and Network Requests

2008-09-17 Thread Kavi
Hello, As per the subject, i am making an app that is dependent on data that comes from a network request. I was using the UserTask class (Made by Mr. Romain Guy) to make the network calls and get my data and everything worked. But now, i want the data from this app to be available to other apps

[android-developers] Re: Content Providers and Network Requests

2008-09-17 Thread Jeff Hamilton
You could either cache the results locally and return them when asked, or better you could document that using your provider takes significant time and that users should do the calls asynchronously. In general it's good for applications to do content provider call asynchronously, since even local

[android-developers] Re: Notifications from file system

2008-09-17 Thread hackbod
The FileObserver class allows you to monitor filesystem changes: http://code.google.com/android/reference/android/os/FileObserver.html It does need to be better documented, but it works. :) On Sep 17, 2:56 am, indra [EMAIL PROTECTED] wrote: Hi, Is there any way out by which we can get the

[android-developers] Re: How to use SmsManager.sendDataMessage() to send the message

2008-09-17 Thread Justin (Google Employee)
Well, sorry this has taken so long to respond to! In the process of trying to write a demonstration I discovered a bug. There is a bug in the emulator code that causes SmsManager.sendDataMessage() to fail due to an infinite loop. A bug has been filed and this should be fixed in a future release

[android-developers] Modifying Phone Information

2008-09-17 Thread herakl337us
Hi y'all: Has anyone had any success updating the phone number on a contact? I can't seem to get the Uri right. Here's the google documentation: (yes, this is ALL of it) Modifying Data To batch update a group of records (for example, to change NY to New York in all contact fields), call the

[android-developers] Re: 3D file Loader

2008-09-17 Thread Esteem
it shouldnt be difficult to modify the source to make it work on 0.9. 5-10 minutes of tweaking. On Sep 17, 2:33 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi. I'm looking for 3D file Loader that can load obj, md2 or md3. I found one project that already made loder.

[android-developers] Re: How to display data from a content provider using WebView.loadUri

2008-09-17 Thread skink
On 14 Wrz, 19:57, friedger [EMAIL PROTECTED] wrote: Currently, I use the code below in the content provider. Do you have any ideas how to get ride of the part that writes to the temp file? hi, i had the same problem but solved it. use ParcelFileDescriptor.fromSocket() i'm still, though,

[android-developers] Re: query on local xml'files

2008-09-17 Thread hackbod
Is there any particular reason you want to parse an XML file stored as raw data. Parsing XML files stored in res/xml with Resources.getXml() is much much faster (10-100x) than a raw XML file. On Sep 17, 3:02 am, Peterman [EMAIL PROTECTED] wrote: Hi I would like to do a query to a local

[android-developers] Re: SqlLite!!???

2008-09-17 Thread Andrew Stadler
On Wed, Sep 17, 2008 at 2:07 AM, Peli [EMAIL PROTECTED] wrote: If you want other applications to access your data, the best way is still to use ContentProviders on top of an sql database. Just to be clear; I think it's safer to say: ...the best way is still to use ContentProviders on top of

[android-developers] Probable bug in LocalActivityManager save instance state

2008-09-17 Thread Jason Wong
Hi, I have a standard ActivityGroup set up, where there's a ActivityGroup activity controlling a number of embedded activities via a LocalActivityManager. In one of the activities, I'm trying to use managed dialogs, but they are not properly saved and restored (such as when an orientation occurs).

[android-developers] incoming call broadcast intent

2008-09-17 Thread Spencer Riddering
Will 1.0 have a broadcast intent for incoming calls? My goal is to be simply notified of the incoming call. I'm not interested in intercepting it. The m5-0.9 changes overview (http://code.google.com/android/migrating/ m5-0.9/changes-overview.html#TOC-Telephony) seems to indicate that the