[android-developers] Re: Can I add a data column to the Contacts db?

2009-08-07 Thread Kaj Bjurman
I wouldn't do it even if you could. Sounds like a fragile design that will break during upgrades and if other applications tries to do the same. Create a database of your own, and have some kind of id that references the entry in the contacts db. On 7 Aug, 05:44, cafffiene cafffi...@gmail.com

[android-developers] Re: display thumbnail images from sdcard

2009-08-07 Thread Aki
Maybe There are no thumbnails. Open Gallery App and it will make thumbnails. On 8月7日, 午後2:00, jaimin jaiminmeht...@gmail.com wrote: hi thanx for the reply you suggest me to specify the sdcard image but i don't know how to specify sdcard images. On Jul 28, 9:53 pm, Jack Ha

[android-developers] Re: display thumbnail images from sdcard

2009-08-07 Thread jaimin
i put some thumbnail images into sdcard but same result no images display in emulator On Aug 7, 11:30 am, Aki akxuc...@gmail.com wrote: Maybe There are  no thumbnails. Open Gallery App and it will make thumbnails. On 8月7日, 午後2:00, jaimin jaiminmeht...@gmail.com wrote: hi thanx for the

[android-developers] Re: display thumbnail images from sdcard

2009-08-07 Thread Aki
this is my thumbnail test code,i hope it help you. public void printThumbnails(){ Uri uri=MediaStore.Images.Thumbnails.getContentUri(external); Cursor cursor=MediaStore.Images.Thumbnails.queryMiniThumbnails (getContentResolver(), uri, MediaStore.Images.Thumbnails.MINI_KIND,

[android-developers] Re: display thumbnail images from sdcard

2009-08-07 Thread jaimin
thanks for the help i will tell u after i successfully run that code. On Aug 7, 12:10 pm, Aki akxuc...@gmail.com wrote: this is mythumbnailtest code,i hope it help you.     public void printThumbnails(){         Uri uri=MediaStore.Images.Thumbnails.getContentUri(external);         Cursor

[android-developers] accuracy of Mock location

2009-08-07 Thread Lorenz
How much accuracy have location of the emulator?more or less than fine location.. --~--~-~--~~~---~--~~ 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] anybody knows about Linkify

2009-08-07 Thread Burne Xu
1:public void onCreate(Bundle savedInstanceState) { 2: super.onCreate(savedInstanceState); 3 setContentView(R.layout.main); 4 TextView tv = new TextView(this); 5 tv.setText(23124543sdfasi2223844 a...@mot.com 908*44*90876,TextView.BufferType.SPANNABLE); 6

[android-developers] Re: AppWigets into Applications

2009-08-07 Thread Jeff Sharkey
After you allocate the appWidgetId, you need to launch the android.appwidget.action.APPWIDGET_PICK intent, which will show a dialog that lets the user pick which widget to bind. Here's an example of how Launcher does this:

[android-developers] Re: China to have there own Android Market?

2009-08-07 Thread biAji
On Aug 6, 1:27 pm, CraigsRace craig...@gmail.com wrote: As far as I know .. NetDragon is an evil company.. Really, why do you say that?  I googled them, Electronic Arts are working with them.  They pulled in $595 million last year. Ok, as a developer in china. I myself don't like their

[android-developers] How can i fetch builtin contacts in mobile...?

2009-08-07 Thread android.vinny
Hi I need to fetch all the built in contacts we added in contacts app How is it possible to fetch the contacts Can any body suggest me regarding this ... TAI --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: How to use telnet

2009-08-07 Thread fhucho
Thanks! I didn't think it would be so easy :) On Aug 6, 10:49 pm, Marco Nelissen marc...@android.com wrote: You just open a socket connection to the telnet port on the remote host, and then read/write the socket. This is standard network stuff, nothing android specific about it. On Thu, Aug

[android-developers] Re: How to autorun program when Android start running?

2009-08-07 Thread Mark Murphy
bdjhsl wrote: But, to use BOOT_COMPLETED, your applicaiton must first run and register that event, right? So, ins't this a chicken and egg problem?? Register a receiver for BOOT_COMPLETED in your manifest. Visit: http://commonsware.com/AdvAndroid/ and download the source code to that book.

[android-developers] PSM timeout

2009-08-07 Thread Vilen Looga
Hi! I hope that this is the right place to ask. What is the Power Saving Mode (PSM) timeout in Android 1.5 on G1 phone? I could not find it in manuals nor on the Internet. BR, Vilen Looga --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Mock up developing / creation tool for android

2009-08-07 Thread Stefan
Hi, i search a tool to develop/create mock ups for android. The only things i find are psd files (http://www.matcheck.cz/androidguipsd/ and http://chrisbrummel.com/google-android-gui-psd - not all widgets) and this tool: http://www.balsamiq.com/products/mockups. But this tool isn't only for

[android-developers] Re: Why does my PhoneStateListener go quiet?

2009-08-07 Thread chrisnew
On Jul 29, 2:59 pm, Ne0 liamjamesalf...@googlemail.com wrote: I am using ACCESS_COARSE_LOCATION in my manifest. On 29 July, 14:49, Ne0 liamjamesalf...@googlemail.com wrote: Hi, Been having some issues with my PhoneStateListener, what i would like it to do is to always listen to

[android-developers] karim.ahsa...@gmail.com shared a link from UploadAndSend with you

2009-08-07 Thread karim . ahsanul
Shared Url: http://www.uploadandsend.com/index.php?page=download=pspc4a7abe9c3b18b#u4p3l7o9a4d6good tutorials from commonsware... thanks to Mark Murphy RegardsUploadAndSend Teamhttp://www.uploadandsend.com --~--~-~--~~~---~--~~ You received this message because

[android-developers] Force Portrait Screen

2009-08-07 Thread condor
Hello I developed an application and when I flip the phone in landscape mode the application went in landscape too. How can I make the application stay in portrait mode no matter the phone orientation. --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Streaming encoded video via RTP

2009-08-07 Thread Robin Marx
First of all, we have no idea whatsoever on how to access the opencore functionality from our native code (or from java). We found a lot of posts from people saying they are using the encoders/decoders directly, or trying to add extra format-support etc. but nowhere do we find documentation on

[android-developers] Re: karim.ahsa...@gmail.com shared a link from UploadAndSend with you

2009-08-07 Thread Mark Murphy
karim.ahsa...@gmail.com wrote: Shared Url: http://www.uploadandsend.com/index.php?page=downloaditemid=pspc4a7abe9c3b18b#u4p3l7o9a4d6 good tutorials from commonsware... thanks to Mark Murphy Please be advised that most of those are being distributed in violation of their copyright. You are

[android-developers] change color of fading edge in listview

2009-08-07 Thread Per Sandström
i have a listview with a very white layout. Thus I wish the fading edge was black, instead of white as it is right now. How can I change this? As far as I can see it cant be done in xml... --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: How can i fetch builtin contacts in mobile...?

2009-08-07 Thread Stefan
Hi, take a look on the source codes from the book professional android application development from reto meier. you can download it from this page: http://media.wiley.com/product_ancillary/17/04703447/DOWNLOAD/Download%20code%20for%20Professional%20Android.zip unzip the file and then browse to

[android-developers] Re: How can i fetch builtin contacts in mobile...?

2009-08-07 Thread Desu Vinod Kumar
HI Thanks a lot ... it will be very useful for me On Fri, Aug 7, 2009 at 5:33 PM, Stefan ebay-dah...@web.de wrote: Hi, take a look on the source codes from the book professional android application development from reto meier. you can download it from this page:

[android-developers] Re: Where to put --core-libary option in 1.5 ?

2009-08-07 Thread Guido García Bernardo
I am facing the same issue. I have found a solution to this problem, but it is a little tricky so let's call it a workaround. What I've done is so far is download and recompile dx sources with the variable core library hard-coded as true. You can change it in the method

[android-developers] listview (text+icon) inside a class Atcivity and not ListActivity

2009-08-07 Thread Dany BREARD
Hi I want to know if its possible to make a listview (text+icon) on a class extends Activity and not on a class extends ListActivity. So I make a little code with class extends. on the onCreate: ListView list=(ListView) findViewById(R.id.list1); ArrayList mStrings = new ArrayList();

[android-developers] Re: An App contains a BroadcastReceiver and an Activity

2009-08-07 Thread nEx.Software
Just include them both and define them both in the Manifest. You can have as many Activities and BroadcastReceivers as you need in one APK. On Aug 6, 8:38 am, Peacemoon tran.bin...@gmail.com wrote: I want to start a project which contains a BroadcastReceiver and an Activity. The

[android-developers] Re: Sharing data between activities

2009-08-07 Thread sylvestercaro...@gmail.com
I have a similar question. Basically I have an app with several activities, each needs to read different data from a common local SQLite db. This data doesn't have to be accessed outside of the application itself - hence I decided against using a content provider. I was thinking of using the

[android-developers] Using ExpandableLists to show collapsible tables

2009-08-07 Thread Jay Askren
I am using Expandable Lists to create a list of collapsible tables and have several questions. I'm using a ResourceCursorTreeAdapter to store the data which works pretty well. Each group in the expandable list is a title for the table. I also added a table header which I try setting the

[android-developers] problem sending an email with an attachment programmatically

2009-08-07 Thread mudit
hello.. i`m trying to send an email using native email client on android phone. I have tried following ways to add an attachment to the mail... method--1 Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.setType(image/jpeg); sendIntent.putExtra(Intent.EXTRA_STREAM,

[android-developers] take screenshot programmatically

2009-08-07 Thread mudit
hello... i have a requirement to place 2 overlapping image view inside a web view.the upper image view can be moved using trackball and the lower image view is static.now i want to capture the whole screen programmatically and save it as an image. i have referred this link but unable to get the

[android-developers] Re: listview (text+icon) inside a class Atcivity and not ListActivity

2009-08-07 Thread Mark Murphy
Dany BREARD wrote: I want to know if its possible to make a listview (text+icon) on a class extends Activity and not on a class extends ListActivity. Yes. You will need to call findViewById() to get your ListView, rather than call getListView(). Similarly, there will be minor changes if you

[android-developers] Re: Force Portrait Screen

2009-08-07 Thread Mark Murphy
condor wrote: Hello I developed an application and when I flip the phone in landscape mode the application went in landscape too. How can I make the application stay in portrait mode no matter the phone orientation. http://androidguys.com/?p=2891 To block Android from rotating your

[android-developers] Re: Sharing data between activities

2009-08-07 Thread Mark Murphy
sylvestercaro...@gmail.com wrote: I have a similar question. Basically I have an app with several activities, each needs to read different data from a common local SQLite db. This data doesn't have to be accessed outside of the application itself - hence I decided against using a content

[android-developers] Re: how to stop service?

2009-08-07 Thread Desu Vinod Kumar
HI Have u seen this thing to start and stop the service example http://mylifewithandroid.blogspot.com/2008/02/double-life-of-service.html On Fri, Aug 7, 2009 at 10:08 AM, Archana archana.14n...@gmail.com wrote: If We open DDMS.We can See that process is still running eventhough we exit from

[android-developers] Re: Intent.ACTION_VIEW for png not working ...

2009-08-07 Thread Donn Felker
Update: I got this to work finally. Here's how: Intent i = new Intent(android.content.Intent.ACTION_VIEW); i.setDataAndType(Uri.parse(file:///sdcard/path/to/myfile.png), image/png); startActivity(i); Why does this work? I have no idea. But, it does. The docs are not that clear (IMO) and I

[android-developers] Re: how to stop service?

2009-08-07 Thread Marco Nelissen
The fact that the process is still there doesn't mean that the service is running. Android keeps processes around for perfmance reasons, so they can be reused when the app is launched again. Your process shouldn't actually be doing anything anymore after you stop the service (and if it is, it's a

[android-developers] Tracking Pointer Events in Android Browser

2009-08-07 Thread Jason Van Anden
I am developing an application that should work on a mobile phone and a browser. I thought, why not use Canvas and have everything occur in the browser. Thing is, mouse events get intercepted by the browser app to do things like move the screen. Has anyone out there encountered this and found a

[android-developers] Remounting SDCARD in the emulator

2009-08-07 Thread elpix1
Hi, If, in the emulator, we unmount the SDCARD, is there a way to remount it, without restarting the emulator ? Regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] No ticks when using AlertDialog.setMultiChoiceItems with cursor

2009-08-07 Thread Paul Drummond
I am trying to display a dialog containing checkbox items using the version of setMultiChoiceItems that takes a cursor. Everything works fine except when I press the checkbox it doesn't change visually (I don't see the tick). If I close the dialog box and re-open it the tick is there and the

[android-developers] Can't get rid of SQLiteCursor IllegalStateExceptions in finalize method

2009-08-07 Thread Paul Drummond
When I run my app in debug mode I constantly get the debugger breaking out due to a IllegalStateException: 08-07 14:40:00.261: INFO/dalvikvm(808): Ljava/lang/IllegalStateException;: Finalizing cursor android.database.sqlite.sqlitecur...@437a2d80 on null that has not been deactivated or closed

[android-developers] Re: Sharing data between activities

2009-08-07 Thread elpix1
Another way to share data between activities in the same process is to use the Application class: http://developer.android.com/reference/android/app/Application.html You have to specify the name of your Application class in the manifest and the framework will create only an instance of this

[android-developers] Re: OpenGL leaking garbage

2009-08-07 Thread Dmitry.Skiba
OK, you've made it absolutely clear that non-direct buffers are definately a no-no :) Anyway, I will stick to VBOs (which, as Jack explained, do not need direct buffers at all). I hope this thread will be helpful to others as much as it was for me. Dmitry On 7 авг, 01:07, fadden

[android-developers] Re: Limit the size of a ScrollView

2009-08-07 Thread JMichel
I have tried a Relative layout containing 3 Linear layouts. I'd like to get a thin top layout, a thin bottom layout and a middle layout that takes the available space in between. Here is the XML of my layout: RelativeLayout xmlns:android=http://schemas.android.com/apk/res/ android

[android-developers] Re: Limit the size of a ScrollView

2009-08-07 Thread Mark Murphy
JMichel wrote: I have tried a Relative layout containing 3 Linear layouts. I'd like to get a thin top layout, a thin bottom layout and a middle layout that takes the available space in between. Here is the XML of my layout: RelativeLayout xmlns:android=http://schemas.android.com/apk/res/

[android-developers] Re: Limit the size of a ScrollView

2009-08-07 Thread JMichel
Thanks for the tip I didn't realize the order was important. On Aug 7, 11:43 am, Mark Murphy mmur...@commonsware.com wrote: JMichel wrote: I have tried a Relative layout containing 3 Linear layouts. I'd like to get a thin top layout, a thin bottom layout and a middle layout that takes

[android-developers] question about KeyListener

2009-08-07 Thread chandlersong
I need to listen to user's input of a edittext. I first use KeyListener to listen.it can work,but it also eating other input.So I changed to the OnKeyListener, and it work well then I read Api about KeyListener, I find the sentence below I can't understand Calling this method will

[android-developers] Play audio over an active phone call, so other end can hear it

2009-08-07 Thread jsdf
Hi everyone, Is it possible to play audio over an active phone call, so the other end can hear it? For example: A and B are talking on the phone. A presses a button that pulls audio from a resource and plays it over the phone call to B. If so, what libraries should I look into? If not, is

[android-developers] Re: Mock up developing / creation tool for android

2009-08-07 Thread Mohamed Hamdouni
I know about DroidDraw that is an Online tool to make User Interface for Android apps Don't know if its what you are looking for -- Visit us at www.touch-market.com THE website dedicated to YOU Android developers THE sweet

[android-developers] Switching carriers

2009-08-07 Thread Andrzej Dobrucki
Does anyone know if there's a way to manually switch from one carrier to another in code? I could get actual operator data with serviceState.getOperatorAlphaLong (); etc, but wasn't able to find a solution to actually switch from one to another. Does one need to use AT commands or similar?

[android-developers] XML Parser

2009-08-07 Thread SASIKUMAR
If any body know how to do xml parsing. inform to me... --~--~-~--~~~---~--~~ 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@googlegroups.com

[android-developers] Moving a View Object in a Circle

2009-08-07 Thread Raman
Hi All, I have a very simple requirement. I have a View object, lets say an ImageView object. I want to move this ImageView object in a circle. More specifically, I want to move it along an arc, which is not a complete circle. I found in Android Documentation that comes with SDK that we can

[android-developers] Inserting Images in Text Field along with the Text

2009-08-07 Thread androidguy
Hi all, Hi i am new to Android, I want to add Image to Text field, at the same time i want to write text under that image( want to describe about the image ) in the same text field. And the image should be provided with ZOOOM_IN and ZOOM_OUT options, for the user to view. Please can anyone

[android-developers] Setting a listener for drag animations in MapView

2009-08-07 Thread Cachapa
Hi, I have a class which extends MapView and manages markers inside the view. The trouble is I have a *lot* of markers to show (~12,000), and loading them all at once doesn't really work, so I'm retrieving the markers on demand so that at any time there will be only ~20 markers on the map (at

[android-developers] Android Lap top connection

2009-08-07 Thread The Kid
Hello Folks, I was wondering if it was possible to connect the lap top with the T.M G1 phone to get internet connection. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: How to share datas between tabs in a TabActivity

2009-08-07 Thread Tinuz
What i did is the following: You have tab1 and tab2 which reside in a tab activity. In tab1 runs activity1 and in tab2 runs activity2. When you finish your operation in tab1, you retreive the parent activity which is the tab activity. In this tab activity you have a Bundle property. You put the

[android-developers] Re: Developing on a regular consumer HTC Magic device

2009-08-07 Thread Andri
Care to share? I also have a HTC Magic I'd like to develop on... On Aug 5, 8:07 pm, Dollars Admin dollars5ad...@gmail.com wrote: No worries - I figured it out myself. HTC Magic already runs Android OS 1.5 and from the IDE - I was able to enable debugging. On Wed, Aug 5, 2009 at 11:20 PM,

[android-developers] Capturing Hard key events on WidgetApp

2009-08-07 Thread Abhi
I am developing a widget for that i need to control some mmi using Hardware key...please let me know how can i capture hardware key events on widgetApp as it is controlled by Widgetprovider. If any body have any solution please let me know thanks Abhi

[android-developers] Re: Will a notification still work if the device once shut down.

2009-08-07 Thread Pradeep Kaushik
Hi, You can use the AlarmManager for such tasks. Sample Code: == AlarmManager am = (AlarmManager)getSystemService(Context.ALARM_SERVICE); PendingIntent pi = PendingIntent.*getBroadcast*(getApplicationContext(), REQUEST_CODE, intent, PendingIntent.FLAG_CANCEL_CURRENT);

[android-developers] opencore packet video error in android -Video track fell behind

2009-08-07 Thread Harishkumar V
Hi, When i play an mp4 file, it reports Video track fell behind. it is not the same for all mp4 videos, some play and some do not, reporting above error. is this video quality issue handled by android or opencore issue in handling. is there anyway we can fix this. Thanks and Regards,

[android-developers] Re: How to use telnet

2009-08-07 Thread brian
Be careful, though. You'll be talking to a telnet server, which expects you to use the telnet protocol (RF854). You may see some *extra* data that appears to be garbage characters. A quick read through rfc854 should explain what you're seeing. http://tools.ietf.org/html/rfc854 Brian Pence

[android-developers] Re: Capture EndCall key

2009-08-07 Thread Roman
Michelle, You cannot act on the ENDCALL event on application level. There are multiple threads about this already http://groups.google.com/group/android-platform/browse_thread/thread/c6e2de4b0cdbecd7/21b7cf4ee06a7005?lnk=raotfwc=1

[android-developers] SensorManager Query

2009-08-07 Thread mscwd01
Hi, I would like to get the orientation of the phone i.e. its compass bearing (azimuth), pitch (around X axis) and roll (around Y axis). I have found the method 'getOrientation(float[] R, float[] values)' which seems to serve this purpose, however I am unsure what I need to pass to it as a

[android-developers] Re: karim.ahsa...@gmail.com shared a link from UploadAndSend with you

2009-08-07 Thread Ahsan
Hi Mark, I am a great fan of you. I was so enthusiastic about your works and android development that i broke the copyright law. I assure you that this will never happen from my side I am extremely sorry. Hope you understand. regards. -Ahsanul Karim On Aug 7, 5:41 pm, Mark Murphy

[android-developers] Re: Switching carriers

2009-08-07 Thread Roman
Hi Andrzej, I am not aware that the Android telephony package supports this functionality on SDK level. I also doubt that this functionality is implemented on framework level (please correct me if I am wrong). In general when you look at current existing TAPI API implementations there are APIs

[android-developers] A better splash screen

2009-08-07 Thread Carl Whalley
I have an app with a View which fills the display at 320x480. I made a splash image which is smaller, 200x200, and the logic to display this is ok. It doesn't have the effect I'd like though, which is to show the splash first, centered, and without clearing the background which at present it is

[android-developers] Re: Can I add a data column to the Contacts db?

2009-08-07 Thread Zak Zak
I'm actually changing the stock Contacts app, to add more data to each contact list item. I was worried about having two asynchronous events, (get data from Contacts db, and get data from my new db). But perhaps it is better to do that. Any tips on best practices for dealing with multiple

[android-developers] Nokia has given the N95 8GB a sexy new

2009-08-07 Thread Jackson
Nokia has given the N95 8GB a sexy new semi-gloss black color scheme that adds a touch of class to the look. Cosmetic changes extend to other places as well, with the menu and multimedia keys being significantly thinner than on the original, though not so much as to make them hard to press. The

[android-developers] Re: Can I add a data column to the Contacts db?

2009-08-07 Thread Mark Murphy
Zak Zak wrote: I was worried about having two asynchronous events, (get data from Contacts db, and get data from my new db). Neither of those operations are intrinsically asynchronous. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App

[android-developers] Do I have to test my app on Dev Phone for ADC II

2009-08-07 Thread -v-
Hi, I plan to submit an app for the ADC II. I wanted to know if it is required that I test my app on the Andoird Dev Phone? If it runs on the emulator is it safe to assume that it runs on an actual phone? The phone is pretty costly and will be useless for me after the contest. Is there a place I

[android-developers] Re: AsyncTask reuse

2009-08-07 Thread Dianne Hackborn
If you don't like it, use your own Thread or the slightly higher-level HandlerThread and implement the semantics you want. On Fri, Aug 7, 2009 at 10:50 AM, Jason Proctor jason.android.li...@gmail.com wrote: i'm fine with the single running instance model. not so much the totally unreusable

[android-developers] Re: Capturing Hard key events on WidgetApp

2009-08-07 Thread Dianne Hackborn
Sorry, you can't do this. On Fri, Aug 7, 2009 at 6:34 AM, Abhi srivastava.shrivast...@gmail.comwrote: I am developing a widget for that i need to control some mmi using Hardware key...please let me know how can i capture hardware key events on widgetApp as it is controlled by

[android-developers] Re: Play audio over an active phone call, so other end can hear it

2009-08-07 Thread Marco Nelissen
The hardware doesn't support it. The closest you can get is by playing it over the speaker at full volume, so the microphone will pick it up. On Fri, Aug 7, 2009 at 9:26 AM, jsdfjasons...@gmail.com wrote: Hi everyone, Is it possible to play audio over an active phone call, so the other end

[android-developers] Re: Mock up developing / creation tool for android

2009-08-07 Thread Stefan
This is the best tool that I have used until now. I have test it a little bit, but the MapView is missing for example?!? But nevertheless a useful tool. Thanks, Stefan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Do I have to test my app on Dev Phone for ADC II

2009-08-07 Thread Disconnect
Its not safe to assume that. Its getting better, but its not identical (and thats even discounting things like timing problems.) On Fri, Aug 7, 2009 at 1:55 PM, -v- vishal.changr...@gmail.com wrote: Hi, I plan to submit an app for the ADC II. I wanted to know if it is required that I test my

[android-developers] Re: Do I have to test my app on Dev Phone for ADC II

2009-08-07 Thread Disconnect
Sorry, hit send too soon. Several of the appstores have set up betatest groups, and you can generally ask for help with testing on the various android-* lists and get volunteers. On Fri, Aug 7, 2009 at 2:54 PM, Disconnect dc.disconn...@gmail.com wrote: Its not safe to assume that. Its getting

[android-developers] In call dialpad/menu confusion - am I the only one?

2009-08-07 Thread sambuka
When in a call, there is a confusion in the UI in selecting options. DTMF is sent flicking up the 'dialpad', and speaker (and other options) is found in the 'menu'. I think that this is confusing. All should be put in the menu or dialpad, but not both, or maybe put a frequent option SPEAKER on

[android-developers] HTC Touch Input

2009-08-07 Thread alkar
Is the Touch Input IME provided by HTC on Magic open source? If so, under which licence and where would I find the source? Can't really find any info about it online and I'm looking into developing an IME based on it, rather than LatinIME. Thanks, alkar

[android-developers] Re: PendingIntent Flag and AlarmManager behavior ?

2009-08-07 Thread SR
Ultimately, the only way I could get different intents to be scheduled with AlarmManager is to set different data URIs in the Intents that I was wrapping in PendingIntents and scheduling with AlarmManager.set(). I filed an issue about this here:

[android-developers] Re: HTC Touch Input

2009-08-07 Thread Dianne Hackborn
I am pretty sure that is proprietary to HTC. On Fri, Aug 7, 2009 at 12:08 PM, alkar alcarlo...@gmail.com wrote: Is the Touch Input IME provided by HTC on Magic open source? If so, under which licence and where would I find the source? Can't really find any info about it online and I'm

[android-developers] Re: PendingIntent Flag and AlarmManager behavior ?

2009-08-07 Thread Dianne Hackborn
Thanks. I closed the bug with a description of why this is so. Having data (action, type, Uri, categories, component) that is unique within the intent is the way to do this. You can also use the request code to disambiguate them. On Fri, Aug 7, 2009 at 12:16 PM, SR stan.r...@gmail.com wrote:

[android-developers] Re: ImageView setImageResource

2009-08-07 Thread ZoobTheSimian
Hi. I've been having the same problem - working on a card game, and I need to do some actions when the player picks a card. The card may be left face up, or may be turned back over. The problem I was having, as above, was that if I handled all the logic in the onClick(), it didn't display the

[android-developers] Re: PendingIntent Flag and AlarmManager behavior ?

2009-08-07 Thread SR
Ok, then the documentation should not imply that AlarmManager.set(...) uses filterEquals(...) to compare the intents. It should say instead that (action, type, Uri, categories, component) are used for comparison of intents. Also, the documentation for PendingIntent currently explicitly says

[android-developers] Re: ImageView setImageResource

2009-08-07 Thread Mark Murphy
ZoobTheSimian wrote: I've moved all the logic about whether the card should stay face-up or flip over again into a separate function, called in a new thread. Brilliant. Almost works great (the card shows its face), but it doesn't quite. For some reason, it's failing on the line

[android-developers] Potential problem when judging ADC2 applications

2009-08-07 Thread Sebastian
From what I've read, users will be able to download a special app that will let them judge the applications submitted to the Android Development Contest. It has also been said that, once submitted, you won't be able to update your applications. And as you've probably read, you can submit your

[android-developers] Re: PendingIntent Flag and AlarmManager behavior ?

2009-08-07 Thread SR
Dianne, Thank you for your explanations and time. I think the issue is clear now, and just a little bit more discussion remains on how to clarify it to others. It does use filterEquals(). Agreed, but filterEquals() of the Intent class proper. Maybe making Intent.filterEquals() *final* would

[android-developers] Re: PendingIntent Flag and AlarmManager behavior ?

2009-08-07 Thread Dianne Hackborn
On Fri, Aug 7, 2009 at 12:53 PM, SR stan.r...@gmail.com wrote: Ok, then the documentation should not imply that AlarmManager.set(...) uses filterEquals(...) to compare the intents. It should say instead that (action, type, Uri, categories, component) are used for comparison of intents. It

[android-developers] How to pass an object to an Activity via Intent.putExtra()

2009-08-07 Thread fhucho
Hi, I am developing an app that connects to a server. For that connection I created a class Client that maintains info about the connection . My app consists of several Activities and each of that Activity needs access to the Client object to communicate to the server. 1) Can I put somewhere the

[android-developers] Sharing Industry Stats: Android Reeling in iPhone?

2009-08-07 Thread Peter Farago
Hi everyone, Flurry Analytics uses the data collected from now over 200 million montly tracked user sessions to spot trends in the industry. Sharing the latest from our July Smartphone Industry Pulse, which we hope you'll find helpful.

[android-developers] Re: ImageView setImageResource

2009-08-07 Thread ZoobTheSimian
Wow - fantastic. Thanks very much, Mark - that sounds spot on. I'm pretty new to Android (and Java, for that matter), so I'm still learning and I've just been banging my head against the wall on this one! I'll give it a try and update once it's resolved. Thanks again. On Aug 7, 8:54 pm, Mark

[android-developers] Re: Broadcasting reboot intent

2009-08-07 Thread markwhitney
Got it to work. For reference to anyone else, in addition to signing with the platform key, the ACTION_REBOOT intent has to have a few extras defined. Without any extras, it looks like the Watchdog thread will basically ignore it. This code would do an immediate reboot: Intent i = new

[android-developers] ZooShaker is fun for all ages

2009-08-07 Thread Hunter Peress
ZooShaker is a fun app for kids and adults. Select an animal by hilarious pictures, and shake the phone. http://zooshaker.codejanitor.us --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Broadcasting reboot intent

2009-08-07 Thread Dianne Hackborn
Not only is it not in the API docs, but because as you say you need to be signed with the platform cert, you can only use this if you are running on a device whose system software you have built yourself. On Fri, Aug 7, 2009 at 1:55 PM, markwhitney markwhit...@gmail.com wrote: Got it to work.

[android-developers] Re: XML Parser

2009-08-07 Thread Yusuf T. Mobile
GIYF http://www.ibm.com/developerworks/xml/library/x-android/ Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Aug 7,

[android-developers] Re: Android Lap top connection

2009-08-07 Thread Yusuf T. Mobile
Tethering is not officially supported by the Android platform. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Aug

[android-developers] Re: take screenshot programmatically

2009-08-07 Thread Yusuf T. Mobile
You cannot programmatically take a screenshot unless the phone is rooted, meaning the applications are running as root. Phones are not sold rooted, but some rapscallions hack them anyway. The other way to take a screenshot is with the DDMS, but that is not programmatic. Yusuf Saib Android ·T·

[android-developers] Re: PendingIntent Flag and AlarmManager behavior ?

2009-08-07 Thread Dianne Hackborn
On Fri, Aug 7, 2009 at 1:12 PM, SR stan.r...@gmail.com wrote: The only meaning I was equipped with was one given by the documentation of PendingIntent. I think adding a little paragraph to the top of that class's documentation talking about the role of requestCode would help. This is

[android-developers] Re: Moving a View Object in a Circle

2009-08-07 Thread Yusuf T. Mobile
Depending on what your View does, you can either implement View.onDraw () to draw it as you like, or View.MeasureSpec to contorl the layout. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual

[android-developers] Multiple line Notification

2009-08-07 Thread Peacemoon
I use NotificationManager to write a Notification. I want now a multiple-line text for my notification. Is it possible? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: In call dialpad/menu confusion - am I the only one?

2009-08-07 Thread Jeff Sharkey
Platform improvements are ongoing, and this specific issue is being addressed in an upcoming release. j On Fri, Aug 7, 2009 at 11:31 AM, sambukacpwern...@googlemail.com wrote: When in a call, there is a confusion in the UI in selecting options. DTMF is sent flicking up the 'dialpad', and

[android-developers] Re: Multiple line Notification

2009-08-07 Thread Jeff Sharkey
Yes, look at using a custom layout through RemoteViews, which is how Music shows multiple lines in its notification: http://android.git.kernel.org/?p=platform/packages/apps/Music.git;a=blob;f=src/com/android/music/MediaPlaybackService.java;hb=cupcake#l985 j On Fri, Aug 7, 2009 at 2:56 PM,

[android-developers] Re: Do I have to test my app on Dev Phone for ADC II

2009-08-07 Thread -v-
Thx for the reply. I am very new to this..can you point me to some appstores which does beta testing? ALSO, is it required that I need to sign my application before it can be deployed on a cell phone? If yes then how do I sign the app? Do I have to buy a certificate for that? Thanks again -v- On

  1   2   >