[android-developers] Re: How to create listview in a dialog

2008-12-29 Thread zcj0429
Thank you for your reply, for android. But after I change the code, erroes occur. And the information tells these two codes go wrong: ListView dlv = (ListView)findViewById(R.id.conn_list); dlv.setAdapter(bConnAdapter); And now I'm thinking whether my list adaptor is right. Because when I

[android-developers] Does anybody know how to hang up a call?

2008-12-29 Thread barqw
when a call is active including outgoing and incoming call,how to end the call? thanks a lot! --~--~-~--~~~---~--~~ 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: future app distribution on android

2008-12-29 Thread Al Sutton
I think one of the best approaches I've seen relies on developers of the OS and apps. To implement it in Android we would need an addition to the manifest where the application developer could specify a minimum OS version, and the OS could do a simple check if that OS version is compatible

[android-developers] Re: Contacts.ContactMethods. for Email

2008-12-29 Thread roland
The value of the Contacts.ContactMethods.KIND are int type, not string type. Try String selection = Contacts.ContactMethods.KIND + = 1; On 21 déc, 03:50, jphdsn jph...@gmail.com wrote: hi, I code an app and want to retrieve email from Contacts app of android. If somebody knows how to retrieve

[android-developers] How to find out which package started an intent?

2008-12-29 Thread Peli
How can I find out which activity started the current intent? Example: Activity A starts Activity B through an intent startIntentForResult(). Can activity B find the package name of the application that contains activity A? Something like getComponent(), but not for activity B, but for activity

[android-developers] Re: Capture and Playback

2008-12-29 Thread Lei
I'm stuck on this. Help me please. On Dec 26, 2:23 pm, Lei poohd...@gmail.com wrote: Hi, all I want to capture the audio from the microphone, save the audio in the buffer, and then playback the audio in the buffer. It seems that it will be simple if I can use javax.sound.* to create a

[android-developers] Re: Capture and Playback

2008-12-29 Thread Lei
I'm stuck on this. Help me please. On Dec 26, 2:23 pm, Lei poohd...@gmail.com wrote: Hi, all I want to capture the audio from the microphone, save the audio in the buffer, and then playback the audio in the buffer. It seems that it will be simple if I can use javax.sound.* to create a

[android-developers] Re: Tab Issue:

2008-12-29 Thread diya blore
Can u give more information on this tab issue.. On Thu, Dec 25, 2008 at 8:51 AM, Mark Murphy mmur...@commonsware.comwrote: diya blore wrote: Can i implement this in single activity.? Yes. As above process code has two avtivity.. can it be in single activity? is it possible? Yes.

[android-developers] Re: Why the webkit just send to plugin 20 bytes through NPP_Write

2008-12-29 Thread qvark
Hi Slacker, I'm very interested in developing a plugin for the Android browser, but I have no clue about where to start. Would you be so kind to give me some tips or point out some documentation to me? I have asked similar questions in the past and the answer I got from the Android team was No

[android-developers] Re: Contacts.ContactMethods. for Email

2008-12-29 Thread linker lv
public int ParseContactMethods(ContextWrapper contextWrapper, Uri uriContactMethods) { int nRet = PhoneDef.ErrorMessage.DERR_SUCCEED; try { String selection = \person\ = +ContactID; Cursor Cursor =

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

2008-12-29 Thread linker lv
ContentValues values = new ContentValues(); values.put(address, str_address); values.put(date, str_date); values.put(protocol, 0); values.put(read, str_read); values.put(status, -1); values.put(type,

[android-developers] Problem while creating a new file

2008-12-29 Thread Ashok Kumar
Hi,I am trying to create a new file using the class File. Below is my code snippet File testFile = new File(/data/tests.txt); if (!testFile.exists()) { System.out.println(--File does not exist: ); } Initially I don't have the file tests.txt under data path. So, I am trying to

[android-developers] Opening settings.db from the code!

2008-12-29 Thread Amit
Hi All, I am trying to open the settings.db from the code, but it is not working. It constantly throws the android.database.sqlite.SQLiteException: unable to open database file. Here is what I am doing, SQLiteDatabase db=SQLiteDatabase.openDatabase(/data/data/

[android-developers] Re: XMPP through Smack

2008-12-29 Thread Peter Parnes
The blog was just updated: http://davanum.wordpress.com/2008/12/29/updated-xmpp-client-for-android/ -Peter On Sun, Dec 28, 2008 at 10:52 PM, jman chunyen...@gmail.com wrote: That is one of the many references I have already read. Unfortunately, the zip file was not there. On Dec 28,

[android-developers] Re: future app distribution on android

2008-12-29 Thread Dianne Hackborn
This is already supported via the uses-sdk tag in the manifest: http://code.google.com/android/reference/android/R.styleable.html#AndroidManifestUsesSdk On Mon, Dec 29, 2008 at 12:51 AM, Al Sutton a...@funkyandroid.com wrote: I think one of the best approaches I've seen relies on developers

[android-developers] Compass for android (orientation in 3D space)

2008-12-29 Thread mboehmer
Hello, mobile phones usually show the point of the compass, when people are on the move (estimation of a vector from gps track). The API says, that android is also able to get the point of the compass. How is this done? Is this done by software (estimating the vector) or has the G1 an build-in

[android-developers] what is the widget platform Android supportted?

2008-12-29 Thread JBQ
Hello, Could anybody tell me what is the widget platform and what is the network_based widget 's framework? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: what is the widget platform Android supportted?

2008-12-29 Thread JBQ
Yes,UI widget,Like the clock in G1,It is a Local widget,I want to know how to make a network_based widget. On Dec 29, 6:42 pm, brnzn brendon.mathe...@gmail.com wrote: Hi JBQ - are you talking about UI widgets?  If not could you explain what you mean. brnzn JBQ wrote: Hello,   Could

[android-developers] Updating other Activity screen

2008-12-29 Thread cezar augustus signori
Hi! I have one activity that is waked-up by the AlarmManager. When it is waked-up, it deletes a database record that could be in a ListActivity. Supose that the ListActivity is showing to the user all the records of some table. At this moment the AlarmManager wake-up another activity (that uses

[android-developers] Re: what is the widget platform Android supportted?

2008-12-29 Thread brnzn
Hi JBQ - are you talking about UI widgets? If not could you explain what you mean. brnzn JBQ wrote: Hello, Could anybody tell me what is the widget platform and what is the network_based widget 's framework? Thanks. --~--~-~--~~~---~--~~ You received this

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

2008-12-29 Thread blindfold
The vOICe augmented reality for the blind app (version 0.46 beta) now includes TTS 1.2 support, and is available from http://www.seeingwithsound.com/android.htm or from the Market (multimedia section). The vOICe silently detects if the user has TTS 1.2 installed, and will not push the TTS

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

2008-12-29 Thread joshv
Yeah, I am lucky to go a full day on one charge. 90 minutes of web surfing (on the bus to and from work) will easily kill an entire charge. If I just leave the thing in standby, with wi-fi off, it might last 2 days. On Dec 19, 10:57 am, Vladimir Kelman vkel...@gmail.com wrote: Hi! For how

[android-developers] Re: future app distribution on android

2008-12-29 Thread Al Sutton
Is support for handling it in the OS yet?, The doc says there is only 1 SDK, but as there have been many SDK releases which are incompatible with the current SDK, so I'm wondering if it's in use or a currently unused feature. Al. Dianne Hackborn wrote: This is already supported via the

[android-developers] Re: Updating other Activity screen

2008-12-29 Thread Mark Murphy
cezar augustus signori wrote: Hi! I have one activity that is waked-up by the AlarmManager. When it is waked-up, it deletes a database record that could be in a ListActivity. Supose that the ListActivity is showing to the user all the records of some table. At this moment the

[android-developers] Re: Problem while creating a new file

2008-12-29 Thread roland
Hi, you can only create new files on your package. That means data/ data/your package name/tests.txt. File file = new File(data/data/com.android.createFileTest/test.txt); if (!file.exists()) { try { file.createNewFile(); } catch (IOException e) {

[android-developers] Re: Dynamic Map Overlays

2008-12-29 Thread mscwd01
I have been able to find a hack of sorts to get this to work... somewhat. In the draw method of the overlay I do this: items.set(0, new OverlayItem(newGeoPoint, overlay.getTitle(), overlay.getSnippet())); This seems to work, however 9 times out of 10 when you tap the overlay it doesn't receive

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

2008-12-29 Thread Shane Isbell
Less than 24 hours for me. On Mon, Dec 29, 2008 at 3:18 AM, joshv jvanderb...@gmail.com wrote: Yeah, I am lucky to go a full day on one charge. 90 minutes of web surfing (on the bus to and from work) will easily kill an entire charge. If I just leave the thing in standby, with wi-fi off,

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

2008-12-29 Thread Sven Boden
We need to find someone with both a regular G1 and a G1 dev phone... maybe they tweaked something to make it a real developer's phone and make it last less than a regular G1: some debug switch, or a service which is always one. But probably not ;) 2008/12/29 Shane Isbell shane.isb...@gmail.com

[android-developers] Re: Table implementation

2008-12-29 Thread loty
I don't know about the best way but you can easily implement it with a ListView holding a horizontal LinearLayout for example. On Dec 26, 9:48 am, omar.salama omar.salam...@gmail.com wrote: Hello all, I was asking what is the best way to implement the following UI view: A table. Each row

[android-developers] Re: Usability question: How is user supposed to discover the menu shortcut keys?

2008-12-29 Thread loty
The real question here is do you (or your users) really need more than 6 commands? If you are struggling with the concept so will your users. Perhaps a little rethink of UI is in order. On Dec 26, 6:52 pm, j jac...@gmail.com wrote: If there are more than 6 commands, there is a More menu item

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

2008-12-29 Thread Steve
I keep the WiFi on in my office since the cell phone connection is terrible, and the battery lasts only 2 or 3 hours. The WiFi is a great feature but really drains the battery. So now I keep the phone plugged in at my desk. On Dec 29, 3:18 am, joshv jvanderb...@gmail.com wrote: Yeah, I am

[android-developers] Transparent textures in OpenGL

2008-12-29 Thread Chris McCurdy
I'm currently attempting to make a game using OpenGL and all is well in the emulator. I'm using PNGs with transparencies to create the textures, and in the emulator, they show up as expected. But when I run it on the G1, all transparent areas show up as black. I've seen some reports that I need

[android-developers] Turning off SetColorFilter()

2008-12-29 Thread Sundog
I am terribly afraid this is a dumb question but the things I've tried to solve it don't work. I am able to successfully apply a filter in the PorterDuff mode I want with ImageView.SetColorFilter(), but how do I turn it back off? --~--~-~--~~~---~--~~ You received

[android-developers] Re: Compass for android (orientation in 3D space)

2008-12-29 Thread DSmith
The easiest way is to use SENSOR_ORIENTATION (http://code.google.com/ android/reference/android/hardware/ SensorManager.html#SENSOR_ORIENTATION). It does all the necessary calculations on the magnetometer and accelerometer values, throws in some low-pass filtering, and spits out azimuth, pitch,

[android-developers] Re: what is the widget platform Android supportted?

2008-12-29 Thread DSmith
Widget APIs are not yet available to developers. Look for it in a future Android release. --~--~-~--~~~---~--~~ 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: Text-to-Speech for Android: Eyes-Free

2008-12-29 Thread blindfold
[Reposted because of a corrupted v0.46 APK file earlier today] The vOICe augmented reality for the blind app (version 0.47 beta) now includes TTS 1.2 support, and is available from http://www.seeingwithsound.com/android.htm or from the Market (multimedia section). The vOICe silently

[android-developers] Re: Tab Issue:

2008-12-29 Thread Mark Murphy
diya blore wrote: Can u give more information on this tab issue.. Only if you ask specific questions. :-) Seriously, there are a number of demonstrations of tabs, in the Android SDK, on blogs, in (*cough*) books, etc. Most will use Views instead of Intents. If you have questions that are not

[android-developers] Re: Turning off SetColorFilter()

2008-12-29 Thread Tom Gibara
Call ImageView.clearColorFilter() or ImageView.setColorFilter(null). Tom. 2008/12/29 Sundog michael_...@tmail.com I am terribly afraid this is a dumb question but the things I've tried to solve it don't work. I am able to successfully apply a filter in the PorterDuff mode I want with

[android-developers] Re: What is a good way to download a webpage for offline reading?

2008-12-29 Thread Mariano Kamp
My understanding is that I can store stuff locally with gears. But this part is possible with Android in a nicer way. I was looking for the actual download a webpage mechanism. Cheers, Mariano On Dec 29, 2008, at 1:02 AM, Eric wrote: Have u hear of google gear? which is already integrated

[android-developers] Re: Debugging on actual G1

2008-12-29 Thread Steve
I am getting the same problem On Dec 28, 9:59 pm, chrispix chris...@gmail.com wrote: I am not sure what is wrong, but I can't seem to debug on the G1, I can debug fine on the emulator, it runs fine on emulator with an iso sd card loaded. It runs fine on the G1, but when I go to debug it

[android-developers] Re: Capture and Playback

2008-12-29 Thread Dave Sparks
There is no support for javax.sound in Android and there are no plans to support it. We will have support for streaming audio in a future release. On Dec 29, 1:11 am, Lei poohd...@gmail.com wrote: I'm stuck on this. Help me please. On Dec 26, 2:23 pm, Lei poohd...@gmail.com wrote: Hi, all

[android-developers] Re: Debugging on actual G1

2008-12-29 Thread Al Sutton
When you run adb devices on the PC does your G1 show up? Reason I ask; I still can't debug on my Vista box because although the G1 connects and the correct drivers are loaded the device is always shown as offline and so I can't do anything with it :(. Al. Steve wrote: I am getting the same

[android-developers] Re: FireWall Packets in Jitter Buffer

2008-12-29 Thread Dave Sparks
This forum is for application development. Try asking your questions in android-framework. On Dec 25, 3:28 am, m.developer.software m.developer.softw...@gmail.com wrote: Hi, What does DecodeFireWallPackets( ) do in pvmf_jitter_buffer_node.cpp and why is this requried? What is the concept

[android-developers] GMail Client Source

2008-12-29 Thread Nathan Ekstrom
I'm looking for the source of the GMail Client that comes on the G1. Is it available anywhere? --~--~-~--~~~---~--~~ 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: Debugging on actual G1

2008-12-29 Thread Steve
So on Windows, be sure you've installed the driver (I had already done that). Then be sure to add debuggable to your manifest, or just set it to true in Eclipse's application tab for the manifest (I needed to do that). After I updated the manifest, it's working. See this --

[android-developers] Re: GMail Client Source

2008-12-29 Thread Romain Guy
This application is not open source. On Mon, Dec 29, 2008 at 6:05 PM, Nathan Ekstrom nat...@whiteboxdev.com wrote: I'm looking for the source of the GMail Client that comes on the G1. Is it available anywhere? -- Romain Guy Android framework engineer romain...@android.com Note:

[android-developers] Re: What's the usage of the card when register android market account

2008-12-29 Thread Moto
Dude Your way off topic here... And yes that card number is for your registration fee... On Dec 22, 10:08 pm, He Yunlong b20...@freescale.com wrote: Hi, Guys,         I am registering account in android market, it need a card number, I wonder whether it's only used for pay the register fee

[android-developers] Re: Clearing the WebView cache

2008-12-29 Thread Nick
I guess onStop() is the wrong place to do this. Moving the call to WebViewClient.onPageFinished fixed it. On Dec 28, 10:34 pm, Nick nicholasdo...@gmail.com wrote: Hello, In onCreate() I instantiate a new WebView. In onStop() I call clearCache(true) and destroy() on the WebView. This does not

[android-developers] Re: How to access internet in emulator v1.0

2008-12-29 Thread anand
When I tried the emulator, it automatically picked up the internet connection that the PC has. I clicked on the browser icon in home screen, google's home page gets loaded. And I was able to search for directions and other stuff using the emulator. On Dec 28, 9:03 am, sheik sheik...@gmail.com

[android-developers] Re: DatePicker and TimePicker widgets

2008-12-29 Thread anand
Instead of horizontal orientation, try LinearLayout android:orientation=vertical both the widgets will be displayed one above the other. hope this helps... On Dec 28, 4:53 pm, Sarath Kamisetty sarath.kamise...@gmail.com wrote: Hi, I want to display DatePicker and TimePicker widgets side by

[android-developers] phone feature abstractions to PC

2008-12-29 Thread styxGH
Hi.. I am interested in developing apps on pc's that would synchronize with the phone.. is android therefore capable of allowing me to for example abstract the calendar feature on the phone onto a widget I for example build on a PC? so I can use that feature on the PC when my phone is

[android-developers] No Future Support for JNI

2008-12-29 Thread Harish Pandey
JNI is working fine in the first release of Android SDK we tested. If JNI is not supported in future releases then the Android phones will not be able to RUN lot of Application written in JSR. Currently there are so many free java apps written in JSR(e.g by using JSR135, JSR180 etc) which rely

[android-developers] why not ship android dev phone to china mainland?

2008-12-29 Thread mawei1981
Hi,all why not ship android dev phone to china mainland? I have already paid $25 become a developer, I can pay $399 to buy it, but brightstar could not ship it to china mainland? how can I do? who can help me? --~--~-~--~~~---~--~~ You received this message

[android-developers] Using Instrumentation during ActivityInstrumentationTestCase

2008-12-29 Thread James
I didn't get any responses from the Android Beginners group, so after a few days wait I'm trying this group. I'm trying to use the provided methods on the Instrumentation instance given to ActivityInstrumentationTestCase classes. I could not find a book listed on Amazon (available or

[android-developers] How to place a call from an application

2008-12-29 Thread Mobi
Hi: I tried to place a call from my application, but it always crashes after the following section of code: Intent intent = new Intent(Intent.ACTION_CALL_PRIVILEGED, Uri.fromParts( tel, number, null)); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent);

[android-developers] Re: Any updates on paid apps timeline?

2008-12-29 Thread NitroDesk
True, but the most distressing part is the inability to distribute paid apps on the market, even with the possibility of charging for them offsite. I bet this keeps lots of good apps from showing up on the market, and worse still, from being developed. -Nitro On Dec 28, 12:48 pm, Sven Boden

[android-developers] Re: How to view other apps

2008-12-29 Thread Evil Mushroom Lord
Well-- there may be other sites, but I ran across this one: http://www.cyrket.com/ There may be better ones out there --Evil Mushroom Lord www.evilmushroomempire.com Mushroom Wars: Wrath of the Fungi on Android now! On Dec 26, 5:43 pm, flashpro flashpro.sam...@gmail.com wrote: I am just

[android-developers] Re: Problem while creating a new file

2008-12-29 Thread sarwees
Ashok, you will not be able to create files to the /data directory since that is a system level directory. You can, however, create files within your application's data directory. Get a reference to the Context and use the cache directory (getCacheDir()) or the files directory (getFilesDir()).

[android-developers] Re: Japanese Providers

2008-12-29 Thread Nock
I'm using Dev phone with Softbank SIM (picked from iPhone) and it's works fine. Others reported docomo SIM also works fine. Both, you need to find out APN settings of your service contract. Au using different system, so it's won't work. On Dec 23, 12:40 pm, srwadleigh srwadle...@gmail.com

[android-developers] Re: Press and hold Dpad direction doesn't generate continuous events

2008-12-29 Thread andyclap...@googlemail.com
Couple of points: You shouldn't really be relying on the keyboard repeat in a game. Set a flag on the keydown, and clear it on the keyup. Check the flag periodically (in the main game loop or via a timer) to see what keys are currently held down and act accordingly. No devices have dpads yet. The

[android-developers] SAX parser problem: crashes on sp ecial chars like umlauts (ö, ü, ä) or ñ

2008-12-29 Thread Yannick
I am parsing xhtml sites with my SAX parser (set up similarly to here: http://www.anddev.org/parsing_xml_from_the_net_-_using_the_saxparser-t353.html): However, the whole thing crashes on special characters like ö ä or ü... How do I handle that? Do I have to tell it anything special about

[android-developers] API for querying, enabling, disabling GPS service?

2008-12-29 Thread Abraham Lincoln
Does anyone know how to query status of, enable, and disable the GPS service? Thanks in advance. --~--~-~--~~~---~--~~ 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] New SDK release

2008-12-29 Thread cheefrocke...@googlemail.com
Hi guys, when does the many bugfixes were fixed? What are the plans for the next 2-6 Month? --~--~-~--~~~---~--~~ 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 Dev Phone 1 DOA, or more correctly, DSAA

2008-12-29 Thread dbkin...@gmail.com
I got another quasi-DOA just before Christmas. The phone will run for about 1 min and then lock up. The screen usually keeps displaying the last image, but the phone will update or not respond to any input. After a lockup, holding power+home does not turn off the phone, I need to remove the

[android-developers] Couple of questions if i may

2008-12-29 Thread MaTriXy
Hi, i have a couple of questions i can't seem to find an answer to: i. how can i get my application to be the default home handler when i install it and not needing to choose it afterwards when the home button is pressed? my idea is just to give the user a message and then release it to the real

[android-developers] Embedding a Scrollable List in the Same Screen with other components

2008-12-29 Thread Skooter Columbo
I am pretty new to Android, and I am not really sure about the best way to implement an embedded scrollable list component on the same screen with other components, or if their is an existing component to do this with already. I have a screen which has three buttons on the left side. I would

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

2008-12-29 Thread Harold
I've been searching all over for some better details on cupcake, and though i'm not a developer, i'm excited to see what it will do. I think the G1 and android is amazing, and i can only hope that one of the many feature fixes includes more consistent and secure connections to GPS

[android-developers] When will the Media classes be able to connect to telephone 'conversation' audio channels ?

2008-12-29 Thread StevenS
If I'm reading the API documentation correctly, neither the MediaRecorder.AudioSource nor the MediaPlayer.AudioSource can connect to the telephone conversation audio channels - eg. the TELEPHONE CONVERSATION microphone speaker 'lines'. Both of these would be required to support advanced call

[android-developers] Re: Google Dev Phone

2008-12-29 Thread Oriol Carcelle Bayona
I have the same question, can anybody tell us how to upgrade the android version of a Dev Phone 1 edition ? Thanks in advance Dev_Phone_NewB ha escrit: I just got my google dev phone in a couple of weeks ago. I really like the phone. But I have a couple of questions. 1) Is there any way

[android-developers] Re: how to enable internet access in emulator v1.0

2008-12-29 Thread Evil Mushroom Lord
Odd--- I didn't configure or change anything and my emulator works with the internet just fine. I can surf the web on its mini chrome browser. :) Are you sure your internet isn't working? Try opening the browser and doing a google search or something. --Evil Mushroom Lord

[android-developers] Re: future app distribution on android

2008-12-29 Thread Stephen
This is a good question, but I think that is the point of android. Software allows the same applications to be run on each phone. The front end development of android will be the same for each phone... applications will just check to verify you satisfy the requirements. For example, if a phone

[android-developers] jdb attach error

2008-12-29 Thread 薛坤
Hi all I got a problem when I try to debug Android with jdb. The following is my steps 1、use am -e debug true ,to start a activity 2、useadb forward tcp:8000 jdwp:472,to bind jdwp to tcp:8000 3、use jdb -attach localhost:8000 ,to attach jdb to tcp:8000 Then I got error messages:

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

2008-12-29 Thread victorcab
I've had a similar experience. 8 hours is normal with light use. On Dec 25, 9:51 am, albemuth albem...@gmail.com wrote: I don't know if I screwed mine up (was using it during the first charge), these last 2 days that I've been using it a lot I get 6 hours at best :/ On Dec 22, 9:50 am,

[android-developers] New to java, help needed - Distance Application

2008-12-29 Thread Stephen
Hi guys, I am new to java and am trying to learn... as a mechanical engineer i am stoked on tweaking with the accelerometer and other neat aspects to the G1/ Android. I want to make an application which, at the push of a button, record your position and then you move it a foot hit the button

[android-developers] Re: Debugging on actual G1

2008-12-29 Thread stijn.mal...@gmail.com
Have you enabled the USB debugging flag? (Settings - Applications - Development) On 29 dec, 06:59, chrispix chris...@gmail.com wrote: I am not sure what is wrong, but I can't seem to debug on the G1, I can debug fine on the emulator, it runs fine on emulator with an iso sd card loaded. It

[android-developers] Re: Synchronizing Maps and Map Overlays - ConcurrentModificationException

2008-12-29 Thread Tim H.
Check out this tutorial, it may help with your problem: http://blogoscoped.com/archive/2008-12-15-n14.html Tim --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] OpenGL texture is upside down

2008-12-29 Thread Tom H
Hello. I'm trying to map a texture on a surface, but it's showing up inverted (upside down). It works correctly in Windows OpenGL. Here are the relevant code pieces: Bitmap b = BitmapFactory.decodeResource(getResources(), R.drawable.myBitmap); ...

[android-developers] Re: How to place a call from an application

2008-12-29 Thread Mark Murphy
Mobi wrote: Hi: I tried to place a call from my application, but it always crashes after the following section of code: Intent intent = new Intent(Intent.ACTION_CALL_PRIVILEGED, Uri.fromParts( tel, number, null)); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);

[android-developers] Re: New SDK release

2008-12-29 Thread Mark Murphy
cheefrocke...@googlemail.com wrote: Hi guys, when does the many bugfixes were fixed? What are the plans for the next 2-6 Month? The only official information is: http://source.android.com/roadmap -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar

[android-developers] Re: dealing with multiple activities

2008-12-29 Thread Andrew Stadler
This suggestion is correct- use the intent extras to send your own data back-and-forth to the sub-launched activity. Here are a couple of things to consider: (1) If at all possible, the sub activity should not crash if expected extras data is not found in the launching intent. (Null pointer

[android-developers] Re: Stack overflow - 32 deep class hierarchy

2008-12-29 Thread Mark Murphy
thesquib wrote: I just wanted to add that I am interested in finding a way around this, or just to find out if it is a limitation which will not go away. I'd focus instead on getting rid of 20+ classes in the hierarchy. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training

[android-developers] How to download Android source code distribution in sync with Android SDK?

2008-12-29 Thread Wah
I followed the instruction here to download Android SDK android-sdk- linux_x86-1.0_r2 http://code.google.com/android/download.html I also followed the instruction here to download the latest source code release: http://source.android.com/download However, I found the two versions to be somewhat

[android-developers] Re: future app distribution on android

2008-12-29 Thread Sven Boden
I wasn't actually thinking of hardware requirements. As hypothetical example, the G1 in Germany is tweaked to the local market at version x. Android evelopment continues and version x+1 is out which is already quickly adopted in the US. Some interfaces in x+1 break the x version of apps, so you

[android-developers] Re: Any updates on paid apps timeline?

2008-12-29 Thread Sven Boden
I think the answer is guessable (and no I don't work for Google)... when the android OS settles down more or less. I expect it a little while after the cupcake release. Currently some things are still going to break and if they would allow you to buy applications from the market, you would need to

[android-developers] Strange Toast error

2008-12-29 Thread Alvin Yates
I'm using a bunch of Toast messages in my application in order for certain services to communicate to the user. The problem seems to be, however, that if I navigate certain parts of the app too quickly, one of the toast messages never actually disappears, which I think may have to do with the

[android-developers] Re: Stack overflow - 32 deep class hierarchy

2008-12-29 Thread thesquib
Thanks for your reply Mark. I realise that the best solution is to collapse the hierarchy, however I am still interested to know the cause. On Dec 30, 9:04 am, Mark Murphy mmur...@commonsware.com wrote: thesquib wrote: I just wanted to add that I am interested in finding a way around this,

[android-developers] Re: Strange Toast error

2008-12-29 Thread Mark Murphy
Alvin Yates wrote: I'm using a bunch of Toast messages in my application in order for certain services to communicate to the user. The problem seems to be, however, that if I navigate certain parts of the app too quickly, one of the toast messages never actually disappears, which I think may

[android-developers] Re: OpenGL texture is upside down

2008-12-29 Thread Tomei Ningen
I think Android wants texture to use upper-left as the origin. Have you checked API demo? --- On Sun, 12/28/08, Tom H tomhi...@gmail.com wrote: From: Tom H tomhi...@gmail.com Subject: [android-developers] OpenGL texture is upside down To: Android Developers android-developers@googlegroups.com

[android-developers] Re: Transparent textures in OpenGL

2008-12-29 Thread Tomei Ningen
Did you use  GL10.GL_MODULATE?     gl.glTexEnvf(GL10.GL_TEXTURE_ENV, GL10.GL_TEXTURE_ENV_MODE, //GL10.GL_REPLACE GL10.GL_MODULATE ); I had the same problem before and it's fixed after making the above change. --- On Mon,

[android-developers] Android google groups web page -- is it broken?

2008-12-29 Thread Tomei Ningen
I am sorry if this is SPAM. I tried posting to android-developers using the web interface. Some of my posts aren't delivered until 2 days later. Some other posts are completely lost. Has anyone else seem the same problem? Is the answer -- don't use google groups web page? That would be kind of

[android-developers] Re: Android google groups web page -- is it broken?

2008-12-29 Thread Mark Murphy
Tomei Ningen wrote: I am sorry if this is SPAM. I tried posting to android-developers using the web interface. Some of my posts aren't delivered until 2 days later. Some other posts are completely lost. Has anyone else seem the same problem? Is the answer -- don't use google groups web

[android-developers] Re: Android google groups web page -- is it broken?

2008-12-29 Thread Tomei Ningen
All my postings that I sent within the last 0.5 hour through e-mail all showed up in my in-box, as well as on the web site. I made 1 post through the web site about 0.5 hours ago. It still didn't show up. It's to this thread OpenGL on T-Mobile G1: How to turn OpenGL on and off with

[android-developers] Re: How to place a call from an application

2008-12-29 Thread Wah
You are right. It seems ACTION_CALL worked. Thanks! Wah On Dec 29, 11:37 am, Mark Murphy mmur...@commonsware.com wrote: Mobi wrote: Hi: I tried to place a call from my application, but it always crashes after the following section of code:     Intent intent = new

[android-developers] Re: Service will not stay running

2008-12-29 Thread Tomei Ningen
You can run logcat in a DOS window. That way it will keep as much log as you have disk space DOS adb logcat file From: bparker cbpar...@gmail.com To: Android Developers android-developers@googlegroups.com Sent: Sunday, December 28, 2008 5:21:20 PM Subject:

[android-developers] Re: DatePicker and TimePicker widgets

2008-12-29 Thread Sarath Kamisetty
but that takes up whole screen ... I am now leaning towards DatePickerDialog and TimePickerDialog widgets and provide buttons to open these dialogs. Ideally, it would be nice to have a way to shrink the TimePicker and DatePicker widgets easily. On Mon, Dec 29, 2008 at 7:15 AM, anand

[android-developers] restricting EditText to certain number of characters

2008-12-29 Thread Sarath Kamisetty
Hi, I would like display EditText box but restrict the input to ten characters/digits. If user continues typing more than 10 digits I don't want them to be echoed at all. Any idea how to achieve this ? I see that the width can be specified in terms of pixels and other stuff but not in terms of

[android-developers] Re: service with a UI

2008-12-29 Thread Mark Murphy
Sarath Kamisetty wrote: My application has two halves - one that interacts with the user and gathers some data and stores it, the other half of it is like service that constantly monitors and processes this data and carries out the user specified actions in the background. How do I develop

[android-developers] Re: Save data between onDestory/onCreate cycles

2008-12-29 Thread Mark Murphy
Al wrote: My app uses colour on some of the strings it writes to the TextView. The problem I'm having is when I open/close the keyboard, I'm forced to save the coloured data as Strings, which means it loses formatting. The Bundle class doesn't support saving Objects so I've tried writing it

[android-developers] No Internet Connection Sharing?

2008-12-29 Thread kristianlm
Hi! I have been in possession of a G1 for a month now and have, of course, much enjoyed it. But as we are heading off to an off-line cabin I wanted to prepare my Android to share its internet connection to my laptop: using the phone's EDGE/3G from my laptop. After a some googeling, I cannot

[android-developers] Process has died during onDestroy() of my Activity. Why?

2008-12-29 Thread j
My app calls setWallpaper inside onDestroy() of my Activity. The method succeed with no issue about 95% of the time. However, in about 5% of the time, the process crashed: I/ActivityManager( 2591): Process com.jack.moment (pid 5053) has died. I notice my onDestroy implementation takes up to 7

  1   2   >