[android-developers] Re: How to get all list of running applications onto the emulator.

2008-12-21 Thread Dianne Hackborn
Use the PackageManager class to find out about installed apps, and ActivityManager has some information about running stuff, though it won't be until cupcake that we have a list of running apps available. On Sat, Dec 20, 2008 at 2:45 AM, Raj raj123man...@gmail.com wrote: Hi, I want make a

[android-developers] Re: Camera Preview is rotated 90. (auto rotates unless keyboard is out)

2008-12-21 Thread chrispix
Any suggestions? I have made my camera surface preview an activity. While it is set inside a tab (portrait) it does not matter if i set the surfacepreview activity in the manifest as portrait or landscape, it is always set to landscape. I can't have my application turn all the tabs into

[android-developers] MediaStore.Audio.AudioColumns.ALBUM_ART returns -1

2008-12-21 Thread Protocol-X
has anyone sucessfully been able to access album art? it always returns a -1 when trying to use it --~--~-~--~~~---~--~~ 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: Market Limitation

2008-12-21 Thread freeanderson
Yes, right. Here is South Korea. I don't understand why South Korea is not included in the list. Even Uganda has been included. It doesn't make a sense. I wonder whether Google is having a special plan for Korea though. On Dec 21, 3:32 pm, Justin Collum jcol...@gmail.com wrote: Is there a South

[android-developers] Re: How to get all list of running applications onto the emulator.

2008-12-21 Thread jphdsn
this file manager lists all files in android, by sorting the appyou can do your work. http://www.anddev.org/generalized_file_manager_2_-_gfm20-t397.html On Dec 21, 9:20 am, Dianne Hackborn hack...@android.com wrote: Use the PackageManager class to find out about installed apps, and

[android-developers] Re: Market Limitation

2008-12-21 Thread Al Sutton
I'd guess it's more likely a mistake and someone deleted North and South Korea for the list of valid countries. Al. freeanderson wrote: Yes, right. Here is South Korea. I don't understand why South Korea is not included in the list. Even Uganda has been included. It doesn't make a sense. I

[android-developers] Re: Phone?DIY

2008-12-21 Thread Al Sutton
Maybe he wants it to put some shelves up for him :). Al. David Turner wrote: what are you talking about ? On Sun, Dec 21, 2008 at 4:34 AM, cer...@gmail.com mailto:cer...@gmail.com cer...@gmail.com mailto:cer...@gmail.com wrote: Can the phone DIY? -- == Funky Android

[android-developers] Re: Locking Down Root Access - Same Sh.., Different Vendor

2008-12-21 Thread Al Sutton
I'd prefer to see more Android 'phones in the hands of users than to see every Android phone have a developer mode. The G1 is a consumer device and should be designed as such (including things like minimising/eliminating the possibility for users to brick the device by using a home-brew

[android-developers] Issue regarding Changing textColor

2008-12-21 Thread nithin warier
I tried a lot to change the textColor using xml, like android:textColor = 7FFF00, android:textColor = 0x700 android:textColor = @drawable/blue like that... but i cant change the text Color, still showing the default color, i changed the backGround Color, but cant change the texColor what

[android-developers] Re: Issue regarding Changing textColor

2008-12-21 Thread De San Nicolas Jean Philippe
hi... try this android:textColor=#FF00 2008/12/21 nithin warier nithin.war...@gmail.com I tried a lot to change the textColor using xml, like android:textColor = 7FFF00, android:textColor = 0x700 android:textColor = @drawable/blue like that... but i cant change the text

[android-developers] upgrade emulator firmware

2008-12-21 Thread fry
Hello, I'm trying to upgrade firmware in emulator or some parts inside it. I have root shell, I can replace any libraries/binaries in the /system directory, but after I reboot all my changes are reverted back. How can I switch this off? For example, if I compile some of opensource part of

[android-developers] email adresses from Contacts.ContactMethods

2008-12-21 Thread jphdsn
hi, how to get the email adresses from Contacts.ContactMethods I tried a lot of things without success... thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: upgrade emulator firmware

2008-12-21 Thread fry
I think I can try to modify tools/lib/images/system.img file to achieve this - the simple way I see is to mount it on my local system in write mode, put modified files to it, unmount and boot emulator with modified image. Will this way work at least in theory? On practice, I even can't mount it:

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

2008-12-21 Thread Oxygen
This worked correct. Thank you for your advice. On 12月21日, 上午1时03分, Al alcapw...@googlemail.com wrote: Have you tried escaping it with a \? So in your case value=\...@home/ On Dec 19, 3:07 pm, Oxygen oxygen.jian.w...@gmail.com wrote: Hello All, In android resource, prefix '@' is used to

[android-developers] email adress from Contacts.ContactMethods. (again!)

2008-12-21 Thread jphdsn
to get email adress ao one contact, I tried String[] PROJECTION = new String[] {Contacts.ContactMethods._ID }; Cursor cu = getContentResolver().query (Contacts.ContactMethods.CONTENT_EMAIL_URI, PROJECTION,Contacts.ContactMethods.PERSON_ID

[android-developers] Re: Phone?DIY

2008-12-21 Thread clark
Perhaps your DIY acronym is different from the mainstream, which is Do-It Yourself Some details would be great, assuming you are asking a legit question. ~clark On Dec 20, 7:34 pm, cer...@gmail.com cer...@gmail.com wrote: Can the phone DIY?

[android-developers] Re: support for ad2p and others

2008-12-21 Thread Kaisershrout
Merged implementations into the OS: looks promising! http://source.android.com/roadmap/cupcake On Nov 14, 4:44 pm, Dan Pou daniel@gmail.com wrote: I don't have the particular reference, but I believe that the Android developers held off including advanced bluetooth because the API was in

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

2008-12-21 Thread Christine
Do we know when cupcake will be released? How much time will there be between release of the sdk, and the release for commercial phones? I guess a lot of apps will need some rework for this release. On Dec 20, 5:28 pm, Disconnect dc.disconn...@gmail.com wrote: There is such an option. Its

[android-developers] How to import an already setup Layout in code?

2008-12-21 Thread Moto
Hello currently I'm making my custom ListAdapter and I add my Text Views the following way: LinearLayout.LayoutParams radioParams = new LinearLayout.LayoutParams (320, LayoutParams.FILL_PARENT); radioParams.setMargins(1, 1, 1, 1); TextView stationName = new TextView( context );

[android-developers] Re: How to import an already setup Layout in code?

2008-12-21 Thread Mark Murphy
Moto wrote: Hello currently I'm making my custom ListAdapter and I add my Text Views the following way: LinearLayout.LayoutParams radioParams = new LinearLayout.LayoutParams (320, LayoutParams.FILL_PARENT); radioParams.setMargins(1, 1, 1, 1); TextView stationName = new

[android-developers] Re: How to import an already setup Layout in code?

2008-12-21 Thread Moto
Thanks Mark! I'm very happy with your reply! It works! The first Tutorial did the trick but a couple things were deprecated. Here is my final getView Function: public View getView(int position, View convertView, ViewGroup parent) { ElementData radioInfo = radioList.get(position);

[android-developers] G1 BT headset call button

2008-12-21 Thread Raymond Rodgers
I just signed up for service with T-mobile and got a G1 yesterday, and right away paired it with my Jabra BT5020 which I've had for about a year now. Right off the bat I discovered that using the headset's call button does not trigger the voice dialing/command feature of the G1/Android. As

[android-developers] Re: G1 BT headset call button

2008-12-21 Thread Nick Pelly
On Sun, Dec 21, 2008 at 12:29 PM, Raymond Rodgers raym...@badlucksoft.com wrote: I just signed up for service with T-mobile and got a G1 yesterday, and right away paired it with my Jabra BT5020 which I've had for about a year now. Right off the bat I discovered that using the headset's call

[android-developers] Re: APN Setting about MMS

2008-12-21 Thread Aberakkrombie
howdy you might want to take a look at this: http://www.modmygphone.com/forums/showthread.php?t=8661 also, which cellular provider are you subsribed to? I'm with Rogers from Canada and the settings I used are: Service centre address: http://mms.gprs,rogers,com internet account: Rog MMS

[android-developers] Re: G1 BT headset call button

2008-12-21 Thread Raymond Rodgers
Nick Pelly wrote: On Sun, Dec 21, 2008 at 12:29 PM, Raymond Rodgers raym...@badlucksoft.com wrote: I just signed up for service with T-mobile and got a G1 yesterday, and right away paired it with my Jabra BT5020 which I've had for about a year now. Right off the bat I discovered that

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

2008-12-21 Thread nkijak
I second the root access. All us T-Mobile G1 suckers are out cold for now. My trackball stopped scrolling to the right and T-Mobile is sending me a new one but all my data and apps will be lost because they're all written to internal memory. I'm a little sad that the Google folks didn't see

[android-developers] Recommended way to transfer /data file to another G1?

2008-12-21 Thread nkijak
This isn't strictly developer related so I apologize, but I know the Android staff read these. I have to get my G1 replaced due to a hardware failure with the trackball. It is on R30 and the replacement will be on R30 I would guess so I can't jailbreak. How else can I get the /data directory

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

2008-12-21 Thread Disconnect
Call 611 and ask. If it becomes a serious enough problem, T-mob will assign resources to finding and implementing a solution. If you're unhappy with your purchase from T-mobile, talk to them about it. It has absolutely nothing at all to do with google. (Zip. Zero. Nada. Sorry you bought a Toyota

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

2008-12-21 Thread Mark Nuetzmann
bump On Dec 19, 9:12 am, Mark mark.nuetzm...@gmail.com wrote: 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

[android-developers] Re: openFileOutput and global files

2008-12-21 Thread Mark Nuetzmann
bump... How do I implement the concept of a central repository for my applications without forcing the install of a separate repository app to supply the Content Providers? thanks, Mark On Dec 19, 7:52 pm, Dianne Hackborn hack...@android.com wrote: It's there for completeness but very few

[android-developers] Re: openFileOutput and global files

2008-12-21 Thread Mark Murphy
Mark Nuetzmann wrote: How do I implement the concept of a central repository for my applications without forcing the install of a separate repository app to supply the Content Providers? Put the repository in one of your existing applications. It doesn't have to be separate. That application

[android-developers] Re: Locking Down Root Access - Same Sh.., Different Vendor

2008-12-21 Thread mashpl...@gmail.com
The phone mindset is wrong, consumers are not like they were in the 80's, now the average user is quickly growing into a terminal window and root access. The kid's are into mashing everything just look at the sites they make on facebook. Not only are they comfortable with terminal windows and

[android-developers] Re: upgrade emulator firmware

2008-12-21 Thread Bill Napier
The questions your asking would probably be better asked on android-platform, where they discuss these kinds of things. But the reason you can't mount it is probably that your system doesn't have the yaffs2 kernel module loaded. b On Sun, Dec 21, 2008 at 4:17 AM, fry bender...@gmail.com wrote:

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

2008-12-21 Thread Bill Napier
I can't even keep track of the number of times I've wiped the data on my phone. Sometimes its gotta be done to test things. It usually takes me maybe 10-15 minutes to re-install all my apps and re-setup all my settings. IMHO, not that big a deal. All my contact info/calendar/etc. sync from

[android-developers] Re: Locking Down Root Access - Same Sh.., Different Vendor

2008-12-21 Thread Bill Napier
Can you please continue this discussion on android-discuss where it belongs? But it is nice to know that I'm now cool... I appreciate that. :) On Sun, Dec 21, 2008 at 3:18 PM, mashpl...@gmail.com mashpl...@gmail.com wrote: The phone mindset is wrong, consumers are not like they were in the

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

2008-12-21 Thread Bill Napier
http://code.google.com/android/reference/adb.html#forwardports You can use adb to do some amount of port forwarding, but I'm not sure if it works in the direction you're looking for. You can also use 'adb logcat' to retrieve the system log on the phone. And if you keep it running you can get

[android-developers] Problems running telnetd on adp1

2008-12-21 Thread onlythoughtwo...@googlemail.com
When i start telnetd via console, as root ,no errors occur. But i cannot connect to my phone via telnet and the ps dump also shows that no telnetd is running. I also cannot locate telnetd in /system/ bin ...anyone else experiencing problems with telnetd on adp1?

[android-developers] DDMS and Ubuntu 8.10 64-bit

2008-12-21 Thread Mark Murphy
Environment: -- Ubuntu 8.10 Intrepid Ibex 2.6.27-9-generic x86_64 GNU/Linux -- Sun Java 6 JDK java version 1.6.0_10 Java(TM) SE Runtime Environment (build 1.6.0_10-b33) Java HotSpot(TM) 64-Bit Server VM (build 11.0-b15, mixed mode) -- ia32-libs installed The emulator runs

[android-developers] Google health and Android is it possible without a phone API

2008-12-21 Thread Jeff
Hello, I would like to connect to Google health and I was wondering if anyone knew if this is possible. I know that the Google Health uses the data api but I am not sure if the security will allow the phone to interface with it. You cannot log into the G Health with a phone browser. thanks

[android-developers] How to switch between 2D and 3D views?

2008-12-21 Thread Tomei Ningen
I am trying to combine 2D and 3D views. My app initially starts in 2D. When the user presses a button, I want to temporarily switch to 3D, draw some fancy transition effects, and switch back to 2D. However, I am getting stuck because the 3D view will come out black. It's reproducible on both the

[android-developers] PreferenceActivity with blur behind?

2008-12-21 Thread Ralf
I'm trying to use a PreferenceActivity with prefs inflated from XML and at the same time I'd like the window to blur whatever was behind (i.e. my previous activity where I invoked the settings from.) I tried something like this below but the background is always black (or whatever color I select)

[android-developers] How to put a Translucent GL View on top of a 2D view?

2008-12-21 Thread Tomei Ningen
I want to put a translucent 3D view on top of a 2D view (so that I can fly some 3D objects across my 2D view). I modified the TranslucentGLSurfaceViewActivity example in ApiDemo -- I created a full screen 2D custom view that fills the screen in blue color. Then, I have a smaller 3D view on top

[android-developers] my rotated bitmaps unrotate immediately after invoking setCenter() method

2008-12-21 Thread DMT
It seems that invoking the .setCenter(mygeopoint) method on a MapController object has the side effect of setting the orientation of any rotated bitmaps back to the original orientation. Has anyone else also experienced this? My problem is that I'm writing a map application that needs to rotate

[android-developers] Can't get threaded progress bars to work

2008-12-21 Thread Keith Wiley
I'm trying to put up a progress bar while reading and processing a file. I'm open to title bar vs dialog and determinate vs. indeterminate. At this point I don't care, I just want to get something working. The problem occurs as the working thread attempts to turn the progress bar off. At that

[android-developers] Smack API and Android

2008-12-21 Thread Tez
Hi, I am trying to build a small XMPP client for Android using the Smack API for Java. I have setup the API in my eclipse environment. I am using the foll. code void sendAMsg() { try { cc = new ConnectionConfiguration(jabber.org, 5222, jabber.org); conn =

[android-developers] Re: setStrokeCap(Paint.Cap.ROUND) yields square drawPoints()

2008-12-21 Thread gjs
Hi, See for example - http://code.google.com/android/samples/ApiDemos/src/com/example/android/apis/graphics/FingerPaint.html Regards On Dec 20, 2:18 pm, Keith Wiley kbwi...@gmail.com wrote: Ugh.  I coded this up earlier and it worked, but I left the code on my other computer, so now I'm

[android-developers] Re: Smack API and Android

2008-12-21 Thread Mark Murphy
Tez wrote: I am trying to build a small XMPP client for Android using the Smack API for Java. I have setup the API in my eclipse environment. snip When i debug the app, i get the foll. errors in LogCat (The exception is thrown when the conn.connect() method is encountered) 12-19

[android-developers] Media Player blocks IO

2008-12-21 Thread Ninad
Why does the Emulator block any Write to sdcard while a Media Player is playing an audio file? Is it because Media Player is reading from the sdcard at that time? So only one IO operation possible at a time? If thats the case, we can not work on any other file while listening to audio.. Is it

[android-developers] How to use pdfbox to read pdf file on android

2008-12-21 Thread shen jabco
I want to get the pdf text content by use pdfbox.jar in android app, but failed to get the message: *java.lang.verifyerror : org.pdfbox.pdfparser.pdfparser* but this works fine on my common java app(non-android platform), is there any different on VMs of android or some permission setting? I am

[android-developers] How to dynamically load a share library in android?

2008-12-21 Thread David.C
Hello, I follow the website http://honeypod.blogspot.com/2007/12/dynamically-linked-hello-world-for.html and successfully dynamically link a shared library for Android. But I want to know how to dynamically load a share library for android? I wrote two simple code to test (1) Hello.c #include

[android-developers] Using MultiAutoCompleteTextView and Tokenizer

2008-12-21 Thread Torgny
Hello, I have looked everywhere for any kind of hint of how to implement a custom Tokenizer using the MultiAutoCompleteTextView.Tokenizer interface, but have come up empty. As a last resort I was hoping that someone here could provide me with a basic example of how to implement the Tokenizer

[android-developers] Re: fitness or workout program

2008-12-21 Thread Yossi
I'm working on an app that will allow to track and monitor your workout progress both on the device and on a web site. First app will be for runners and planned to be shipped in a few weeks. In case you have any feature requests I would be happy to know about them. Yossi On Dec 19, 11:10 pm,

[android-developers] When will star the Android Developer Challenge II ?

2008-12-21 Thread nah0y
HI everybody, I'm a french student in computer science and i miss the first Android Developer Challenge, I'm going to receive my G1 Phone in less than a week, and i'd like to know when the second ADC will start, because all i can see is : This contest will launch after the first handsets built

[android-developers] Re: HTC G2's home effection is very well,I saw it on www,Is it real or just a flash?

2008-12-21 Thread ipalik
well, google, please tell me if there is an developer edition of the g2. I have to use it in germany then. at the moment, i use the dev phone 1. but does any body know something more about the g2? thanks On 20 Dez., 10:50, Al Sutton a...@funkyandroid.com wrote: Please

[android-developers] onProviderEnabled / onProviderDisabled unexpected behavior

2008-12-21 Thread iAmACyborg
When enabling or disabling a provider in settings; it seems to trigger a disable event for all providers, then an enable event for any providers that are still checked. Is this the intended behavior? For example, if network and gps are enabled, and I disable network - I get this: 12-20

[android-developers] Please help: Need to access SMS inbox

2008-12-21 Thread ipeg . student
my name is Suman. i can notify a incoming sms. the code is written belowimport android.content.BroadcastReceiver; import android.content.ContentUris; import android.content.ContentValues; import android.content.Context; import android.content.Intent; import android.os.Bundle; import

[android-developers] AlertDialog OnKeyListener - How to get Focused Item?

2008-12-21 Thread coderiver
I have an AlertDialog with an OnKeyListener. I need to find the focused item when the Call key is pressed. This AlertDialog also has an OnClickListener that works great - I get the position of the item from my view when it is clicked. What I also want to do - is get the position of the currently

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

2008-12-21 Thread Vachara Aemavat
I just wondering the next model of dev phone would not release by Brightstar, please. -Kukgle- On Sat, Dec 20, 2008 at 6:07 AM, baker craigbba...@gmail.com wrote: 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

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

2008-12-21 Thread manz
I am having the same problem. This problem does not happen in emulator and happens only on G1. Any pointers? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] natvie code try/catch statement support or not

2008-12-21 Thread lucky
Hi, Below try/catch code can not pass build: #include stdio.h int main() { try { printf(try statement\n); throw 1; } catch (...) { printf(catch exeption here\n); } } Android.mk LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_ARM_MODE :=

[android-developers] How to get the SDK running on fedora

2008-12-21 Thread Rafael Espíndola
I decided to try to run the SDK on a x86-64 fedora install. It is not to hard to get working once you know the packages you need. The things I had to install to get the emulator working glibc-2.9-3.i386 libX11-1.1.4-6.fc10.i386 gdbm-1.8.0-29.fc10.i386 libao-0.8.8-5.fc10.i386

[android-developers] Shipping to US - what shipping options?

2008-12-21 Thread Pablo
I am not from the US but i have family that will go there for a few days. Given the ridiculous amount asked for shipping to europe, my goal is to get the dev phone shipped to the US why my relatives are there. However, I can nowhere see how much it takes to ship whithin the US, or if there are

[android-developers] Adding a GridView to a TableRow.

2008-12-21 Thread Andi
Hi, I am trying to add a GridView inside a TableRow and its not working. The GridView is basically a grid of buttons being populated through an adapter. If I add it directly to the TableLayout then it displays fine. I can see the 4X4 grid of buttons. But if I add it to a TableRow which is then

[android-developers] Bug, voicemail setting reset at boot

2008-12-21 Thread Chad
Hi all. I prefer to use a different voicemail system than the one provided by my carrier, one I have been using for a few years. (If you care: It uses GSM redirects to make some class of incoming calls forwarded to a particilar number. I use Youmail.) Anyway, the upshot is that the number I

[android-developers] What format is edit_text.xml, and how can I make one?

2008-12-21 Thread brnzn
I'm playing with different ways of presenting validation errors back to the user and one thing I want to try is changing the background color of EditText views to red or orange to indicate error or warning states. I want to create new drawbles for these states based on the standard drawable for

[android-developers] Identifying GUI items of the IM chat dialog

2008-12-21 Thread Falcon4ever
Hi, currently I am developing a chat like application. I would like to use a similar GUI as used in the IM app (Google talk / MSN). As a beginner (in Android development) its quite difficult to recognize what GUI elements are used. I made a photo of the IM (Gtalk) GUI:

[android-developers] zimbra, kmail LINUX

2008-12-21 Thread ipalik
Hello! I have two questions. 1. Is it possible, to sync the android dev phone 1 with kontact or kmail? I do not want to use google mail. 2. Is it possible to run zimbra on the phone? Or to sync zimbra with it? Thanks --~--~-~--~~~---~--~~ You received this

[android-developers] Re: How to get Programmatically Get Application Name

2008-12-21 Thread Derek
Not sure is this what you want Assuming you have your current Context object ctx Resources appR = ctx.getResources(); CharSequence txt = appR.getText(appR.getIdentifier(app_name, string, ctx.getPackageName())); Derek On Dec 7, 12:23 pm, Mark Murphy mmur...@commonsware.com wrote: wyngnut

[android-developers] Re: Android Dev Phone 1(tm)

2008-12-21 Thread Sven Boden
If you look at the FAQ of brightstar ( http://android.brightstarcorp.com/help.php) you will see the phone only gets shipped with a US cable... the easiest solution if you want to wall charge it is buy an adapter. You can buy them in any electronics store, it's just a little piece converting the US

[android-developers] Re: Why Dev Phone 1 support 16G SD while G1 only support 8G?

2008-12-21 Thread roli
as JS already said they are the same. the reason G1 only says 8G is because there weren't any 16G to test while those numbers were put up. (so i've heard) On Dec 20, 4:30 am, Hastala dev...@gmail.com wrote: Why Dev Phone 1 support 16G SD while G1 only support 8G? Is there any hardware

[android-developers] Does anybody meet undefined reference to `WebCore::CSSParser::lex()' while compiling android source?

2008-12-21 Thread 品雪
Mac OS X Leopard 10.5.5, flex 2.5.35 and bison 2.4 from macports, xcode 3.1.2 It always stop as: target SharedLib: libwebcore (out/target/product/generic/obj/ SHARED_LIBRARIES/libwebcore_intermediates/LINKED/libwebcore.so) out/target/product/generic/obj/SHARED_LIBRARIES/

[android-developers] Re: Android Dev Phone on ATT?

2008-12-21 Thread hello tommie
yes, thank you this worked for me also. just hit the menu button on start up. On Dec 12, 4:46 pm, Mark K mark.ka...@gmail.com wrote:   Just set the name and apn as you have, leave all the other fields blank. This worked for me, moved my SIM card from a BB to my unlocked G1phone, now it works

[android-developers] Re: requestLocationUpdates

2008-12-21 Thread iAmACyborg
You'll have to store the last time and place the update was received for. Then when you get a new update; compare it to the saved values. If the difference is = your minimum, update the stored values and pass the update on. On Nov 10, 12:09 pm, dave.marsden dave.mars...@dragonfly- services.co.uk

[android-developers] Re: iPhone SIM Card compatibility

2008-12-21 Thread Ramin
I have a 1st gen iPhone I use for development and a 3G model for day- to-day use. I put the SIM from the 1st gen iPhone in the Dev G1 and adjusted the settings. Everything works fine except that I don't get any 3G service on the G1. Just came back from running an errand downtown (where the 3G

[android-developers] Re: Can't get threaded progress bars to work

2008-12-21 Thread Mark Murphy
Keith Wiley wrote: I'm trying to put up a progress bar while reading and processing a file. I'm open to title bar vs dialog and determinate vs. indeterminate. At this point I don't care, I just want to get something working. The problem occurs as the working thread attempts to turn the

[android-developers] Re: Identifying GUI items of the IM chat dialog

2008-12-21 Thread Mark Murphy
Falcon4ever wrote: currently I am developing a chat like application. I would like to use a similar GUI as used in the IM app (Google talk / MSN). As a beginner (in Android development) its quite difficult to recognize what GUI elements are used. I made a photo of the IM (Gtalk) GUI:

[android-developers] Re: natvie code try/catch statement support or not

2008-12-21 Thread Jean-Baptiste Queru
Native code development is not currently supported. JBQ On Sat, Dec 20, 2008 at 4:27 AM, lucky wjj...@gmail.com wrote: Hi, Below try/catch code can not pass build: #include stdio.h int main() { try { printf(try statement\n); throw 1; } catch (...) {

[android-developers] Re: Can't get threaded progress bars to work

2008-12-21 Thread Keith Wiley
On Dec 21, 6:15 pm, Mark Murphy mmur...@commonsware.com wrote: Keith Wiley wrote: I'm trying to put up a progress bar while reading and processing a file.  I'm open to title bar vs dialog and determinate vs. indeterminate.  At this point I don't care, I just want to get something

[android-developers] Re: upgrade emulator firmware

2008-12-21 Thread David Turner
you can't have a persistent+writable system image at the moment. the emulator currently creates a temporary file, copies all of system.img, then uses this for the /system partition when running. When it exits, the temp file is destroyed. this will change in a later release of the SDK. For now,

[android-developers] Re: How to dynamically load a share library in android?

2008-12-21 Thread David Turner
Anything not built with the android-toolchain will *not* work on Android.the only exception are trivial programs like hello world that work mostly by luch, if nothing else. you should at the very minimum build with the toolchain provided with the open-source tree, against the Bionic C library

[android-developers] Re: iPhone SIM Card compatibility

2008-12-21 Thread David Turner
it's simply due to the fact that ATT 3G uses frequencies that are not supported by the G1 hardware. So there is no way to get better than Edge on ATT networks. On Sun, Dec 21, 2008 at 2:05 AM, Ramin ram...@gmail.com wrote: I have a 1st gen iPhone I use for development and a 3G model for day-

[android-developers] Re: Problems running telnetd on adp1

2008-12-21 Thread David Turner
telnetd has been removed after RC30. On Mon, Dec 22, 2008 at 1:27 AM, onlythoughtwo...@googlemail.com onlythoughtwo...@googlemail.com wrote: When i start telnetd via console, as root ,no errors occur. But i cannot connect to my phone via telnet and the ps dump also shows that no telnetd is

[android-developers] Re: Web Service

2008-12-21 Thread dileep singh
Thanks a lot Mark.Sorry for late reply.I was out of station so i didnt reply u.I will check all suggestions suggested by u and let u know. Thanks. dileep. HAPPY XMAS NEW YEAR IN ADVANCE. On Sat, Dec 20, 2008 at 2:28 AM, Mark Murphy mmur...@commonsware.comwrote: Mark K wrote: Since

[android-developers] warning The opening audio output failed

2008-12-21 Thread jalandar
When I start emulator it gives message on command prompt The opening audio output failed why this mesg come. After launching home activity it gives another dialog android.phone not responding force close , what reason behind this mesg. --~--~-~--~~~---~--~~ You

[android-developers] android.messaging no responding force close

2008-12-21 Thread jalandar
After launching home activity it gives another dialog android.messaging no responding force close, what is reason behind this. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] DDM dispatch reg wait timeout

2008-12-21 Thread jalandar
The following mesg appear in emulator console , what the reason behind it. DDM dispatch reg wait timeout ActivityManager: Can't dispatch DDM chunk 52454151: no handler defined ActivityManager: Can't dispatch DDM chunk 48454c4f: no handler defined plz help

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

2008-12-21 Thread nkijak
How can you say it has nothing to do with Google. They brought Android to T-Mobile. For them to not know that cell companies where going to lock it down would be ignorance on their part. Plus you act like there was going to be a Dev phone since the beginning. How was anyone supposed to know

[android-developers] error in receiving chat mesg for xmpp client.

2008-12-21 Thread jalandar
I am testing sample for XMPPClient , When I send mesg from one emulator instance who is logged on server with particular userId , to another who is logged on server with userID2, After sending chat mesg from one instance to another the receiving instance require to force close it gives mesg

[android-developers] Re: Identifying GUI items of the IM chat dialog

2008-12-21 Thread Ralf
FYI the SDK contains a tool called HierarchyViewer. It can connect to an emulator or actual device via adb and show you the exact UI objects used by any screen, with all its properties. R/ On Sun, Dec 21, 2008 at 4:52 AM, Falcon4ever laurence.mul...@gmail.com wrote: Hi, currently I am

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

2008-12-21 Thread Disconnect
Google produced a platform that has a bunch of configurable settings. (One of which, for example, is ro.secure.) And a bunch of optional binaries and applications. (Such as the API Demo apk and the native 'su' executable.) It is entirely up to T-mobile as to what they provide on their device.

[android-developers] ListView

2008-12-21 Thread Brad Gies
Can anyone tell me how to detect when a ListView quits scrolling? And.. On a related note, how would I determine which of the ListView's items are showing once it does quit scrolling. For Background : I have a ListView that has from zero to 200 items in it. Each item has an ImageView and

Re: Fw: [android-developers] Re: Android and bluetooth

2008-12-21 Thread Qwavel
Nick, Thanks for participating in this open conversation about the bluetooth API - this is the first time that I'm aware of that outside developers have had the opportunity to express themselves at this stage in the development of a phone OS/API. As I'm sure you are aware, Bluetooth data

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

2008-12-21 Thread Jean-Baptiste Queru
Actually, Disconnect's description of the situation is conceptually accurate (and the subtle points aren't relevant for this discussion). JBQ On Sun, Dec 21, 2008 at 9:29 PM, nkijak nki...@gmail.com wrote: How can you say it has nothing to do with Google. They brought Android to T-Mobile.

[android-developers] Re: Text-to-Speech for Android: Eyes-Free

2008-12-21 Thread Wesley
hi, I try nihaoworld_demo.apk at http://eyes-free.googlecode.com/svn/trunk/documentation/tutorial/tutorial.html no sound one??? it stop at TTS services, then nothing happen... is it I miss out something??? wesley. On Tue, Dec 16, 2008 at 4:17 PM, blindfold seeingwithso...@gmail.comwrote:

[android-developers] Re: What does it mean linker input file unused because linking not done ?

2008-12-21 Thread shuoshuo
I know what's wrong, I should add -Wl,--version-script=libmine.map to LOCAL_LDFLAGS instead of LOCAL_CPPFLAGS --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Text justification

2008-12-21 Thread Keith Wiley
I think this is a straight forward question. How do I state that the text in a TextView should be full justified? I don't see anything about this in the TextView or TextView-Attributes docs. Search on the groups didn't turn much up either. I see some mention of it on the docs page for

[android-developers] :: using System.gc();

2008-12-21 Thread Imran
Hi hey can i use System.gc() in my activity to request for garbage collection. will it work () .. will the garbage collector be called ? Thanks in Advance for any Replays...!!! Cheers Imran --~--~-~--~~~---~--~~ You received this message because

[android-developers] debug logcat for openfire

2008-12-21 Thread jalandar
I am testing XMPPClient for Android . It is giving error while sending message from one instance to another ; Two different users are logged on two instances. The following debug log , If anybody have guide plz reply me. Why it come whats it reason. 2008.12.22 12:53:24 NIOConnection:

[android-developers] how to create ssl certificate for XMPPClient

2008-12-21 Thread jalandar
how to create ssl certificate for XMPPClient Server : openfire API :Smank --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to