[android-developers] Re: Out of memory error in frame animation

2009-03-23 Thread Romain Guy
No it won't reduce the memory usage, at least not if the png don't have an alpha channel. On Sun, Mar 22, 2009 at 10:59 PM, iDeveloper ideveloper...@gmail.com wrote: Try using jpegs instead of pngs. That'll reduce your memory usage quite a bit if you have to use these images and alpha is not

[android-developers] how to export *.gles 3d model file

2009-03-23 Thread cht
opengl Object3D class can load *.gles format 3d modles, i want to know how can i export a *.gles format 3d modle. thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Problems using WebView.loadDataWithBaseURL

2009-03-23 Thread Simon Depiets
Hi, i'm trying to display a page in UTF-8 encoding (japanese) using a WebView via a direct URL and loadUrl has proven not effective given it seems it doesn't support UTF-8 encoded urls. My code is atm the following and the problem is the source is retrieved but nothing at all is displayed. Did i

[android-developers] Re: Good place to look for freelance dev jobs?

2009-03-23 Thread Carl Whalley
Theres been a few on Linked In - try the Google Android group http://www.linkedin.com/groupInvitation?gid=76373 -- Android Academy: http://www.androidacademy.com On Mar 22, 7:43 pm, 1.am.W1z4rd 1.am.w1z...@gmail.com wrote: Hi, does anybody know of any good places to look for freelance Android

[android-developers] Do you think Android apps will ever sell 100,000+ copies?

2009-03-23 Thread admin.androidsl...@googlemail.com
Asking because we all know iPhone apps do - even those as imaginative (!) as iFart. Currently on Android, #1 paid app (according to aTrackDog) is PowerManager and that has sold somewhere between 5,000 and 10,000. Not bad - I guess dev must have made something like $5,000 - but not a

[android-developers] Re: Do you think Android apps will ever sell 100,000+ copies?

2009-03-23 Thread admin.androidsl...@googlemail.com
moved to android discuss On Mar 23, 9:54 am, admin.androidsl...@googlemail.com admin.androidsl...@googlemail.com wrote: Asking because we all know iPhone apps do - even those as imaginative (!) as iFart. Currently on Android, #1 paid app (according to aTrackDog) is PowerManager and that

[android-developers] Re: Can i convert AMR to MP3 OR WAV in my activity?

2009-03-23 Thread zeeshan
can anyone help me? i am really stuck on this problem. i need to convert a recorded file from AMR to MP3. i am using this code for recording Intent intent = new Intent (MediaStore.Audio.Media.RECORD_SOUND_ACTION); startActivityForResult(intent, SELECT_AUDIO); protected void

[android-developers] Re: IWindowManager Not Available

2009-03-23 Thread Lars
Could you please explain why? On Mar 20, 6:13 pm, Dianne Hackborn hack...@android.com wrote: On Thu, Mar 19, 2009 at 7:29 AM, Lars lars.bra...@gmail.com wrote: Actually you can use some of them. Just add tools\lib\layoutlib.jar to the build path (Eclipse: right click the project, select

[android-developers] Please help in getting screen coordinates of a view

2009-03-23 Thread kavitha
Hii All, I am developing a game in android and i want to capture screen coordinates of a view(ImageView) which is embedded in frame. Hierarchy is LinearLayout android android:layout_height=fill_parent android:layout_width=fill_parent RelativeLayout android:layout_height=fill_parent

[android-developers] Re: Android Developer Challenge II Cancelled?

2009-03-23 Thread Sheenmue
I participated in a contest organized by Sun and Siemens Mobile several years ago where there were 10 finalists decided by judges and then 3 winners selected by the votes of people in the website. I was finalist and i was really angry when I saw other finalists were asking for votes in forums.

[android-developers] Re: Android Projects Promotion Pages Online

2009-03-23 Thread Gollum [www.aidiji.com]
*Thanks, man. I do hope people pay more attention on the market of China. For now, China Mobile is having 6000 millions of users and would definitely boost the Android soon as the major strategy. Therefore, I am so recommending that every Android app should make a version for Chinese when

[android-developers] Re: Button (with background image ) doesn't show press action

2009-03-23 Thread zeeshan
thanks On Mar 20, 4:39 pm, Romain Guy romain...@google.com wrote: Hi, Is your background a state-list drawable? If not, the behavior you're witnessing is normal. On Fri, Mar 20, 2009 at 9:35 AM,zeeshangenx...@gmail.com wrote: Hi Android Experts, i have a login button as below:

[android-developers] Re: Android Projects Promotion Pages Online

2009-03-23 Thread mercury xu
Hi Gollum Of course, there are lots of people pay more attention for this OS in China,and pay lots of time for develop and desinge much more softwares,not only at application programs but also OS Device drivers,such as me.haha~~also,in china, there are lots of websites for android's fans to

[android-developers] Underline of TextView

2009-03-23 Thread aby
Hi, Does anyone know how to set underline attribute on a TextView? I just see it can set bold and italic on TextView. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] How to import a jar file?

2009-03-23 Thread Kevin
I want to import a jar file in my project, as I do not use eclipse, I want to know what should I do if I use make file to build the project, can I change Android.mk file to achieve this goal? --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Underline of TextView

2009-03-23 Thread manoj
define a String item in Strings.xml as: string name=your_txtutxt to be displayed/u/string use this in your layout. On Mar 23, 4:55 pm, aby orz0...@gmail.com wrote: Hi, Does anyone know how to set underline attribute on a TextView? I just see it can set bold and italic on TextView.

[android-developers] Re: Why my application get Not granting permission warning when i install it by adb and AppsInstaller

2009-03-23 Thread Disconnect
Fair enough. On a related note, since I am without my build machine at the moment (sigh, apple, boo) do you know off the top of your head if master allows rebinding the 'talk' and general phone/contact UI to a different app? (There is a 3rd party phonebook app in the market - free no less - that

[android-developers] In Android can appl send laocation data as MMS or sms?

2009-03-23 Thread jj
In Android can appl send laocation data as MMS or sms or any other means(e.g. email)? --~--~-~--~~~---~--~~ 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] Cupcake coming in April? Where is the SDK?

2009-03-23 Thread zl25drexel
Cupcake is coming, and as you know it will break a lot of apps in the market, those that use reflection private api. So where is the Cupcake SDK/emulator for us to try our apps? I know we can download the source codes and build it, and I know apps wont break if they dont use undocumented api,

[android-developers] Re: Persistent Sockets on ADP 1.1 (was Re: Jetty Comet Library)

2009-03-23 Thread Miguel Paraz
On Mar 21, 5:25 pm, Miguel Paraz mpa...@gmail.com wrote: Hi, I believe the problem is with the ADP1. I retested using the emulator and it's working perfectly. Solved. It's power management. Used WakeLock and WifiLock. --~--~-~--~~~---~--~~ You received this

[android-developers] Re: In Android can appl send laocation data as MMS or sms?

2009-03-23 Thread Rajesh S
Yes it s simple to send it as sms or mail or fill a form over web or ... ... And there already exist umpteen such apps. On Mar 23, 1:13 pm, jj jagtap...@gmail.com wrote: In Android can appl send laocation data as MMS or sms or any other means(e.g. email)?

[android-developers] [OpenGLES] how to get the current matrix mode?

2009-03-23 Thread tcassany
Hello, I just would to know how can I get the current matrix mode. I try whit this : ByteBuffer buffer = ByteBuffer.allocate(4); buffer.order(ByteOrder.nativeOrder()); IntBuffer matrixMode = buffer.asIntBuffer(); gl.glGetIntegerv(GL11.GL_MATRIX_MODE, matrixMode); ..

[android-developers] how to get selected indexof a listview (urgent plz)

2009-03-23 Thread zeeshan
Hi Android Experts, i need to get the selected index off my listview i have it in Activity: public class myClass extends Activity { private ListView myListView; myListView.setAdapter(aa); // i got an example to get index in context menu like public boolean

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-23 Thread David Turner
On Mon, Mar 23, 2009 at 2:59 PM, zl25drexel zl25dre...@gmail.com wrote: Cupcake is coming, and as you know it will break a lot of apps in the market, those that use reflection private api. So where is the Cupcake SDK/emulator for us to try our apps? It will be available publicly when it's

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-23 Thread Stoyan Damov
On Mon, Mar 23, 2009 at 5:11 PM, David Turner di...@android.com wrote: On Mon, Mar 23, 2009 at 2:59 PM, zl25drexel zl25dre...@gmail.com wrote: Cupcake is coming, and as you know it will break a lot of apps in the market, those that use reflection private api. So where is the Cupcake

[android-developers] Is it possible to pick contacts from a single group ?

2009-03-23 Thread jarkman
I'm using ACTION_PICK to show a contact picker: startActivityForResult( new Intent(Intent.ACTION_PICK, Uri.parse (content://contacts/people) ) ,RESULT_PICK_CONTACT_REQUEST); I'd really like to be showing only contacts from the My Contacts group, rather than the list which includes all

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-23 Thread Romain Guy
There has been, and there is no, official ETA. Anything you hear/read is speculation. On Mon, Mar 23, 2009 at 8:17 AM, Stoyan Damov stoyan.da...@gmail.com wrote: On Mon, Mar 23, 2009 at 5:11 PM, David Turner di...@android.com wrote: On Mon, Mar 23, 2009 at 2:59 PM, zl25drexel

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-23 Thread Sundog
On Mar 23, 9:32 am, Romain Guy romain...@google.com wrote: There has been, and there is no, official ETA. Anything you hear/read is speculation. Sigh. I had a paragraph to add to that, but I think Sigh pretty much covers it. --~--~-~--~~~---~--~~ You received

[android-developers] Displaying image from internet source

2009-03-23 Thread murphy
Hi, I'm trying to display an image using a URL. When I run the code I get an error telling me the application has stopped unexpectedly. Can anyone see what's wrong in my code. Bitmap bmImg; URL myFileUrl =null; try { myFileUrl= new

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-23 Thread Stoyan Damov
On Mon, Mar 23, 2009 at 5:32 PM, Romain Guy romain...@google.com wrote: There has been, and there is no, official ETA. Anything you hear/read is speculation. Right. I knew I'd get this answer but at least it's better than the rumors. Thanks Romain

[android-developers] android:disabledAlpha for ToggleButton

2009-03-23 Thread Meryl Silverburgh
For ToggleButton, there is an attribute for 'disbledAlpha'. Why there is no same attribute for ImageButton? How can I achieve the same thing for an ImageButton (grey out when the button is disabled). Thank you. The alpha to apply to the indicator when disabled. Must be a floating point

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-23 Thread Jean-Baptiste Queru
Engineers can't talk about forward-looking scheduling aspects. That's not our job, and that's not something we're allowed to talk about. We can however talk about hard facts. There's been a source code drop recently, and David gave instructions on how to use that to compile your own SDK-like

[android-developers] Re: Displaying image from internet source

2009-03-23 Thread Streets Of Boston
We won't know what's going on unless you show us a strack-trace of the error. :=) Look at LogCat and copy/paste the strack-trace in this thread. All i can do now is guess: How big is your image? You create two arrays (int[] and byte[]) which are never used. This is memory waste. The inputstream

[android-developers] How to receive NEW_OUTGOING_CALL?

2009-03-23 Thread Lucky-dog
hi all I want to listen to outgoing call. Below is our manifest.xml and Listen.java. But when a outgoing call is doing, I got the following waring, and the receiver got no response. Would you like to help me out. Thank you very much. 03-23 16:05:09.227: WARN/ActivityManager(79): Permission

[android-developers] Re: Problem in converting byte array in Bitmap.

2009-03-23 Thread Streets Of Boston
Is the byte-array you saved in the database *exactly* the same as the byte-array returnes by src.getBytes() in your getBitmapFromString (String) method? I'd be worried that c.getString() may change the underlying byte-array to adher to the default UTF-8 encoding. On Mar 23, 12:10 am, Komal

[android-developers] Re: Displaying image from internet source

2009-03-23 Thread murphy
03-23 16:20:28.858: DEBUG/dalvikvm(91): GC freed 1176 objects / 62728 bytes in 81ms 03-23 16:20:36.965: DEBUG/skia(767): xx failure to skip request 2875 actual 1896 03-23 16:20:36.969: DEBUG/skia(767): xxx jpeg error 91 Miscellaneous marker 0x%02x, length %u 03-23

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-23 Thread Stoyan Damov
On Mon, Mar 23, 2009 at 6:04 PM, Jean-Baptiste Queru j...@android.com wrote: Engineers can't talk about forward-looking scheduling aspects. That's not our job, and that's not something we're allowed to talk about. We can however talk about hard facts. There's been a source code drop

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-23 Thread Disconnect
That would be way too much like including the community in what is supposedly a community project. Google has not yet gotten there in terms of internal policies or attitudes, although a growing number of individuals are trying to walk the tightrope between community and commercial (thanks JBQ :)

[android-developers] ProgressBar - Emulator not working?

2009-03-23 Thread droozen
I just wanted to run a ProgressBar test, as it's my first time using them on the Android. Here's my XML (in a Linear Layout): ProgressBar android:id=@+id/progress android:layout_width=fill_parent android:layout_height=25dip android:indeterminate=false

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-23 Thread Sundog
On Mar 23, 10:39 am, Disconnect dc.disconn...@gmail.com wrote: That would be way too much like including the community in what is supposedly a community project. Zing! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-23 Thread Sundog
Waiting for the inevitable Please move this to Discuss so we can totally ignore you and pretend everything's OK post. On Mar 23, 11:00 am, Sundog sunns...@gmail.com wrote: On Mar 23, 10:39 am, Disconnect dc.disconn...@gmail.com wrote: That would be way too much like including the community

[android-developers] get Certificates from Package

2009-03-23 Thread Lutz Schönemann
Hi, I'm looking for a way to get the certificates from a package that are used to sign it. Using the PackageInfo class it is possible to get the signatures. But what can I do with signatures if I don't get the public keys to verify these. The next question I have where does the

[android-developers] Displaying Dialog with no dim on background window.

2009-03-23 Thread stanchat
I am trying to display a dialog but would like to have the background windows show clear with no dim or blur. I have played around with the Windows Manager Layout parameters setting WindowManager.LayoutParams FLAG_DIM_BEHIND and dimAmount but it still gives a slight dim in the background. Does

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-23 Thread Marco Nelissen
I certainly hope there aren't a lot of applications that use reflection and private APIs. On Mon, Mar 23, 2009 at 6:59 AM, zl25drexel zl25dre...@gmail.com wrote: Cupcake is coming, and as you know it will break a lot of apps in the market, those that use reflection private api. So where is

[android-developers] Re: Displaying image from internet source

2009-03-23 Thread Streets Of Boston
These two items stand out, with the most important one here: 03-23 16:20:37.199: ERROR/AndroidRuntime(767): java.lang.NullPointerException 03-23 16:20:37.199: ERROR/AndroidRuntime(767): at com.organiser.college.CollegeOrganiser$3.onClick (CollegeOrganiser.java: 145) Your CollegeOrganiser

[android-developers] Please help! Having problem with wave locked service. it still going sleeping.

2009-03-23 Thread bromon
hi Everyone: i searched the groups for days, and can't solve the problem by myslef. so i'm asking for help here. i have a service running background, it registered a LocationListener on the LocationManager. when the phone moved exceeded the predefined distance, listener will be triggered and

[android-developers] who can tell me how to achieve this function?! thx!!!!

2009-03-23 Thread wanzi !
Is anybody download the PaPi games from market and played it? I found when I played one of this series of PaPi game and I input my name,then all series PaPi games can read this name. At beginning, I consider maybe the application saved some data which can be shared by other PaPi games, but when

[android-developers] How to create a composer for QCELP

2009-03-23 Thread david
Hi, Anybody knows how to create such the composer? I've searched OpenCore source for a sample from which I can do learn to create it. But I just found the one for MPEG4. Meanwhile, It looks like very complicated and I think it has little things relative with Audio/QCELP. So, any hint for this

[android-developers] How to control the SurfaceView's z-order

2009-03-23 Thread hurri
Hi, I created a RelativeLayout which has 2 SurfaceView. The layout looks like below RelativeLayout android:layout_width=wrap_content android:layout_height=wrap_content SurfaceView android:id=@+id/main android:layout_width=wrap_content

[android-developers] who can tell me how to achieve this function?! thx!

2009-03-23 Thread wanzi !
Is anybody download the series of PaPi game form the market and played it? I found after I enter one of this series game and input my name,all of this series games can read this name. At beginning, I think maybe the application save some data in the phone which can be shared by all the PaPi

[android-developers] How to play Video files from MediaStore

2009-03-23 Thread Ramesh
Hi everybody.. Can anyone help me in this? I would like to list the video files available in the provider and playing according to user selection. Thanks, Ramesh. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] How to create a composer for QCELP

2009-03-23 Thread david
Hi, Anybody knows how to create such the composer? I've searched OpenCore source for a sample from which I can do learn to create it. But I just found the one for MPEG4. Meanwhile, It looks like very complicated and I think it has little things relative with Audio/QCELP. So, any hint for this

[android-developers] Building user interfaces at runtime with layouts from server

2009-03-23 Thread Daniel
Hi all, Q: What is the recommended way to build user interfaces on the device based on layouts provided by a server at runtime? I am aware of this: snip source=http://developer.android.com/reference/android/view/ LayoutInflater.html For performance reasons, view inflation relies heavily on pre-

[android-developers] Re: Where is the source code for Pictures app

2009-03-23 Thread tuvok.com...@gmail.com
It's Gallery in source code. On Mar 22, 11:01 pm, yves...@gmail.com yves...@gmail.com wrote: I just downloaded Android source code, but I can't find the source for Pictures app. I did see Calculator code. Anyone know where I can find the Pictures or why it is not in the source code package?

[android-developers] Returning from HTTP Intent.ACTION_VIEW

2009-03-23 Thread Chris Streeter
I have an application that needs to have a user visit a web page to authorize it. After spending time in the Browser the user should return the my application. Currently, I'm launching the Browser with: Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(url.toString()));

[android-developers] Re: Deleting Incoming SMS???

2009-03-23 Thread Mani
Matt : There are certain Set of SMS , which is not meant for the User , like SMSPP- Data Download ( which goes to the SIM Card ) and is not Displayed in the Inbox . Similarly , there are set of Port Messages ( where in , the TP-User Data [ Refer 3GPP TS 23.040 ] ) , will contain the Port IE ,

[android-developers] Want to learn it to develop app

2009-03-23 Thread liqiu...@gmail.com
I am very intreseting in Android.It very new to me,so I want to know about it. --~--~-~--~~~---~--~~ 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] How to get the currently foreground activity class name?

2009-03-23 Thread Leon
Hi, does any one konw how to get the currently foreground activity class name? In my project, I need get the info of the foreground activity, not only my own application, but also the third party application. --~--~-~--~~~---~--~~ You received this message

[android-developers] Implications of Using Non Standard Packages

2009-03-23 Thread jason.delport
Hi Android Developers, What are the implications for future Android device releases if we are using non-standard packages such as com.google.android.maps? Thanks in advance. Regards, Jason Delport --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] HelloGallery tutorial android.R.styleable cannot be resolved

2009-03-23 Thread ppmoore
Hello, I've been following the View tutorials included in the android developer site. When testing hte HelloGallery view, I get this compile- time error. I searched for this error on this group but is wasn't answered. Can anyone help. The problem reference occurs in the imageAdapter class that

[android-developers] Can we charge some externals stuffs for a paid Android Market game

2009-03-23 Thread jokamax
Hi all, I have a question about paid applications from AndroidMarket. I developp a multiplayer game witch interact with a Web site Can I sell on Android Market an application, and then sell from the web site (not by the android market) some downloadable content or some extendable rights ?

[android-developers] Re: Deleting Incoming SMS???

2009-03-23 Thread Mani
Matt: Not all the Incoming Messages will be displayed in the Inbox . There are certain type of messages, which are not supposed to be shown in Inbox , instead , they are Processed by Some application on the phone. There are certain Messages called Port Messages, where in the the TP- UD ( Please

[android-developers] Multiple ListViews in one Activity

2009-03-23 Thread Wouter
Hey, I want to have multiple listviews in my activity. Every listview will have a different adapter and every item in the listview must be clickable (other actions for every listview). So my problem now is that I can't create multiple clickable listviews. I have one listview like this ListView

[android-developers] How to get south asian unicode fonts on android?

2009-03-23 Thread nrain
Hii, I hope Android os supports unicode fonts. I want to use some otf fonts on my handset. Is there any tutorial or suggestion available? Here is the unicode font chart: http://unicode.org/charts/PDF/U0980.pdf Example font: http://omicronlab.com/download/fonts/SolaimanLipi_20-04-07.ttf any

[android-developers] Re: Building user interfaces at runtime with layouts from server

2009-03-23 Thread droozen
We might have to know why you want to build this way. There could be other possibilities, including using a much simpler xml that you could parse yourself and add UI elements programmatically. Or have a variety of layouts available that you could set, depending on a value you've downloaded,

[android-developers] Re: Multiple ListViews in one Activity

2009-03-23 Thread Romain Guy
You can do that. A ListView does not have to have the @android:id/list id, only when used in a ListActivity. On Mon, Mar 23, 2009 at 4:44 AM, Wouter wouterg...@gmail.com wrote: Hey, I want to have multiple listviews in my activity. Every listview will have a different adapter and every item

[android-developers] Re: Want to learn it to develop app

2009-03-23 Thread Ivan Soto
That's good. Please use android-beginners group if you are really new into the platform. Ivan Soto Fernandez Web Developer http://ivansotof.com On Mon, Mar 23, 2009 at 9:08 AM, liqiu...@gmail.com liqiu...@gmail.comwrote: I am very intreseting in Android.It very new to me,so I want to know

[android-developers] Re: ProgressBar - Emulator not working?

2009-03-23 Thread Marco Nelissen
Try adding this to your xml: style=?android:attr/progressBarStyleHorizontal On Mon, Mar 23, 2009 at 9:50 AM, droozen droozenr...@gmail.com wrote: I just wanted to run a ProgressBar test, as it's my first time using them on the Android. Here's my XML (in a Linear Layout): ProgressBar

[android-developers] Re: Implications of Using Non Standard Packages

2009-03-23 Thread Romain Guy
Your app is likely to break. More precisely, it depends on the package. For instance, the com.google.android.maps package is a public API and won't change. However, packages like com.android.internal or even com.android.* contain private APIs and are subject to changes at anytime. On Mon, Mar

[android-developers] Re: Implications of Using Non Standard Packages

2009-03-23 Thread Dianne Hackborn
Also com.google.android.maps is an optional API provided by Google that is not part of Android, so there will be phones that don't have it. This is why you need to declare its use in the manifest, so that Market and the system can know your app won't work. On Mon, Mar 23, 2009 at 10:28 AM,

[android-developers] Re: Multiple ListViews in one Activity

2009-03-23 Thread droozen
Short Answer: I don't think you can Longer Answer: ListActivity, as described in the javadocs: ListActivity hosts a ListView object that can be bound to different data sources. -- Note the singular a, as in one Screen Layout ListActivity has a default layout that consists of a single, full-

[android-developers] Re: How to control the SurfaceView's z-order

2009-03-23 Thread Dianne Hackborn
I strongly recommend against using multiple surface views in a window. The way surface view is implemented is that a separate surface is created and Z-ordered behind its containing window, and transparent pixels drawn into the rectangle where the SurfaceView is so you can see the surface behind.

[android-developers] Re: Why my application get Not granting permission warning when i install it by adb and AppsInstaller

2009-03-23 Thread Dianne Hackborn
On Mon, Mar 23, 2009 at 6:18 AM, Disconnect dc.disconn...@gmail.com wrote: On a related note, since I am without my build machine at the moment (sigh, apple, boo) do you know off the top of your head if master allows rebinding the 'talk' and general phone/contact UI to a different app? (There

[android-developers] Re: Accessing System Brightness

2009-03-23 Thread Dianne Hackborn
On Sun, Mar 22, 2009 at 10:45 PM, joby joby...@gmail.com wrote: IHardwareService hardware = IHardwareService.Stub.asInterface ( ServiceManager.getService(hardware)); try { hardware.setScreenBacklight(150); } catch (RemoteException e) // TODO

[android-developers] how can i pick audio in startActivityForResult

2009-03-23 Thread zeeshan
Hi Experts, i need to select audio from my playlist which intent can help me? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: IWindowManager Not Available

2009-03-23 Thread Dianne Hackborn
On Mon, Mar 23, 2009 at 3:05 AM, Lars lars.bra...@gmail.com wrote: Could you please explain why? You are using this to bypass the SDK and access various internal APIs and data structures. Worse, what is probably happening is that you are bundling the internal IPC interfaces into your app,

[android-developers] Re: Multiple ListViews in one Activity

2009-03-23 Thread Romain Guy
Short Answer: I don't think you can Yes you can. ListActivity hosts a ListView object that can be bound to different data sources. -- Note the singular a, as in one That's with a *ListActivity*. You can use a regular Activity instead. And actually even with a ListActivity you can use

[android-developers] Re: How to get the current battery level of the device using an API call

2009-03-23 Thread monmonja
Have you tried something like int level = this.getIntent().getIntExtra(level, 0); int scale = this.getIntent().getIntExtra(scale, 100); if((level * 100 / scale) 70){ // dl } monmonja http://almondmendoza.com/2009/01/04/getting-battery-information-on-android/

[android-developers] ListActivity.onListItemClick() only responds to trackball/dpad clicks

2009-03-23 Thread Matthias
Hi, I have been struggling for over two hours now getting a custom ListActivity to respond to touch/click events directly on its list items. However, onListItemClick() is only called when first focusing a list element and then pressing the trackball or dpad-center button. The odd thing is that

[android-developers] Re: who can tell me how to achieve this function?! thx!!!!

2009-03-23 Thread droozen
They're probably saving your name on their webserver somewhere, and perhaps using your phone number to identify the phone and display that name. On Mar 22, 9:06 pm, wanzi ! wanzihe...@gmail.com wrote: Is anybody download the PaPi games from market and played it? I found when I played one of

[android-developers] Re: ProgressBar - Emulator not working?

2009-03-23 Thread droozen
That worked, thanks. On Mar 23, 12:27 pm, Marco Nelissen marc...@android.com wrote: Try adding this to your xml: style=?android:attr/progressBarStyleHorizontal On Mon, Mar 23, 2009 at 9:50 AM, droozen droozenr...@gmail.com wrote: I just wanted to run a ProgressBar test, as it's my first

[android-developers] Re: IWindowManager Not Available

2009-03-23 Thread AndRaj
oh... Good.. So it will change only if they change in new release i fthey won't change that it also won't change rt... On Mar 23, 9:40 pm, Dianne Hackborn hack...@android.com wrote: On Mon, Mar 23, 2009 at 3:05 AM, Lars lars.bra...@gmail.com wrote: Could you please explain why? You are

[android-developers] Re: Multiple ListViews in one Activity

2009-03-23 Thread droozen
Ah, I see. I guess I assumed he was using a ListActivity, the way he was describing it. How else would you access the OnListItemClicked or a similar such capture to be able to manipulate both lists outside of a ListActivity? And it's a bit off topic, but yes, a ListView handles scrolling, which

[android-developers] Re: ListActivity.onListItemClick() only responds to trackball/dpad clicks

2009-03-23 Thread droozen
Have you tried following the Notepad tutorial and this line in your onCreate method? registerForContextMenu(getListView()); On Mar 23, 1:31 pm, Matthias m.kaepp...@googlemail.com wrote: Hi, I have been struggling for over two hours now getting a custom ListActivity to respond to

[android-developers] Re: Multiple ListViews in one Activity

2009-03-23 Thread Romain Guy
And it's a bit off topic, but yes, a ListView handles scrolling, which is messed up when in a ScrollView, but I really would have liked my list to be at the bottom of an interface that happened to scroll off the screen, just like this scrollable text box I'm typing in is at the bottom of a

[android-developers] Re: IWindowManager Not Available

2009-03-23 Thread Dianne Hackborn
On Mon, Mar 23, 2009 at 11:42 AM, AndRaj rajendran.b...@gmail.com wrote: oh... Good.. So it will change only if they change in new release They will. You will break. Plus, you are linking against a special build of a part of the Android platform that was designed to run on the desktop

[android-developers] Re: IWindowManager Not Available

2009-03-23 Thread Rajendrakumar Chinnaiyan
If they won't change the internal API's.. Our application also won't get any problem.. On Mon, Mar 23, 2009 at 11:42 PM, Dianne Hackborn hack...@android.comwrote: On Mon, Mar 23, 2009 at 11:42 AM, AndRaj rajendran.b...@gmail.com wrote: oh... Good.. So it will change only if they change in

[android-developers] Re: Cupcake coming in April? Where is the SDK?

2009-03-23 Thread AndroidApp
Can someone capable just compile the SDK and post it online for everyone? Someone from Google? I dont really care if it's not official, i just dont want to download the source tree just to build the SDK, plus i need to do the tricks you mentioned to make it work on windows. On Mar 23, 1:11 pm,

[android-developers] Re: IWindowManager Not Available

2009-03-23 Thread Streets Of Boston
And that's a BIIIGG 'if'. :-) Trust Dianne on this. Do not use any API that is private. If you do, at some point in time you will (and that's a 100% sure) break your application and you will get a lot of angry customers. On Mar 23, 3:16 pm, Rajendrakumar Chinnaiyan rajendran.b...@gmail.com

[android-developers] Re: How is android's AlertDialog layout define?

2009-03-23 Thread Lucius Fox
Can you please tell me where I can the layout xml file for the AlertDialog? I try to do a 'grep for 'alert1' in all the files in the source tree, it does not return anything. Thanks for tips. On Sun, Mar 22, 2009 at 11:56 AM, Dianne Hackborn hack...@android.com wrote: The layout is an xml

[android-developers] Re: PendingIntent problem

2009-03-23 Thread info+farm
Dear all, Am I the only one who is having this problem? Actually, I am going to find a workaround for this problem, but I would like to know what I am doing wrong. Any help would be appreciated. Regards, info+farm info+farm wrote: Hello all, I have more than one notification in

[android-developers] Re: IWindowManager Not Available

2009-03-23 Thread Dianne Hackborn
On Mon, Mar 23, 2009 at 12:16 PM, Rajendrakumar Chinnaiyan rajendran.b...@gmail.com wrote: If they won't change the internal API's.. Our application also won't get any problem.. The very reason APIs are internal is because they can change. -- Dianne Hackborn Android framework engineer

[android-developers] Re: IWindowManager Not Available

2009-03-23 Thread Rajendrakumar Chinnaiyan
ok Dianne I need a help from you... can I send a mail to you mail ID... On Tue, Mar 24, 2009 at 12:06 AM, Dianne Hackborn hack...@android.comwrote: On Mon, Mar 23, 2009 at 12:16 PM, Rajendrakumar Chinnaiyan rajendran.b...@gmail.com wrote: If they won't change the internal API's..

[android-developers] Re: IWindowManager Not Available

2009-03-23 Thread Dianne Hackborn
On Mon, Mar 23, 2009 at 12:39 PM, Rajendrakumar Chinnaiyan rajendran.b...@gmail.com wrote: I need a help from you... can I send a mail to you mail ID... I need to keep discussions on the list; I don't have time to provide private support. -- Dianne Hackborn Android framework engineer

[android-developers] Re: Draw a bitmap rotated onto another bitmap

2009-03-23 Thread thesquib
Hi William, Check out Canvas.Rotate, Canvas.Translate, Canvas.Restore, Canvas.Save You can call Canvas.Rotate just before drawing the image and it will be drawn on the rotated canvas. On Mar 23, 10:25 am, William william.caine...@gmail.com wrote: i also have the same problem when I want to

[android-developers] backup database

2009-03-23 Thread daniel.benedykt
Hi Is there a standard way to backup the database of my app. I know I can write data to a file from the DB and restore it at any time with my code, but what happens if for some reason the user loose all the data on the phone. Is there a way to make a backup to a computer? Thanks Daniel

[android-developers] Re: IWindowManager Not Available

2009-03-23 Thread Rajendrakumar Chinnaiyan
ok that's good... On Tue, Mar 24, 2009 at 12:28 AM, Dianne Hackborn hack...@android.comwrote: On Mon, Mar 23, 2009 at 12:39 PM, Rajendrakumar Chinnaiyan rajendran.b...@gmail.com wrote: I need a help from you... can I send a mail to you mail ID... I need to keep discussions on the list; I

[android-developers] App localization

2009-03-23 Thread Yossi
Hi, I'm planning to localize my app (e.g. translate to different languages). Assuming it will support English and German, does it mean that users in Germany will get only the German text or would they be able to choose having it in English? Thanks, Yossi

[android-developers] What need to be save when application has to save state in onSaveInstanceState?

2009-03-23 Thread havexz
I am implemented a activity which contains the two text boxes. Now during the state saving i save the data i am working on. But when the orientation is changed the cursor position in the edit box comes back to 0th postion. And now my question do i need to save the cursor position also and also

[android-developers] Custom tab design

2009-03-23 Thread Al
Hi, I want to make my own tab design, the default ones in Android are too large for what I need. I'm not sure how to go around doing it though, I'm assuming I would need to extend one of the sdk classes? But I'm not sure which one to extend. Any pointers are appreciated.

  1   2   >