[android-developers] Re: multiple activity refresh

2009-12-17 Thread Jags
anybody out there ? the values in the cursor are perfect, i printed them one by one, but the rows are blank in the listview On Dec 18, 12:38 pm, Jags wrote: > now, after fixing those things, I get 2 items in the list [which is > correct], but unfortunately, these are shown blank, no texts !. Am

[android-developers] android service instance problem

2009-12-17 Thread veradis
Hi, I have a service that ll be started at boot time. The service establishes connection with messageBroker using rmtp(mqtt client). I want to call a function in services from an activity to do some data transfer, but the connection instance initialized in service is not available on activity. So

[android-developers] Re: MapActivity

2009-12-17 Thread Sasikumar.S
Thank you,Its working now On Dec 18, 9:33 am, TreKing wrote: > As of 1.5 the maps library is a separate package. You have to set your build > target to one with the Google API Add Ons. > > - > TreKing

[android-developers] Re: MapActivity

2009-12-17 Thread Sasikumar.S
Thank you, Its working now On Dec 18, 9:33 am, Kumar Bibek wrote: > Check your AVD configuration if it has Google APIs. > > Thanks, > Kumar Bibek > > http://tech-droid.blogspot.com > > On Dec 18, 9:13 am, "Sasikumar.S" wrote: > > > Hi, > > > shall we use map application in android2.0?.. > >

Re: [android-developers] Re: How do I navigate to the program data with adb shell

2009-12-17 Thread zz zt1082
maybe type it: adb pull -- 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 android-developers+unsubscr...@googlegroups.co

Re: [android-developers] Re: BaseAdapter doesn't return position correctly

2009-12-17 Thread Romain Guy
The position passed to getView() is never guaranteed to be sequential with the previous position. Also you are creating a new View every time, which is a very bad idea. You should look at the ApiDemos samples in the SDK and read the file called List14.java. It shows how to correctly write an adapte

[android-developers] Emulating TreeViews using Expandable ListViews

2009-12-17 Thread Samuh
I am trying to create a treeview using expandable list view. I am able to achieve most of the functionality; the main problem is that while expanding and collapsing the list I want to dynamically resize the childview(at the moment I am specifying fixed value for height of the view). I want a single

[android-developers] Re: multiple activity refresh

2009-12-17 Thread Jags
now, after fixing those things, I get 2 items in the list [which is correct], but unfortunately, these are shown blank, no texts !. Am I missing something somewhere ? regards On Dec 18, 12:17 pm, Jags wrote: > Hey Mark, > > yes this is what i am trying to do. But the problem is, I dont see a >

[android-developers] Re: Problem in consuming/calling ASP.NET web service from the Android

2009-12-17 Thread android09
Hi Guys, Thanks for giving response to me. Finally i got the solution of calling asp.net web service from android. Here is my solution. package com.android.webservice1; import org.ksoap2.SoapEnvelope; import org.ksoap2.serialization.SoapPrimitive; import org.ksoap2.serialization.SoapObject; imp

[android-developers] Re: Nexus One dev phone

2009-12-17 Thread Ben Gotow
On this same note, I don't actually need to have a Nexus One, but could you tell us what OpenGL extensions are supported by it's graphics hardware? It would really help me push a game out that would take advantage of it's (presumed) awesomeness! - Ben On Dec 17, 1:42 pm, Dan Sherman wrote: > Sam

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-12-17 Thread JP
I've implemented this method to access user accounts. Sorry no answer to your q:, but you might interested to hear how I fared with this in the wild. There's two major issues: - Your app will not load on Android 2.0; the JVM will choke and complain - As far as Android 1.5 and 1.6 are concerned.

[android-developers] Re: multiple activity refresh

2009-12-17 Thread Jags
Hey Mark, yes this is what i am trying to do. But the problem is, I dont see a ListView in your main layout. neither you do a setContentView() in your OnCreate method. it was crashing for me when i did a setContentView, it is now showing blank list. How can I debug adapters to see the records ? re

[android-developers] Can i initiate threads in BroadcastReceiver's onReceive method?

2009-12-17 Thread pink 444
Hi all, My application has two components,one is Activity and BroadcastReceiver. I am using the BroadcastReceiver as inner class of my Application. The BroadcastReceiver's onReceive method is initiating a new Thread as Thread object,every time. In that i am trying to update the activit

[android-developers] Re: button Click event inside custom listview.... Help!

2009-12-17 Thread Kumar Bibek
If you can post an excerpt of your getView method. I can show you Thanks, Kumar Bibek. On Dec 18, 10:02 am, Abhi wrote: > Hi Kumar, > > Can you show me how to do that? I am not getting the right method to > do this. > > Thanks, > > Abhishek > > On Dec 17, 11:49 pm, Kumar Bibek wrote: > > >

[android-developers] Reg: Help required to make a text views to marquee always

2009-12-17 Thread sathya subbiah
Hi, I am trying to draw a text view which always scroll though it does not have focus in it. But the text view does not support the same. Have any one tried such thing? Pls let me know if any thing can be done for the same. Thanks & Regards, Sathya -- You received this message because you are

[android-developers] System Calls

2009-12-17 Thread perumal316
Hi, Is there any way I can write an application which can monitor system calls made by other applications? Thanks in Advance, Perumal -- 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@

[android-developers] OutofMemoryError: bitmap size exceeds VM budget.....

2009-12-17 Thread Abhi
Hi, I am doing the following in my app, which at times results in the above error. Action 1: Button on Main activity calls all pictures using ACTION_PICK (results in a thumbnail view of all pictures on my phone). User picked image (URI) is then passed over to next activity where the image is disp

[android-developers] Re: button Click event inside custom listview.... Help!

2009-12-17 Thread Abhi
Hi Kumar, Can you show me how to do that? I am not getting the right method to do this. Thanks, Abhishek On Dec 17, 11:49 pm, Kumar Bibek wrote: > Yes, you will have to define the listener inside the Custom adapter, > in the getView Method, on the button. > > Thanks, > Kumar Bibek > > http://t

[android-developers] Re: button Click event inside custom listview.... Help!

2009-12-17 Thread Kumar Bibek
Yes, you will have to define the listener inside the Custom adapter, in the getView Method, on the button. Thanks, Kumar Bibek http://tech-droid.blogspot.com On Dec 18, 7:47 am, Abhi wrote: > Hi guys, > > I have my own custom adapter to create a custom listview with > checkbox, textview and but

[android-developers] Re: BaseAdapter doesn't return position correctly

2009-12-17 Thread Kumar Bibek
I dont understand the purpose of the textview, since you are not returning it. You are just returning the ImageView, what is the TextView and the captions here for? On Dec 18, 9:45 am, Kumar Bibek wrote: > public Object getItem(int position) { >             return position; >         } > > this i

[android-developers] Re: BaseAdapter doesn't return position correctly

2009-12-17 Thread Kumar Bibek
public Object getItem(int position) { return position; } this is wrong. you should be returning, mImageIds[position]; Thanks, Kumar Bibek http://tech-droid.blogspot.com On Dec 18, 8:36 am, Binh Nguyen wrote: > I custom the BaseAdapter to show image array with full-screen m

[android-developers] Re: Error using SDK and AVD Manager

2009-12-17 Thread Kumar Bibek
I guess, you are behind a firewall, and thus this url is getting blocked. Try turning off the firewall, and it should work. Use "http" Thanks, Kumar Bibek http://tech-droid.blogspot.com On Dec 17, 11:20 am, aurilliance wrote: > I'm trying to get the android SDK set up on my computer, but every

[android-developers] Re: SQLite image storing problem

2009-12-17 Thread Kumar Bibek
Storing an image in a db is a tad complex. I would suggest that you store the image somewhere in the sdcard, and in the db store the location of the image. For storing an image in a db, you will need a column of type blob. But then again, you have to re-create that image when you are trying to ret

[android-developers] Re: MapActivity

2009-12-17 Thread Kumar Bibek
Check your AVD configuration if it has Google APIs. Thanks, Kumar Bibek http://tech-droid.blogspot.com On Dec 18, 9:13 am, "Sasikumar.S" wrote: > Hi, > > shall we use map application in android2.0?.. > > I tried to install map application in android1.5 , but it is showing > "Installation error:

Re: [android-developers] MapActivity

2009-12-17 Thread TreKing
As of 1.5 the maps library is a separate package. You have to set your build target to one with the Google API Add Ons. - TreKing - Chicago transit tracking app for Android-powered devices http://sites.

[android-developers] Re: Adding, Editing, Deleting entries in Androids call log

2009-12-17 Thread Kumar Bibek
That's new for me. Thanks for sharing your findings. Regards, Kumar Bibek http://tech-droid.blogspot.com On Dec 17, 2:14 pm, Donal Rafferty wrote: > For anyone that comes across this it is possible to do using the call log > content provider, you simply use the read and write contacts permissio

[android-developers] MapActivity

2009-12-17 Thread Sasikumar.S
Hi, shall we use map application in android2.0?.. I tried to install map application in android1.5 , but it is showing "Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY". In android1.1 it is working. wat is the reason?... -- Thanks & Regards Sasikumar.S -- You received this message

[android-developers] BaseAdapter doesn't return position correctly

2009-12-17 Thread Binh Nguyen
I custom the BaseAdapter to show image array with full-screen mode. I want the user can flick the images so I use the gallery class.When a image displays on the screen, a correlative sentence should be showed as well. The issue is the position param in getView function jump abnormally, especially

[android-developers] button Click event inside custom listview.... Help!

2009-12-17 Thread Abhi
Hi guys, I have my own custom adapter to create a custom listview with checkbox, textview and button in each row. I want to implement onClick on Button and take different action based on which row button is pressed. How can I use onClickListener in this case? Define it inside getView? If so how?

Re: [android-developers] Updating a pre-installed application

2009-12-17 Thread Dianne Hackborn
As of 1.6 (and possibly 1.5) you can definitely update through the market. As long as your updated app is signed with the same cert, when it is installed the system will put the new one in /data and ignore the old one in /system. Be sure you set your version code (versionName is ignored) so that

Re: [android-developers] Same servicein multiple APKs, only want "best one" to launch

2009-12-17 Thread Dianne Hackborn
You can do a query on the package manager for all services matching an intent, then iterate over them to find the best. Decide on the best through the app version code or some meta-data associated with the service or something else if you want. Then when you bind to the service, set an explicit c

[android-developers] Re: ClassLoader leaking memory?

2009-12-17 Thread B++
After some further analysis, it seems that the problem lies on the DexFile. The PathClassLoader internally invokes the DexFile which apparently unzips the package to retrieve the class. However, these resources don't seem to be released. B. On Dec 17, 3:45 pm, "B++" wrote: > Thanks for the respo

[android-developers] Re: Same servicein multiple APKs, only want "best one" to launch

2009-12-17 Thread John Seghers
Here is one possibility: use ordered BroadcastReceivers with android:priority attributes to determine which service is newest. Each APK has its copy of the Service and a BroadcastReceiver. The intent-filter for the BroadcastReceiver has the android:priority attribute. Upon each release across all

[android-developers] Re: How do I navigate to the program data with adb shell

2009-12-17 Thread Edward Moskal
Hello, I'm having the same problem. What I'm trying to do is to copy from /sdcard/gestures so using adb pull /sdcard/gestures I get adb: permission denied I'm developing using Windows and my phone is HTC Magic. Does anyone have an fix or answer to this problem? Ed -- You received this message

[android-developers] Why RIL.java implements CommandInterface twice

2009-12-17 Thread James Wang
Maybe this group is not the right one to ask this question. I am studying RIL and noticed RIL.java inplements CommandInterface twice( extend BaseCommand implement CommandInterface). What is it for? Any design pattern here? Best Regards James -- You received this message because you are subscrib

[android-developers] Re: How to know the caller of ContentProvider

2009-12-17 Thread James Wang
We got a solution here: int pid = Binder.getCallingPid(); And pass the pid to getProcessNameFromPid below: private String getProcessNameFromPid(int givenPid) { ActivityManager am = (ActivityManager) getContext().getSystemService(Activity.ACTIVITY_SERVICE); List lstAppInfo = am.getRunningAppProce

[android-developers] Updating a pre-installed application

2009-12-17 Thread John Seghers
I had assumed that if an application was preloaded it could not be updated via the marketplace. My reasoning being: 1) A preloaded application is part of the OEM's ROM image. 2) The APK for the app would therefore be on the /system partition and thus be read-only 3) Therefore the only way to update

Re: [android-developers] Re: When call mWifiManager.isWifiEnabled , it crash. thanks in advance.

2009-12-17 Thread zz zt1082
ooh~ , It 's true . No permission that : Thanks again. -- 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 em

Re: [android-developers] Re: Issues debugging Droid with Eclipse

2009-12-17 Thread Frank Weiss
I've updated to 2.0.1 on the Droid and updated the SDK to 0.9.5. The Exception occurs when tapping on the MapView after a certain sequence of interations. I wish I cound see the actual code that raised the ArrayIndexOutOfBoundsException. Following is the stack trace from Eclipse and the supposed

[android-developers] Re: G. Checkout Declined Payments

2009-12-17 Thread Andrei
i wrote long time ago that about 10% authorizations fails On Dec 17, 6:04 pm, Salentinux wrote: > Hi folks, > just two questions: > > 1) I'd like to know whether a paid app remains installed on the phone > for the next 7 days (as google says) when an order is set as payment > declined. > 2)  Some

Re: [android-developers] AlertDialog.show() leaks when phone rotates

2009-12-17 Thread Romain Guy
Just call theDialog.dismiss() from onDestroy(). On Thu, Dec 17, 2009 at 3:27 PM, Mark Wyszomierski wrote: > Hi, > > There are lots of code samples on third party sites where an alert > dialog is built and shown like this: > >    new AlertDialog.Builder(context).setMessage("Test.").show(); > > If

[android-developers] Re: Set ringtone from raw resource?

2009-12-17 Thread Open
Did you solve this problem? I'm having the same trouble when using a 2.0 emulator. The Ringtone manager doesn't play my raw resource sound, it plays the default phone ringtone. On Nov 15, 2:17 pm, Bryan Vincent wrote: > So I'm having a hard time setting aringtonefrom a raw resource. My > code

[android-developers] Re: Why are onCreate() onStart() etc. called when handset orientation is changed?

2009-12-17 Thread Christine
There's a reason for onCreate(), onStart(), etc. to be called when they are called. If there's code that you don't want to have executed when onCreate() is called, don't put it in onCreate(). In onCreate() you can check what the situation is, and act accordingly, like take different actions dependi

[android-developers] Re: Using raw resource sound file as Ringtone

2009-12-17 Thread Open
I was able to set a ringtone for my app like this in Android 1.6, but it does not seem to work in 2.0. On Dec 11, 11:39 am, Maurício wrote: > I have a problem setting aringtonefrom a resource in my app: > > Uri uri = Uri.parse("android.resource://com.package.app/" + > R.raw.sound1); > RingtoneMan

[android-developers] Re: Service thread priority

2009-12-17 Thread Christine
On Dec 17, 12:33 am, Dianne Hackborn wrote: > You should be nice.  As of 1.6, processes running in the background have > their threads forced into a background scheduling class so they can't > disrupt the foreground UI. Why, that's good news. Soon as carriers upgrade the phones to 1.6 or higher,

[android-developers] AlertDialog.show() leaks when phone rotates

2009-12-17 Thread Mark Wyszomierski
Hi, There are lots of code samples on third party sites where an alert dialog is built and shown like this: new AlertDialog.Builder(context).setMessage("Test.").show(); If the dialog is left open when the phone rotates, it seems to leak: 12-17 18:23:47.543: ERROR/WindowManager(2440): Activi

[android-developers] Re: Anyway to check if any items on the history/activity stack?

2009-12-17 Thread Sam
Anyone have any ideas? On Nov 16, 11:39 am, Sam wrote: > Hi, > > I'm trying to figure out if there's any way to see if there is > anything on the history stack so I can programatically display a Back > button or not. > > I tried getting the RunningTaskInfo to get the num of activities but > it do

[android-developers] G. Checkout Declined Payments

2009-12-17 Thread Salentinux
Hi folks, just two questions: 1) I'd like to know whether a paid app remains installed on the phone for the next 7 days (as google says) when an order is set as payment declined. 2) Some users tried to buy more times the same app but always they got a declined payment. Some users say it's a credi

[android-developers] Re: ClassLoader leaking memory?

2009-12-17 Thread B++
Thanks for the response. I have already run it using hprof and mat, and located the issue, and the problem lies in here: onCreate(..) { ... PathClassLoader classLoader = new PathClassLoader("/path/to/apk.apk", getClassLoader()); classLoader.loadClass("path.to.class"); classLoader = null; } Only

[android-developers] android.os.DeadObjectException

2009-12-17 Thread hap 497
Hi, I am seeing the following android.os.DeadObjectException exception in 'adb logcat'. Can you please tell me how can I determine that it is caused by my app? And how can i trouble-shoot within my app? Thank you. D/AKMD( 55): Compass OPEN D/SurfaceFlinger( 76): Screen about to return,

Re: [android-developers] Re: Can anyone tell me ONE app that shows up in Android Market on HTC Tattoo

2009-12-17 Thread Dianne Hackborn
It looks like the overview docs are not yet mentioning this, but you can use android:required to say you don't need the feature: http://developer.android.com/reference/android/R.styleable.html#AndroidManifestUsesFeature On Thu, Dec 17, 2009 at 9:12 AM, Mark Wyszomierski wrote: > >> So if my app

Re: [android-developers] Help! How to create tiled drawable from xml? (Poor documentation of this on the official developer site)

2009-12-17 Thread Agus
Thanks a lot :) On Thu, Dec 17, 2009 at 1:21 PM, Romain Guy wrote: > > http://code.google.com/p/shelves/source/browse/trunk/Shelves/res/drawable/background_paper.xml > > On Thu, Dec 17, 2009 at 11:53 AM, Agus wrote: > > Hi all, > > > > I need to create a tiled drawable using BitmapDrawable but

Re: [android-developers] Re: Why are onCreate() onStart() etc. called when handset orientation is changed?

2009-12-17 Thread Dianne Hackborn
You can use this to efficiently propagate instantiated objects across these instances: http://developer.android.com/reference/android/app/Activity.html#onRetainNonConfigurationInstance() Do make sure that none of the objects hold a reference on the current activity/context, or you will cause that

[android-developers] Re: How to get all contact's name phone number, email for 2.0

2009-12-17 Thread DulcetTone
oops... did a little looking. I guess you're going to be "commonsguy". tone -- 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

[android-developers] Re: ClassLoader leaking memory?

2009-12-17 Thread fadden
On Dec 17, 7:45 am, "B++" wrote: > The problem is that this happens even if no objects are instantiated > using the loaded class. There seems a problem with garbage collector, > which doesn't seem to release resources about the loaded class on > Destroy even if there are no references to it. It u

[android-developers] Re: How to get all contact's name phone number, email for 2.0

2009-12-17 Thread DulcetTone
Mark, did you finish this and post it somewhere? How do I look for it? I am enjoying my "warescription", by the way. I will look for a feedback link on your site, as I have some. tone On Nov 26, 7:42 am, Mark Murphy wrote: > This is a fragment of a sample that I'll be uploading to github tomo

[android-developers] Re: Why is "LABEL" an invalid column for a ContactMethod?

2009-12-17 Thread DulcetTone
I should state that this is on 1.6 The errors look like so (when trying TYPE or LABEL -- the word "type" actually reflects the column that fails): 12-17 16:19:43.877: ERROR/DatabaseUtils(131): java.lang.IllegalArgumentException: Invalid column type 12-17 16:19:43.877: ERROR/DatabaseUtils(131):

[android-developers] Why is "LABEL" an invalid column for a ContactMethod?

2009-12-17 Thread DulcetTone
I am having a bear of a time figuring out what colums exist for email contact methods. Specifically, I want to find out the "home", "work" or "other" of an email address. I have tried looking for it under integer "TYPE" (illegal column), and under Strings "LABEL" (illegal column) and "NAME" (this

Re: [android-developers] Help! How to create tiled drawable from xml? (Poor documentation of this on the official developer site)

2009-12-17 Thread Romain Guy
http://code.google.com/p/shelves/source/browse/trunk/Shelves/res/drawable/background_paper.xml On Thu, Dec 17, 2009 at 11:53 AM, Agus wrote: > Hi all, > > I need to create a tiled drawable using BitmapDrawable but I need to create > it from xml resource rather than code. > > Thanks. > > > -- > Yo

[android-developers] Is the Drawable.createFromStream(..) thread-safe?

2009-12-17 Thread Agus
Is Drawable.createFromStream() thread-safe? -- 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 android-developers+unsubscr..

Re: [android-developers] Re: Why are onCreate() onStart() etc. called when handset orientation is changed?

2009-12-17 Thread TreKing
Save your objects to the bundle in onSaveInstanceState and in onCreate() check if the incoming bundle is null. If it is, load from file, if it's not, load your saved data from the bundle. Honestly though, if you're not really saving state information and loading from files in onCreate isn't taking

[android-developers] Re: how to Windows Media Stream in android?

2009-12-17 Thread maxsap
Anyone any ideas? On Dec 13, 6:19 pm, maxsap wrote: > Hello all, I am interested in developing an adroid application that > would let the users listen to internet radios.Correct me if I am wrong > but most internet radios have a uri mms:// which is a windows media > stream and i want to know if

[android-developers] Re: just another android rtp stack question

2009-12-17 Thread maxsap
Anyone? On Dec 1, 3:34 pm, maxsap wrote: > Hello all, I am new in android developer and I would like to make a > sip based application for this platform. In the signaling part I have > found about jain-sip (used it) and sipdroid( any good tutorial? ) the > problem starts when I want to stream da

Re: [android-developers] onKeyUp in 2.0 gets called even when focus is in a TextView

2009-12-17 Thread Dianne Hackborn
What exactly are you trying to do? Unless you got and handled a corresponding key down, you should not be doing anything with key ups. Up events can be delivered very spuriously -- for example if a down causes focus to move somewhere, the up will be delivered to the new focus target. On Thu, Dec

Re: [android-developers] SQLiteDatabaseCorruptException

2009-12-17 Thread Agus
bump On Fri, Oct 16, 2009 at 1:39 AM, Lazarus 101 wrote: > > Just got this exception on 1.6 emulator. Everything in my database was > lost, the db file was still there but the tables were gone. Did anyone > else experienced this? What might have caused this? I hope this is > just an emulator bug

[android-developers] Re: TTS over bluetooth

2009-12-17 Thread Declan Shanaghy
DOH! The heaset i was using didnt support A2DP. When i connected an A2DP headset any TTS sent to the Music stream played in the headset. On Mon, Dec 14, 2009 at 1:33 PM, Declan Shanaghy wrote: > Using Android 2.0 SDK. > Is it possible to direct the TTS engine's output to a connected BT headset

Re: [android-developers] Re: Launch navigation app with an Intent - [DS]

2009-12-17 Thread Declan Shanaghy
Sorry but that's just a web URL, not the Navigation App. I found out how to do it by applying a bit of guesswork after reading this page (suggested previously by Lance, thanks Lance) http://developer.android.com/intl/zh-CN/guide/appendix/g-app-intents.html Intent i = new Intent(Intent.ACTION_VIE

Re: [android-developers] Inter-process communication with a Service and Notifications issue

2009-12-17 Thread Christophe Vandeplas
Hi Dianne, Thanks for this enlightening info. I finally used the android:launchMode="singleTask" option in my manifest and that solves my problem. I will look into to the documentation of the LocalService the next days. Christophe On Mon, Dec 14, 2009 at 5:06 AM, Dianne Hackborn wrote: > You

[android-developers] Re: onKeyUp in 2.0 gets called even when focus is in a TextView

2009-12-17 Thread sdphil
a completely hacked solution (in the absence of anything better) -- @Override public boolean onKeyUp(int keyCode, KeyEvent keyEvent) { boolean rc = super.onKeyUp(keyCode, keyEvent); View view = getCurrentFocus(); if (view instanceof EditText) { return rc; } ... //

Re: [android-developers] Re: IRC office hours Thursday 5:00-6:00 pm PST

2009-12-17 Thread Megha Joshi
You can subscribe to developer events calendar here, it includes our IRC office hours. http://code.google.com/events/calendar/ Please submit your questions for today's office hours at : http://moderator.appspot.com/#15/e=120951&t=121ce5 Let me know if you have other office hours related questions

[android-developers] Re: Can anyone tell me ONE app that shows up in Android Market on HTC Tattoo

2009-12-17 Thread WoodManEXP
Your app is maybe not showing on the Tattoo because of the combination of Tattoo being a small-screen device and the screen settings in your app's manifest. There is a blog posting at http://d.android.com/guide/practices/screens_support.html that explains it well. And on the comment of "They want

[android-developers] how to send an IM?

2009-12-17 Thread Jason Proctor
i'm striking out trying to send an IM from an activity. email & sms were easy, but i can't get IM to work for some reason. i googled around and found a method which used "imto" Uris, but the Uris so constructed crash HierarchicalUri.writeToParcel(), which is a long-standing bug IIRC - at least

[android-developers] Help! How to create tiled drawable from xml? (Poor documentation of this on the official developer site)

2009-12-17 Thread Agus
Hi all, I need to create a tiled drawable using BitmapDrawable but I need to create it from xml resource rather than code. Thanks. -- 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@goo

[android-developers] Re: onKeyUp in 2.0 gets called even when focus is in a TextView

2009-12-17 Thread sdphil
a completely hacked solution (in the absence of anything better) -- @Override public boolean onKeyUp(int keyCode, KeyEvent keyEvent) { boolean rc = super.onKeyUp(keyCode, keyEvent); View view = getCurrentFocus(); if (view instanceof EditText) { return rc; } ... //

Re: [android-developers] Re: URLconnection.setConnectTimeout doesn't work?

2009-12-17 Thread Mariano Kamp
I am using a partial wake lock and I still still this issue. On Thu, Dec 17, 2009 at 1:06 PM, MurphyII wrote: > Hello, > > I have the same issue. Sometimes my connection never times-out. Did > you try with httpclient ? Did you find why the connection is failing > the 1st time ? > > I will try to

[android-developers] Re: onKeyUp in 2.0 gets called even when focus is in a TextView

2009-12-17 Thread sdphil
a completely hacked solution (in the absence of anything better) -- @Override public boolean onKeyUp(int keyCode, KeyEvent keyEvent) { boolean rc = super.onKeyUp(keyCode, keyEvent); View view = getCurrentFocus(); if (view instanceof EditText) { return rc; } ... //

[android-developers] Re: onKeyUp in 2.0 gets called even when focus is in a TextView

2009-12-17 Thread sdphil
a completely hacked solution (in the absence of anything better) -- @Override public boolean onKeyUp(int keyCode, KeyEvent keyEvent) { boolean rc = super.onKeyUp(keyCode, keyEvent); View view = getCurrentFocus(); if (view instanceof EditText) { return rc; } ... //

Re: [android-developers] Re: Reminder: IRC office hours tomorrow

2009-12-17 Thread Megha Joshi
We are still considering whether to provide transcripts depending on its demand. There is a list of questions asked during office hours here.We will be updating it with answers soon:. http://moderator.appspot.com/#15/e=120951&t=11fd95 For today's office hours at 5pm PST you could post your questi

Re: [android-developers] Nexus One dev phone

2009-12-17 Thread Dan Sherman
Same question here :) On a side note Robert, might wanna submit it to the IRC "office hours" list as well :) - Dan On Thu, Dec 17, 2009 at 2:35 PM, Robert Green wrote: > I'm a game developer but do not work for Google and thus do not have > access to the Nexus One. I'm finding that every diff

[android-developers] In what folder do you put a bitmap xml resource in your Android project?

2009-12-17 Thread Agus
Hi all, Quick question since I can't get this info from the official Android developer site: In what folder do you put a bitmap xml resource? Thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andro

[android-developers] Nexus One dev phone

2009-12-17 Thread Robert Green
I'm a game developer but do not work for Google and thus do not have access to the Nexus One. I'm finding that every different chipset has different quirks so while the emulator works fine for regular apps, those of us using lots of OpenGL are having to get our hands on each unique handset. I'd b

[android-developers] Re: Expanding the size of an Android Virtual Device (emulator) instance?

2009-12-17 Thread Jeremy Logan
Okay, so disk.cachePartition.size appears to not be related at all and seems to be used for the browser's cache. Anyone else have any ideas? On Dec 17, 10:38 am, Jeremy Logan wrote: > On a relatively new emulator image (AVD) I have about 40mb of free > space. How can I expand this? I tried sett

[android-developers] Re: How to use clasess on android device

2009-12-17 Thread ko5tik
As previous author states, you should not. But if you are really desperate you can hack around it, like guys from bluetooth library (you can find in on google code, their repository is: http://android-bluetooth.googlecode.com/svn/trunk ) On Dec 17, 11:13 am, saikiran n wrote: > Hi > I have se

[android-developers] Re: how to change Menu background color?

2009-12-17 Thread SandVoiD
If you created this in styles as res/values/style Are you referring to @style in your main.xml? On Dec 17, 8:00 am, SandVoiD wrote: > To be short, yes. > You have to create a colors.XML file in Res/values. > Such as: > >   > #7fff > > > Then in your main.XML you need to tell it to refer to

Re: [android-developers] Re: Google Voice Automatic Sign-in

2009-12-17 Thread Disconnect
No. You need to sign it with google's private key to get access to google private stuff. On Wed, Dec 16, 2009 at 7:05 PM, MrWhitekeys wrote: > is there a way to use the google key stored on the device? Because I'm > writing a app that integrates with Google voice and am looking for > something s

Re: [android-developers] Re: How to play the music in the earpiece instead of speaker?

2009-12-17 Thread n179911
Thank you. But how can I do this in Donut release? The setRouting is private. And when I look at AudioManger.java itself, it does not set Routing to ROUTE_EARPIECE anywhere. On Mon, Oct 19, 2009 at 7:39 PM, feeling3_4 wrote: > > I have find the solution, hope it can help others > AudioManager

[android-developers] Re: New SDK!

2009-12-17 Thread RNekic
I've modified the layoutopt.bat to correct the last line in the file when running it in Windows. Layoutopt now appears to run but yields no output for any of my layout files. I even pointed it at the entire layout directory of my project but all I get is a brief pause and I'm back at the DOS pro

[android-developers] Display Contacts "You don't have any contacts to display" possibly caused by NullPointerException: null

2009-12-17 Thread Scott W
Hi, I'm developing a Names based on the code for Google Contacts. I have got my application running and can save new names to the sqlite database. However, I cannot display records after saving them. The UI displays "You don't have any contacts to display". I think it may relate to a "NullPointe

[android-developers] 6-channel aac playback

2009-12-17 Thread Manju
I have a 6-channel aac audio file, with the present decoders i can play this on x86-linux, win32. But nor on android phone. Do we have support to play a 6-channel aac audio file? Please reply asap! Thanks, -- You received this message because you are subscribed to the Google Groups "Android Deve

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-12-17 Thread Ozius
Somebody try it with Google Analytics service? I am trying to implement this method in my program but I can't get it to work. This is my code: GoogleLoginServiceHelper.getCredentials(this, 54321, null, GoogleLoginServiceConstants.REQUIRE_GOOGLE,

[android-developers] Re: how to change Menu background color?

2009-12-17 Thread SandVoiD
To be short, yes. You have to create a colors.XML file in Res/values. Such as: #7fff Then in your main.XML you need to tell it to refer to this, such As: android:background="@color/background" On Dec 16, 1:11 pm, Abhi wrote: > Is it possible to change the background color, style of

[android-developers] Application component not instantiated before launching Activity

2009-12-17 Thread Siju
Hi I got a null pointer exception in an Activity onCreate() while trying to access my Application object (extended from android.app.Application).This exception occurred very rarely and i have no way to reproduce this again.My App starts a service on BOOT_COMPLETED intent and the null pointer excep

[android-developers] How to create a closed (circular) ListView

2009-12-17 Thread Mart
Hi, I want to create a customized ListView (or similar) which will behave like a closed (circular) one: 1. scrolling down - after the last item was reached the first begins (.., n-1, n, 1, 2, ..) 2. scrolling upward - after the first item was reached the last begins (.., 2, 1, n, n-1, ..)

[android-developers] HelloWebView tutorial - onKeyDown doesn't work without WebViewClient

2009-12-17 Thread alexk-il
Hi, I wonder why the HelloWebView.onKeyDown stops working if the WebView is used without overloaded WebAppClient: // webview.setWebViewClient(new WebAppClient()); I guess this question is related to the following line of the tutorial: "However, you'll notice that we can't navigate back.

[android-developers] Astro File Manager java sources ?

2009-12-17 Thread Phil gib
hello, i am developping a Management Application that has similar features than the Astro File Manager Application, mainly the process/services/ apps montoring feature GUI. Do you know if the java sources for the Application are available somewhere .. Not found right now seem not open source s

Re: [android-developers] Problem in consuming/calling ASP.NET web service from the Android

2009-12-17 Thread alan.cassar
For .net services, soap action should be SOAPAction: "http://tempuri.org/CelsiusToFahrenheit"; check it out from http://www.w3schools.com/webservices/tempconvert.asmx?op=CelsiusToFahrenheit through your web browser Alan On Thu, 17 Dec 2009 06:24:19 -0800 (PST), android09 wrote: > Hello Every

[android-developers] Re: URLconnection.setConnectTimeout doesn't work?

2009-12-17 Thread MurphyII
Hello, I have the same issue. Sometimes my connection never times-out. Did you try with httpclient ? Did you find why the connection is failing the 1st time ? I will try to acquire PATIAL_WAKE_LOCK before connecting/downloading and to release it just after. Best On 11 déc, 22:48, Kaj Bjurman

Re: [android-developers] Re: Immediate Need for Multiple Requirements

2009-12-17 Thread Ravi shankar
Openings in bangalore for Android development Please send me your resume if interested. Thanks On Tue, Dec 15, 2009 at 4:33 PM, Zied Hamdi wrote: > Just about how to do that: > > 1. activate the labs option "canned responses" in your gmail parameters > (the labs panel) > 2. create a well insul

Re: [android-developers] Write a file to sdcard...

2009-12-17 Thread peng peng
yes, i setup the sdcard. On Thu, Dec 17, 2009 at 3:32 PM, sheng wang wrote: > confirm one more thing: > > The sdcard image has been setup when you create the AVD > > > 2009/12/15 Mark Wyszomierski > >> Hi, >> >> I'm trying to create a file on the sd card. Using this: >> >> OutputStream out =

[android-developers] Re: make call from app & go directly back to app after call hangup?

2009-12-17 Thread Sean Neilan
Alright, I have found that I can't pop up an activity as soon as the call log screen shows. Is it possible to have android skip showing the call log screen after a call is initiated from an activity? On Dec 15, 1:31 pm, Sean Neilan wrote: > Dear Android Developers, > > is it possible to make aca

  1   2   >