[android-developers] Re: glGetIntegerv() with GL11.GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES

2009-12-17 Thread Jeremiah Sellars
Shoot... Well, alright. Seems a shame to run all that extra code, but I'll give it a whirl. I don't suppose there's any rumors about OpenGL ES 1.1 being more supported? I suppose this could be one of those time running some native code would come in handy? On Dec 16, 8:06 pm, Robert Green

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

2009-12-17 Thread MrChaz
Have you added the permission to read the wifi state? Can you post the exception that is thrown? On Dec 17, 7:13 am, zz zt1082 zt1...@gmail.com wrote: When I call mWifiManager.isWifiEnabled() , program is crash. my Code is: - import

[android-developers] Video display not coming on Android1.6 SDK on OMAP3430 board

2009-12-17 Thread Ashu
Hi, In porting android SDK 1.6, we are facing an issue with video display. The board is unable to play any Video file, showing error on screen, like Sorry,can't play this video. But it is playing audio well, We are using ALSA audio, We are using Meridian video player to play the video files

[android-developers] Using layout-include together with l10n

2009-12-17 Thread rflexor
Hi, I have a complex dialog-layout that has to be customized for small screens to decrease its height on such devices. This can easily be achieved by decreasing the height of several single Buttons and Textfields in the layout, each by a small amount. Of course much of the layout still stays the

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

2009-12-17 Thread saikiran n
Hi I have seen the clasess like android.os.ServiceManager ,android.view.IWindowManager are not public they implemented in device itself. If i want to use them in my application i how can i do it? Can anybody help me -- You received this message because you are subscribed to the Google Groups

[android-developers] How to change device management objects in android device

2009-12-17 Thread saikiran n
Hi, If android supports device management how can we access those objects Actually my requirement is i need to access devicemanagement objects as well as update is this possible in android? Any help really apriciated thanks in advance -- You received this message because you are subscribed to

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

2009-12-17 Thread James Wang
We are developing a ContentProvider which is supposed to serve for specified packages. So we want to get the caller package name. Is there any way to achieve that? Thanks in advanced. James -- You received this message because you are subscribed to the Google Groups Android Developers group.

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

2009-12-17 Thread Mark Murphy
I have seen the clasess like android.os.ServiceManager ,android.view.IWindowManager are not public they implemented in device itself. If i want to use them in my application i how can i do it? You can't, and you shouldn't:

[android-developers] wrong intent getting supplied to OneTimeAlarmReceiver.

2009-12-17 Thread Jags
I am using marks' method of alarmreceiver and appservice. I am trying to pass a record id to the alarmintent through putextra. and receive it in ontimealarmreceiver in getExtra. What I observe is, first time record id goes correct (say 11) second time record id is sent 12, but in receiver i

Re: [android-developers] wrong intent getting supplied to OneTimeAlarmReceiver.

2009-12-17 Thread Mark Murphy
I am using marks' method of alarmreceiver and appservice. I am trying to pass a record id to the alarmintent through putextra. and receive it in ontimealarmreceiver in getExtra. What I observe is, first time record id goes correct (say 11) second time record id is sent 12, but in receiver i

[android-developers] Divert a call by sending the USSD command

2009-12-17 Thread Mohammad Siddiqui
Hi can any one tell me how to programmaticaly divert a call on particular number by sending the USSD command.eg, to divert a call on the number-123456789 we dial *122*123456789#. it divert the call on to the 123456789, Thanks in advance Thanks Regards Mohammad Azhar -- You received this

Re: [android-developers] Re: ActivityThread.ContextCleanupInfo leaking memory?

2009-12-17 Thread freezy
Thanks for the interest Matt. Here are some references I found very interesting regarding memory leaks: How to import a heap dump from Android into Eclipse's Memory Analyser Tool (MAT) http://kohlerm.blogspot.com/2009/04/analyzing-memory-usage-off-your-android.html Good article on how to fix

Re: [android-developers] Re: multiple activity refresh

2009-12-17 Thread Mark Murphy
If I want to refresh that in the same activity, then ? For example, i need a cursoradapter and select a row and delete, that row is deleted and record is also deleted, and dsplay updated. on click of a button in the same activity. which example of yours demonstrate this type ? I confess to

[android-developers] Market search and Top free/paid result order

2009-12-17 Thread Mathias
What determines the market search result order? It doesn't seem to be downloads or rating. The Top free/paid listing does not make much sense either... -- 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: Market search and Top free/paid result order

2009-12-17 Thread Mathias
I am using the Android 1.6 Market. On Dec 17, 7:48 am, Mathias mathias.axels...@gmail.com wrote: What determines the market search result order? It doesn't seem to be downloads or rating. The Top free/paid listing does not make much sense either... -- You received this message because you

[android-developers] LocalServiceBinding.java

2009-12-17 Thread qlimax
Hi guys. I'm writing an application that use a service to play an audio file I'm watching the LocalService.java and LocalServiceBinding.java from the API DEMO In the api demo, the LocalService.java make a notification in the status bar, in my case it plays mp3 and make a notification. But that

[android-developers] Re: Poll Screen On/Off state

2009-12-17 Thread Tim
On Dec 15, 10:07 pm, Tim tdh...@gmail.com wrote: I also have this problem and there doesn't seem to be a way around it. And no, I'm not 'doing it wrong'. Polling really would be best in my case - my app reacts to received SMS's and needs to do different things depending on whether the screen

[android-developers] Unit Tests

2009-12-17 Thread Keean Schupke
Hi, I am having problems with the Unit test framework. I have the following files in the tests directory: AndroidManifest.xml ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.fryit.pkh.tests application

[android-developers] how to stop screen from dimming

2009-12-17 Thread rukiman
In my game because it is a board game, I do not want the screen to timout which the user is playing my game. Any idea on how to do this? -- 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: Is the SQLiteDatabase thread-safe?

2009-12-17 Thread Marc Reichelt
[x] You want to read the JavaDoc at http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html and search for the keyword thread. Regards Marc On 17 Dez., 07:20, Agus agus.sant...@gmail.com wrote: Is the SQLiteDatabase thread-safe? -- You received this message because

Re: [android-developers] Re: Poll Screen On/Off state

2009-12-17 Thread Mark Murphy
On Dec 15, 10:07 pm, Tim tdh...@gmail.com wrote: I also have this problem and there doesn't seem to be a way around it. And no, I'm not 'doing it wrong'. Polling really would be best in my case - my app reacts to received SMS's and needs to do different things depending on whether the screen

[android-developers] Re: DatePicker: years before 2000

2009-12-17 Thread Seb
Hi, I've got users with the same problem with the same Samsung Moment Phone. The date can only be set from 2000 to 2090. If the user sets manually 1984, then when he'll go back in the DatePickerDialog, the date is 2098. After a little search, it appears that the DatePicker widget have 2

[android-developers] Re: LocalServiceBinding.java

2009-12-17 Thread qlimax
sorry... maybe solved without binding but using startService/stopService maybe... requires tests :::))) bye On 17 Dic, 14:03, qlimax eneager...@gmail.com wrote: Hi guys. I'm writing an application that use a service to play an audio file I'm watching the LocalService.java and

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

2009-12-17 Thread android09
Hello Everyone, I am trying to develop an application which consume the asp.net web service from android. I tried a lot but every time i got an exception while calling the SOAP_ACTION. I have tried with the localhost, local IP Address and also i have taken URL from the internet but it throws an

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

2009-12-17 Thread Jose Gomez
Change the Tempuri to something else it will fix it :) had the same problem Sincerely Jose C Gomez http://www.josecgomez.com On Thu, Dec 17, 2009 at 9:24 AM, android09 pranav.jaja...@gmail.com wrote: Hello Everyone, I am trying to develop an application which consume the asp.net web

[android-developers] Re: how to stop screen from dimming

2009-12-17 Thread Lance Nanek
http://developer.android.com/intl/zh-CN/reference/android/os/PowerManager.html or http://developer.android.com/intl/zh-CN/reference/android/view/View.html#attr_android:keepScreenOn On Dec 17, 8:18 am, rukiman ruksh...@optushome.com.au wrote: In my game because it is a board game, I do not want

[android-developers] Re: where is debug certificate when build with Eclipse?

2009-12-17 Thread Maps.Huge.Info (Maps API Guru)
Just uninstall your old version, that will fix it. You can do that from adb or from the device under menu-settings-applications-manage applications -John Coryat Radar Now! What Zip Code? -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: LocalServiceBinding.java

2009-12-17 Thread G
Hey I ran into this problem a while back and was pulling my hair out. The fix is easy (and you're on the right track) You can still call bindService, you just have to call startService first. If the service is started via bindService, then it will live and die with the activity that called it,

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

2009-12-17 Thread Abhi
Hi all, I am trying to figure out how to design my custom menu style by referencing this documentation - http://developer.android.com/intl/zh-CN/guide/topics/ui/themes.html I somehow don't get it. All I want to do is to change the background color to something else than the existing grey shade.

[android-developers] Scrollbar in AdapterView

2009-12-17 Thread RIV
Hi All, I have a AdapterView derived class (say GridLayout) in which I arrange views in a grid. When items in the grid exceed the height of the GridLayout( or screen) I want a scrollbar to appear. I have handled scrolling in onTouchEvent. But the problem is the scrollbars don't appear. I have set

[android-developers] Re: Large data file: how to deal with it?

2009-12-17 Thread Alain
1. How does one split an App that requires overs 10MB when the code is combined with the data, into two APKs, one APK for the code to make it as small as possible and the second APK for the 10MB data file. H 2. How does an App split into two get loaded on the Market. On Dec 11, 2:59 pm,

[android-developers] Re: Different formats of postal address with ContactsContracts

2009-12-17 Thread benbenbenben
Do I have to write it my own for ~ 190 countries? On 5 dec, 11:08, benbenbenben bengr...@hotmail.com wrote: Is there a way to get the data: address, postalcode, country ect. in different country formats. Like in Great Britain:  [recipient]  [street name]  [postal town (town/city)]  

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

2009-12-17 Thread Bill Michaelson
Is there a Google calendar I can subscribe to for these events? On Dec 16, 6:17 pm, Megha Joshi mjo...@google.com wrote: Hi everyone, This is a quick reminder that we will be hosting IRC office hours tomorrow 5:00-6:00 pm PST in the #android-dev IRC channel. Please post/vote your questions

[android-developers] managedQuery - Nullpointerexception

2009-12-17 Thread draf...@gmail.com
Having a problem with the managedQuery below, I am trying to get the value of the CallLogs.Calls.TYPE or in other words the type of the call, missed, answered, dialled. however I keep getting this error 12-17 15:17:50.580: WARN/System.err (1488): android.database.CursorIndexOutOfBoundsException:

[android-developers] when do we get Timeout of broadcast BroadcastRecord message?

2009-12-17 Thread pink 444
Hi all, My application has some native code,which waits on some network related stuff,as soon as native code receives events from network native code is trying to broadcast a request which will be received by android application. Native code is part my application and runs in same process.

[android-developers] Detecting the presence of a mute switch

2009-12-17 Thread jarkman
On the CLIQ, there's a physical switch to put the device into a silent state. That means we can't (or at least shouldn't) offer UI to change the ringer mode (via Audiomanager.setRingerMode()), since we don't want to leave the device's state inconsistent with the switch. I can't find any way to

[android-developers] ClassLoader leaking memory?

2009-12-17 Thread B++
I have a ClassLoader in Activity's onCreate which loads a specific class from a library, and is working fine, except that when activity is destroyed, the memory resources about the loaded class are not released. If the same activity gets created multiple times very quickly (by launching it, and

[android-developers] Re: DB location

2009-12-17 Thread Jags
oh ! I got the point why you were referring to _id. But can't I do like SELECT MyId as _ID from My_Table ? this is throwing (9165): column '_id' does not exist error, even though this query just runs fine in command line. your way of SELECT _ID=MyId from My_Table gives invalid query exception.

[android-developers] Customising Spinner Popup Lists (horizontalDivider)

2009-12-17 Thread Nilz
Hi, I'm having trouble changing the drawable resource used to draw the horizontal divider in the spinners popup list. If I do the following in styles.xml, I am able to change every part of the popup list except the horizontal divider graphic. I'm even able to change the divider height!

[android-developers] screen size compatibility

2009-12-17 Thread Abhi
Hi, I want to make my app compatible to different screen sizes. I am right now developing on the Droid and need to know how can I import the screen image on eclipse emulator? I don't have a droid phone but want to make sure my app layout doesn't change on the Droid. Any suggestions? Abhi --

[android-developers] Re: LocalServiceBinding.java

2009-12-17 Thread qlimax
Hi G, thanks a lot for the explanation. (souch thigs should be better documented...) bye. On 17 Dic, 16:02, G ghack...@gmail.com wrote: Hey I ran into this problem a while back and was pulling my hair out. The fix is easy (and you're on the right track) You can still call bindService, you

[android-developers] Re: screen size compatibility

2009-12-17 Thread admin.androidsl...@googlemail.com
You can use an emulator and set it to Droid WVGA resolution. If you are just testing screen sizes this should be fine. If you need to test other functionality of the device, e.g. camera, gps, integration between apps, etc. you will be better off with the device itself. -- You received this

[android-developers] Re: Unit Tests

2009-12-17 Thread Keean Schupke
Found the problem, in the AndroidManifest: uses-library name=android.test.runner/ should be: uses-library android:name=android.test.runner/ Cheers, Keean. On Dec 17, 1:13 pm, Keean Schupke keean.schu...@googlemail.com wrote: Hi, I am having problems with the Unit test framework. I have

[android-developers] Re: Error creating dex file while building using ANT

2009-12-17 Thread RickGillaspy
I'm seeing this exact problem. I've tried several different java versions, and downloaded the latest ant build. I even wrote a sample java program an verified that MessageDigest.getInstance(SHA-1); does not throw this exception for me.. does anyone have an idea what could be causing it? On Oct

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

2009-12-17 Thread sdphil
according to the documentation -- http://developer.android.com/reference/android/app/Activity.html#onKeyUp%28int,%20android.view.KeyEvent%29 Called when a key was released and not handled by any of the views inside of the activity. So, for example, key presses while the cursor is inside a

Re: [android-developers] Using layout-include together with l10n

2009-12-17 Thread Romain Guy
Includes are indeed resolved at runtime (when the XML layout file is inflated.) On Thu, Dec 17, 2009 at 1:13 AM, rflexor rfle...@googlemail.com wrote: Hi, I have a complex dialog-layout that has to be customized for small screens to decrease its height on such devices. This can easily be

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

2009-12-17 Thread Mark Wyszomierski
So if my app does (sometimes) use autofocus but works OK without autofocus I should use What if the app uses the camera if one is available, but also works fine on a device *without* a camera? By adding the following to the manifest: uses-permission android:name=android.permission.CAMERA /

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

2009-12-17 Thread Watcher
Hi, I have the same service in multiple APKs. In each of the APKs, I am going to launch the serivce. Because the APK are difference applications that have been installed upgraded at various times, the service implementation in each may be different. I am trying to figure out a way to make sure

[android-developers] Re: How to Read/Write .CSV

2009-12-17 Thread Ben
Mark, Matt, thanks a ton for the help. Just needed some direction and I think I've got it. If I get this working as I'm hoping will post the source here to benefit others. Thanks again. On Dec 15, 10:34 am, Matt Kanninen mathias...@gmail.com wrote: Doesn't sound like an Android question to me,

[android-developers] Re: NDK all from within Eclipse

2009-12-17 Thread Nightwolf
There is also useful video Using CDT for Android Native http://cdtdoug.blogspot.com/2009/09/using-cdt-for-android-native.html It would be great to know how to debug native code. On 16 дек, 06:26, datoudatou datouda...@gmail.com wrote: hi Robert Green, great thanks. i have tried your

[android-developers] Re: Lags during onTouchEvent on Motorola DROID

2009-12-17 Thread Nightwolf
It seems that starting from android 1.6 there is no need in sleep workaround. Tried this on HTC G1. On 16 дек, 12:58, Mobile mstream2...@gmail.com wrote: I have several complaints from Moto DROID users who experience lags while touching. In my app I implement the recommended workaround with

Re: [android-developers] Re: How to play media via speaker phone

2009-12-17 Thread n179911
Thanks Stoffe, Can you please tell me what you mean by using voice call setting? AudioManager.setMode() ? or Acivity.setVolumeControlStream(int streamType) ? On Mon, Nov 16, 2009 at 5:19 PM, Stoffe kristoffer.gronow...@gmail.comwrote: Hi Hap! Try to use the voice call setting. At least

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

2009-12-17 Thread Jeremy Logan
On a relatively new emulator image (AVD) I have about 40mb of free space. How can I expand this? I tried setting the disk.cachePartition.size option, but it didn't seem to have any effect. Just to be clear... I'm talking about the Internal phone storage size, not the SD Card size. Thanks, Jeremy

[android-developers] Re: Starting activity from service/receiver ? Bugged in 1.6 ?

2009-12-17 Thread mrgreenbeans
Lee - I see you posted this back on 11/6. I'm seeing the same behavior and I'm curious if you have discovered a work around to this issue. Eric On Nov 6, 2:23 am, Lee lee.wil...@googlemail.com wrote: http://code.google.com/p/android/issues/detail?id=4536 Feel free to add details :-) Lee

[android-developers] Re: Epub reader

2009-12-17 Thread sushil
Hi, I am also want to develop epub application. Can you guide me where to start? which view to use to display HTML content? whether Web view is sufficient or we need to extend it?? Thanks in advance, looking for your help. Regards, Sushil On Dec 8, 9:36 am, Sukitha Udugamasooriya

[android-developers] Re: send sms with a phone number in parameter

2009-12-17 Thread Abhi
Hi, You could try this: Intent m_intent = new Intent(Intent.ACTION_VIEW, Uri.parse(sms: 06)); m_intent.putExtra(sms_body, Hello World); startActivity(m_intent); On Dec 16, 10:50 pm, Bibou mebi...@gmail.com wrote: Hello everyone, I am trying to send a sms throughout an application. I

[android-developers] Change the User Agent

2009-12-17 Thread alex
Hey, I'm trying to change the User Agent in my App so that I can Acces sites With the URL class without getting the mobile website. -- 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] Always permission denial when trying to read Email Account

2009-12-17 Thread sure zhang
Hello Everyone, I've the problem when I want to read com.android.email.provider to get default email account. Always have a java.lang.SecurityException: Permission Denial: reading com.android.email.provider.EmailProvider uri content://com.android.email.provider/account from pid=429, uid=10023

[android-developers] Re: Bug in screen lock

2009-12-17 Thread Fernando Rodrigues
Fabiano, I have exactly the same problem here! I just bought my Galaxy (2 days with him) and this bug is really bothering me! Do you have any idea how to fix this bug? Can we find any soft ate Android Market to fix this? Thanks a lot! Regards On 9 dez, 17:33, Fabiano fabianobo...@gmail.com

[android-developers] deleting GPS data from mobile device

2009-12-17 Thread supriya
Hi I am developing an GPS application which implements hot fix, warm fix and cold fix. am done with the hot fix. How to implement warm and cold fix? To implement warm and cold fix, i need to delete almanac and ephemeris data (data retrieved from satellites) stored in the device. So where does

[android-developers] view-activity events

2009-12-17 Thread SAM
Hi, I am developing android application and developing UI thru code rather than XML. The first screen or activity has a image on top which is used for mode selection. - | ModeA | ModeB | ModeC | - I have 3 images to select from 1.

[android-developers] Re: outgoing call data stream / channel

2009-12-17 Thread Jonathan
Could you please describe the 2 ways that you reference? On Dec 11, 9:40 am, Mr Pinguin pinguint...@googlemail.com wrote: Is it possible to record only VOICE_DOWNLINK    Voice call downlink (Rx) audio source ? It doesn't work for me. it records only 2 ways. On 4 Dez., 08:00, hongki park

[android-developers] Error using SDK and AVD Manager

2009-12-17 Thread aurilliance
I'm trying to get the android SDK set up on my computer, but every time I start the SDK and AVD manager and try to connect to the repositroy, I get this error: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: Connection timed out: connect I have no HTTP

[android-developers] Re: integrating pro-guard (obfuscation).

2009-12-17 Thread alexk-il
You haven't convienced me :). I still think that ProGuard may be usefull in my project. I'd like ot second phil's request for help on integrating the ProGuard with Ecclipse/Android. On Dec 16, 12:17 am, CyberQat jef...@gmail.com wrote: Well since you raised them  this is for others reading

[android-developers] Use of VOICE_CALL, VOICE_UPLINK, or VOICE_DOWNLINK

2009-12-17 Thread Jonathan
Has anyone had any success on any device with using VOICE_CALL, VOICE_UPLINK, or VOICE_DOWNLINK as the Audio Source versus MIC? I have had no success actually recording even the local side of the call. I realize this may be more of a hardware related issue, but any ideas or references would be

[android-developers] Read gesture file in sdcard failed

2009-12-17 Thread peng peng
hi all: I build some gestures uses gesturebuilder and the file is store in sdcard. But I can not read gesture file in class ( frameworks/policies/base/phone/com/android/internal/policy/impl/Lockscreen) The file does not exists the same code was worked ok in a activity.

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

2009-12-17 Thread ailinykh
In my application onCreate method reads some files, creates a bunch of objects (Model) and then creates visual layout. When an orientation gets changed it reads files again. But they are the same. There is no need to read them again. Only visual layout needs to be recalculated. Is there a way to

[android-developers] SQLite image storing problem

2009-12-17 Thread devi
Hai developers, i have the critical situation.i want to store the image in DB in android. but i don't know how to store image in db and how to get from db.i novice to android platform.so anyone give me the samplecode to develop my application.i tried more time but not i get the

[android-developers] USB Host

2009-12-17 Thread Rafa Perfeito
Hey droiders, Im building an app that communicates with an external sensor, preferably by USB. Now, as many of you already must know, Android smartphones and USB host mode are not natural to one another... But im sure that one solution must be available. At this point i see two possible

Re: [android-developers] send sms with a phone number in parameter

2009-12-17 Thread abhilash reddy
Hi, You could try this: Intent m_intent = new Intent(Intent.ACTION_VIEW, Uri.parse(sms: 06 )); m_intent.putExtra(sms_body, Hello World); startActivity(m_intent); On Wed, Dec 16, 2009 at 11:20 PM, Bibou mebi...@gmail.com wrote: Hello everyone, I am trying to send a sms throughout an

[android-developers] Connection to Java server program

2009-12-17 Thread Wakes
I've designed a chat server in RMI and I'd like to make some changes so it is compatible with Android. What is the best way for me to adapt the server to work with Android? TCP sockets? Some other Android middleware? I know RMI isn't supported, CORBA doesn't seem to be supported and SOAP doesn't

[android-developers] Query regarding Email application

2009-12-17 Thread Android Developer
Hi, I am working on Android SDK2.0 . Following is my observation regarding email application. I have 2 accounts created in email application. 1. accou...@google.com 2. accou...@google.com accou...@google.com is the default account. When i try to compose a mail using accou...@google.com, i can

[android-developers] How to get the gallery app to recognize a new extension

2009-12-17 Thread Bhavna
Hi, I want to add a new extension .ogm for Gallery app. At first the ogm file was not being shown at all under the Gallery app. After adding this extension under MediaFile.java under eclair/frameworks/base/media/ java/android/media i got .ogm visible under Gallery app. But when i click it,

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 banxia...@gmail.com wrote: confirm one more thing: The sdcard image has been setup when you create the AVD 2009/12/15 Mark Wyszomierski mar...@gmail.com Hi, I'm trying to create a file on the sd card. Using this:

[android-developers] How to display DATA SMS

2009-12-17 Thread webzaheer
HI all, Can somebody please help me. In retrieving of DATA SMS. I am unable to understand how to retrieve the DATA SMS. I receive wild characters. Here is the sample code, i am using. - public void onReceive(Context context, Intent intent) { //

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 zha...@into-i.fr wrote: Just about how to do that: 1. activate the labs option canned responses in your gmail parameters (the labs panel) 2. create a

[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

[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] 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] 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

[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

[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: resources color name=background#7fff/color resources 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

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

[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] 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

[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

[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

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 lanwen.ban...@gmail.com wrote: I have find the solution, hope it can help

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 neu...@gmail.com 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

[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 mitchell.ros...@gmail.com wrote: To be short, yes. You have to create a colors.XML file in Res/values. Such as:  resources color name=background#7fff/color

[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 saikiran@gmail.com

[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 jeremy.lo...@gmail.com wrote: On a relatively new emulator image (AVD) I have about 40mb of free space. How can I

[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

[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

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 rbgrn@gmail.com 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

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=120951t=11fd95 For today's office hours at 5pm PST you could post your

[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: 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 arnaud.gicq...@gmail.com 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

[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; } ... //

  1   2   >