[android-developers] iPhone SIM Card compatibility

2008-12-11 Thread Logan
Hello All, I just recevied my G1 Dev Phone. I promptly took the sim from my ATT 3G iPhone and placed it in my G1. It appears that the iPhone SIM card is NOT compatible with the G1 and will not allow your phone to interoperate with the data network. Logan

[android-developers] Re: iPhone SIM Card compatibility

2008-12-11 Thread Jean-Baptiste Queru
If it's a Dev Phone (not a G1), it's not SIM-locked so you can use any SIM in it. Did you enter the proper APN for your network? JBQ On Thu, Dec 11, 2008 at 12:50 PM, Logan logan.green...@gmail.com wrote: Hello All, I just recevied my G1 Dev Phone. I promptly took the sim from my ATT 3G

[android-developers] Using Homemade TrueType Fonts In Android

2008-12-11 Thread illiniwatcher
To all: I've noticed that Android lets developers include their own TrueType fonts, by way of the assets\fonts folder. This is a great feature, and works well. But I notice that if I copy one of my own homemade TrueType fonts - created using CorelDraw's export function - any text I render in

[android-developers] Re: iPhone SIM Card compatibility

2008-12-11 Thread Logan
Do you have one? Step to reproduce: Unbox Dev G1. Insert ATT iPhone SIM card, boot Register. Registration fails and the data icon never shows up. I've now tested with a T-Mo blackberry SIM card, data DOES work, but registration still fails. Logan On Dec 11, 3:52 pm, Jean-Baptiste Queru

[android-developers] Re: iPhone SIM Card compatibility

2008-12-11 Thread Jean-Baptiste Queru
Check this thread: http://groups.google.com/group/android-developers/browse_thread/thread/266ce8994900f7f4 JBQ On Thu, Dec 11, 2008 at 12:59 PM, Logan logan.green...@gmail.com wrote: Do you have one? Step to reproduce: Unbox Dev G1. Insert ATT iPhone SIM card, boot Register.

[android-developers] Re: iPhone SIM Card compatibility

2008-12-11 Thread Logan
Sweet! Thanks - I didn't see the menu button for apn settings. On Dec 11, 4:02 pm, Jean-Baptiste Queru j...@google.com wrote: Check this thread:http://groups.google.com/group/android-developers/browse_thread/threa... JBQ On Thu, Dec 11, 2008 at 12:59 PM, Logan logan.green...@gmail.com

[android-developers] Re: Versioning and Deploying

2008-12-11 Thread mathiastck
You also need a unique java package for each app. On Dec 11, 3:22 am, mobilek...@googlemail.com mobilek...@googlemail.com wrote: Hi, I have several versions of my app, and I'd like to deploy them on my testing device. To do that I've altered the AndroidManifest.xml's version code and name.

[android-developers] Re: Using Homemade TrueType Fonts In Android

2008-12-11 Thread Mike Reed
If you substitute your font for the one in ApiDemos, and rebuild them, do you see yours appear in ApiDemos/src/com/example/android/apis/ graphics/Typefaces.java? On Dec 11, 2008, at 3:58 PM, illiniwatcher wrote: To all: I've noticed that Android lets developers include their own TrueType

[android-developers] Re: What happened to this API?

2008-12-11 Thread Bradley Young
To build the email package you have to use layoutlib.jar, which is in the android developer kit. If you are going to attempt alterations to the email package, I'd suggest checking out the K-9 project. Much more accessible currently, and the eventual goal is to merge back to the regular mail

[android-developers] Re: Convert AMR-NB/WB to wav

2008-12-11 Thread ste
I ended up going with ffmpeg with the amr-nb libraries to do this. On Dec 4, 3:31 pm, ste daconcei...@gmail.com wrote: Are there any available java converters similar to SoX that can convert the audio recorded by a microphone to another format, like wav?

[android-developers] Re: Bitmap.getPixels()

2008-12-11 Thread jman
I'll manage to trim down the software a little bit later so that we can just focus on the issue or the thing I did something wrong on. Before I do that, imagine you use the Finger Paint example in ApiDemos. Before your canvas draw the path, you draw a background Bitmap bgBitmap first.

[android-developers] Re: send activity in background

2008-12-11 Thread Dianne Hackborn
There is a method on Activity to send your task to the background. On Thu, Dec 11, 2008 at 8:43 AM, sthustfo sthus...@gmail.com wrote: Thanks. But in that case, I would need to remember the top most activity of the entire android stack (of other applications). I basically need to send my

[android-developers] Re: Activity finishOnBackground attribute

2008-12-11 Thread Dianne Hackborn
Yes the documentation is out of date, it got renamed to finishOnTaskLaunch. On Thu, Dec 11, 2008 at 7:57 AM, Adam K a...@everythingandroid.net wrote: ping! is the documentation out of date? or am i not understanding how to use finishOnBackground? On Mon, Dec 8, 2008 at 2:48 PM, Adam K

[android-developers] Data Roaming and 3rd party apps

2008-12-11 Thread mathiastck
Referencing this article: T-Mobile produces official statement regarding international G1 data roaming http://www.engadgetmobile.com/2008/12/10/t-mobile-produces-official-statement-regarding-international-g1/ the statement being: Official T-Mobile statement: T-Mobile is committed to

[android-developers] Re: Data Roaming and 3rd party apps

2008-12-11 Thread zero
if the user turned off roaming, i don't think having the INTERNET permission is enough to turn it back on. On Dec 11, 11:26 pm, mathiastck mathias...@gmail.com wrote: Referencing this article: T-Mobile produces official statement regarding international G1 data

[android-developers] Re: Versioning and Deploying

2008-12-11 Thread mobilek...@googlemail.com
Thanks! Uh I just knew it that the package name would fix it! On Dec 11, 9:17 pm, mathiastck mathias...@gmail.com wrote: You also need a unique java package for each app. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: problem answering a call

2008-12-11 Thread dreamerBoy
I tried to add the incoming number, just like it works for outgoing calls. The result is that it crashes as before. Can't find a matching Activity for this Intent, basically. // Intent doesn't match anything - crashes Uri parsedPhoneNumber = Uri.parse(tel: + incomingNumber);

[android-developers] Re: Allocation too large for this process

2008-12-11 Thread EboMike
I tried using BitmapFactory.Options when calling BitmapFactory.decodePath() on Romain's recommendation to resize the 1024x768 JPG files down to 480x320 before displaying them in a Gallery, but that didn't help at all - if anything, it made things worse. The app still runs out after viewing just a

[android-developers] Re: Activity finishOnBackground attribute

2008-12-11 Thread Adam K
Does it do exactly the same thing? It sounds to me like finishOnTaskLaunch finishes an activity when it is relaunched from the homescreen - what I wanted to do is have an activity finish when it goes to the background. Or would this be identical as calling finish() in the onPause() method? On

[android-developers] How to capture the intents generated by an activity?

2008-12-11 Thread Kumaravel Kandasami
Does anybody know and willing to direct how to capture or monitor the intents generated by an activity. Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Allocation too large for this process

2008-12-11 Thread fala70
Mike, can you explain me how did you use BitmapFactory.Options params to resize the image ? Stefano On 12 Dic, 00:03, EboMike ebom...@gmail.com wrote: I tried using BitmapFactory.Options when calling BitmapFactory.decodePath() on Romain's recommendation to resize the 1024x768 JPG files down

[android-developers] Keeping service alive - What is the right way to to go for my app?

2008-12-11 Thread code_android_festival_way
At the moment I'm facing kind of a big problem. I am using a service to listen with the TelephonyManager for incoming calls in order to do something according to the incoming call. To be able to do this I have to rely on my running service. It is just sitting in the background doing nothing. I

[android-developers] How do you create this map pin?

2008-12-11 Thread mscwd01
I want to know how to create a map pin such as the one used in the Google Maps app, shown when you search for a particular address. The white balloon which contains short String to denote what the pin is representing. Instead of adding a drawable for my pin in an OverlayItem, I would rather use

[android-developers] Re: Keeping service alive - What is the right way to to go for my app?

2008-12-11 Thread Jean-Baptiste Queru
You can not rely on a service staying alive 100% of the time, because the system reserves the right to kill the processes that host services in order to make space for the visible activity. JBQ On Thu, Dec 11, 2008 at 3:21 PM, code_android_festival_way festival.s...@googlemail.com wrote: At

[android-developers] Re: How do you create this map pin?

2008-12-11 Thread mscwd01
Similar to this: http://www.webmonkey.com/mediawiki/images/Android_streetview.jpg On Dec 11, 11:26 pm, mscwd01 mscw...@gmail.com wrote: I want to know how to create a map pin such as the one used in the Google Maps app, shown when you search for a particular address. The white balloon which

[android-developers] Re: Keeping service alive - What is the right way to to go for my app?

2008-12-11 Thread code_android_festival_way
Ok so all I can do is set some last Toast in the onDestroy message in order to notify the user of the killed service right? On 12 Dez., 00:29, Jean-Baptiste Queru j...@google.com wrote: You can not rely on a service staying alive 100% of the time, because the system reserves the right to kill

[android-developers] Question on Android 1.0 SDK, release 2

2008-12-11 Thread Anshul
Release notes for Android 1.0 SDK, release 2 says that SDK release now includes several classes that were missing from the previous SDK. ID there a list of those classes that were added in this release? Thanks, -Anshul --~--~-~--~~~---~--~~ You received this

[android-developers] What is causing Service not registered from unbind(service)?

2008-12-11 Thread zero
Hi all i have a remote service running while the controlling activity is not displayed. i call unbind(mConnection) in onPause, which sometimes works and sometimes throws Service not registered. I know i'm bound to the service (doing the bind in onCreate), because i can execute it's functions. so

[android-developers] Re: Keeping service alive - What is the right way to to go for my app?

2008-12-11 Thread Mark Murphy
code_android_festival_way wrote: Ok so all I can do is set some last Toast in the onDestroy message in order to notify the user of the killed service right? 1. I don't think services can raise Toasts, if they don't happen to be called on the UI thread. You should be able to post a

[android-developers] Re: Keeping service alive - What is the right way to to go for my app?

2008-12-11 Thread Jean-Baptiste Queru
In fact when the system (kernel) decides to kill a service to make space, the service *is* killed outright, no onDestroy(). JBQ On Thu, Dec 11, 2008 at 3:44 PM, Mark Murphy mmur...@commonsware.com wrote: code_android_festival_way wrote: Ok so all I can do is set some last Toast in the

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

2008-12-11 Thread kpowerinfinity
I just a mail saying the order has been shipped. The Brightstar site still shows no orders. So, that might be some help to others having a similar issue. Krishna. -- http://kpowerinfinity.wordpress.com http://www.linkedin.com/in/kpowerinfinity On Fri, Dec 12, 2008 at 1:31 AM, Mintu

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

2008-12-11 Thread Daniel Bradby
I also called up and immediately got through. Got my UPS tracking number and it's on it's way.I ordered mine on the 6th Dec and it shipped on the 9th. UPS tells me it will be here (Australia) on the 17th Dec -- iPhone, Android and Geolocation ramblings - http://jtribe.blogspot.com/ On Fri, Dec

[android-developers] Gallery child views don't receive key events

2008-12-11 Thread devile...@gmail.com
Is there a way for a gallery child view to receive proper key events. Currently, the gallery will pass press events but not key events. The following code uses an EditView as an example. On any selected EditView you cannot change the text. Also, when I use ViewGroups as the child views the

[android-developers] Re: Android Dev Phon e 1™

2008-12-11 Thread C-LIS Keiji Ariyama
Hi folks, Same problem here. I placed an order, but the order doesn't appear on the Brightstar tracking page. It says that no orders have been placed. Me too. I have ordered a Android Dev Phone 1. But the order doesn't appear. You haven't ordered anything yet I have asked about this

[android-developers] Re: Keeping service alive - What is the right way to to go for my app?

2008-12-11 Thread code_android_festival_way
Thank you for your answers. I meant the notification not the Toast sorry for that. It is not nice to hear all that but ok I have to live with that. (the users have to live with that because they don't understand why the service can't be available all the time :) ) It would be nice if a broadcast

[android-developers] ACTION_ANSWER never answers the call - phone state stays RINGING..

2008-12-11 Thread dreamerBoy
code: try { // answer the phone Intent myIntent = new Intent(Intent.ACTION_ANSWER); myIntent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP // | Intent.FLAG_DEBUG_LOG_RESOLUTION // | Intent.FLAG_FROM_BACKGROUND // |

[android-developers] Re: Allocation too large for this process

2008-12-11 Thread fala70
do you know how can I save on file a jpg format after decoded and resized the bitmap ? -Stefano --~--~-~--~~~---~--~~ 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] light xmlrpc clent side lbrary

2008-12-11 Thread skink
hi, after couple of weeks i finished ultra light XMLRPC client side library for android. XMLRPC.tgz contains library itself + small test app (.apk included in bin folder) + test python server.py to run on your dev host. pskink --~--~-~--~~~---~--~~ You received

[android-developers] Re: light xmlrpc clent side lbrary

2008-12-11 Thread skink
On 12 Gru, 00:25, skink psk...@gmail.com wrote: hi, after couple of weeks i finished ultra light XMLRPC client side library for android. XMLRPC.tgz contains library itself + small test app (.apk included in bin folder) + test python server.py to run on your dev host. of course i forgot

[android-developers] Re: Keeping a Service Alive

2008-12-11 Thread John Spurlock
Any tips on this? Or are we on our own? This is a big issue for us right now. On Dec 9, 10:40 pm, John Spurlock john.spurl...@gmail.com wrote: Would you mind clarifying this a bit?  What are some techniques a legitimate background service hosting a running mediaplayer can employ to ensure

[android-developers] Re: How do you create this map pin?

2008-12-11 Thread mscwd01
Oh, and if its not possible - does anyone have any tips on how to emulate such a map pin? On Dec 11, 11:29 pm, mscwd01 mscw...@gmail.com wrote: Similar to this:http://www.webmonkey.com/mediawiki/images/Android_streetview.jpg On Dec 11, 11:26 pm, mscwd01 mscw...@gmail.com wrote: I want to

[android-developers] Re: youtube player question

2008-12-11 Thread Wei
Hi Dave, Actually there are two questions. 1. the youtube player can play 3gp video through rtsp. I want to know what codecs used by Youtube player? 2. I test Android video player API to play mpeg4 SP file which resolution is 320*240 But it always display green frame on the emulator.

[android-developers] light xmlrpc clent side lbrary

2008-12-11 Thread skink
hi, after couple of weeks i finished ultra light XMLRPC client side library for android. XMLRPC.tgz contains library itself + small test app (.apk included in bin folder) + test python server.py to run on your dev host. you can download it from this url (tab Downloads):

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

2008-12-11 Thread ko.bach...@gmail.com
Shipping to the US. And I can't see anything in order tracking. On Dec 11, 1:21 pm, sacoskun sacos...@gmail.com wrote: Which country did you ship the phone to? Can't you see the tracking status from android market account? -sarp On Dec 11, 5:05 am, ko.bach...@gmail.com ko.bach...@gmail.com

[android-developers] Re: Keeping a Service Alive

2008-12-11 Thread Dianne Hackborn
Do adb shell dumpsys activity to see the current state of the processes and your own. Look at the oom_adj for the processes to see which ones are more important (larger is less important = 8 is a background process that is okay to kill, 2 is a service process that we try hard not to kill).

[android-developers] Re: What is causing Service not registered from unbind(service)?

2008-12-11 Thread Dianne Hackborn
It means that ServiceConnection is not bound to the service. Just because you can call methods on the IBinder you got at some previous point doesn't mean you are still bound to it. (A little unfortunate, for for efficiency's sake there it is.) On Thu, Dec 11, 2008 at 3:33 PM, zero

[android-developers] Re: Activity finishOnBackground attribute

2008-12-11 Thread Dianne Hackborn
It was renamed to match the actual behavior. On Thu, Dec 11, 2008 at 3:04 PM, Adam K a...@everythingandroid.net wrote: Does it do exactly the same thing? It sounds to me like finishOnTaskLaunch finishes an activity when it is relaunched from the homescreen - what I wanted to do is have an

[android-developers] Re: Data Roaming and 3rd party apps

2008-12-11 Thread Dianne Hackborn
On Thu, Dec 11, 2008 at 2:26 PM, mathiastck mathias...@gmail.com wrote: Does this mean all 3rd party internet apps, (ie those that have requested android.permission.INTERNET), will turn on data roaming No they will not. -- Dianne Hackborn Android framework engineer hack...@android.com

[android-developers] Re: How to capture the intents generated by an activity?

2008-12-11 Thread Dianne Hackborn
adb logcat -b events has a log of some of the main things happening in the activity manager, but only activities. There is nothing logged about broadcasts or services, those things happen too much. On Thu, Dec 11, 2008 at 3:04 PM, Kumaravel Kandasami kumaravel.kandas...@gmail.com wrote: Does

[android-developers] Re: A ListView that show the contact icon and name in a list item

2008-12-11 Thread Luke w
Anyone can help me to get the contact icons ? Help ~ BR, Luke Wang On Thu, Dec 11, 2008 at 4:09 PM, Luke w hit...@gmail.com wrote: Hi all, * now, my code below can display the name and major number about one of the contacts. * public class MainActivity extends ListActivity {

[android-developers] Re: Connecting to Android Emulator through Java Application

2008-12-11 Thread Andhravaala
Even I used the 10.0.2.2 = Special alias to your host loopback interface (i.e., 127.0.0.1 on your development machine) in the TCP Client (Desktop App.), Still I'm getting the exception java.net.ConnectException: Connection timed out: connect. If anybody tried and succeed in this, please help

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

2008-12-11 Thread nutha...@gmail.com
Following up on my earlier post...after failing to reach Brightstar via phone, I sent an email and received a response in an hour or so: Your order will ship no later than Friday 12/12. You will receive an email with tracking information once it ships. I never got any shipping email, but FedEx

[android-developers] Re: A ListView that show the contact icon and name in a list item

2008-12-11 Thread for android
int pplId = managedCursor.getColumnIndex(People._ID); if (managedCursor.moveToFirst()) { do { id = managedCursor.getLong(pplId); Bitmap bitmap = People.loadContactPhoto(this, ContentUris

[android-developers] :: problem with Customized Button

2008-12-11 Thread Imran
Hi All i have written a class for customized Button this is my code package com.games.speedtester; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.util.AttributeSet; import android.util.Log; import

[android-developers] continuously polling webserver for updates.

2008-12-11 Thread Android geek
Hello devs, I am developing an application that continiously needs to poll webserver for updates (Assume that its a messanger like application). There's a web application running on the webserver. the web application can send data such as images and text to the android app. I have fundamental

[android-developers] How to use built in email application to send email from my application?

2008-12-11 Thread dilu
Hi I wanna to send email from my application .I want to use built in email application to send mail from my application.So, can any one provide me some sample code or link for sending email using built in email application?Any advice on this topic is most welcome. Please reply.I am waiting for

[android-developers] Re: Gesture detection

2008-12-11 Thread Protocol-X
Can someone show an example on how to tell if a fling as gone left or right or a scroll has gone left or right? I cannot seem to find any documentation on this On Nov 3, 5:06 pm, Rohit Mordani mord...@gmail.com wrote: Yes - that also works ! Thanks for letting us know that ! Rohit On Oct

[android-developers] Re: Separating ListView into Sections using Headers

2008-12-11 Thread Luke w
It works and looks great, Thanks for your post. And i found it is important to understand the Adapter class, if you master this class it is easy to do erverything you want to make a beautiful UI. Please make a tutorial about Adapter and howto extend it. It is useful to make up a

[android-developers] Usage of ArrayAdapter leads me to Index Array out of Bounds Exception

2008-12-11 Thread code_android_festival_way
Hello. I'm using an ArrayAdapter for my Spinner in the following way: http://paste.pocoo.org/show/95017/ This works pretty fine. But after adding an item and reinstalling the application from Eclipse on the G1 I'm getting and an Index Array Out of Bounds Exception. To fix the problem I have to

[android-developers] Does LogCat support UTF-8 to display?

2008-12-11 Thread yukinoba
hi all does anyone know that logcat supports utf-8 display or not? I ve tried to transfer non-unicode string message objects to the Log method, with new String(s.getBytes(original-coding), utf-8), and then put it into the Log.v(TAG, my_transferred_string) then I found, logcat shows results with

<    1   2