[android-developers] Re: certificate ssl webservice keystore

2008-12-19 Thread Al Sutton
There is a very good reason why applications shouldn't be able to add certificates to the system keystore, and that's security. If an application wants a user to trust a certificate for the actions the application it's performing then that is decision made by the user in the context of that

[android-developers] Re: certificate ssl webservice keystore

2008-12-19 Thread yukinoba
I see :-) It sounds good for this security mechanism. However, I still don't know how to make an application-specific keystore for certain application only... And it sounds that Android has already provided a way for applications to safely create their own certification rather than system

[android-developers] Re: deleting whole call log

2008-12-19 Thread shahzad ahmad
any help ? On Thu, Dec 18, 2008 at 2:44 PM, shaz shahzad.s.ah...@gmail.com wrote: I'm trying the whole call log using following code int deleted_rows = cur_context.getContentResolver().delete (CallLog.Calls.CONTENT_URI, null,null); The deletion is successful and whole call log is emptied

[android-developers] Re: Why Google does not accepts my Visa credit card?

2008-12-19 Thread george_c
I would assume they have some fraudscreening platform or service in place and based on the rules they have configured it with, you would get a some declines. These rules usually are configured to prevent chargebacks and to detect possible fraudelent transactions. I would suggest you make sure you

[android-developers] Re: Detect TAB key?

2008-12-19 Thread Dianne Hackborn
I have not been saying that you shouldn't provide other ways for the user to navigate and your UI if you want, I have been saying that the implementation you have been discussing and posting here would break on pretty much anything besides the G1. At the end of the day, you get to design your app

[android-developers] Re: certificate ssl webservice keystore

2008-12-19 Thread Al Sutton
I'm sure the K9 guys wouldn't mind you looking over their code; http://code.google.com/p/k9mail/source/browse/k9mail/trunk/src/com/android/email/mail/store/TrustManagerFactory.java Al. http://andappstore.com/ yukinoba wrote: I see :-) It sounds good for this security mechanism. However, I

[android-developers] Re: Extending a tablelayout

2008-12-19 Thread for android
Thank you very much it works :) On Fri, Dec 19, 2008 at 2:42 PM, Romain Guy romain...@google.com wrote: This is a classic off by 1 error with the drawRect method. There was an interesting presentation at JavaOne on this topic. Anyway, all you need to do is the following: getDrawingRect(r);

[android-developers] Re: How To Eliminate Preferences Values Database?

2008-12-19 Thread Massimo Barbera
Guys, I have used the DDMS's File Explorer to get rid of preferences XML and it works fine. 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] Re: android dns problems

2008-12-19 Thread lotusscript
Do you run an internal dns? Tested here in the emulator and actual device without problems. Best regards, Phil. Christian Wiesbauer wrote: Hi, I’m trying to make a connection with one of the hosts in my network with following code: URL aURL = new URL(http://hostname:port/path);

[android-developers] Re: android dns problems

2008-12-19 Thread Christian Wiesbauer
Yes, I'm using an internal dns? Is that a problem? Best regards, Christian Wiesbauer -Ursprüngliche Nachricht- Von: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] Im Auftrag von lotusscript Gesendet: Freitag, 19. Dezember 2008 11:17 An:

[android-developers] Re: android dns problems

2008-12-19 Thread David Turner
that's because the emulator can only work with addresses that are supported by a real DNS server. internal names on your network are probably resolved with the help of a hosts file or specific resolv.conf configuration. the solution is to run a DNS proxy on your machine and use the -dns-server

[android-developers] Re: android dns problems

2008-12-19 Thread David Turner
As I said, the emulated system must speak to a real DNS server, so it can't access the HOSTS/resolv.conf on your machine. When it starts, the emulator tries to find the current DNS servers for your machine, and setups network aliases so that the Android system can send query to them. However, a

[android-developers] Re: android dns problems

2008-12-19 Thread lotusscript
First off apologies if you got multiple posts from me. My mail client threw a fit! You can get this to work without a proxy. I will assume you are running a dhcp server. If so just make sure it serves up your internal dns. Your internal dns obviously should forward any requests it doesn't

[android-developers] Re: android dns problems

2008-12-19 Thread Christian Wiesbauer
Ok, the emulator doesn’t care about the /etc/hosts entries but I configured a real internal DNS server which is able to resolve names. I’m using this DNS server for my host so I don’t understand why isn’t the emulator able to use this. Sorry but I still don’t understand! Thanks for your help!

[android-developers] Re: android dns problems

2008-12-19 Thread David Turner
Can you tell me how you invoke the emulator with the -dns-server option ? Do you have logs of your internal DNS server that shows which exact queries/answers are made/returned ? that would help a lot. Unfortunately, it's really not easy to debug the issue currently with the emulator. For the

[android-developers] Re: android dns problems

2008-12-19 Thread David Turner
Also, emulator -verbose will dump the IP address(es) of the DNS server that have been configured, just to check. On Fri, Dec 19, 2008 at 12:09 PM, David Turner di...@android.com wrote: Can you tell me how you invoke the emulator with the -dns-server option ? Do you have logs of your internal

[android-developers] Getting Starting Guide for Android Dev Phone missing.

2008-12-19 Thread onlythoughtwo...@googlemail.com
I just received my Android Dev Phone but without the getting started guide. Can some please post a photo or convert it into pdf. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: How can we use sqlite3 for database purpose

2008-12-19 Thread luckcomesh...@gmail.com
Hi eyedol, Thanks for your reply. i have tried those exercises and still I'm confusing. In those exercises, not using Content Providers. Actually, I want to update APN settings data in existing code(open source code). I have updated the table with some other entries and modified related

[android-developers] Web Service

2008-12-19 Thread dilu
Hi Plz tell me that what is the best way to work on web services in android.I dont want to use third party library.I want to use in-built library. Please provide me some sample code or link. Thanks Dilu --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Detect TAB key?

2008-12-19 Thread Brian Beattie
On Fri, 2008-12-19 at 01:24 -0800, Dianne Hackborn wrote: I have not been saying that you shouldn't provide other ways for the user to navigate and your UI if you want, I have been saying that the implementation you have been discussing and posting here would break on pretty much anything

[android-developers] Re: Detect TAB key?

2008-12-19 Thread Mark Murphy
Brian Beattie wrote: Why do you say this? It seems to me that this would work on any device with a physical keyboard and that Android does not yet provide an on screen keyboard most Android devices will provide a physical keyboard. If I understand the situation correctly, the

[android-developers] Re: Web Service

2008-12-19 Thread Mark Murphy
dilu wrote: Hi Plz tell me that what is the best way to work on web services in android.I dont want to use third party library.I want to use in-built library. I do not know what you mean by work on web services. For example, if you wish to build a Web service client, and the Web service

[android-developers] Re: How can we use sqlite3 for database purpose

2008-12-19 Thread Mark Murphy
luckcomesh...@gmail.com wrote: Want to create data base using Android and need to populate in the required places. Please tell me the procedure to get the each column values(like first name, last name) in a specific row by calling some functions(like get/ set) to populate in user interface

[android-developers] Re: Detect TAB key?

2008-12-19 Thread Mark Murphy
Keith Wiley wrote: Consider the following inefficiency that is imposed by using the trackball: You can't necessarily skip out of an edit text with the trackball in the desired way because the cursor may be in the middle of the edit text, in which case trackballing merely moves the cursor

[android-developers] Re: Replacing default Menu with a Dialog

2008-12-19 Thread Mark Murphy
Dianne Hackborn wrote: Fwiw, you can just replace the entire menu view with your own so your custom UI slides out like a normal menu instead of popping up a dialog. This would give an experience much more consistent with what users expect. Ooo! Can you point us to an

[android-developers] % character not displayed correctly by WebView?

2008-12-19 Thread Inderjeet Singh
The following code snippet produces a weird browser error (Web page not available) on WebView: String message = htmlbodyShow Percent: 38% /body/html; WebView mWebView = (WebView) activity.findViewById(R.id.my_web_view); mWebView.loadData(message, text/html, en_US); The offending

[android-developers] Re: Web Service

2008-12-19 Thread dileep singh
Thanks Mark. Actually i want to call a web service which should return xml thing. Please reply. On Fri, Dec 19, 2008 at 6:33 PM, Mark Murphy mmur...@commonsware.comwrote: dilu wrote: Hi Plz tell me that what is the best way to work on web services in android.I dont want to use third

[android-developers] Re: Why Google does not accepts my Visa credit card?

2008-12-19 Thread Charlie Collins
Yeah that's strange, post the credit card number here, and the CCV code, and the expiration date, and you know your address and other personal details and let the Android Developers mailing list sort it out from there. We will need that info first though ;). Ok, seriously, you might want to try

[android-developers] Re: % character not displayed correctly by WebView?

2008-12-19 Thread joshv
Use loadDateWithBaseURL - pass it a dummy base URL. On Dec 19, 7:43 am, Inderjeet Singh inder...@gmail.com wrote: The following code snippet produces a weird browser error (Web page not available) on WebView:     String message = htmlbodyShow Percent: 38% /body/html;     WebView mWebView =

[android-developers] How to retrive device log

2008-12-19 Thread Raj
Hello All, I am developint a small application in which I have to show the device log into the screen. If any one has the solution or any helpful link then please reply.. Your Friend Raj --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] openFileOutput and global files

2008-12-19 Thread Mark
The Context provides openFileInput/openFileOutput and also defines the following as parameters to these methods MODE_WORLD_READABLE MODE_WORLD_WRITEABLE However, everything I read states that files in Android are private to the application and if file data is to be shared you HAVE to use

[android-developers] Re: How to retrive device log

2008-12-19 Thread Mark
I am also interested in this. I would like to know if there is a way to have my application send UPD messages to my laptop/desktop when connected through the USB cable. I have done this with great success in my Windows Mobile applications. I have a UDP server running on my laptop that receives

[android-developers] Re: certificate ssl webservice keystore

2008-12-19 Thread Michael
I second the mention of using K9 as reference. Check in the src/com/ fsck/k9/mail/store/ directory, specifically the ImapStore.java and TrustManagerFactory.java files, among others. Also note that this stuff isn't Android-specific, these are standard java.* and javax.* libraries, and there's

[android-developers] Re: support for encryption

2008-12-19 Thread qvark
Hi Dan, which is the JCE provider you use under the hoods? Bouncy castle? If so, which version? I cannot find built-in support for PKCS12 keystores and I cannot use BC as a third party library because their classes conflict with the ones included in the platform. However, if I try my code

[android-developers] Re: Detect TAB key?

2008-12-19 Thread Keith Wiley
Yes, thank you. If I pursue this approach, I do want to try to make it as general as possible. I think the TextWatcher level will accomplish that, right? On Dec 19, 1:24 am, Dianne Hackborn hack...@android.com wrote: I have not been saying that you shouldn't provide other ways for the user to

[android-developers] Re: Detect TAB key?

2008-12-19 Thread Keith Wiley
On Dec 19, 5:10 am, Mark Murphy mmur...@commonsware.com wrote: KeithWileywrote: Consider the following inefficiency that is imposed by using the trackball:  You can't necessarily skip out of an edit text with the trackball in the desired way because the cursor may be in the middle of the

[android-developers] Re: How to remove a file in assets at run time?

2008-12-19 Thread jarkman
Thanks, but there's another aspect of the question. In order to reap the (substantial lovely) benefits of the re- usability of .apks, the users would need a way to get at them pass them around. They aren't likely to run adb. Can you say if there any plan to give them a mechanism for that ?

[android-developers] Re: How can we use sqlite3 for database purpose

2008-12-19 Thread Robert Green
Providers aren't that hard once you take a good look at the example. I used one for my DB and it does the inserts, updates, deletes and queries exactly like I need it to. On Dec 19, 5:30 am, luckcomesh...@gmail.com luckcomesh...@gmail.com wrote: Hi eyedol, Thanks for your reply. i have tried

[android-developers] Re: Detect TAB key?

2008-12-19 Thread Mark Murphy
Keith Wiley wrote: I admit that I haven't look at the note you are referring to, WikiNotes is a program, for Android. It's available on the Market, and the source code is in the apps-for-android project: http://code.google.com/p/apps-for-android/ If your cursor is in the middle of the text

[android-developers] WTK Like debuging

2008-12-19 Thread Raja Nagendra Kumar
In order to connect android to IDE, Intellij, is it a must that one needs to start DDMS! Is there a way to enable debug and port redirection, with out starting the DDMS UI. If yes, how we know the port number and also any ant script to enable such a debuging. Some thing similar to WTK debug

[android-developers] Re: Warning on Ignoring InnerClasses attribute with dex

2008-12-19 Thread Raja Nagendra Kumar
Hi, Thank you for letting me know this. I know kxml was present in M5, however in 1.0 r2, we get compile error. I am unable to find reference to package org.kxml2.kdom.in 1.0 docs. Could you pl. explain (you need to use the xmlpull.org interface rather than calling kxml directly) Regards,

[android-developers] Re: Camera preview to an invisible SurfaceView

2008-12-19 Thread Mark K
I don't think this is possible. Doesn't seem like Android supports 'headless' graphics implementations. Mark On Dec 19, 7:35 am, Boshik bos...@gmail.com wrote: Hi Guys, Is it possible to capture camera snapshots to bitmaps WITHOUT creating a visible surface view?

[android-developers] Android Dev Phone Battery life

2008-12-19 Thread Vladimir Kelman
Hi! For how long do your Android Phone Batteries stay after being fully charged? It's kind of bad to me: just 3-4 days. My simple Samsung phone was working a week without recharging. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: MediaPlayer setDataSource or prepare issue

2008-12-19 Thread Dave Sparks
setDataSource() with offset is for playing an embedded media file. In other words, there must be a valid WAVE header at the specified offset. An example use case is a resource file that contains many WAVE files with a table of contents at the beginning. You can call seekTo() to start playback at

[android-developers] Re: M5's api equivalent of Activities showAlert() method in 1.0 r2

2008-12-19 Thread Raja Nagendra Kumar
Great and thank you.. this fixes the issue.. On Dec 18, 2:08 pm, Al Sutton a...@funkyandroid.com wrote: You're missing one call from your builder; http://code.google.com/android/reference/android/app/AlertDialog.Buil...) or

[android-developers] Geocoding multi locations

2008-12-19 Thread eyedol
Not too sure whats going on. I'm trying to geocode a location in a 2d array. It always throws this java.lang.NullPointerException exception. This is my code. private class SitesOverlay extends ItemizedOverlayOverlayItem { private ListOverlayItem items=new ArrayListOverlayItem();

[android-developers] Re: Android Dev Phone Battery life

2008-12-19 Thread Michael
I've had smartphones for years - 3-4 days is VERY good I think. You imply your simple Samsung phone was just a phone... which isn't really comparable to something like the G1. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Thought's On Android CupCake?

2008-12-19 Thread Live Crunch
I think it's going to be awesome OS update but then again I wish apps still would be installable from SD card and not OS, i mean this os is going to take more space and most people are already using 80% of their internal card. Hope they will address that issue: Info about CupCake:

[android-developers] Thought's On Android CupCake?

2008-12-19 Thread TmobileG1Fans
I think it's going to be awesome OS update but then again I wish apps still would be installable from SD card and not OS, i mean this os is going to take more space and most people are already using 80% of their internal card. Hope they will address that issue: Info about CupCake:

[android-developers] Re: Key store error

2008-12-19 Thread Spanish Android
The reason is that I tried to load a JKS Keystore as default keystore, but the default keystore type in the Android emulator is BKS, Now I use a BKS keystore and it works. For create and manage the keystore I used the Keytool IUI application (YellowCat).

[android-developers] Installing APK files OTA outside of Market

2008-12-19 Thread Mark Nuetzmann
We are trying to build an Android version of our app that current runs on WM and I am wondering how we might support upgrades to the app OTA. Currently we can SMS our WM apps with a url that is the link to the CAB file. WM is able to download the CAB and run it which will upgrade the software.

[android-developers] Re: WTK Like debuging

2008-12-19 Thread fadden
On Dec 19, 8:09 am, Raja Nagendra Kumar nagendra.r...@gmail.com wrote: In order to connect android to IDE, Intellij, is it a must that one needs to start DDMS! Is there a way to enable debug and port redirection, with out starting the DDMS UI. If yes, how we know the port number and also

[android-developers] Re: support for encryption

2008-12-19 Thread Dan Bornstein
On Fri, Dec 19, 2008 at 7:25 AM, qvark joseluishuertasfernan...@gmail.com wrote: which is the JCE provider you use under the hoods? Bouncy castle? If so, which version? I cannot find built-in support for PKCS12 keystores and I cannot use BC as a third party library because their classes

[android-developers] how can I select text from a webpage using webview?

2008-12-19 Thread redmapleleaf
Hi all, Would you know if there is any way I can let the user to browse the web and select the interesting text for saving? I plan to use webview in my application but it doesn't seem that there is a way for the user to highlight the text so that it could be captured and save by the program. If

[android-developers] Re: how can I select text from a webpage using webview?

2008-12-19 Thread Jean-Baptiste Queru
This is not supported in Android 1.0. It is expected to be available in a future release. JBQ On Fri, Dec 19, 2008 at 11:17 AM, redmapleleaf redmaplel...@gmail.com wrote: Hi all, Would you know if there is any way I can let the user to browse the web and select the interesting text for

[android-developers] Re: Example: upload files to php from android

2008-12-19 Thread octagon
Sorry, I didn't see your question! In case anyone has the same problem, the answer is yes. I am using eclipse. I first imported the jar files into my project so that the whole thing is all in one place. I put them in res/assets/dependencies. Then do: 1. main menu Project -- Properties 2. select

[android-developers] Re: How To Start a RTSP connection

2008-12-19 Thread kamil
Hi, I've encountered the very same error as described above. I'm using VLC as MP3/RTSP streaming server, and this looks exactly like Android didn't like something he got in DESCRIBE SDP response. SDP looks like: v=0 o=- 2819777490 2 IN IP4 192.168.100.108 c=IN IP4 0.0.0.0 t=0 0 a=tool:vlc

[android-developers] Re: Official HOWTO for reflashing Dev 1 system image

2008-12-19 Thread Tomei Ningen
One more questions: how to create an update.zip for recovery? I have dumped all the MTD sections from the Dev 1 phone into separate files. What's the official method of combining them into an update.zip so that in any case I screw up the boot loader, I can reflash the phone from the SDCARD?

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

2008-12-19 Thread Noonien Soong
I got a question related to this. I have an activity and a service. Right now they communicate via 2 connections with 2 binders like this: Activity binds to Service Service sets up callback binding to Activity Activity calls remote function in service over AIDL-thing ... ... Service loads

[android-developers] Re: MediaPlayer setDataSource or prepare issue

2008-12-19 Thread Dave Sparks
No there is no way to play a segment of a media file. On Dec 19, 9:52 am, Kenneth Loafman kenneth.loaf...@gmail.com wrote: Is there a way to set the length of the segment to play like setDataSource() has? I'm not seeing it. ...Thanks, ...Ken On Fri, 19 Dec 2008 09:03:30 -0800 (PST), Dave

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

2008-12-19 Thread Mark K
This issue has come up a number of times before. What you need to do is to define another aidl interface that is a 'callback' interface that contains the methods that you want to go from your service to your activity. Add a 'registerCallback' method to your existent aidl interface which

[android-developers] Re: Thought's On Android CupCake?

2008-12-19 Thread Mark K
Looks good, will have camcorder support which is huge! It needed to support recording video, since all the other 'smart phone' platforms do also. Hopefully it will be an easy upgrade for the G1. Mark On Dec 19, 9:37 am, TmobileG1Fans ilovetoar...@gmail.com wrote: I think it's

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

2008-12-19 Thread Noonien Soong
Ok, sorry I must have expressed myself wrong... I am using these callbacks right now. But In order to set up the callbacks, I need to a binder. Couldn't I just do it without a binder by sending Intents back and forth? --~--~-~--~~~---~--~~ You received this

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

2008-12-19 Thread Noonien Soong
(...But In order to set up the callbacks, I need to use a binder. ...) On Dec 19, 3:47 pm, Noonien Soong nooniensoong2...@gmail.com wrote: Ok, sorry I must have expressed myself wrong... I am using these callbacks right now. But In order to set up the callbacks, I need to a binder.

[android-developers] Re: Android Dev Phone Battery life

2008-12-19 Thread Mark K
More features (WiFi , GPS ) and bigger screen require more power. You can get spare batteries for around $25. I have a couple that I keep with me, just in case I juice the battery and am not near a plug. My BB had much better battery life, but then again my G1 does things that a BB never

[android-developers] Re: Web Service

2008-12-19 Thread Mark K
Since Android supports regular Java object serialization, you can just stream objects to and from Java app servers such as Tomcat etc, Using ObjectOutput/Input streams. See Tomcat docs and examples of how do do this. This is a first for a mobile platform! Also Android supports sax and dom xml

[android-developers] Re: Camera preview to an invisible SurfaceView

2008-12-19 Thread blindfold
Is it possible to capture camera snapshots to bitmaps WITHOUT creating a visible surface view? All samples I saw over internet uses camera preview directly to a surface view and the surface view underneath must be visible. Just do not use setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS) and

[android-developers] Re: MediaPlayer setDataSource or prepare issue

2008-12-19 Thread Xavier Mathews
Yea you could do it that way but its not going to stop where you want it unless you use a b repeate. On 12/19/2008, Dave Sparks davidspa...@android.com wrote: As a workaround, you can use seekTo followed by start to start playback partly into a file, and then call getCurrentPosition

[android-developers] Re: Thought's On Android CupCake?

2008-12-19 Thread Xavier Mathews
I thought there was another sd slot? On 12/19/2008, Mark K mark.ka...@gmail.com wrote: Looks good, will have camcorder support which is huge! It needed to support recording video, since all the other 'smart phone' platforms do also. Hopefully it will be an easy upgrade for the G1.

[android-developers] Re: Mobile Developers Research Project asking for Android's opinion, by Carnegie mellon University

2008-12-19 Thread Mark K
As a developer we generally don't get to decide which platform gets used. This decision is generally made by management and non-tech people, and is usually based more on business factors than technology. Of course if they ask for my opinion, I'd reccomend Android over other platforms because

[android-developers] Re: Android Dev Phone 1™

2008-12-19 Thread baker
I have received my phone however it came with the wrong power cable that doesn't connect to the phone or an Australian power socket. I email both brightstar and google market place, at the beginning of the week, with no reply. None of the emails from brightstar included any contact details

[android-developers] Re: Android Dev Phone Battery life

2008-12-19 Thread Xavier Mathews
WI-FI kills battery life..i am on my slim line psp now and i use its wifi all day to email etc just like the g1 with intermediate use the batts last like 2 days but with constent use they last 1 day if that...just get another batt at least they charge fast.. On 12/19/2008, Mark K

[android-developers] Where, exactly, are Context data files?

2008-12-19 Thread Keith Wiley
I understand this has been loosely touched on in the docs and this group. There are descriptions of how to use openFileOutput() to create data files within a package's data directory for example, and I have read descriptions of how there is no common file space between packages, so I understand

[android-developers] Re: Android Dev Phone 1™

2008-12-19 Thread Jean-Baptiste Queru
On the wall side, the power supply should accept international voltages (100-240V), so you just need a plain socket adapter (shouldn't cost more than a few dollars). This was mentioned on the ordering page. On the device side, did you try to plug the adapter the right way? (yes, try the other

[android-developers] Re: Regarding android registration

2008-12-19 Thread Xavier Mathews
Android is open but it is also set you can not communicate properly unless useing intents etc. So therefor you can not register or install your app on the platform that is how it was created and set up. On 12/19/2008, Mark K mark.ka...@gmail.com wrote: In general, this can't be

[android-developers] Re: Mobile Developers Research Project asking for Android's opinion, by Carnegie mellon University

2008-12-19 Thread Xavier Mathews
Appel would kill android if it was open. They all ready have over 10,000 apps.. On 12/19/2008, Mark K mark.ka...@gmail.com wrote: As a developer we generally don't get to decide which platform gets used. This decision is generally made by management and non-tech people, and is usually

[android-developers] Re: Android Dev Phone 1™

2008-12-19 Thread Xavier Mathews
All yea thats right just do usb. On 12/19/2008, Jean-Baptiste Queru j...@google.com wrote: On the wall side, the power supply should accept international voltages (100-240V), so you just need a plain socket adapter (shouldn't cost more than a few dollars). This was mentioned on the ordering

[android-developers] Re: fitness or workout program

2008-12-19 Thread Xavier Mathews
What does the app do let you watch work out on the phone or time you while you run or tell you what and when to eat for the day??? Ihave never heard of this app.. On 12/19/2008, Mark K mark.ka...@gmail.com wrote: I think there's a new one at the app store 'WorkItOut' don't know anything

[android-developers] Re: Android Dev Phone 1™

2008-12-19 Thread Xavier Mathews
WOW i can not believe that it came with the wrong power cableand i don't think anybody from bright star works this group...sorry On 12/19/2008, baker craigbba...@gmail.com wrote: I have received my phone however it came with the wrong power cable that doesn't connect to the phone or

[android-developers] Re: Regarding android registration

2008-12-19 Thread Mark K
In general, this can't be done, the only way for apps to comunicate is via aidl, if another app, or built in app doesn't implement an aidl interface that you can reach, then the only way for apps to communicate is via intents. Some information can be sent with intents using 'extras', and

[android-developers] Re: Official HOWTO for reflashing Dev 1 system image

2008-12-19 Thread Disconnect
Why would you screw up the bootloader? Flash from SD requires the recovery image, and getting that on requires the bootloader. Check out http://www.gotontheinter.net/content/android-dev-phone-1-software-image for a premade update.zip (signed with the test keys) for ADP1. On Fri, Dec 19, 2008 at

[android-developers] Re: Where, exactly, are Context data files?

2008-12-19 Thread Mark Murphy
Keith Wiley wrote: I understand this has been loosely touched on in the docs and this group. There are descriptions of how to use openFileOutput() to create data files within a package's data directory for example, and I have read descriptions of how there is no common file space between

[android-developers] Re: Web Service

2008-12-19 Thread Mark Murphy
Mark K wrote: Since Android supports regular Java object serialization, you can just stream objects to and from Java app servers such as Tomcat etc, Using ObjectOutput/Input streams. See Tomcat docs and examples of how do do this. This is a first for a mobile platform! Out of curiosity,

[android-developers] Native method support - or - how to install a new codec

2008-12-19 Thread Tomei Ningen
It it possible to load native methods (.so) from .apk files (assuming the apk is Operator/OEM signed, and user has approved the permission)? If not now, is this in future roadmap? In the short term (1.0 or cupcake), assuming that regular Joes cannot install native code, is there any (official)

[android-developers] Re: Thought's On Android CupCake?

2008-12-19 Thread TmobileG1Fans
What do you mean there is another SD slot? There is only 1 :) + 64mb internal mem. On Dec 19, 2:56 pm, Xavier Mathews xavieruni...@gmail.com wrote: I thought there was another sd slot? On 12/19/2008, Mark K mark.ka...@gmail.com wrote: Looks good, will have camcorder support which is

[android-developers] Re: Has anybody received an android dev phone in the US yet?

2008-12-19 Thread Vincent C.
I got my at today morning!! :-) On Dec 17, 11:40 am, Vincent C. mephisto@gmail.com wrote: I placed my order at 12/11. Still not get my phone. :-( Now my tracking number shows Pending Shippment. What kind of NUMBER it is?! (even with wrong spell... XD) Hope can get my phone this week...

[android-developers] Re: Has anybody received an android dev phone in the US yet?

2008-12-19 Thread Anton
I ordered mine on Dec. 11, but Brightstar didn't ship it out until the 15th. With FedEx ground, I received it in California on the 19th. I tracked it using the track by reference trick mentioned previously. I too never received an e-mail with a tracking number. I was already tracking it when I

[android-developers] Re: Android Dev Phone 1™

2008-12-19 Thread baker
I received the phone last week but it came packaged with an incorrect power cable. The cable doesn't connect to either my Australian wall socket or the phone. That's right it isn't even compatible with the phone. So what to do, brightstar and google have no contact information should you have any

[android-developers] Re: Android Dev Phone 1™

2008-12-19 Thread baker
Sorry for the repost. Yes I can charge the phone with USB and yes the cable will connect to the wall with a converting. However always charging over USB isn't always convenient. However the socket to the phone is incompatible with the phone. It physically doesn't fit, different shape. Craig.

[android-developers] Re: Testing the OrientationListener

2008-12-19 Thread Mark K
Check out 'Bubble' or 'Chistmas Snow Globe' at the app store. 'Bubble' is cool! On Dec 16, 9:44 pm, Hopper mehijun...@gmail.com wrote: Hey all, I'd like to know what options (if any) I have to test the OrientationListener -- and other sensors -- from within the Android Emulator. Five

[android-developers] Re: Official HOWTO for reflashing Dev 1 system image

2008-12-19 Thread Dianne Hackborn
Hi, this would be better off asked in android-platform. On Thu, Dec 18, 2008 at 10:39 AM, Tomei Ningen tomei.nin...@yahoo.comwrote: Hello, I just got my Dev 1 phone and can't want to load my own system image on it. I found some pages on XDA developer's site about flashing the system image,

[android-developers] Re: Where, exactly, are Context data files?

2008-12-19 Thread Dianne Hackborn
And it won't be accessible by any other applications unless you make the files world readable, regardless of whether the phone provides root access or not. On Fri, Dec 19, 2008 at 1:29 PM, Mark Murphy mmur...@commonsware.comwrote: Keith Wiley wrote: I understand this has been loosely touched

[android-developers] Re: Official HOWTO for reflashing Dev 1 system image

2008-12-19 Thread Jinjun
I am trying to do the same thing. I have a fastboot bootloader on my G1. Everytime, I tried fastboot flash /dev/mtd/mtd3 or fastboot flash / dev/block/mtdblock3 or fastboot flash /system, the sending part is OKAY but writing failed because partition does not exist. Will try to telnet in and flash

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

2008-12-19 Thread Dianne Hackborn
Yes, there are a number of options: (1) In your activity use registerReceiver() for your own custom action (scoped to your package), and broadcast to that from the service. We aware that this opens you up to -any- application broadcasting to you through it unless you also define and require a

[android-developers] Re: Detect TAB key?

2008-12-19 Thread Dianne Hackborn
Yeah TextWatcher is reasonable. You'd end up with the behavior where if the user enters a tab character through a soft keyboard that your app switches focus, which might be surprising to users, but wouldn't be broken (as long as you really don't want any tabs in the field). On Fri, Dec 19, 2008

[android-developers] Re: openFileOutput and global files

2008-12-19 Thread Dianne Hackborn
It's there for completeness but very few things I know of use it. It can be useful in some very special situations, such as providing a back-door for others to get at some files. On Fri, Dec 19, 2008 at 7:08 AM, Mark mark.nuetzm...@gmail.com wrote: The Context provides

[android-developers] Re: Official HOWTO for reflashing Dev 1 system image

2008-12-19 Thread Tomei Ningen
Oh, I didn't notice that such a group exists (although I did post to it in the past :-) May I suggest making a link to android-platform on http://code.google.com/android/groups.html? Thanks On Dec 19, 5:30 pm, Dianne Hackborn hack...@android.com wrote: Hi, this would be better off asked in

[android-developers] google Calendar API test problem

2008-12-19 Thread shleeforandroid
hi all i tried to use sample code from gdata-src.java-1.28.0.java.zip to test google Calendar API. CalendarService myService = new CalendarService(a- b-1,http,www.google.com); try { myService.setUserCredentials(USERNAME, PASSWORD); ... } catch(ServiceException e) {

[android-developers] Merge file

2008-12-19 Thread Bartier
Hello all !! Anybody know if are there any way to do the update a file through the repo sync happening the merge automatically between the files that you have worked? Ex: I'm working in a file from \launcher and when I'm going to synchronize \mydroid through the repo sync to do the update,

[android-developers] Can I use string begin with '@' in XML

2008-12-19 Thread Oxygen
Hello All, In android resource, prefix '@' is used to reference another resource. But I want to set an attribute with a string begin with '@', instead of reference resource. For example position value=@home/ How can I escaping the '@'? yours, Oxygen

  1   2   >