[android-developers] Re: Where to download icons?

2008-08-29 Thread Tony S.
Try iconlook.com On Aug 30, 2:21 am, april <[EMAIL PROTECTED]> wrote: > I am developing a multimedia application. I found the most difficult > things is to create nice icons for the application. It took me a lot > of time just for an ugly icon:)  I have to give up for create icon by > myself. >

[android-developers] Re: Where to download icons?

2008-08-29 Thread Chihau Chau
Hi april In the SDK directory in /tools/lib/res/default/drawable/ you can find some icons for your applications. 2008/8/29 april <[EMAIL PROTECTED]> > > I am developing a multimedia application. I found the most difficult > things is to create nice icons for the application. It took me a lot > o

[android-developers] Re: Top 10 Winner Looking to Build New Team for Challenge II

2008-08-29 Thread Chris
Here is a good overview of our Round I entry: http://venturebeat.com/2008/08/29/life360-wins-the-android-challenge-has-big-aspirations-but-has-yet-to-see-an-android-phone/ On Aug 29, 5:50 pm, Chris <[EMAIL PROTECTED]> wrote: > Our team, Life360, wants to get an early start on our entry for the >

[android-developers] Re: inserting email address into ContactMethods table in 0.9 beta

2008-08-29 Thread Jeff Hamilton
Does anything show up in the log when you see the failure? -Jeff On Fri, Aug 29, 2008 at 6:50 PM, kingkung <[EMAIL PROTECTED]> wrote: > > Slightly confusing code... the ContentValues properties (below) are > set in the method generateAddressCVarray(), which generates an array > of CVs for each e

[android-developers] Re: inserting email address into ContactMethods table in 0.9 beta

2008-08-29 Thread kingkung
Slightly confusing code... the ContentValues properties (below) are set in the method generateAddressCVarray(), which generates an array of CVs for each email address... cv = new ContentValues(); cv.put(ContactMethods.KIND,KIND_EMAIL); //KIND_EMAIL is an integer (1) cv.put(ContactMethods.PERSON_I

[android-developers] inserting email address into ContactMethods table in 0.9 beta

2008-08-29 Thread kingkung
For whatever reason, I'm having trouble inserting email addresses into the ContactMethods table in 0.9... the code worked perfectly fine in m5. The insert() call is successful (no exception), but it consistently says that 0 rows have been inserted. These are the values that I set in my ContentVa

[android-developers] Re: Custom Components in a different package?

2008-08-29 Thread Brad Larson
Hackbod, is there plans to add shared library features in the future? On Aug 28, 5:39 pm, hackbod <[EMAIL PROTECTED]> wrote: > Correct, we don't support shared libraries in 1.0.  If you want to > directly link against a class, you'll need to build it directly in to > each .apk that links with it.

[android-developers] Top 10 Winner Looking to Build New Team for Challenge II

2008-08-29 Thread Chris
Our team, Life360, wants to get an early start on our entry for the second competition. We are in this to win it, so we are only interested in experienced coders who can dedicate some real time to building our next app. Email [EMAIL PROTECTED] if you are interested. Please include a few sentenc

[android-developers] Where to download icons?

2008-08-29 Thread april
I am developing a multimedia application. I found the most difficult things is to create nice icons for the application. It took me a lot of time just for an ugly icon:) I have to give up for create icon by myself. Can you give me some suggestion on where to download some nice icons? Thanks! A

[android-developers] Re: 'Keytool error' when building

2008-08-29 Thread Yalcin
I can remember similar problem on my installation. did you get the newest ADT? ADT-0.7.1.zip hier ist the link: http://code.google.com/android/adt_download.html --- On Aug 30, 1:15 am, David Given <[EMAIL PROTECTED]> wrote: > I have just upgraded from m5 to 0.9 on Linux using the ADT on Eclipse

[android-developers] Re: Database - Content Provider - Syncable

2008-08-29 Thread Megha Joshi
Android framework does not provide any inbuilt service to sync your app's database with with a network database. You could use the the HttpClient library to communicate with the Server...apart from the the sync logic is something you will have to design ...sorry I can't help much there... 2008/8/2

[android-developers] Re: getScale replacement for BaseAdapter in 0.9 beta?

2008-08-29 Thread Romain Guy
Note that you can build your own replacement by creating a subclass of a ViewGroup and enabling support for children static transformations. On Fri, Aug 29, 2008 at 3:50 PM, Megha Joshi <[EMAIL PROTECTED]> wrote: > The getScale() API was removed from BaseAdapter, because now the Gallery > widget

[android-developers] Re: Database - Content Provider - Syncable

2008-08-29 Thread Yalcin
Hi, the idea is to have two databases, one on android device and another on a server. databases and there tables can be populated with new data either on android device or on server. Use case: user can add through UI (email, sms, mms) new data to the tables and populate them on android device. U

[android-developers] 'Keytool error' when building

2008-08-29 Thread David Given
I have just upgraded from m5 to 0.9 on Linux using the ADT on Eclipse 3.4, and (after fixing my program) I am finding that it's refusing to build anything. The project I'm using was created on m5 and I'm now using it on 0.9. I get the following in the Problem pane: Type: Generic ADT Problem Locat

[android-developers] Re: 'adb wait-for-device' does not work in beta SDK

2008-08-29 Thread Brett Chabot
Hi Cheryl: I think 'wait-for-device' sort of works :). For instance, this command works for me: adb wait-for-device shell getprop However, when I attempt to use 'adb wait-for-device install', I see the same error as you. It seems wait-for-device only waits long enough for device to come online

[android-developers] Re: Database - Content Provider - Syncable

2008-08-29 Thread Megha Joshi
2008/8/29 Yalcin <[EMAIL PROTECTED]> > > My application has a content provider, which operates on a database > with 4 tables. I want to make them synchable. Could you clarify this a bit more...an example of what your are trying to do will be nice... If you meant "synchable" as in they should ha

[android-developers] Re: getScale replacement for BaseAdapter in 0.9 beta?

2008-08-29 Thread Megha Joshi
The getScale() API was removed from BaseAdapter, because now the Gallery widget does not support scaling the focussed item in relation to the other items. No replacement was added. It is recommended that you don't alter the standard behavior of the Gallery widget. Is there any particular reason you

[android-developers] Re: How to re-use the photo picker activity in my application

2008-08-29 Thread Megha Joshi
Did you launch this with sdcard installed? Are there any Pictures in your Pictures app? If not, you should install sdcard, take pictures from the Camera app and then try app. I tried executing your code and onActivityResult() is being called. I tested it on Linux, but the OS shouldn't matter in th

[android-developers] Database - Content Provider - Syncable

2008-08-29 Thread Yalcin
My application has a content provider, which operates on a database with 4 tables. I want to make them synchable. What are the steps? any help or reference welcome ! Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: PACKAGE_ADDED

2008-08-29 Thread hackbod
This is the way it will behave for 1.0. We deliberately don't allow the application to be involved in installation, so the system can take care of everything and be able to completely clean up after the app is removed. You can do your initialization the first time the user starts the app. For u

[android-developers] Re: Create a tmp file

2008-08-29 Thread hackbod
We don't recommend using File.createTempFile(). It is preferred that you use the Context APIs to create files in your local filesystem sandbox. Temp files are no longer created in /tmp because we only have a limited amount of space, and want to be able to account and manager for the storage used

[android-developers] Re: ddms Error

2008-08-29 Thread Dipen
Hi, Megha ! Thanks for the advice and I will sure keep that in mind. I did not see those sort of information relevant since the issue was regarding ddms only. Once again thanks for the support and I apologize for misunderstanding. Dipen On Aug 29, 5:31 pm, "Megha Joshi" <[EMAIL PROTECTED]> w

[android-developers] Create a tmp file

2008-08-29 Thread barbapapaz
Hello in my application to download file I create a tmp file. Before sdk 0.9 used : File temp = File.createTempFile("spherencyfile", ""); now in sdk 0.9 this line caght an exception and I have this line in logcat 08-29 18:43:49.018: ERROR/FileDownload(7040): error: Cannot create: / sdcard/spher

[android-developers] Re: How to set AlertDialog button focus?

2008-08-29 Thread Chihau Chau
Hi, maybe this url would be util for you http://www.maximyudin.com/2008/02/25/android/how-to-use-alertdialogbuilder-in-android-applications/ 2008/8/29 blindfold <[EMAIL PROTECTED]> > > I was looking for something like .requestFocus() to set focus for a > default button in a two-button AlertDialog

[android-developers] Re: SharedPreferences not stored betweed 2 emulator launch

2008-08-29 Thread CG
Thanks, actually it was not working in API demos also and I have no specific error message. I wiped the data and everything is now clear. Thanks a lot for your help Hackbod ! On 29 août, 10:32, hackbod <[EMAIL PROTECTED]> wrote: > It does work, it is used in many of the apps, and the ApiDemos e

[android-developers] Re: ddms Error

2008-08-29 Thread Megha Joshi
When you post a problem/question, it is *very important* that you give a detailed description of what the issue is. You should try to include details like: Steps you followed Operating System Sdk version Logcat output Sample code ( preferably the code should compile and be executable as is)

[android-developers] Re: ddms Error

2008-08-29 Thread Dipen
Group, I have not seen any reply regarding these error. I have seen entries in some of the blogs from Developers for months and no solution have been reported by Google Android Team. Finally, I have solution with help of my very smart friend and Co- worker Enrique Sanchez. Here is how to solve

[android-developers] Re: Can bind service in a tabspec view activity?

2008-08-29 Thread marielisacr
Hi, I have the same problem, I didn't realize what was happen till I read your post, so thanks so much. How can I do to make it works even in a tabspec? Is there a way? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

[android-developers] How to re-use the photo picker activity in my application

2008-08-29 Thread Cheryl Sedota
Hi, I have some code that attempts to invoke the photo picker activity for result. I can successfully launch the photo picker activity, but my activity does not receive a result at all (onActivityResult() is never called). Can anyone help? Thanks!!! - Cheryl @Override public void onCre

[android-developers] How to set AlertDialog button focus?

2008-08-29 Thread blindfold
I was looking for something like .requestFocus() to set focus for a default button in a two-button AlertDialog, such that the user need only press the enter key when accepting the default button (the one that has focus). It seems though that neither PositiveButton nor NegativeButton get a default

[android-developers] Re: Problem with bindService

2008-08-29 Thread marielisacr
Hi Justin, The problem appears when you try to bind the service in a tabspec, if you do it in an independent activity everything works fine. This used to work in the older SDK, so how can we do to fix this? I found out the problem in the next post http://groups.google.com/group/android-develope

[android-developers] API Call Management: Issues 54 and 675

2008-08-29 Thread Raymond C. Rodgers
Hi folks, Has any one gotten an API solution to reject and/or terminate calls as described in issues #54 and 675? Both of these items have been reviewed and accepted, but it doesn't appear that an engineer has been assigned to either one. http://code.google.com/p/android/issues/detail?id=54 h

[android-developers] Re: I2C Devices

2008-08-29 Thread Yalcin Akdogan
Hi Naitik, device driver and low level stuff is discussed in Google-Android-Internals group. hier is the link: http://groups.google.com/group/android-internals?hl=en Regards, Yalcin - Original Message - From: Naitik To: Android Developers Sent: Friday, August 29, 2008 6:47 PM

[android-developers] Re: Send SMS from one emulator instance to another

2008-08-29 Thread Megha Joshi
Please reference the SMSTest sample app uploaded in the Files section. It shows how to send SMS between two emulators using SMSManager APIs: http://groups.google.com/group/android-developers/files 2008/8/29 Devesh <[EMAIL PROTECTED]> > > Hi, > I have read many posts on the Android developers for

[android-developers] I2C Devices

2008-08-29 Thread Naitik
I am trying to write a driver for a I2C chip. I did insmod on my driver from android shell, I can see the printk in the "init" getting executed. To my understanding... What init does is, it calls i2c_add_driver(x); to register my driver with i2c core. Upon registration i2c core should find a

[android-developers] Send SMS from one emulator instance to another

2008-08-29 Thread Devesh
Hi, I have read many posts on the Android developers forum, however, I am not able to resolve the problem. I am trying to send SMS text message from one emulator instance to another emulator instance on the same machine, but the second emulator instance does not display the text message. If howev

[android-developers] Re: StackOverflowError when clearing and refocusing a ghosted text view

2008-08-29 Thread Cheryl Sedota
Oh! Thanks, Romain :) On Aug 28, 5:28 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote: > The ghost text you are talking about is called "hint" in TextView/EditText. > > > > On Thu, Aug 28, 2008 at 3:19 PM, Cheryl Sedota <[EMAIL PROTECTED]> wrote: > > > I am getting a StackOverflowError when I try to

[android-developers] Re: Story about Android

2008-08-29 Thread Casey Borders
I was worried about the future of the platform and I still do worry about the ultimate openness of it, but I must admit that I am extremely excited about the direction it's taking and about the impending release of the HTC Dream! The new UI in the updated emulator is very attractive and extremely

[android-developers] Story about Android

2008-08-29 Thread Vasanth Sridharan
Hi all, My name is Vasanth Sridharan and I'm working on a story for Silicon Alley Insider (www.alleyinsider.com) about Android Developers and what the general feeling from the group is as we near the launch date. There have been a lot of updates over the last week or so that have seemed to address

[android-developers] PACKAGE_ADDED

2008-08-29 Thread viktor
Let's continue this discussion: http://groups.google.com/group/android-developers/browse_thread/thread/697e7e7cc6dd3d1f/fdcf520cce83cf0b The PACKAGE_ADDED broadcast is not received by the installed (added) package anymore (SDK 0.9). This was the only way to let an application to execute a piece

[android-developers] Re: Comunication Server->Phone: SMS directed to an application (0.9 SDK)

2008-08-29 Thread Cristina
Hi! I am actually using the http client library in order to comunicate from my app to the server. The problem is that I want also the server to send some kind of "events" to the phone..so I need also to open a comunication from the central server to the phone... In this case, the phone will act a

[android-developers] Re: Overriding Contacts View

2008-08-29 Thread hackbod
This isn't supported in 1.0. You can only replace the entire Dialtacts activity. On Aug 29, 6:44 am, chokoreto <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to replace the default contacts view, but I get a Security > Exception. > > java.lang.RuntimeException: Unable to start activity > Compo

[android-developers] Re: openOrCreateDatabase or what?

2008-08-29 Thread Megha Joshi
You should not use openOrCreateDatabase() directly, instead use SqliteOpenHelper. For details see the docs below: http://code.google.com/android/devel/data/databases.html 2008/8/29 munzelmann <[EMAIL PROTECTED]> > > Prior to release 0.9 one could do the following to open or create a > SQLite data

[android-developers] Dynamic UI forms

2008-08-29 Thread Tadas Makčinskas
Hello, For few days I was trying to create a dynamic form but usuccsfully. My goal is to create a number of buttons on an app. view. The number of those buttons depends on the given data and can vary from user to user, and is determined only at runtime. I couldn't realy find how this could

[android-developers] Overriding Contacts View

2008-08-29 Thread chokoreto
Hi, I am trying to replace the default contacts view, but I get a Security Exception. java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.contacts/ com.android.contacts.DialtactsActivity}: java.lang.SecurityException: Requesting code from com.swisscom.addrbook.test (wi

[android-developers] Re: I'd like to modify the Dialer program

2008-08-29 Thread chokoreto
Hi, Is there a way to extend the existing Contacts View (content:// contacts/people) to show more information (such as presence, status) and also do more actions on the contact? (e.g. set presence) If there is not, what would you recommend to do? Is there something planned for V1.0? or for V2.0?

[android-developers] getScale replacement for BaseAdapter in 0.9 beta?

2008-08-29 Thread blim
What should we use to replace getScale from BaseAdapter, which has been deprecated in 0.9? I'm trying to use this to scale images in a Gallery view in relation to which item is currently in focus. --~--~-~--~~~---~--~~ You received this message because you are sub

[android-developers] Can bind service in a tabspec view activity?

2008-08-29 Thread TuanTuan
Hi, I start a service in an entry activity. Then try to bind this service in a tabspec listview. But the bindService always return false, and can not get the service obj. Then I try to bind the service in an independent listview activity, and can bind it successfully. Can I bind a service in a

[android-developers] Problem with java.net

2008-08-29 Thread leafka
I want to test the following code, but the DDMS always display "Unknown socket error -1" , I think the code is correct, Must I set up the emulator or soming? Thank you. Source Code: public class SocketApp extends Activity { private Button ok; private TextView tv1; HttpURLConnection

[android-developers] Re: Where does the emulator look for the SD Card Image File ?

2008-08-29 Thread Bertl
Hi Graeme, you need absolute paths, where your sdcard image lays, i.e. if your file sdcard.img is in C:\sdcard\sdcard.img, then you should input C: \sdcard\sdcard.img, also, the absolute path where your file is. Emulator path play no role. I hope, that's you needed. Regards --~--~-~--~

[android-developers] Re: Where does the emulator look for the SD Card Image File ?

2008-08-29 Thread Graeme
Hi Guillaume Thanks for your response. Can you please give an example of how you set your emulator -sdcard option ? Thanks graeme On Aug 29, 3:18 pm, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > I can't answer you about the current eclispe working directory but I > work with absolute paths in

[android-developers] Re: Where does the emulator look for the SD Card Image File ?

2008-08-29 Thread Guillaume Perrot
I can't answer you about the current eclispe working directory but I work with absolute paths in eclipse and my sdcard is loaded correctly. Images are at sdcard's root and I see them in pictures application. On 29 août, 15:32, Graeme <[EMAIL PROTECTED]> wrote: > Hi > > I want to have Eclipse laun

[android-developers] Where does the emulator look for the SD Card Image File ?

2008-08-29 Thread Graeme
Hi I want to have Eclipse launch the emulator and set the -sdcard mysdcard.img option within a Run Configuration. This is configured by Eclipse->Run- >Open Run Dialog and then setting -sdcard mysdcard.img within the Additional Emulator Command Line Options text input box on the Target Tab. The

[android-developers] Re: Will android provide Mail API??

2008-08-29 Thread elvisw
Hi... It is too hard to arrange the required classes within apache-harmony- src and jsse.jar (j2se lib - for SSL) that used at runtime... The dependency is quite complicate. I read the article already, http://davanum.wordpress.com/2007/12/22/android-send-email-via-gmail-actually-via-smtp/ , but s

[android-developers] Re: Will android provide Mail API??

2008-08-29 Thread elvisw
Hi... It is too hard to arrange the required classes within apache-harmony- src and jsse.jar (j2se lib - for SSL) that used at runtime... The dependency is quite complicate. I read the article already, http://davanum.wordpress.com/2007/12/22/android-send-email-via-gmail-actually-via-smtp/ , but s

[android-developers] Re: Problem with bindService

2008-08-29 Thread marielisacr
I did it following the RemoteService example in the Api Demos, it says that this is an action code you can use to select the service without explicitly supplying the implementation class. When I first start the service I use startService(new Intent("com.android.example.MUSIC_SERVICE")); and ever

[android-developers] To make Database Synchable ?

2008-08-29 Thread Yalcin
My application has a content provider, which operates on a database with 4 tables. I want to make them synchable. What are the steps? Is extending SyncableContentProvider instead of ContentProvider the solution? Is there any code sample? Thanks. --~--~-~--~~~---~--

[android-developers] Re: onNewIntent in v0.9

2008-08-29 Thread Yalcin
Look at the discussion under the topic "Activity Question" couple days ago webmonkey wrote: 27. August 2008 20:25 --- there is no need to use singleTask, singleTop or any other special flags. It has something to do with the way Eclipse re- installs your application. If y

[android-developers] Re: onNewIntent in v0.9

2008-08-29 Thread Guillaume Perrot
about onRestoreSavedInstanceState: I misunderstood the doc, I now understand why it was not called in my case. Sorry. about onNewIntent: In fact there is a very strange problem: if I launch my application from Eclipse, the mechanism will not work, but if I shutdown my emulator then relauch emulat

[android-developers] openOrCreateDatabase or what?

2008-08-29 Thread munzelmann
Prior to release 0.9 one could do the following to open or create a SQLite database: try { db = context.openDatabase(DATABASE_NAME, null); } catch (FileNotFoundException e) { db = context.createDatabase(DATABASE_NAME, DATABASE_VERSION, Context.M

[android-developers] Re: Problems with mocked GPS in Android 0.9 beta

2008-08-29 Thread Guillaume Perrot
http://groups.google.com/group/android-developers/browse_thread/thread/32c0e799290b4854/44b72dd05fdedd52 On 29 août, 10:54, Semeria Stefano <[EMAIL PROTECTED]> wrote: > Hi all, > > I am trying to port an location aware chat application from m5-rc15 to > Android 0.9 beta. > In the last version my

[android-developers] Re: SharedPreferences not stored betweed 2 emulator launch

2008-08-29 Thread hackbod
It does work, it is used in many of the apps, and the ApiDemos example shows it too. Have you looked at the log to see any error messages reported? You also might want to try wiping data to make sure you data partition is all in good shape. On Aug 29, 1:10 am, CG <[EMAIL PROTECTED]> wrote: > I

[android-developers] Re: SharedPreferences not stored betweed 2 emulator launch

2008-08-29 Thread CG
I just up the subject because it seems to be a bug or a mess in the documentation. Before trying to use the new preference mechanism I try my previous preference storage (that worked perfectly under m5). This mechanism worked before like that : Restore : public static void restoreConfig(Acti