[android-developers] Re: Parser XML return table

2009-09-17 Thread BJP
What will the XML file look like, and what will the resulting table of strings contain? Generally speaking, to use a SAX parser, you might create a class that extends org.xml.sax.helpers.DefaultHandler. Then, you execute the parser passing an instance of your handler class -- the parser reads

[android-developers] Re: Is there any way to get paticular vertion of android source code?

2009-09-17 Thread William Hua
Thanks ralf. Just wonder if ther is any qiuck way to switch to some tag, you know repo init takes at least 3 hours on my network. On 9月17日, 下午1时50分, Raphael r...@android.com wrote: On Wed, Sep 16, 2009 at 10:35 PM, William Hua krypto...@gmail.com wrote: I've synced my android repository

[android-developers] java.lang.StackOverflowError for sdk1_5r3

2009-09-17 Thread jagtap.jj
Hello everybody Some serious error I am using custom listadapter for ListActivity, but half adapter is getting built and then throws java.lang.StackOverflowError. When I ran the same code on sdk1_1r1 it works perfect. When do i try to run on sdk1_5r3, gives this error. Generally

[android-developers] Re: java.lang.StackOverflowError for sdk1_5r3

2009-09-17 Thread Romain Guy
You have (way) too many views. Remove a few. Your app will load faster, layout faster, draw faster and won't crash. On Wed, Sep 16, 2009 at 11:38 PM, jagtap.jj jagtap...@gmail.com wrote: Hello everybody Some serious error I am using custom listadapter for ListActivity, but half adapter is

[android-developers] InstantiationException while starting Service

2009-09-17 Thread javame_android
Hi All, I have developed an application which listens for the incoming message. When the message arrives, I am reading that message then invoking the service to delete that message. But when invoking the service I get an error as unhandled exception InstantiationException: Cannot instantiate the

[android-developers] Re: HTTP Connections?

2009-09-17 Thread MarQuel Middleton
Yea i mean this is my first actual applications and im really confused do i have to make a xml layout to read the open stream? On Sep 16, 11:58 pm, BJP bjpcalt...@gmail.com wrote: To read a file from a standard internet connection protocol, just create a new java.net.URL and access its

[android-developers] Re: java.lang.StackOverflowError for sdk1_5r3

2009-09-17 Thread jagtap.jj
Thanks for quick reply In list item having four views[2 text views, and 2 buttons]. Is there any another way, I want to keep 4 views for single list item. Actually In app I do have another Tab also it also having custom list adapter and list item also having 4 views(2 TextView and 2

[android-developers] after launch Gallery, file pushed to sdcard has length 0

2009-09-17 Thread allstars
hello world i use latest android sdk 1.6_r1 i launch the emulator(with the avd comes with sdcard ) then using adb push to push some videos and pictures onto sdcard because i cannot insert/eject sdcard on emulator so i reboot it after reboot, Gallery can find my videos and pictures just

[android-developers] Invitation to connect on Linkedin.

2009-09-17 Thread Android Development
Hello, An invitation to connect on linked in. Feel free. http://www.linkedin.com/in/abhatnagar19 --~--~-~--~~~---~--~~ 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: java.lang.StackOverflowError for sdk1_5r3

2009-09-17 Thread Romain Guy
The problem is the number of parents you have. On Wed, Sep 16, 2009 at 11:52 PM, jagtap.jj jagtap...@gmail.com wrote: Thanks for quick  reply In list item having four views[2 text views, and 2 buttons]. Is there any another way, I want to keep 4 views for single list item. Actually In app

[android-developers] Re: HTTP Connections?

2009-09-17 Thread BJP
Android is probably not the ideal language to learn how to program generally ~ there are many other languages better suited to that. I personally recommend VB.NET -- it's free and easy and structured very similar to Java, so most general knowledge acquired there will transfer easily back to

[android-developers] Why does media scanner not list the audio file suffixed with .aac.

2009-09-17 Thread Tony Yang
I push a audio file named music.aac into SD card, and then execute Media Scanner application or re-start the device. I found that media scanner didn't process .aac file, so the music.aac file doesn't exist in music player. But Android supports AAC/AAC+/eAAC format. So who know the reason that

[android-developers] Re: Unable to write text file to sdcard on physical G1 device

2009-09-17 Thread Shrenik Vikam
WRITE_EXTERNAL_STORAGE is there in 1.6 what abt 1.5 ??? On Sep 10, 12:30 am, androiduser mobile androiduser.mob...@gmail.com wrote: I got it working with a permission change in the manifest file. I added WRITE_EXTERNAL_STORAGE and it worked like a gem :)). On Sep 9, 12:13 pm, Chris Stratton

[android-developers] Re: Unable to write text file to sdcard on physical G1 device

2009-09-17 Thread tauntz
Applications targeted for 1.0, 1.1 and 1.5 will be able to write to the external storage without any permissions. They will continue to work just like they have till today. http://developer.android.com/sdk/android-1.6.html#api-changes WRITE_EXTERNAL_STORAGE: Allows an application to write to

[android-developers] Re: Displaying a panoramic image

2009-09-17 Thread Olivier Guilyardi
On 16 sep, 19:18, Yusuf Saib (T-Mobile USA) yusuf.s...@t- Mobile.com wrote: - is there any Android component for this around ? No[t to my knowledge]. - may I encounter performances problems doing image computation in pure Java when scrolling, etc..? It might be slow and/or occasionally

[android-developers] connect to Google maps API or app to trace routes ...

2009-09-17 Thread LEMESLE Philippe
Hello, i'm trying to trace routes thanks to the Google maps API. I'm disappointed because i haven't found any informations in docs. An alternative would be for me to launch the Google maps app embedded in the system, with the route. I succesfully launch the application, but i haven't found

[android-developers] Re: How use root permission

2009-09-17 Thread Francesco Pace
Yeah, with adb remount my program works correctly. But If I want set root permission at my simple application (File Browser), How can I do? Thanks... 2009/9/16 cs_post...@hotmail.com cs_post...@hotmail.com Running the mount command from a shell will likely show that /system is mounted

[android-developers] Re: singleTask really always at the root of activity stack?

2009-09-17 Thread RickardF
Thanks for your response. I've browsed this group and it seems the launchMode settings have caused a little confusion at times. This is also valid for me, I'm afraid... Anyway, I have pasted an excerpt from the output of adb shell dumpsys activity (sorry for the mass of text) for the situation

[android-developers] avoiding Activity stack overflow...

2009-09-17 Thread sdphil
I have the following situation. I have a task with the following activity stack -- A - B - C I have a menu item that allows me to start activity D; so my activity stack looks like this -- A - B - C - D Then I could select a menu item that allows me to start an activity C, which would cause my

[android-developers] Re: How to create an app which will install other .apk

2009-09-17 Thread DaminouU
OK ! Thank you. I will try this solution. It should work ! On 16 sep, 19:32, Jack Ha jack...@t-mobile.com wrote: One way you can do is to first save the .apk file in /sdcard and then install it with the following code:         Intent intent = new Intent(Intent.ACTION_VIEW);        

[android-developers] Re: Android 1.6 SDK is here!

2009-09-17 Thread Teo
For me GEO searches (geo:0,0?q=somelocation) aren't working any more, is it just me or is it happening to others too? The message says that there's no activity to handle this intent... On Sep 17, 7:20 am, gjs garyjamessi...@gmail.com wrote: Hi Xavier, Thanks for the details. I downloaded

[android-developers] Re: avoiding Activity stack overflow...

2009-09-17 Thread tauntz
Hi, I guess that's exactly what you are looking for: http://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_REORDER_TO_FRONT If set in an Intent passed to Context.startActivity(), this flag will cause the launched activity to be brought to the front of its task's

[android-developers] Starting an Activity (with the dialog theme) from the onCreate() of another Activity results in a black screen.

2009-09-17 Thread Jeremy Logan
I've had this problem in a few different apps now and I can't seem to find a solution. If, in the onCreate() of an Activity, I start a new activity that uses the dialog theme (via android:theme=@android:style/Theme.Dialog in the manifest) it doesn't draw anything to screen... the whole screen

[android-developers] Re: avoiding Activity stack overflow...

2009-09-17 Thread sdphil
perfect, thx! On Sep 17, 1:40 am, tauntz tau...@gmail.com wrote: Hi, I guess that's exactly what you are looking for:http://developer.android.com/reference/android/content/Intent.html#FL... If set in an Intent passed to Context.startActivity(), this flag will cause the launched activity

[android-developers] Re: connect to Google maps API or app to trace routes ...

2009-09-17 Thread Jeremy Logan
You'll have to draw your route manually (in a MapView) with an overlay. Thy the example here: http://developer.android.com/guide/tutorials/views/hello-mapview.html On Sep 17, 1:02 am, LEMESLE Philippe philippe.leme...@alyotech.fr wrote: Hello, i'm trying to trace routes thanks to the Google

[android-developers] Proxy support not working in Android 1.6 emulator

2009-09-17 Thread Markus Junginger
After upgrading to SDK 1.6 the emulator seems to be unable the Internet through a proxy (-http-proxy option). The same is working in SDK 1.5R3. Can anyone confirm? Did I miss something? Thanks Markus --~--~-~--~~~---~--~~ You received this message because you

[android-developers] How to set default date fromat

2009-09-17 Thread ABS
Hi I m trying to set defauut date format but unable to set as by default android is reading from string ro.com.android.dateformat please let me know where i can find this string and how i can change. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Best practice for implementing watchdog

2009-09-17 Thread BJP
I'm writing an application where real-time knowledge of the GPS state is critical to convey to the user. I request GPS updates at 1000 ms intervals -- when I haven't received another update 1500 ms past the most recent update, I want to display a yellow icon, and 5000 ms after the most recent

[android-developers] Re: connect to Google maps API or app to trace routes ...

2009-09-17 Thread LEMESLE Philippe
thank you for your answer ... but i have already integrated a map in my app with points on overlays Why com.google.googlenav is deprecated ? Google don't want us to show routes on maps ? -Message d'origine- De : android-developers@googlegroups.com

[android-developers] ScrollView Problem

2009-09-17 Thread Rahul
HI, I am Creating one Application and in this application i am using TouchEvent and ScrollView .In ScrollView i put one AbsoluteLayout and inside the AbsoluteLayout i am adding Row Dynamically. for That Row i am Using TouchEvent to drag the item. my Problem is whenever i am trying to Drag row

[android-developers] Signing apps

2009-09-17 Thread Neilz
Hi all. Just trying to get my head around this signing principle. The dev guide says: The Android system will not install or run an application that is not signed appropriately. But I haven't signed the app I'm developing, and it runs fine on both the emulator and my device. Ok, so it's being

[android-developers] Re: Signing apps

2009-09-17 Thread Marc Lester Tan
Yes you can send your apps signed by the debug key to your friends but they need to make sure Uknown sources is checked under the Application settings. Also, Android Market will not accept your APK if it is signed by the debug key. -Marc On Thu, Sep 17, 2009 at 5:42 PM, Neilz

[android-developers] Re: Hello

2009-09-17 Thread Gulfam
Hi Suzanne Welcome to this group you can help others by your posts here. gulfam On Sep 17, 4:06 am, Don Tran arro...@gmail.com wrote: so tell us when will the motorola sholes be ready? On Sep 16, 1:07 pm, Mark Murphy mmur...@commonsware.com wrote: suzanne.alexandra wrote: I'm

[android-developers] Re: multicast permission of dalvik and how to attach to dalvik env?

2009-09-17 Thread cavalzheng
For solution of issue 2: We must provide JNI_OnLoad interface and save a global ref of jvm class for callback in it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: question about the conference

2009-09-17 Thread Daniel Drozdzewski
Romain and Mark - thanks a lot for the pointers! Daniel On Sep 16, 10:56 pm, Mark Murphy mmur...@commonsware.com wrote: Daniel Drozdzewski wrote: Hello Androiders! Quick question:  - are there any Android related conferences happening in the near future? I googled but have been

[android-developers] Re: Can I keep a broadcast receiver process alive by creating a service that stays around?

2009-09-17 Thread Mark Murphy
Satya Komatineni wrote: The app widget documentation indicates that the widget provider being a receiver of a broadcast service may not exist (the process) beyond the completion of the call. If I want to maintain state between two broadcast events, such as say widgetProvider.onUpdate(),

[android-developers] Re: Signing apps

2009-09-17 Thread Neilz
Ok thanks, and as far as Google and Android are concerned there is nothing wrong with someone doing this? On Sep 17, 10:48 am, Marc Lester Tan mail...@gmail.com wrote: Yes you can send your apps signed by the debug key to your friends but they need to make sure Uknown sources is checked under

[android-developers] Re: will the device wake up if there is a widget instance on the homepage but the widget provider or receiver is disabled?

2009-09-17 Thread Mark Murphy
Satya Komatineni wrote: Diane, Perhaps I got my question wrong. But the following url http://developer.android.com/guide/topics/appwidgets/index.html indicates that Note: If the device is asleep when it is time for an update (as defined by updatePeriodMillis), then the device will

[android-developers] Re: Best practice for implementing watchdog

2009-09-17 Thread Mark Murphy
BJP wrote: I'm writing an application where real-time knowledge of the GPS state is critical to convey to the user. I request GPS updates at 1000 ms intervals -- when I haven't received another update 1500 ms past the most recent update, I want to display a yellow icon, and 5000 ms after

[android-developers] Re: Menu buttons in bottom part of layout

2009-09-17 Thread Mihai Dumitrache
Hello, Thanks. I don't know if this is a hack (it looks like at least for me), but it's cool. I would ask you if this is how you really build you layout on android ? using scrollview for stretching views on different screen sizes, or is there some official guidelines to follow. Is there some kind

[android-developers] Route Audio Output to Mic?

2009-09-17 Thread Cheng Zhong
Hi guys, I'm trying to play a music (using MediaPlayer) during a call and want the caller to hear the music I'm playing. Unluckly it doens't seem work at all, the caller hear nothing even I set the music volumn to MAX ( of course, the speaker and the mic on Android are far away from each other).

[android-developers] Re: android application enable handset

2009-09-17 Thread Ajaz Ahmed
HI, http://en.wikipedia.org/wiki/Android_%28operating_system%29#Hardware_products_running_Android Regards! Imtiaz Ali Shah On Wed, Sep 16, 2009 at 5:49 PM, Zeeshan Muhammad genx...@gmail.com wrote: i am also looking for the answer. On Wed, Sep 16, 2009 at 11:11 AM, Ajaz Ahmed

[android-developers] Re: connect to Google maps API or app to trace routes ...

2009-09-17 Thread Lance Nanek
launch the Google maps app embedded in the system, with the route. If you just have a source and destination, you can get the Maps app to show its own route between them with something like this: Uri uri = Uri.parse(http://maps.google.com/maps?

[android-developers] Re: java.lang.StackOverflowError for sdk1_5r3

2009-09-17 Thread jagtap.jj
Marvelous! I just reduced one hierarchy of view group, and its working fine. Thanks for valuable guide. The hierarchy for list item layout was LinearLayout-TableLayout- TableRow-LinearLayout-Button Now just I removed the last layer of hierarchy LinearLayout- TableLayout-TableRow-Button

[android-developers] Re: java.lang.StackOverflowError for sdk1_5r3

2009-09-17 Thread Mark Murphy
jagtap.jj wrote: In Android, what Is max view hierarchy level normally can be allowable? It varies based on what widgets and containers you are using and how you use them. I get nervous when a hierarchy (as shown by hierarchyviewer) gets much over 10 layers deep. -- Mark Murphy (a Commons

[android-developers] Terminate call programmatically

2009-09-17 Thread Ajaz Ahmed
Hi, Can any one tell me how can i hangup/terminate call programmatically? With the help of intent. Regards! Imtiaz Ali Shah --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] SMS intent does not fill in number

2009-09-17 Thread Gustav Mauer
I want to send an SMS from an application, but without needing the SMS permission, using an intent. This way the user can also decide if he/ she really wants to proceed to send the SMS. The code looks as follows: Uri smsToUri = Uri.parse(smsto:123456); Intent sendIntent = new

[android-developers] Drag and Drop from Source View to Target View

2009-09-17 Thread Raman
Hi All, I have a problem statement, and here it is: My requirement is: There are a number of images shown on the screen. I want to allow the user to drag and drop any of the images to anyother image. Based on which image is dragged and on which is it dropped, I need to do something specific. So,

[android-developers] Re: Drag and Drop from Source View to Target View

2009-09-17 Thread Mark Murphy
Raman wrote: If anyone of you ever faced a similar scenario, please let me know because I could not find a direct support to such a thing (Drag and Drop) in the platform, so may be I need to find an innovative solution to it. The home screen does something similar with widgets, and other

[android-developers] Re: Last modification time for each contact record in People table

2009-09-17 Thread Girish
Please Suggest me that how can we check the updation of each contact in the Contact.People table? On Sep 16, 9:50 am, Alex Tang tangli1987...@gmail.com wrote: In people table there is none column for last modify time. On Sep 15, 8:38 pm, Girish girishg...@gmail.com wrote: Dear All, I

[android-developers] Orientation : onStop onDestroy called from BACK key or not ?

2009-09-17 Thread Nanard
Hi, Each time I switch the orientation of the device, onStop() and onDestroy() are called. They are also called when I close the Avtivity (dismiss()), and when I press 'back' key. In onStop() or onDestroy() methods : how can I know how I can here ? I'd like to run some code when I close the

[android-developers] WebView : can we select text in Java ?

2009-09-17 Thread Nanard
Hi, I'd like to use WebView to display some content (from my Java code or local temp file). I need to select some characters (change background color) of the view. Of course I need to change those selected char. using my Java code. How can it be done ? Can you post a short example ? Thanks

[android-developers] Content on emulator

2009-09-17 Thread Neilz
Hi again. I've written an Intent which selects a photo from the gallery. The idea is that the image chosen is received within the onActivityResult() method. On the emulator, I have no images, and it simply says No media found. How do I assign images which are picked up within the emulator, so

[android-developers] How to show search bar with Suggestions

2009-09-17 Thread MyDroid
Hi All How I can have search bar with google suggestion as a Autocomplete in the view instead of lauching it as popup? I do not want use search manager UI which is displayed as pop dialog. Could you please point me to some link that show how to implement this? -MyDroid

[android-developers] Re: Disable WebKit JavaScript security for XMLHttpRequest

2009-09-17 Thread Miguel Paraz
Hi, I filed a bug. Please star it and comment: http://code.google.com/p/android/issues/detail?id=3930 On Sep 16, 10:05 pm, AJ ajeet.invinci...@gmail.com wrote: I am also looking the answer for this. Thank, AJ On Sep 16, 1:36 pm,MiguelParazmpa...@gmail.com wrote: Hi, Is there any way

[android-developers] test is not finished by system, infinite animation

2009-09-17 Thread Faboom
Hi, my activity is to show up with an infinite animation, started/ triggered in onResume(). The animation runs and everything seems to be fine. But in my test framework the ActivityInstrumentationTest for this AnimationActivity is not finished by the system, the test is struck and runs forever.

[android-developers] old TTS vs new TTS in 1.6

2009-09-17 Thread dsurround
Was the old TTS approach incorporated into the new SDK? If the old TTS was used for an application, will it have to be changed because of 1.6 update? Please advise. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: old TTS vs new TTS in 1.6

2009-09-17 Thread Mark Murphy
dsurround wrote: Was the old TTS approach incorporated into the new SDK? Android did not have TTS prior to 1.6. You may be thinking of the eyes-free project: http://code.google.com/p/eyes-free/ If the old TTS was used for an application, will it have to be changed because of 1.6 update?

[android-developers] Re: Can I keep a broadcast receiver process alive by creating a service that stays around?

2009-09-17 Thread Satya Komatineni
Mark, thanks for the response. You are right if the state can be kept in a persistent store, it is the way to go. However if you want the widget to be a window to what a service does, can one of the buttons on a widget start the service, stop the service, and also collect some stats from the

[android-developers] Re: ADC2 entries so far...

2009-09-17 Thread Carmen Delessio
Productivity: DroidDrop - drop.io client Now in the market, search droiddrop Use drop.io to privately share your files notes in drops. Use DroidDrop to: - Create View Drops - Add Notes, Links, and Photos - It's easy to start with the demo drop - View update in the demo and then create your

[android-developers] Re: Drag and Drop from Source View to Target View

2009-09-17 Thread Raman
Hi Mark, Thanks for your reply. I saw the behaviour you are talking about. If I am not wrong, you are talking about the ability to drag the application icons on the home screen to different locations. I am also able to achieve that, but, unfortunately, that is not what I want. The feature that

[android-developers] Re: Can I keep a broadcast receiver process alive by creating a service that stays around?

2009-09-17 Thread Mark Murphy
Satya Komatineni wrote: However if you want the widget to be a window to what a service does, can one of the buttons on a widget start the service, stop the service, and also collect some stats from the servcie. In such a case can the widget provider and the service stay in the apk file

[android-developers] Button.setTextColor, how to make it work? Options

2009-09-17 Thread WoodManEXP
Experimenting with some UI ideas I wanted to change the color in a button view some time after it had been initially drawn. So it seemed like calling .setTextColor() should do it. But it does not cause the color of the button text to change. Have even tried calling .invalidate() to force a

[android-developers] Re: Disable WebKit JavaScript security for XMLHttpRequest

2009-09-17 Thread Maps.Huge.Info (Maps API Guru)
Use JSON instead. No cross domain security with that method. -John Coryat What Zip Code? Radar Now! --~--~-~--~~~---~--~~ 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: Drag and Drop from Source View to Target View

2009-09-17 Thread Mark Murphy
Raman wrote: my requirement is to find out the View over which the movable View is dropped. Please note that on the basis of which target view, it is dropped at, I need to do a particular task. So effectively, this problem is reduced to finding the View from the coordinates to which it is

[android-developers] Text Alignment

2009-09-17 Thread Iroid
Hello All, I have to use EditText to show some text and the part of text has to be LEFT aligned and rest RIGHT aligned. Is there any way other then extending EditText? I looked for StringSpan option but could not get the way I want. Is there any pointers? Thanks

[android-developers] Re: tabs iphone style

2009-09-17 Thread nEx.Software
It is incredibly easy to put tabs at the bottom... Just provide a layout xml file that places the TabWidget at the bottom, you get bottom tabs. You can then specify a view to use for a tab indicator, so you can make it look however you want it to look. On Sep 16, 6:24 am, Wouter

[android-developers] Re: Content on emulator

2009-09-17 Thread Jack Ha
You can either take some pictures with the Camera app or use adb push to upload some pictures to the /sdcard. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and statements in this email are those of the

[android-developers] disabling t9 in password box

2009-09-17 Thread Anup
Can i disable t9 in input box ie textview control, password box. --~--~-~--~~~---~--~~ 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 To

[android-developers] Re: tabs iphone style

2009-09-17 Thread Desu Vinod Kumar
HI Take One mor layout and place it where evere u need header or footer ... and place a image tab as a sourece... it worked for me On Thu, Sep 17, 2009 at 8:31 PM, nEx.Software email.nex.softw...@gmail.comwrote: It is incredibly easy to put tabs at the bottom... Just provide a layout

[android-developers] Re: tabs iphone style

2009-09-17 Thread Desu Vinod Kumar
Hi see this example like this u custom tab also u can make by minute changes http://www.anddev.org/my_own_titlebar_backbutton_like_on_the_iphone-t4591.html On Thu, Sep 17, 2009 at 8:35 PM, Desu Vinod Kumar vinny.s...@gmail.comwrote: HI Take One mor layout and place it where evere

[android-developers] Re: tabs iphone style

2009-09-17 Thread Mark Murphy
nEx.Software wrote: It is incredibly easy to put tabs at the bottom... Just provide a layout xml file that places the TabWidget at the bottom, you get bottom tabs. You can then specify a view to use for a tab indicator, so you can make it look however you want it to look. *blink, blink* How

[android-developers] Re: Terminate call programmatically

2009-09-17 Thread Jack Ha
You cannot hangup/terminate call programmatically. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not

[android-developers] Resuming a Large File Download

2009-09-17 Thread skyhigh
I am trying to implement the functionality to resume a large file download, but have not found how to start downloading from a position that is not at the beginning of an InputStream. I am currently using the InputStream.skip() method to go to the position where I want to resume the download,

[android-developers] Re: tabs iphone style

2009-09-17 Thread nEx.Software
Hmm... This must be a 1.6 SDK change... On Sep 17, 8:06 am, Mark Murphy mmur...@commonsware.com wrote: nEx.Software wrote: It is incredibly easy to put tabs at the bottom... Just provide a layout xml file that places the TabWidget at the bottom, you get bottom tabs. You can then specify a

[android-developers] Re: tabs iphone style

2009-09-17 Thread nEx.Software
Yes... http://developer.android.com/sdk/api_diff/4/changes/android.widget.TabHost.TabSpec.html On Sep 17, 8:16 am, nEx.Software email.nex.softw...@gmail.com wrote: Hmm... This must be a 1.6 SDK change... On Sep 17, 8:06 am, Mark Murphy mmur...@commonsware.com wrote: nEx.Software wrote:

[android-developers] Re: tabs iphone style

2009-09-17 Thread Mark Murphy
nEx.Software wrote: Yes... http://developer.android.com/sdk/api_diff/4/changes/android.widget.TabHost.TabSpec.html Ah, yes. setIndicator() used to just have the Drawable options, not the whole View. I'll have to experiment with these. Thanks for pointing this out! -- Mark Murphy (a Commons

[android-developers] Re: SMS intent does not fill in number

2009-09-17 Thread Jack Ha
Try: sendIntent.putExtra(address, 123456); -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not

[android-developers] Re: Why does media scanner not list the audio file suffixed with .aac.

2009-09-17 Thread Marco Nelissen
On Thu, Sep 17, 2009 at 12:23 AM, Tony Yang tonyyang...@gmail.com wrote: I push a audio file named music.aac into SD card, and then execute Media Scanner application or re-start the device. I found that media scanner didn't process .aac file, so the music.aac file doesn't exist in music

[android-developers] Re: tabs iphone style

2009-09-17 Thread nEx.Software
I had actually copied the sources for TabActivity, TabHost, and TabWidget from the Open Source Project yesterday, I didn't realize that this was a change actually until your response. I am not even using the 1.6 SDK yet... I am now going to peruse the diff report a little more closely. On Sep

[android-developers] Re: old TTS vs new TTS in 1.6

2009-09-17 Thread dsurround
Thanks Mark, that is a better way to ask the question. Seems like the 1.6 version was derived from the eyes-free TTS software. I have a running app that used TTS that I was just about to launch, so wanted to get a feel for whether to hold off and adapt or just to go ahead since it will continue

[android-developers] Re: Button.setTextColor, how to make it work? Options

2009-09-17 Thread Jack Ha
For example, button.setTextColor(Color.CYAN) should work. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not

[android-developers] Re: WebView : can we select text in Java ?

2009-09-17 Thread Miguel Paraz
On Sep 17, 8:13 pm, Nanard bsegon...@free.fr wrote: Hi, I'd like to use WebView to display some content (from my Java code or local temp file). I need to select some characters (change background color) of the view. Of course I need to change those selected char. using my Java code. How

[android-developers] Re: Route Audio Output to Mic?

2009-09-17 Thread Roman ( T-Mobile USA)
When you are in a call the audio is controlled by the baseband (this is valid for the HTC hardware). It might be that the new Motorola cliq offers here more flexibility -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are

[android-developers] Re: Orientation : onStop onDestroy called from BACK key or not ?

2009-09-17 Thread Chris Stratton
If you want to do something on the back button, look into the various button and event listeners and see if it's that button. Depending on what you register for and what you return, the ordinary back button consequences may not longer happen, ie you app can preempt them or not. Note that in

[android-developers] Re: How use root permission

2009-09-17 Thread Roman ( T-Mobile USA)
IF you want to set root permission with your app, the application has to be started as root. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·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

[android-developers] Re: Signing apps

2009-09-17 Thread Jack Ha
I don't see anything wrong with that. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily

[android-developers] Re: Android 1.6 SDK is here!

2009-09-17 Thread Julian
Hi, I will try to speak in english :-) my question is, will the g1phone be able to run 1.6 (system requirenments)? Julian. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Image in RemoteView disappearing or changing

2009-09-17 Thread ccylan
Hi, as an update, I noticed that the resource IDs in the BroadcastReceiver's application and that of the calling application appear to be overlapped and getting confused with one another. On Sep 16, 5:20 pm, ccylan charles.cy...@gmail.com wrote: Hello, Over the past few days I have been

[android-developers] 1.6 SDK - OpenGL

2009-09-17 Thread nEx.Software
So, I see that there have been some changes in the android.opengl package, specifically the addition of GLES10, GLES11, GLES10Ext, and GLES11Ext. These appear to be exactly the same as those similarly named in the javax.microedition.khronos.opengles package. So I have to ask... Are these the

[android-developers] Re: ANDROID SDK 1.6 DOES NOT SUPPORT ARABIC LOCALE

2009-09-17 Thread Yusuf Saib (T-Mobile USA)
You are right. Arabic letters are all rendered as uniform rectangles, which is even worse than the slightly-comical way in which the iPhone renders Arabic. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their

[android-developers] Like to look at space?

2009-09-17 Thread Andrei
Search for free app NASAImages on Market --~--~-~--~~~---~--~~ 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 To unsubscribe from this

[android-developers] Re: connect to Google maps API or app to trace routes ...

2009-09-17 Thread John P.
I think they deprecated their API per Maps terms and conditions, http://maps.google.com/help/terms_maps.html, section 2g. Anyone more knowledgeable about this restriction, feel free to clarify. On Sep 17, 5:15 am, LEMESLE Philippe philippe.leme...@alyotech.fr wrote: thank you for your answer

[android-developers] Re: Menu buttons in bottom part of layout

2009-09-17 Thread Dianne Hackborn
It's not a hack, its telling the linear layout to do the kind of stuff that it does: reserve no space for that view (height=0), but give it all remaining space (weight=1 and all other views left with the default weight=0). And yes, this is a typical way of building a UI that can deal with

[android-developers] Re: will the device wake up if there is a widget instance on the homepage but the widget provider or receiver is disabled?

2009-09-17 Thread Dianne Hackborn
Ah sorry I am probably mistaken on that. So keep that time long please. :) On Thu, Sep 17, 2009 at 2:57 AM, Mark Murphy mmur...@commonsware.comwrote: Satya Komatineni wrote: Diane, Perhaps I got my question wrong. But the following url

[android-developers] Re: singleTask really always at the root of activity stack?

2009-09-17 Thread Dianne Hackborn
Ah the problem is that you want to put singleTask on what you have -published- as your main activity, which is the splash screen. This is the thing that the use launches from home. What has happened is: 1. Splash screen launched into its own task. 2. Main activity launched into its own task. 3.

[android-developers] Re: How use root permission

2009-09-17 Thread Chris Stratton
Your problem is not in setting root permission, but in trying to do something that root permission does not directly enable, such as writing to a read-only file system. To do that your program will have to remount the filesystem read/write, or you will have to change the system startup scripts

[android-developers] Re: Image in RemoteView disappearing or changing

2009-09-17 Thread Lee
I had/have the/a disappearing widget image problem too, and mine wasn't related to orientation changes. My post is back 10 pages or so. I also posted how I got round it: keeping the image cached in device memory and then setting the removeview image with views.setImageViewUri. Good luck, Lee

[android-developers] Re: Menu buttons in bottom part of layout

2009-09-17 Thread Dianne Hackborn
Let me add to this a little more, in case I give a mistaken impression: I can't imagine an app that will need to design different layouts for all of these screen sizes. In fact, the vast majority of apps only need one layout, period. As long as you consider how your UI can be resized when you

[android-developers] Default behaviour of the Back button

2009-09-17 Thread Dexter#39;s Brain
Hi, I am confused, as to what the default behaviour of the back button is, as far as the Android platform is concerned. For example, in the Contacts Application, if I am creating a contact, I just key in a name, and the press back button, the contact is saved with only the name. Fair enough.

  1   2   3   >