Re: [android-developers] How to see database files of my phone?

2010-07-22 Thread Nency Robert
How to root the phone? Any command for that? On Wed, Jul 21, 2010 at 5:18 PM, Webnet Android webnet.andr...@gmail.comwrote: On 21 July 2010 13:44, Nency Robert avayam...@gmail.com wrote: HI, I want to see the database files of my phone is it possible? You have to root your phone.

Re: [android-developers] Re: Are there any ways that allows a developer to leave a reply to the comments in the market?

2010-07-22 Thread TreKing
On Wed, Jul 21, 2010 at 4:07 PM, Pent tas...@dinglisch.net wrote: You get updates for it like that too ? i.e. for a possible pirated install ? No, the Market is not that stupid. On Wed, Jul 21, 2010 at 4:49 PM, String sterling.ud...@googlemail.com wrote: So I can't consider this a

[android-developers] Re: Android Market paid app download errors

2010-07-22 Thread Sam
Hi William When you say you are getting issues - what exact issues are you referring to? I am guessing - but if the problem you have is that a copy protected app is not showing up on the market for a user running 2.2 Froyo. It is likely that it is because the android market does not show copy

Re: [android-developers] Re: aidl's, service, and multiple packages

2010-07-22 Thread Dianne Hackborn
Note that you can also use the Messenger class to communicate instead of defining an aidl interface. This is often easier to do -- see the example in the documentation: http://developer.android.com/reference/android/app/Service.html#RemoteMessengerServiceSample On Wed, Jul 21, 2010 at 10:49 PM,

[android-developers] Re: Eclipse Helios

2010-07-22 Thread jeffro
Yes, stay on 3.5. You will get a bunch of editor errors when attempting to edit XML files. Visit Trackaroo.com! Trackmaster - Motorsports Lap Timer Dynomaster - Performance Dyno On Jul 21, 12:55 am, hippy firsthi...@gmail.com wrote: On Jul 3, 6:25 am, kihbord kihb...@gmail.com wrote: Any

Re: [android-developers] Lifetime of background parent activity after startActivityForResult()

2010-07-22 Thread Dianne Hackborn
On Tue, Jul 20, 2010 at 1:45 PM, Kostya Vasilyev kmans...@gmail.com wrote: I think the real question is: if Activity A gets killed by the time B finishes, will A be recreated to deliver the result? Yes it will be... well, it will be recreated the next time the user visits it (and thus it is

[android-developers] Re: Updates from a Web Server

2010-07-22 Thread jeffro
I'd just send a simple HTTP Get Request periodically and process the response. URL url = new URL(http://;); url.openStream() //process the stream Jeff Visit Trackaroo.com! Trackmaster - Motorsports Lap Timer Dynomaster - Performance Dyno On Jul 21, 2:22 pm, KG kevinconca...@gmail.com

Re: [android-developers] Closing the Web Browser

2010-07-22 Thread TreKing
On Wed, Jul 21, 2010 at 10:24 PM, Adam Laster aelas...@gmail.com wrote: Is it possible to close the browser after I've navigated back to my app via the redirect? No. Use a WebView. - TreKing

Re: [android-developers] Re: make app as default app

2010-07-22 Thread TreKing
On Wed, Jul 21, 2010 at 1:15 AM, Swati mani21_1...@yahoo.com wrote: What the original poster meant was if there is a programmatic way to present this option to the user. Just curious: how do you know this is what the OP meant?

[android-developers] Re: can we start application after installing .apk file

2010-07-22 Thread FrankG
Hello Kostya, This brings up the most recent applications list - and has nothing to do with running processes, it is NOT the kind of list you see in a task manager type application. In principle I would agree, but my experiences with two devices is a different one : It can behave like a Tab

[android-developers] Change widget dimensions on orientation change

2010-07-22 Thread Kumar Bibek
Hi, I thought it would be simple, but I am stuck. I have a widget which has say, a dimension of 294*72(portrait). But when the orientation is changed, I need to change this dimension of the widget to another dimension which would look good on the landscape orientation. Is this possible? --

[android-developers] Re: how do you guys feel about the develop tools?

2010-07-22 Thread Doug
I use Eclipse daily, both professionally and personally. It's a fine tool. If you don't like the logcat in Eclipse (I don't), run `adb logcat` from a terminal. Run `adb logcat | grep 'yourtag'` if you want just your apps' messages. The emulator is just fine. It can take a while to launch, but

[android-developers] Re: monetizing apps with a subscription model or in-app purchases

2010-07-22 Thread Doug
You could check out: http://www.giffads.com/ You can upsell your app without having to litter it with ads (and the users get it for free), especially if you have a free (crippled) and full paid version. There is no subscription service yet. Perhaps contact them if that's what you want? I just

[android-developers] Re: how centralize view in absolutelayout

2010-07-22 Thread claesh
Sure, another layout is the preferred way, but that was not the question at hand. Claes Huittinen - http://code.google.com/p/leapconfigurator/ On Jul 21, 11:23 am, Kostya Vasilyev kmans...@gmail.com wrote: Or use something more reasonable - RelativeLayout. With it, you can still position some

[android-developers] Problem retrieving any List from Twitter using JTwitter.

2010-07-22 Thread madmax
Hi All, I'm making a twitter client for Android and am using the JTwitter API for it. The problem i get is while retrieving any List e.g. List of followers (List of type User) i get a very weird error which is like this : winterwell.jtwitter.TwitterException:

[android-developers] Positioning a SlidingDrawer

2010-07-22 Thread sasq
It seems to me that per default, the ONLY thing a SlidingDrawer provides is a fancy way of switching between to fullscreen views. Have I missed something or can you position the drawer so it only covers part of the screen without doing some hacks? Right now I am setting android:topOffset to a

[android-developers] Contact list attatchment

2010-07-22 Thread siddhantjain....@gmail.com
How can i include any no of contacts from my contatc list in any app. I am a newbie please help Sent from my Nokia phone -- 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: OpenGL Material

2010-07-22 Thread dsl
Thanks for the link. I've used glColorf and that seems to work, but it was my understanding that a combination of glLightfv and glMaterialfv would also set the color. Cheers, David On Jul 21, 5:53 pm, jojoma thanat...@gmail.com wrote: I don't know much of OpenGL too, but I think your triangle

[android-developers] Re: Framework base Interfaces not find on target.

2010-07-22 Thread FrankG
Hi Chetan, I assume that you have to build a new system image for that and flash your device. Good luck ! Frank On 22 Jul., 07:46, chetan chetanchauha...@gmail.com wrote: Hi,            i  have created an application XYZApp and put it in package/ apps directory of eclair source code and

[android-developers] Re: Transferring control from Non UI thread to Ui Thread

2010-07-22 Thread droidsan
Using flag FLAG_ACTIVITY_NEW_TASK is done as follows: Intent startIntent = new Intent(); // Initialize Intent to start your Activity implicitly or explicitly startIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); Regards, Droid-san On Jul 22, 7:53 am, Ajmer singh ajmer.si...@evontech.com wrote:

[android-developers] Re: jni

2010-07-22 Thread FrankG
If it is a platform extension and part of the system, that putting the shared lib in the apk will not help. In this the lib must be unter /system/lib. Good luck ! Frank On 22 Jul., 07:13, Rajesh Pelluru mail2pell...@gmail.com wrote: Hi, If your app uses native code then you need to

[android-developers]

2010-07-22 Thread poonam sinha
does anyone knows how to install android 2.2 I am little bit confuse -- 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 group, send email to

Re: [android-developers]

2010-07-22 Thread Rajesh Pelluru
What's ur confusion ??? They clearly mentioned steps in android developer portal. http://developer.android.com/sdk/index.html On Thu, Jul 22, 2010 at 1:54 PM, poonam sinha sinhapoon...@gmail.comwrote: does anyone knows how to install android 2.2 I am little bit confuse -- You received

[android-developers] ListView with lazy loading of images

2010-07-22 Thread Davide
Hi, I try to implements lazy loading of images in a listview. There is no android features to make this, so I should implement it by myself. Have anyone alread done this? Take the solution care of scrolling and lazy loading new images and stop to load not more necessary images? --   _|  _.   

RE: [android-developers] Change widget dimensions on orientation change

2010-07-22 Thread sachin.ravi
== If your widget dimention is defined in XML layout then create the same file with different dimension under newly created folder \res\layout-land. It will take care of widget positioning when u rotate. == If you are setting the dimension dynamatically then 1. Put an android:configChanges

[android-developers] Re: slide to unlock - is it possible

2010-07-22 Thread Károly Holczhauser
Hi! Maybe I made something so wrong, but Mr.Google give me only a lot of complet application and not tutorilas,examples Karoly On júl. 22, 07:43, TreKing treking...@gmail.com wrote: 2010/7/21 Károly Holczhauser holczhau...@gmail.com Can anyone give me some advice/tutorial how can I make an

[android-developers] Re: slide to unlock - is it possible

2010-07-22 Thread Károly Holczhauser
Hi! Maybe I made something so wrong, but Mr.Google give me only a lot of complet application and not tutorilas,examples Karoly On júl. 22, 07:43, TreKing treking...@gmail.com wrote: 2010/7/21 Károly Holczhauser holczhau...@gmail.com Can anyone give me some advice/tutorial how can I make an

[android-developers] how to upgrade the os of g1 mobile

2010-07-22 Thread Narendra Bagade
Hi All, I have android g1 mobile having os 1.5.I want to upgarde the os from 1.5 to higher version. Please help me how to do this. -- Regards, Narendra -- 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: Framework base Interfaces not find on target.

2010-07-22 Thread chetan
Hi Frank, Thanks for your advise. One more thing when we build android source code , is the framework part converted in to jar . And when we execute our application this framework part is dynamically linked. Is it like that. Actually, i am asking bcoz

[android-developers] Re: ListView with lazy loading of images

2010-07-22 Thread Tabman
Hi Davide, see the logic for calling two functions in the following code (private void updateBookCovers() private void postUpdateBookCovers() ) It implements lazy loading of images. The idea is to load images when scrolling stops.

[android-developers] Re: Change widget dimensions on orientation change

2010-07-22 Thread Kumar Bibek
@sachin : There's no activity. My basic question was, that can you change the AppWidgetProviderInfo for a widget after a screen orientation change? Thanks and Regards, Kumar Bibek On Jul 22, 1:45 pm, sachin.r...@wipro.com wrote: == If your widget dimention is defined in XML layout then create

[android-developers] Re: OpenGL strange Exception: Nexus one upgrade to 2.2 causes app to crash?

2010-07-22 Thread Paolo
Hi there! I've the same problem... Have you solve it? Please let me know. Thanks Paolo On 5 Lug, 14:41, Aidan C aidanchu...@gmail.com wrote: Hey Guys, I've made some edits to my application but I'm pretty sure it crashing is linked to my updating my Nexus One. I've included the error as well

[android-developers] Activity on top of the InCallScreen

2010-07-22 Thread Sandeep
Hi All, When i receive ringing state, i tried to launch an intent to run my apps. case TelephonyManager.CALL_STATE_RINGING: { Intent intent = new Intent(context, CallPreferenceActivity.class); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);

[android-developers] Re: EditText wrapped in ScrollView

2010-07-22 Thread claesh
Hi mongd, I did not have a problem getting your view to work on Nexus One with 2.2. The text area scrolls just fine when I use the trackball on my Nexus. I can also see a scrollbar when selecting text from the EditView. The whole screen also scrolls fine since it is a ScrollView. Here is the

Re: [android-developers] resource IDs and sharedUserId

2010-07-22 Thread Webnet Android
Hi Dianne, Thanks for your answer. It looks I wasn't precise enough, so my problem is this:I want to share some resources anong packages to reduce package size etc, however some some API calls I intent to use expect just resource ID as argument (i.e. notify()), which to my understanding prevent

[android-developers] Activity/ Layout on top of the InCallScreen

2010-07-22 Thread Sandeep
Hi All, When I receive ringing state, I tried to launch an Activity to run my apps. case TelephonyManager.CALL_STATE_RINGING: { Intent intent = new Intent(context, ABC.class); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);

[android-developers] How to convert a xml page to speech???

2010-07-22 Thread prachi
Hi all I have an xml page which im able to display on webview and also able to convert it to sppech by using text to speech API provided by android. I have stored that xml page in a string variable and hence able to convert it to speech which takes string variable as an input. But my problem is

[android-developers] Android Shrink Animation

2010-07-22 Thread budoka
Hi, Does anyone know of a good tutorial for doing some simple layout animation effects? I basically want to shrink a set of controls when a button is clicked, and expand another set. Any help would be appreciated. Thanks. -- You received this message because you are subscribed to the Google

Re: [android-developers] How to see database files of my phone?

2010-07-22 Thread A N K ! T
go to command promt then in tools folder of ur SDK.then type *adb shell* u r in boot then use basic linux command to see whot u wanna see... On Thu, Jul 22, 2010 at 11:54 AM, Nency Robert angelgirl4...@gmail.comwrote: How to root the phone? Any command for that? On Wed, Jul 21, 2010 at

Re: [android-developers]

2010-07-22 Thread A N K ! T
refer this link and do what is written there it is too easy to install. *http://www.vogella.de/articles/Android/article.html#overview_android* On Thu, Jul 22, 2010 at 2:06 PM, Rajesh Pelluru mail2pell...@gmail.comwrote: What's ur confusion ??? They clearly mentioned steps in android

[android-developers] Re: Twitter / Facebook source code

2010-07-22 Thread oriharel
yes, this is what I mean On Jul 20, 1:30 pm, Yi Ling lingyi@gmail.com wrote: what does it mean? the source code of twitter/fb's client for android platform? google would help you, i think. 2010/7/20 oriharel ori.ha...@gmail.com Where can I find the source code of Twitter /

[android-developers] Re: Detecting lock_layer timed out

2010-07-22 Thread Matty
That sounds most likely (bug in platform). I've only been able to reproduce it on 1.5 and 1.6, not 2.0 or 2.1... So I guess that returns me to my original question: Is there any way I can detect this state in my code (I guess I don't mind polling when viewing this Activity). If so, what's the

[android-developers] video playback problem

2010-07-22 Thread berliner
Hi, what could be the reason that a mp4 video file without sound doesn't play correctly when using the VideoView class? The video plays just fine in vlc, mplayer and ubuntu media player. It has been created on the device using ffmpeg. It is like 5 seconds long, so nothing especially big. Codec is

[android-developers] Network Database

2010-07-22 Thread jubin
How to store and retrieve data on my own web-based services in android ? Please could you provide any sample source code. -- 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] OutOfMemoryError with Bitmap

2010-07-22 Thread ReyLith
Hi, I'm developing an image editor for Android. When I do some operations with small pictures (600x600 - 1024x768), the program work well. But when I do some opeations with big pictures, I always obtain an OutOfMemory Error. I read read many post trying to have the image in memory. Also I looked

[android-developers] Re: Id values for AlertDialog.Builder created buttons

2010-07-22 Thread Andy
Many thanks for that. Ive already thought of those solutions but with regard to accessing via debugger inspection the id value may not be constant in future implementations of android. I was looking for a programmatic method of accessing them or by use of an android specified id value. Like the

Re: [android-developers] Re: Android Market paid app download errors

2010-07-22 Thread William Dizon
Well the issue is that when downloading any app in 2.2 it will download but install it will not. It will show that it is installing but never will. On Jul 21, 2010 11:31 PM, Sam samuel.law...@gmail.com wrote: Hi William When you say you are getting issues - what exact issues are you referring

[android-developers] Re: i can't send email in UncaughtExceptionHandler for Service

2010-07-22 Thread DanH
First off, are you sure that your UncaughtExceptionHandler is not throwing an exception? On Jul 21, 1:32 am, codefish 92soc...@gmail.com wrote: i want to handle exceptions in Service. my exception handler sends error report email. so i add FLAG_ACTIVITY_NEW_TASK flag and it works fine in

[android-developers] Re: Strange behavior of if block

2010-07-22 Thread DanH
Could be a compiler bug, but seems unlikely -- the code is not particularly strange or complex from compiler standards. More likely you're seeing some sort of debug artifact (not unusual for single- stepping to give some bogus line numbers at times), or you're simply misinterpreting what you see.

[android-developers] Re: how to upgrade the os of g1 mobile

2010-07-22 Thread Maps.Huge.Info (Maps API Guru)
It's simple... Just jack up the battery and drive a Nexus One under it... I'm afraid the G1 is more a historical piece of memorabilia than an upgradable device. -John Coryat -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: video playback problem

2010-07-22 Thread Matty
My guess is the video isn't the right size, so the device is struggling to scale the video and/or the bitrate is just too high... Try a lower bitrate, and check the dimensions of your video. On Jul 22, 7:49 am, berliner myberli...@gmail.com wrote: Hi, what could be the reason that a mp4

[android-developers] Re: Disabling Java formatting in the Eclipse editor

2010-07-22 Thread DanH
One thing I had to do on my laptop is turn the sensitivity of the touch pad way down, since my hands waving over it (not touching) while typing would be interpreted as mouse presses, highlight whole sections of code, and delete them on the next keystroke. Didn't have the problem with any other

[android-developers] Re: how to upgrade the os of g1 mobile

2010-07-22 Thread Matty
What carrier are you on? I believe T-Mobile allowed me to use the update setting... Otherwise I think you'll have to find instructions online. See an example I found with a simple google search: http://www.denraf.be/content/howto-android-21-g1adp1dream On Jul 22, 4:54 am, Narendra Bagade

[android-developers] Re: SQLiteOpenHelper per activity??

2010-07-22 Thread gcstang
I still see this error when using a ListView even though I have it set to close and clean up the connection when leaving the view, can't do it right away or the ListView won't work. Any way around this? On Jul 21, 7:29 pm, Zsolt Vasvari zvasv...@gmail.com wrote: I never keep an actualy

[android-developers] Re: how to upgrade the os of g1 mobile

2010-07-22 Thread Maps.Huge.Info (Maps API Guru)
I should have said that you can go up to 1.6 and after that, you can find a custom ROM that might work but essentially, there isn't enough internal memory in the G1 to handle anything above G1 unless you use a stripped down custom ROM. -John Coryat -- You received this message because you are

[android-developers] Bluetooth signal strength on Google Nexus One running Android 2.2 (FroYo)

2010-07-22 Thread Jens
Hi! Is there a possibility to get the bluetooth signal strength to not connected bluetooth devices? Regards -- 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] i want to put my application in front just after incoming call

2010-07-22 Thread A N K ! T
am trying to make my application in front just after incoming call.i mean when user cut the phone my application should come in front can it be possible -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: OpenGL strange Exception: Nexus one upgrade to 2.2 causes app to crash?

2010-07-22 Thread Paolo
I solved it today simply set a differente EGLConfigChooser... from: this.setEGLConfigChooser(5, 6, 5, 8, 16, 0); to: this.setEGLConfigChooser(8 8, 8, 8, 16, 0); It seems to work well, now. But I don't know why :( On 22 Lug, 11:38, Paolo brand...@gmail.com wrote: Hi there! I've the same

[android-developers] Re: i want to put my application in front just after incoming call

2010-07-22 Thread Namrata
Use PhoneStateListener with state onCallStateChanged() Namrata On Jul 22, 6:27 pm, A N K ! T ankit.awasth...@gmail.com wrote: am trying to make my application in front just after incoming call.i mean when user cut the phone my application should come in front can it be possible --  A

[android-developers] MediaPlayer.OnCompletionListener can't get the state while playing mp3(44.1 or 48 KHZ) fastforwardly to it's end ?

2010-07-22 Thread xhy
Hi all,I fastwordly play the mp3 through MediaPlayer's function seekTo(int),But the MediaPlayer.OnCompletionListener can't get the state that if the process of mp3 is end. It will stop when it fastword the file's end sometime. The mp3 is 44.1KHZ or 48KHZ,but some 44.1KHZ mp3 files do not exist

[android-developers] how to control requery's time of Cursor ?

2010-07-22 Thread xhy
I want to display some thing in the LiveFolder dynamicly.So i implent the abscusor.But how to control requery's time of Cursor ? -- xhy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] skin resource

2010-07-22 Thread Webnet Android
On 20 July 2010 05:46, diegomon...@gmail.com diegomon...@gmail.com wrote: Hi everyone Can this kind of files (buttons) be used to create android applications, or you must use predefined buttons? You can have custom look incl. images, color, styles etc. -- You received this message because

[android-developers] Change Menu on the fly

2010-07-22 Thread drill
Hi, I have a Gallery with a couple of photos, which is working really great. but now i like to have a menu which is sensetive for the picture which is shown currently. So for pic1 i like to have menu1 for pic2 i wanna have menu2, etc . How would I achive this goal? Anyone had similar issues?

Re: [android-developers] Transferring control from Non UI thread to Ui Thread

2010-07-22 Thread TreKing
On Thu, Jul 22, 2010 at 12:53 AM, Ajmer singh ajmer.si...@evontech.comwrote: I am a new to the android development,Could you please let me know how i can use *FLAG_ACTIVITY_NEW_TASK.* Here's a mind-blowing concept: documentation

[android-developers] Have a problem in ListView please help ?

2010-07-22 Thread sagare
Hi All, I am creating a list of albums and each album can have multiple songs. So I wanted to is having multiple listviews on a screen ok (around 30-35 albums each having their songs) performance wise and wont create a problem ? Or i should implement a single list of albums where each

[android-developers] Re: Kill an app / package in API 8 (Froyo)

2010-07-22 Thread Marcin_GUmeR
Is there any way to replicate old behavior of task killers in froyo? (i.e. kill everything associated with an app, including notifications etc. and make it never come back, unless manually restarted) It can be from command line using root. Thanks On Jun 16, 12:10 am, Happy C.

[android-developers] Re: make app as default app

2010-07-22 Thread Yahel
Even if it's not what the OP meant, now that it is settled that it can not be done in another way than having the popup, it would end and give a purpose to this post if someone answered the remaining questions : - Is it possible to make an app that becomes the default dialer ? - If so how do you

Re: [android-developers] Re: SQLiteOpenHelper per activity??

2010-07-22 Thread ecforu
But what's the reason for not keeping it open? Or actually a better question is why do is my database dependent on an activity at all? These are two totally different pieces to the puzzle (i.e. as in an MVC pattern or similar design). On Wed, Jul 21, 2010 at 8:29 PM, Zsolt Vasvari

[android-developers] Re: jni

2010-07-22 Thread Vaishnavi
Hi, I am able 2 run the code in the emulator but when i try 2 put it on a device i am getting an error which says: cannot find .so file. I have included the.so file in /data/data/package/lib. but still i am not able 2solve the error On Jul 22, 10:13 am, Rajesh Pelluru mail2pell...@gmail.com

[android-developers] Re: jni

2010-07-22 Thread Vaishnavi
Hi, I am able 2 run the code in the emulator but when i try 2 put it on a device i am getting an error which says: cannot find .so file. I have included the.so file in /data/data/package/lib. but still i am not able 2solve the error On Jul 22, 1:19 pm, FrankG frankgru...@googlemail.com wrote:

[android-developers] Re: Change Menu on the fly

2010-07-22 Thread Maps.Huge.Info (Maps API Guru)
Have you considered using an XML based menu descriptor? You could change the menu based on the XML then, which might be an easier proposition. The code goes something like this: public boolean onCreateOptionsMenu(Menu menu) { super.onCreateOptionsMenu(menu);

[android-developers] Re: How to convert a xml page to speech???

2010-07-22 Thread Matty
I think you will want to write your own xml parser/handler so that you can decide what gets read to the user. Maybe use SAX? On Jul 22, 6:03 am, prachi prachi.tya...@wipro.com wrote: Hi all I have an xml page which im able to display on webview and also able to convert it to sppech by using

[android-developers] Re: How to change TabWidget default grey color

2010-07-22 Thread Thierry Legras
Self answering :) As far as I could read (have not tried it yet), tabHost.getChildTabViewAt(int pos).setBackgroundColor(int resid) should do it (Donut and later) Thierry. 2010/7/18 Thierry Legras tleg...@gmail.com Hi, What is the supported way to set tabwidget color? I tried this:

Re: [android-developers] Re: Detecting lock_layer timed out

2010-07-22 Thread Dianne Hackborn
Not that I can think of, sorry. On Thu, Jul 22, 2010 at 4:18 AM, Matty busbus...@gmail.com wrote: That sounds most likely (bug in platform). I've only been able to reproduce it on 1.5 and 1.6, not 2.0 or 2.1... So I guess that returns me to my original question: Is there any way I can

Re: [android-developers] Re: can we start application after installing .apk file

2010-07-22 Thread ranjan ar
Hello Ankit, I did not read the question in entirety. I am not sure how to start an activity son after installation, nor service. my bad. On Wed, Jul 21, 2010 at 9:40 PM, A N K ! T ankit.awasth...@gmail.comwrote: *...@ranjan :: *1. how can i start a service after installation...if it is

[android-developers] Re: How to obtain ID of an image by the id of the thumbnails?

2010-07-22 Thread ReyLith
Thanks. However I achieve it by MediaStore.Images.Thumbnails.getThumbnail, so now I haven't to match the databases of Images and Thumbnails. On 15 jul, 18:43, Tabman tabishfay...@gmail.com wrote: IMAGE_ID of the Thumbnail record is the id of the original image. On Jun 25, 2:27 pm, ReyLith

[android-developers] Re: Quick test with log from a Samsung Moment user please?

2010-07-22 Thread Robert Green
Still looking for a little help here. Any help at all is appreciated! Thanks On Jul 21, 4:01 pm, Robert Green rbgrn@gmail.com wrote: Hi Guys, If you have a SamsungMomentand have adb working for it, would you mind downloading Deadly Chambers Demo off the android market and running it

[android-developers] start activity from a overlay in maps

2010-07-22 Thread Achanta
I am trying to create a map application and I need to do something similar to what Google Maps does. I want to open show a list of locations and when user taps on them I want to show a dialog. I was able to do it till here. But now when the user clicks on the dialog that opened I want to show

[android-developers] Re: IllegalArgumentException when trying to run an OpenGL ES 2.0 application

2010-07-22 Thread disintegrate
Hi, Is there a plan to support 2.0 in the emulator? If so, any idea when that might be (as it doesn't seem to work even after the latest 2.2 revision 2 update)? Regards, Bob On Jun 21, 2:06 pm, Romain Guy romain...@android.com wrote: The emulator doesn't supportOpenGLES2.0at this time.

[android-developers] What is a WeakReference?

2010-07-22 Thread GodsMoon
Google just posted a new blog post on http://android-developers.blogspot.com/2010/07/multithreading-for-performance.html. I understand the AsyncTask and I'm even using one in a list with images already. But I don't understand what a WeakReference is. I gather is is a garbage collector directive,

Re: [android-developers] What is a WeakReference?

2010-07-22 Thread Satya Komatineni
Recently I had to do some research on the role of weak references possibly for configuration changes and auto restart of activities. See if the following material is useful http://www.satyakomatineni.com/akc/display?url=DisplayNoteIMPURLreportId=3528ownerUserId=satya The weak references are

[android-developers] Query sent SMS fro

2010-07-22 Thread Psyhclo
Hello, when I send an SMS on my emulator, it goes to the content provider: content: / / sms / sit right? So I want to get these SMS's sent from the content provider. But I do not know how to do this. I know I should have the query () method and then call it in the place where I want to search. I

[android-developers] Query sent SMS in content provider

2010-07-22 Thread Psyhclo
Hello, when I send an SMS on my emulator, it goes to the content provider: content: //sms/sent right? So I want to get these SMS's sent, which are in the content provider. But I do not know how to do this. I know I should have the query () method and then call it in the place where I want to

[android-developers] Query sent SMS from content provider

2010-07-22 Thread Psyhclo
Hello, when I send an SMS on my emulator, it goes to the content provider: content: //sms/sent right? So I want to get these SMS's sent, which are in the content provider. But I do not know how to do this. I know I should have the query () method and then call it in the place where I want to

[android-developers] Re: Have a problem in ListView please help ?

2010-07-22 Thread Joseph Earl
Okay: A ListView must have it's height set to fill_parent - the only way to have multiple ListViews in a single activity is to use something like Tabs, a ViewFlipper etc, and even then this only really deals with one visible ListView at a time (or possibly two horizontally). What you probably

[android-developers] Re: What is a WeakReference?

2010-07-22 Thread Joseph Earl
Suppose you had a long list of images. As the user scrolled down you load the images from the net, and then display them. To avoid having to reload the images again if the user scrolls back up, you put the images in a cache (probably something like a MapString, Drawable) However because it is a

[android-developers] Re: Change Menu on the fly

2010-07-22 Thread Joseph Earl
What kind of menu do you mean? An options menu, context menu, gridview etc On Jul 22, 4:05 pm, drill sebastianar...@hotmail.com wrote: Hi, I have a Gallery with a couple of photos, which is working really great. but now i like to have a menu which is sensetive for the picture which is shown

[android-developers] Re: What is a WeakReference?

2010-07-22 Thread DanH
The real Java doc is a bit better: http://download.oracle.com/docs/cd/E17409_01/javase/6/docs/api/java/lang/ref/WeakReference.html A WeakReference is an object that contains within it a reference to another object. The reference is treated specially by the garbage collector in that its existence

[android-developers] Understanding how Activities work

2010-07-22 Thread Chris Stewart
I'm trying to wrap my head around activities and how they begin and end in Android. I've read what the Developer Guide has to say regarding activities and I'm still a little fuzzy on how I should appropriately handle their navigation in my application. As an example, say I have a main activity

Re: [android-developers] Re: What is a WeakReference?

2010-07-22 Thread Romain Guy
You definitely do NOT want to use a WeakReference to cache object. If you do so, as soon as your data is put in the cache and not used outside of the cache, it gets garbage collected. On Thu, Jul 22, 2010 at 11:07 AM, Joseph Earl joseph.w.e...@gmail.com wrote: Suppose you had a long list of

Re: [android-developers] start activity from a overlay in maps

2010-07-22 Thread TreKing
On Thu, Jul 22, 2010 at 12:32 PM, Achanta krishna.acha...@gmail.com wrote: Why am I getting this error and how can I resolve this and open a new activity? Did you read the stack trace? * android.view.InflateException: Binary XML file line #2: Error inflating class unknown * I don't think

[android-developers] Re: OutOfMemoryError with Bitmap

2010-07-22 Thread Joseph Earl
Ran into sort of the same problem myself whilst developing an image gallery - my problem was that loading thumbnails of 5 or so of the images caused an out of memory error. Luckily I was able to implement inJustDecodeBounds and inSampleSize to reduce the quality of my thumbnails and that solved it

Re: [android-developers] Understanding how Activities work

2010-07-22 Thread TreKing
On Thu, Jul 22, 2010 at 1:22 PM, Chris Stewart cstewart...@gmail.comwrote: Calling finish on the secondary activity didn't actually do anything, visibly at least. Then you're doing something wrong. Post the code snippets where you starting and then finishing the second activity.

[android-developers] Speech to Text (STT) Support on Android Keyboard

2010-07-22 Thread Niral Shah
We have a 2.1 sdk(eclair) version Samsung device, which has virtual keyboard with a microphone indicator to support speech to text (STT). Our application is mostly a text entry application and uses Inputconnection class and committext method to recognize the inputs and put all the entered text on

[android-developers] Re: What is a WeakReference?

2010-07-22 Thread DanH
I partly got the roles of SoftReference and WeakReference mixed up. For the cache you would more likely use SoftReference, and it's the one that is preferentially not deleted by GC. WeakReferences don't slow deletion at all (well, hardly any -- there's the whole queue thing, but that's for the

[android-developers] Re: Understanding how Activities work

2010-07-22 Thread Joseph Earl
It should work as your describe: If you start activity A and then launch activity B from there, B will be at the top of the Activity stack and A will be 'pushed' further down (to the bottom in this case). When the topmost activity (B in this case) finishes, the next visible activity will simply be

[android-developers] Re: Understanding how Activities work

2010-07-22 Thread RichardC
There is usually no need to call finish(). If you have avoided doing anything clever, when the user presses the [back] button your top activity will finish and the one underneath will resume. Put some trace lines ( use Log.d(...) ) in the following methods in both of your activites and see what

[android-developers] Re: What is a WeakReference?

2010-07-22 Thread Joseph Earl
Thanks for the info. I was unsure as to exactly how weak WeakReferences were, since I have never had a use for them yet. On Jul 22, 7:26 pm, Romain Guy romain...@android.com wrote: You definitely do NOT want to use a WeakReference to cache object. If you do so, as soon as your data is put in

[android-developers] Re: What is a WeakReference?

2010-07-22 Thread GodsMoon
So you'd only want to use WeakReference when you think your activity might run out of memory? But a list view already does efficient memory management for you right? You'd saying if I were create a large array or something like that then it would be good to use WeakReference. right? Thanks for

[android-developers] Should AlarmManager or Timer be used in this situation?

2010-07-22 Thread Tommy
Hi everyone, I have a service that I need to execute every two minutes. Would it be more efficient to use an alarm or a timer? Thanks for the time and help Tommy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

  1   2   3   >