[android-developers] Re: Android Telephony

2009-03-31 Thread bins...
hi.. this all package is now not there now thery directly give signal values,,,no need to register the intent receiver... this is the code TelephonyManager SignalManager = (TelephonyManager)getSystemService (Context.TELEPHONY_SERVICE); gnalManager.listen(signalListener,

[android-developers] Save an mp3 from a remote site

2009-03-31 Thread idev
Hi I am able to stream an mp3 at real time on my android phone. I wanted to know if it is possible to save an mp3 file residing on a remote location to my SD card. Any heads up is greatly appreciated. Thanks. --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Android game developers desperately need optimised game engine example code ...

2009-03-31 Thread Agus
To Quartz: How do you prevent triggering of the GC? On Mon, Mar 30, 2009 at 7:33 PM, Quartz william.qua...@gmail.com wrote: I did an android game using just the SurfaceView and it performs fairly decent (it averages 50-to-60 fps). It was a simple game I put together to benchmark the VM. It

[android-developers] Re: Android Telephony

2009-03-31 Thread Dianne Hackborn
DO NOT DO THIS!!! Especially since there is a public API for this: http://developer.android.com/reference/android/telephony/PhoneStateListener.html We've been through the whole don't use private APIs stuff enough times, so I'll just note: 1. This is not a bit of an advanced topic, this is

[android-developers] Re: fullscreen rendering and MEMORY_TYPE_GPU?

2009-03-31 Thread Dianne Hackborn
Have you tried basing your code on one of the official samples in ApiDemos? On Mon, Mar 30, 2009 at 8:39 PM, Jint3i victor.jimmiesha...@gmail.comwrote: Actually, if you're using GlSurfaceView check the following function: private void guardedRun() throws InterruptedException Specifically

[android-developers] Problem with ASU value in Phonestatelistener

2009-03-31 Thread bins
hi.. AnyOne how to get the android NetworkSignal status?? Am Uisng the following code and getting an Asu valu 7 so can any one say wht does ASU means How can i convert the value to 100,,??? When the network signal status is 2Bars then its showing value seven... what doues it Exactly

[android-developers] Re: Android Physics Engine

2009-03-31 Thread Avraham Serour
where's the demo? I tried the see it in action link ( http://simpull2core.sourceforge.net/) and it shows some code On Tue, Mar 31, 2009 at 2:19 AM, Anton socialhac...@gmail.com wrote: That's what I did. :) Firefox 3.0.8. I just tried it again and had the same thing happen. I'll give it

[android-developers] Why does Android use Binder for IPC?

2009-03-31 Thread Bai.Luo
what is the advantage and special feature of Binder in android? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: RESTful user authentication

2009-03-31 Thread Wouter
Hey JP, Thank you for your explenation! I am making this android application for my Bachelor test at the high school and at present I don't have to setup a server because I gonna use the localhost server for testing. When my application is ready, I can buy a server when i gonna release my

[android-developers] Re: RESTful user authentication

2009-03-31 Thread Wouter
Indeed you are right! Do you know a google group or other discussion board when I can ask such questions? Wouter On Mar 30, 11:38 pm, JP joachim.pfeif...@gmail.com wrote: On Mar 30, 10:21 am, Wouter wouterg...@gmail.com wrote: But it is still Android related because i want to use this

[android-developers] Video call support at Cupcake version.

2009-03-31 Thread skan95
Hi all. Accroding to GregS's Announcing OpenCORE 2.0 release mention, video telephony (a.k.a. 2way) engine is supported by OpenCORE 2.0. but he(?) was not sure that is included at Cupcake version. So, can I get information about any progress for supporting video telephony service? like, whether

[android-developers] ListView elements in Dialogs never expand to full width

2009-03-31 Thread Matthias
Hi, I am rendering a ListView inside a dialog. The ListView elements are very simple TextView objects. The problem: whatever I do, they never take the full width in the list view, which has the side effect that the list view selector only covers the actual text, not the whole list entry (i.o.w.,

[android-developers] Debugging memory leaking

2009-03-31 Thread Filipe Abrantes
[sorry created the previous post in another thread, so reposting] Hi everyone, What would be the best way to debug a leaking program? I have developed a media player (includes a background service doing the playing, and a UI, and I access getResources(), MediaStore and things like this

[android-developers] Video call support at Cupcake version.

2009-03-31 Thread Filipe Abrantes
ooops, sorry for changing the subject should not have replied to the message... changing subject again... and starting this in a new thread On Mar 31, 10:29 am, Filipe Abrantes filipe.abran...@gmail.com wrote: Hi everyone, What would be the best way to debug a leaking program? I have

[android-developers] Re: Track Ball Problem...

2009-03-31 Thread TjerkW
I think the only way is to extend dispatchTrackballEvent(MotionEvent e)... there is not View.TrackballListener class strange. On 27 mrt, 16:13, TjerkW tje...@gmail.com wrote: How do you register an activity to get trackball events? On 25 mrt, 18:31, David Turner di...@android.com wrote:

[android-developers] How to display a horizontal bar

2009-03-31 Thread Jiang
Hello guys. I want to display a horizontal bar in the view, just like the separator of ListView, in other words, the left/right of the bar is fading, I tried as following: Define UI elements in xml: TableLayout xx    ..   !--Following line is horizontal bar --   View android:height=5sp

[android-developers] Re: How to get the permission WRITE_SECURE_SETTINGS

2009-03-31 Thread Stanley.lei
Hi JBQ, Thanks for you reply, and I appologize for the delay in getting back to you. The detailed log of the issue is list as following: 01-01 07:06:27.936: ERROR/AndroidRuntime(479): Uncaught handler: thread Thread-11 exiting due to uncaught exception 01-01 07:06:27.936:

[android-developers] Re: How to display a horizontal bar

2009-03-31 Thread Jon Colverson
On Mar 31, 11:25 am, Jiang webs...@yahoo.cn wrote: I want to display a horizontal bar in the view, just like the separator of ListView, in other words, the left/right of the bar is fading This is how it's done in the Contacts app: View android:layout_width=fill_parent

[android-developers] out of memory exception on setImageURI

2009-03-31 Thread zeeshan
Hi Experts, i am having out of memory exception at image_view.setImageURI(Uri.parse (imageFile)); it is working fine as long as i keep the same orientation, but when i change the orientation, it gives me exception. i am passing imageFile from calling activity as string. here is a piece of my

[android-developers] Re: Android game developers desperately need optimised game engine example code ...

2009-03-31 Thread Stoyan Damov
He's probably talking about not doing allocations in his game. He can't stop GC from being triggered in other processes, and thus stuttering his game. On Tue, Mar 31, 2009 at 10:35 AM, Agus agus.sant...@gmail.com wrote: To Quartz: How do you prevent triggering of the GC? On Mon, Mar 30, 2009

[android-developers] Re: Error on adb push

2009-03-31 Thread Mark Murphy
guishenl...@gmail.com wrote: Hi all, When I tried to copy a file in my PC to the Android Emulator, I used the command C:\Documents and Settings\Aliothadb push D:\Data\Android\1.jpg \data \data\. But the it didn't work and the error message was failed to copy 'D:\Android\1.jpg' to

[android-developers] how to get driving direction info from maps application?

2009-03-31 Thread jj
Hello folk After launching Android maps application from other application, how to get driving direction info from maps application? e.g. distance, estimated driving time, etc. is there any way for this, if so plz guide me. Thank you --~--~-~--~~~---~--~~ You

[android-developers] Re: Android Physics Engine

2009-03-31 Thread mscwd01
I did take a look at Simpull, however the demo application failed to run as it relied on some library which wasn't supplied or referenced to - I just got annoyed after spending two days failing to get Phys2D and JBox2D to work in Android and didn't bother trying to work out the problems! I might

[android-developers] Re: Android Physics Engine

2009-03-31 Thread mscwd01
Oh I forgot to re-ask... Has anyone tested Phys2D or JBox2D on an actual device to see if they run better than on the emulator? I have a feeling the performance will better on a G1 than the emulator for some reason! On Mar 31, 12:51 pm, mscwd01 mscw...@gmail.com wrote: I did take a look at

[android-developers] Re: how to add --core-library to Eclipse ?

2009-03-31 Thread Marco Schmitz
hello you all, and thanks for your answers. it is like dan bornstein wrote: I tried to integrate java.beans.PropertyChangeListener and java.beans.PropertyChangeEvent into my eclipse android project and got the dx error. I played around with that android-sdk/tools/activitycreator and succeeded.

[android-developers] Re: Save an mp3 from a remote site

2009-03-31 Thread MrChaz
Sure, Something like //Where the file comes from URL sourceURL = new URL(address); URLConnection conn = sourceURL.openConnection(); InputStream inStream = sourceURL.openStream(); // Where the file is going to go FileOutputStream outStream= new FileOutputStream(sdcard/file.mp3); //a read

[android-developers] Re: Why does Android use Binder for IPC?

2009-03-31 Thread Jean-Baptiste Queru
Please don't cross-post. Thanks, JBQ On Tue, Mar 31, 2009 at 1:12 AM, Bai.Luo bai@zte.com.cn wrote: what is the advantage and special feature of Binder in android? -- Jean-Baptiste M. JBQ Queru Android Engineer, Google. Questions sent directly to me that have no reason for being

[android-developers] Re: Current Preference Screen? (easyy)

2009-03-31 Thread Peli
Do you use onPreferenceTreeClick(PreferenceScreen, Preference)? If not, it would probably help if you could post your code here. Otherwise it is very difficult to see what you have already done and what you are trying to do... It really should not be difficult what you are trying to

[android-developers] Re: How to get the permission WRITE_SECURE_SETTINGS

2009-03-31 Thread Jean-Baptiste Queru
You're beyond the realm of currently released and supported SDKs, so you're really on your own here and you'll have to go dig for documentation in the source code to find what you're looking for. JBQ On Tue, Mar 31, 2009 at 4:21 AM, Stanley.lei xiaofeng.lei...@gmail.com wrote: Hi JBQ,

[android-developers] Re: How to progress bar before going to next activity

2009-03-31 Thread MrChaz
Have a look at the API Demos that are on the emulator Views Progress Bar Dialogs might be a good place to start On Mar 30, 1:03 pm, amx ameyashe...@gmail.com wrote: Hi All, My application involves doing some calculation on the first activity and sending the information to the second

[android-developers] Re: Long click on list activity item

2009-03-31 Thread matthias
Hi, On Feb 22, 9:53 pm, an...@akapost.com wrote: ... The standard onListItemClick() will still fire as well; my best guess there is to keep a suppression boolean around, which isn't pretty. Any other thoughts on this? just return true from onItemLongClick(); this means you have consumed the

[android-developers] Managing Views programmatically

2009-03-31 Thread LambergaR
Hi all! I would like to dynamically build a view that would display a certain number of 'rows'. Here is a piece of code I wrote, but it is not working: - CODE --- LinearLayout layout = new LinearLayout(context); status_response response =

[android-developers] Re: What is the difference between View.ondraw and View.dispatchdraw?

2009-03-31 Thread FBear
I have the same question. I'm wondering why my codes in MyTableLayout.onDraw() did not take effect, but can do in MyTableLayout.dispatchDraw(). MyTableLayout is derived from TableLayout. On 3月27日, 下午5时54分, admin.androidsl...@googlemail.com admin.androidsl...@googlemail.com wrote: Specifically I

[android-developers] Discussion on localizing-android-apps-draft

2009-03-31 Thread Matthias
Setting the locale in /data/locale as described here doesn't work for me in 1.1 R1. Has the process changed? This used to work for me in pre-1.1 releases. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Android Physics Engine

2009-03-31 Thread admin.androidsl...@googlemail.com
Not tried but if you can provide us with some example source code or put something on the market, I'm sure we could take a look. G1 performance is significantly faster than emulator, but there are limitations. Particularly with garbage collection and memory allocation on code that gets run

[android-developers] Re: Save an mp3 from a remote site

2009-03-31 Thread iDeveloper
Thanks a ton. Didn't know android allowed saving to mp3 directly unlike an iphone. On 31-Mar-09, at 5:32 PM, MrChaz wrote: Sure, Something like //Where the file comes from URL sourceURL = new URL(address); URLConnection conn = sourceURL.openConnection(); InputStream inStream =

[android-developers] Re: Save an mp3 from a remote site

2009-03-31 Thread Streets Of Boston
This is just copying the file. The question remains if you can play it or not... :=) I have not looked into this at all, but DRM could prevent the mp3 from playing. On Mar 31, 9:55 am, iDeveloper ideveloper...@gmail.com wrote: Thanks a ton. Didn't know android allowed saving to mp3 directly  

[android-developers] Why drawing in View.onDraw not take effect, but does in ViewGroup.dispatchDraw

2009-03-31 Thread FBear
HI buddies, I'm trying to create a custom widget which looks lick HTML table. I chose to derive from TableLayout, which is the subclass of ViewGroup and View. What's confusing me is that the drawing I put into my override of View.onDraw did not take effect, until I moved the codes to the

[android-developers] Re: fullscreen rendering and MEMORY_TYPE_GPU?

2009-03-31 Thread Streets Of Boston
This means that the RenderThread has been paused or not yet been started properly. Make sure you resume it when your activity's onResume is called. If you're using the code from example GLSurfaceView, removing the 'wait ()' will make your future customers quite angry: Their battery will be

[android-developers] Re: Photo Picker

2009-03-31 Thread Streets Of Boston
Did you debug it? Did you get a null-pointer-exception? (The code i gave you may have some issues: I just typed it in, without using any IDE such as Eclipse. But it should give you a general idea of what to do) On Mar 30, 10:16 pm, Bobbie bobbie.st...@gmail.com wrote: I must have a bad phone

[android-developers] Re: Android Physics Engine

2009-03-31 Thread mscwd01
I'll try and wrap my Phys2D JBox2D examples into a .apk sometime. I'm very busy at the moment though so it may be later in the week by the time I get to do it. I'll provide a link in this thread if I get to do it. Other than that, i'll have to wait until the HTC Magic is released soon ;) On

[android-developers] Re: Android Physics Engine

2009-03-31 Thread shaun
I am the author of simpull. Sorry guys for the demo being out of whack for Simpull to the Core. The version of PulpCore that I integrated simpull with did not support Chrome, but you should be able to see it in IE, FF Safari. It is nice to take a look at that demo to get a feel for what the

[android-developers] Re: Android Physics Engine

2009-03-31 Thread clark
On Mar 31, 6:49 am, admin.androidsl...@googlemail.com admin.androidsl...@googlemail.com wrote: Not tried but if you can provide us with some example source code or put something on the market, I'm sure we could take a look. Perhaps putting it on a website rather than the Market would be best.

[android-developers] string-array resource into a string array

2009-03-31 Thread Brad
I've searched high and lo for this but I might be missing something that is staring me in the face, but for the life of me I can't find it. I just want to read string-array resource elements into a String array. I don't want to make a view or anything and mess with adapters - just want to

[android-developers] Re: Save an mp3 from a remote site

2009-03-31 Thread Jean-Baptiste Queru
No problem playing an MP3 from the SD card. You should be able to ACTION_VIEW the file:/// URI directly, or invoke the media scanner on it and ACTION_VIEW the resulting content:// URI (added bonus for the second method is that the file will immediately show up in the music player as well). JBQ

[android-developers] Re: Android Physics Engine

2009-03-31 Thread Stoyan Damov
Right. The single biggest issue is GC. I guess if vectors and all other objects, which are frequently created, get pulled out of an object pool, and reused (that's quite tricky though, because of the explicit returnToPool call) all engines will shine. In several places, temporary/scratch objects

[android-developers] Re: Why drawing in View.onDraw not take effect, but does in ViewGroup.dispatchDraw

2009-03-31 Thread Romain Guy
For efficiency, layouts do not get their onDraw() method called. To enable it, call setWillNotDrawEnabled(false) (or set the equivalent XML attribute to false.) On Tue, Mar 31, 2009 at 7:15 AM, FBear firebear2...@gmail.com wrote: HI buddies, I'm trying to create a custom widget which looks

[android-developers] Re: Photo Picker

2009-03-31 Thread Bobbie
When I choose the image, this is what I get in the debug log: 03-31 11:34:36.055: INFO/ActivityManager(55): Displayed activity com.android.camera/.ImageGallery2: 2455 ms 03-31 11:34:39.525: VERBOSE/ImageGallery2(11143): / ImageBlockManager.onPause 03-31 11:34:49.519: WARN/ActivityManager(55):

[android-developers] Re: http proxy and chunked encoding with emulator

2009-03-31 Thread m5p3nc3r
Any news on when we might be seeing a fix for this problem? Cheers Matt On Mar 24, 5:58 pm, m5p3nc3r matt...@thespencers.me.uk wrote: This is great news.  If you want me to test anything here, I am more than happy to do this.  (It would also mean that I get a working emulator before the

[android-developers] Re: Video call support at Cupcake version.

2009-03-31 Thread Dave Sparks
Cupcake is based on OpenCORE 1.0. OpenCORE 2.0 was integrated into the master branch, not Cupcake. You can find updated docs in the external/ opencore project. Please bear in mind that while the VT low-level stack is included in the OpenCORE 2.0 release, no work has been done to integrate with

[android-developers] Re: setRequestedOrientation call flow

2009-03-31 Thread Max R.
I meant SCREEN_ORIENTATION_LANDSCAPE for the parameter for setRequestedOrientation(). SCREEN_ORIENTATION_LANDSCAPE = Constant Value: 0 This request ends up coming to SurfaceFlinger as eOrientation90 = 1. Do you know where (where in src?) it checks SCREEN_ORIENTATION_LANDSCAPE

[android-developers] Scroll and drag a TileView widget around by finger / touch

2009-03-31 Thread acrosser
In the Android API examples there is a Snake game. This game uses a class called SnakeView, which inherits from TileView. I am doing something very similar to this. I am inheriting from TileView to create a class (SkyView), which will become a square board for a board game (similar to the board

[android-developers] Re: how to get driving direction info from maps application?

2009-03-31 Thread Howie
AndDev.org has an example application that does exactly that. http://www.anddev.org/google_driving_directions_-_mapview_overlayed-t826.html It uses an older version of the SDK so there may be a few modifications required. On Mar 31, 3:57 am, jj jagtap...@gmail.com wrote: Hello folk After

[android-developers] 3D/GL View on top of a SurfaceView?

2009-03-31 Thread iconnary
I have a SurfaceView upon which I'm making various ongoing Canvas draw calls.I would like to either 1) Render GL content directly on top of this SurfaceView, or 2) layer a GL View with a transparent background on top of the underlying SurfaceView. I must be able to draw to both the

[android-developers] clickable items in a ListView with a context menu?

2009-03-31 Thread ePoint System
Dear All, In a ListView I created, clicking on an item starts another activity. However, if I add context menu to this view, clicking on items no longer works (the context menu does appear after a long click, but short clicks are ignored). The fact that I have added an OnItemClickListener is

[android-developers] java.lang.NoSuchMethodError in Eclipse layout editor

2009-03-31 Thread Matt
In the layout editor in Eclipse, I have created a custom view. For some reason, there are a few methods which cause NoSuchMethodError exceptions in the code. Here is the code in the initializer of the custom view: mPaint = new Paint(); mPaint.setAntiAlias(true);

[android-developers] Customize search bar

2009-03-31 Thread Josep
I am developing an application that needs to extend a bit the functionality of the android search bar. Basically I need to add a checkbox below the editbox search text to allow performing a search backwards/forward in a document. Currently my activity is searchable and shows the native

[android-developers] input method apk.

2009-03-31 Thread bin
Hi, everyone, Who can give me a input method application which can replace QWERTY keypad and do not need a HVGA screen (that can also fit VGA / WQVGA / QVGA)? Thanks. (I have post this message twice, but I did not see the posted message, where it is?)

[android-developers] google map

2009-03-31 Thread bin
Dear android engineers, I want to porting google map (like the same application in G1) to another hardware which gps driver is ok, but it seems that the google map application can not started correctly. who have successfully done such a job? how ? thanks.

[android-developers] LocationManager - issue with setting distance/time filter

2009-03-31 Thread Brian Gyss
After re-reading the summaries for the various dev groups, re-posting this to android-developers because it's probably a better fit... I'm encountering what appears to be inconsistencies with how the distance and time filter settings for the LocationManager are currently working when I attempt

[android-developers] Sound interfering with Accelerometer and Orientation sensors?

2009-03-31 Thread iconnary
On my T-Mobile G1 (firmware 1.1, build PLAT-RC33), developing in SDK1.1r1, I am experiencing a problem where playing sounds causes the output of the accelerometer and orientation sensors to fluctuate wildly. The degree of fluctuation is directly proportional to the volume of the sound being

[android-developers] Portrait/Landscape mode supporting

2009-03-31 Thread UJ
Hello folks, When we try to implement orientation in AP layer, we can set android:screenOrientation parameter in AndroidManifest.xml file or call setRequestOrientation() method of Activity class. But if I want to porting android in new HW device, how can I do? Do I need to modify the graphic

[android-developers] [1.1_r1 SDK] Capturing Screen Issue

2009-03-31 Thread yarik...@gmail.com
Hi! I'm trying to get screenshot of GLSurfaceView sample with the following code: http://www.everfall.com/paste/id.php?c4h4lwesb3nu According to all docs that should works properly but it does not, resulting image is entire white. Can't imagine what is the essence of the problem ((

[android-developers] some errors about checkapi-current-timestamp

2009-03-31 Thread chengli
Some errors happened while compiling the android. The infomation was shown like this: ** You have tried to change the API from what has been previously approved. To make these errors go away, you have two choices: 1) You can add @hide javadoc comments to the

[android-developers] Re: dex failure

2009-03-31 Thread Cartouche
Hi, I have the same problem, can you details how you fixe it ? Thanks you. On 31 mar, 02:46, BeWillDir wmmichael...@gmail.com wrote: Thank you.  The dump operation helped me isolate the problem.  The class files are indeed identical (confirmed by cmp).  The problem was more insidious.  The dx

[android-developers] defining Gallery widget only with XML syntax

2009-03-31 Thread Florent GARIN
Hi, Is it possible to setup a simple Gallery widget with some drawables png (or jpg or whatever) files statically, ie without requiring to write any java code ? Since, I understood that array resource cannot reference drawable resources, I think that is not possible to use the android:entries

[android-developers] Layer a 3D/GL View on top of a SurfaceView?

2009-03-31 Thread iconnary
I have a SurfaceView upon which I'm making various ongoing Canvas draw calls.I would like to either 1) Render GL content directly on top of this SurfaceView, or 2) layer a GL View with a transparent background on top of the underlying SurfaceView. I must be able to draw to both the

[android-developers] Re: how android connects to a specific AP?

2009-03-31 Thread Solid State
mark On 3月13日, 下午11时34分, jappit alessandro.lar...@gmail.com wrote: Would love to know if this is possible, and how :) Anyone more informed on this topic? Thanks, Pit On Jan 21, 3:20 am, zcj0429 zcj0...@gmail.com wrote: no reply? Anyone knows how to connect to a specificaccesspoint?

[android-developers] Cannot access to the Internet on only my App....

2009-03-31 Thread windrg
Hello, All? Now I got a problem to access the internet on Android Emulator. I've already done as following. 1) I've inserted a setting value as following. 99|http_proxy|wwwkong.yam.com:1180 - (this is as same as my IE setting) 2) My intention is to get a earthquake information from USG

[android-developers] send nmea data to android emulator

2009-03-31 Thread malt
I'm writing a Android gps application using locationmanager with locationlistener and I'm only testing with the emulator. This is my problem. - When sending only $GPGGA nmea sentences to emulator by telnet, everything works fine. - When sending only $GPRMC nmea sentences to emulator by telnet,

[android-developers] Layer a 3D/GL View on top of a SurfaceView?

2009-03-31 Thread iconnary
I have a SurfaceView upon which I'm making various ongoing Canvas draw calls.I would like to either 1) Render GL content directly on top of this SurfaceView, or 2) layer a GL View with a transparent background on top of the underlying SurfaceView. I must be able to draw to both the

[android-developers] Input Method App

2009-03-31 Thread bin
Hi, everyone, Who can give me a link of an input method app which can replace QWERTY keypad and fit a Non HVGA screen? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] How to add more bluetooth profiles into android

2009-03-31 Thread chen.ju...@zte.com.cn
Now android only supports bluetooth voice,How to add more bluetooth profiles,e.g.A2DP,OBEX. --~--~-~--~~~---~--~~ 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] 3D/GL View on top of a SurfaceView?

2009-03-31 Thread Iven Connary
I have a SurfaceView upon which I'm making various ongoing Canvas draw calls.I would like to either 1) Render GL content directly on top of this SurfaceView, or 2) layer a GL View with a transparent background on top of the underlying SurfaceView. I must be able to draw to both the

[android-developers] Dev Phone can not see paid apps using the 1.1 holiday release

2009-03-31 Thread Eric Schott
Here's the specs: Model Number: Android Dev Phone 1 Firmware Version: 1.1 Kernel Version: 2.6.25-01845-g85d4f0d android-bu...@apa27 #27 Build number: holiday_devphone_userdebug 1.1 Phone is registered to my google account ok. I go to the Market and search for apps, see them fine. I then pick

[android-developers] GL View layered on top of a SurfaceView?

2009-03-31 Thread Taylor
I have a SurfaceView upon which I'm making various ongoing Canvas draw calls. I would like to either 1) Render GL content directly on top of this SurfaceView, or 2) layer a GL View with a transparent background on top of the underlying SurfaceView. I must be able to draw to both the background

[android-developers] Re: dex failure

2009-03-31 Thread Cartouche
Hi, I have the same problem, can you detail how you fix it ? Thanks you. On 30 mar, 22:18, Dan Bornstein danf...@android.com wrote: On Mon, Mar 30, 2009 at 11:12 AM, BeWillDir wmmichael...@gmail.com wrote: Now I'm preparing for a trip and I want to continue development on my netbook,

[android-developers] Accelerometer/Orientation sensor problem

2009-03-31 Thread Liz
On my T-Mobile G1 (firmware 1.1, build PLAT-RC33), developing in SDK1.1r1, I am experiencing a problem where playing sounds causes the output of the accelerometer and orientation sensors to fluctuate wildly. The degree of fluctuation is directly proportional to the volume of the sound being

[android-developers] Sound interfering with Accelerometer and Orientation sensors

2009-03-31 Thread iconnary
On my T-Mobile G1 (firmware 1.1, build PLAT-RC33), developing in SDK1.1r1, I am experiencing a problem where playing sounds causes the output of the accelerometer and orientation sensors to fluctuate wildly. The degree of fluctuation is directly proportional to the volume of the sound being

[android-developers] Re: content://sms/sent Read SMS

2009-03-31 Thread binklee
same interest for this part of the code. On Mar 19, 9:36 am, Martin martin@gmail.com wrote: Hi, I'm having a problem reading theSMSmessages from the device. When acquiring a content provider for the URI content://sms/inbox - everything is fine, I read the person column to find the foreign

[android-developers] how to show yuv picture in android?

2009-03-31 Thread jiangchd
In cameraservice.cpp, it uses the following code to show picture in format yuv420. mSurface-registerBuffers(w,h,w,h, PIXEL_FORMAT_YCbCr_420_SP, mHardware-getPreviewHeap()); But there's no color shown on the screen. It seems as that

[android-developers] input method app

2009-03-31 Thread bin
Hi, everyone, Who can give me a input method application which can replace QWERTY keypad and do not need a HVGA screen (that can also fit VGA / WQVGA / QVGA)? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Failed to reopen debug port for Selected Client to:

2009-03-31 Thread suvasish
If you are being denied to change hosts file, one probable reason is the Security settings of the hosts file properties. To check or change permissions, go to C:\Windows\System32\drivers \etcopen Properties for 'hosts' file, click on 'Security' tab. Now select the 'Group or user names' you

[android-developers] Net monitor

2009-03-31 Thread Skouti
Dears Is there any Library and classes that enables writing a NetMonitor application for 3G Wifi like in Symbian phones ..? Android.net.wifi and android.net seems haven't enogh functions to do that Are Android Kernal developers willing to set such Network functionalities as Symbian Windows

[android-developers] Re: *** Why 1 G1 can see Paid Apps in the Android Market and Another Not? ***

2009-03-31 Thread Eric Schott
I have a developers phone running: 1.1 specifically holiday_devphone_userdebug 1.1 Kernel version is: 2.6.25-01845- g85d4f0d android-bu...@apa27 #27 and I can not see any paid apps. I still see lots of chatter about some who can see paid apps and some who can not. What the magic button to

[android-developers] Re: ProgressDialog and sub activities

2009-03-31 Thread vincent.gann...@gmail.com
Any idea? --~--~-~--~~~---~--~~ 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] Re: Improve scrolling speed

2009-03-31 Thread AlCapwn
On Mar 30, 11:13 pm, Romain Guy romain...@google.com wrote: Well if your profiling shows 91% of the time spent in the GestureDectory, then you are probably doing something wrong. As far as I know, GestureDetector#onTouchEvent is something that should be called from the touch listener to make

[android-developers] Re: Sound interfering with Accelerometer and Orientation sensors?

2009-03-31 Thread iconnary
Disregard this, it is a duplicate of an earlier post -- http://groups.google.com/group/android-developers/browse_thread/thread/e1a67f197173abb5# On Mar 30, 3:50 pm, iconnary iconn...@gmail.com wrote: On my T-Mobile G1 (firmware 1.1, build PLAT-RC33), developing in SDK1.1r1,  I am

[android-developers] Re: Improve scrolling speed

2009-03-31 Thread Dianne Hackborn
Surely it is not spending 91% of its time just in that function. Have you dug down into the functions it calls from within itself? On Tue, Mar 31, 2009 at 10:16 AM, AlCapwn alcapw...@googlemail.com wrote: On Mar 30, 11:13 pm, Romain Guy romain...@google.com wrote: Well if your profiling

[android-developers] Re: input method app

2009-03-31 Thread Dianne Hackborn
The platform currently only supports HVGA screens, and input methods are not available until cupcake. On Tue, Mar 31, 2009 at 7:59 AM, bin li...@zte.com.cn wrote: Hi, everyone, Who can give me a input method application which can replace QWERTY keypad and do not need a HVGA screen (that can

[android-developers] Re: ProgressDialog and sub activities

2009-03-31 Thread Dianne Hackborn
You just fundamentally shouldn't be taking a long time in onCreate() etc. If you are taking long enough in there to desire a progress dialog, you are taking too long. On Sun, Mar 29, 2009 at 8:40 AM, vincent.gann...@gmail.com vincent.gann...@gmail.com wrote: Hi all, I have a main activity

[android-developers] Strange GestureDetector side effect when used in a subclass of FrameLayout?

2009-03-31 Thread focuser
Hi, I'm trying to use a GestureDetector in a subclass of FrameLayout, which has a child ListView. But it seems the GestureDetector has some side effect which causes abnormal scrolling behaviors for the child ListView, e.g. sometime when flinging down, the list actually scrolls upwards; when the

[android-developers] Re: GL View layered on top of a SurfaceView?

2009-03-31 Thread Dianne Hackborn
GLView is I believe also a SurfaceView, and SurfaceViews just can't be layered (actually I wouldn't recommend using more than one in a window, period). On Tue, Mar 31, 2009 at 9:46 AM, Taylor trobi...@gmail.com wrote: I have a SurfaceView upon which I'm making various ongoing Canvas draw

[android-developers] Re: setRequestedOrientation call flow

2009-03-31 Thread Dianne Hackborn
This is ActivityManagerService, WindowManagerService, PhoneWindowManager. On Tue, Mar 31, 2009 at 9:10 AM, Max R. maxtor2...@gmail.com wrote: I meant SCREEN_ORIENTATION_LANDSCAPE for the parameter for setRequestedOrientation(). SCREEN_ORIENTATION_LANDSCAPE = Constant Value: 0 This

[android-developers] Re: Strange GestureDetector side effect when used in a subclass of FrameLayout?

2009-03-31 Thread Romain Guy
Hi, It looks like a bug in the VelocityTracker. Can you please file it at b.android.com? Thanks On Tue, Mar 31, 2009 at 10:28 AM, focuser linto...@gmail.com wrote: Hi, I'm trying to use a GestureDetector in a subclass of FrameLayout, which has a child ListView. But it seems the

[android-developers] Re: setRequestedOrientation call flow

2009-03-31 Thread Max R.
Thanks! Got it now! On Mar 31, 10:32 am, Dianne Hackborn hack...@android.com wrote: This is ActivityManagerService, WindowManagerService, PhoneWindowManager. On Tue, Mar 31, 2009 at 9:10 AM, Max R. maxtor2...@gmail.com wrote: I meant  SCREEN_ORIENTATION_LANDSCAPE for the parameter for

[android-developers] Re: how to add --core-library to Eclipse ?

2009-03-31 Thread Dan Bornstein
On Mon, Mar 30, 2009 at 11:09 AM, Mark Murphy mmur...@commonsware.com wrote: When I tried putting src/java/beans/PropertyChangeEvent.java and src/java/beans/PropertyChangeListener.java in my source tree, though, I triggered the --core-library error message from dx. It seems like there's a lot

[android-developers] Re: dex failure

2009-03-31 Thread Bill Michaelson
Oh, hey, no problem. Sometimes it's not a matter of getting the right fix from someone, but rather, a sympathetic and intelligent correspondent. I work alone and that's, uh, lonely. And I can't blame you for wanting to double-check my assumptions. I would do the same. I'll try to get you

[android-developers] Re: dex failure

2009-03-31 Thread Bill Michaelson
Cartouche - for my system, it was simply a matter of changing a symbolic link so that the Sun runtime environment is use when the java command is invoked from a shell. On the Debian system I'm using, that link is in /etc/alternatives. And in my case I did this: cd /etc/alternatives ln -s -f

[android-developers] Re: dex failure

2009-03-31 Thread Bill Michaelson
Oh, and here is the result with the Sun JRE for comparison... b...@gizmo:~/android/Apprise$ dx --dump bin/classes/net/from/apprise/ Apprise.class reading bin/classes/net/from/apprise/Apprise.class... begin classfile magic: cafebabe minor_version: major_version: 0031 constant_pool_count:

  1   2   >