[android-developers] How to read XML file from sdcard and parse it?
I want to access the XML file from sdcard and i want to parse thar file. How ta access this file and pass it to Parse method? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: abort outgoing call
Hi , I was aborting BroadCastReceiver using abortBroadcast(); method. Its working fine with 1.0 to 1.6 but on 2.0 or + its not working. I have checked the documentation that is also same in 1.0 and 2.0 but in 2.0+sdk's abortBroadCast(); method is not aborting broadcast on out going calls . I have use also setResultData(null) method its aborting the broadcast but not reinitiating the call. Any solution pl ?? Best Regards, Gulfam Hassan On Jan 8, 1:03 am, "Alejandro D. Garin" wrote: > just found the answer: > > use setResultData(null) on the BroadcastReceiver > > Thanks > > On Thu, Jan 7, 2010 at 4:13 PM, Alejandro D. Garin wrote: > > > Hi, > > > Suppose I want to replace a short number dialed by the user (i.e. 1234) by > > a full mapped real number (4081234). So I should intercept the outgoing > > call, abort it, and dial the correct real number. > > > Although I'm able to detect the outgoing call by a BroadcastReceiver class > > my problem is that I didn't found a way to actually abort the current call, > > or maybe replace the number dialed by the user. > > > Please any hint on how to do that? > > > Thanks! > > Alejandro. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] iPhone to Android: Creating "good" Android Interfaces
Hey everybody, I'm porting an iPhone app to Android and I'm having trouble designing an interface that looks and feels "Android." I've read all of the design documents in the Android Dev Guide and looked through all the Google-designed apps, but I feel like the layout of activities is largely undefined. Are there any resources that could help me transition my iPhone design to the Android platform? Here's a quick example of one of my issues. On the iPhone, every view that presents user generated content gives the user a "+" button in the upper right hand corner of the screen to add an item. It's consistent across the built in apps, and it's *mostly* standard among third-party apps. I don't know what to do with the "+" button on Android. The guidelines say important actions should be present on the screen and not hidden within a menu, so let's say I put it on the screen. It shouldn't go at the bottom of a long list of items, because the user shouldn't have to scroll down every time they want to create a new item. That leaves me with a static button. But there are no standard toolbars, so I'm going to design my own iPhone-esque bar at the top of the screen with a "+" button? I know this probably sounds like a rant, and I'm sorry. I feel it would be worthwhile for someone to sit down and document how common iPhone UI practices should be transitioned to Android apps. I care a lot about UI design - I think it's one of the most important factors in app development -- and I'd hate to see every transitioning developer approach this differently. At any rate, does anyone know of existing resources that might help me out? What's the best designed app you've used for Android? A few examples of great "Android" interfaces would go a long way. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] pitch of a wavefile
Can somebody tell me how to change the pitch of a wave file 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] What is the defalt screensize of emulator.
Please tell what is the default screensize of emulator. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android “hover” event i n custom layout
The way to do it is to have the parent of your ImageView use onInterceptTouchEvent(). On Dec 26 2009, 8:06 pm, k_day wrote: > I have a custom layout that I have written that basically just > displays a bunch of ImageViews. I am handing onTouch events for all > the ImageViews in my layout. However, if a user touches one imageView > and then drags over another ImageView, I would like to be able to > handle that as well. > > How would I go about capturing this behavior? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: OpenGL fixed point vs. floating point
> First you need to find exactly what kind of CPU it has. Then go to the > manufactures web site and download the docs on programming there 3d Well, yes, but I didn't mean manually. What I meant is, is there an API by which I can determine whether the device my program is running on has hardware floating point support? The idea is that I want to implement both floating point and fixed point versions of my rendering code, then chose which one to use at runtime based on the hardware it's running on. Peter -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: what is a suitable upper limit for application size?
I meant to reply to the public board. As I was saying, doesn't this application size limit pose a barrier to apps which use sound or video clips? Although my app has lots of pics (250), they don't amount to much really, being only 300x400.each..So this must be a problem for many apps. I suppose the capacity is greater on a Droid or Nexus?? I have never seen an Android phone in Canada yet so I don;t care so much about G1s. Up here in Canada, the first generation of HTC Android phones are very rare, having been offered so far only with a dreary 3- year package. People are waiting for a better deal, or choosing another brand. My hunch is that Pre is way outselling Android in Canada so far, maybe 5 to 1. When the Droids are released in a month, I expect that all to change. On Jan 7, 10:59 pm, Dan Sherman wrote: > I've filed a bug report against it, but not sure if its been address in > later releases. > > At the time of 1.5 and 1.6, the package installer requires 4x the package > size to be available during an install. > > That means, for a 15mb package, the user will need 60mb of free space, or > else the install will fail (adb installs bypass this requirement). The > error message is also unhelpful: "Installation Failed". > > Considering G1's only have 64mb, you're in a rough spot. We've had a ton of > user complaints with our apps that are around 5.5mb. > > On Thu, Jan 7, 2010 at 9:56 PM, ian wrote: > > The tourism related app I am completing has about 250 images for a > > total of maybe 15MB. > > > I;d like to add another 100 or so images but sometimes I get an > > 'Insufficient storage' error message and have to restart the emulator. > > That in itself isn't so bad a problem but now I'm wondering about > > practical limits for real devices. > > > Anybody know large can I make my app assuming I wouldn't want to to > > use up more than perhaps 25% of a user's discretionary storage? > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: OpenGL; GL11.glDrawTexiOES does not seem to work for Nexus One
For what it's worth I call glDrawTexivOES and that seems to be working properly on the Nexus One. Ernest Woo Woo Games http://www.woogames.com On Jan 7, 9:14 pm, Streets Of Boston wrote: > I use this call (GL11.glDrawTexiOES), copied most of it from the Api > Demos' "LabelMaker" class and it works on every Android phone, so far. > > However, i tested it on the Nexus One and nothing is rendered when > using glDrawTexiOES. > > I tried the floating-point version of this call as well... nothing... > > Is there a way around this issue? > > Thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: OpenGL; GL11.glDrawTexiOES does not seem to work for Nexus One
Here's what my GL setup code detected: I/WorldRenderer( 4454): Determining OpenGL Capabilities I/WorldRenderer( 4454): OpenGL Vendor [Qualcomm] I/WorldRenderer( 4454): OpenGL Renderer [Adreno] I/WorldRenderer( 4454): OpenGL Version [OpenGL ES-CM 1.1] [CM] [1.1] I/WorldRenderer( 4454): GL Extensions [GL_AMD_compressed_3DC_texture GL_AMD_compressed_ATC_texture GL_ARB_texture_env_co mbine GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_vertex_buffer_object GL_ATI_compressed_texture_atitc GL_ATI_texture_compression_atitc GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_b lend_subtract GL_EXT_stencil_wrap GL_OES_EGL_image GL_OES_blend_equation_separate GL_OES_blend_func_separate GL_OES_blen d_subtract GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_draw_texture GL_OES_extended_ma trix_palette GL_OES_framebuffer_object GL_OES_matrix_palette GL_OES_point_size_array GL_OES_point_sprite GL_OES_read_for mat GL_OES_stencil_wrap GL_OES_texture_cube_map GL_OES_texture_env_crossbar GL_OES_texture_mirrored_repeat ] I/WorldRenderer( 4454): VBOs Supported I/WorldRenderer( 4454): HW Mipmap generation supported I/WorldRenderer( 4454): Finished determining OpenGL capabilities. I/WorldRenderer( 4454): EGL_DEPTH_SIZE = 16 I/WorldRenderer( 4454): EGL_BUFFER_SIZE = 16 I/WorldRenderer( 4454): EGL_RED_SIZE = 5 I/WorldRenderer( 4454): EGL_BLUE_SIZE = 5 I/WorldRenderer( 4454): EGL_GREEN_SIZE = 6 I/WorldRenderer( 4454): EGL_ALPHA_SIZE = 0 D/WorldRenderer( 4454): OpenGL Surface Changed to (800x480) D/CameraMan( 4454): Aspect Ratio = 1.666 DrawTexiOES is a standard 1.1 function, right? It should be supported then because this chip reports itself as 1.1-Common. Perhaps you could send an email to the Adreno guys and ask them about it. I don't use that function but so far everything has worked 100% for me. On Jan 7, 8:14 pm, Streets Of Boston wrote: > I use this call (GL11.glDrawTexiOES), copied most of it from the Api > Demos' "LabelMaker" class and it works on every Android phone, so far. > > However, i tested it on the Nexus One and nothing is rendered when > using glDrawTexiOES. > > I tried the floating-point version of this call as well... nothing... > > Is there a way around this issue? > > Thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: OpenGL fixed point vs. floating point
First you need to find exactly what kind of CPU it has. Then go to the manufactures web site and download the docs on programming there 3d acceleration hardware, there you should see either a VFP(vector floating point) or a SIMD integer unit. Anyhow the native number format used internally will have to match the acceleration hardware. On Jan 7, 2:13 pm, Peter Eastman wrote: > That looks like a lot of interesting and useful performance > information, but I didn't actually see any answers to my questions > there. In fact, the only discussion of fixed point versus floating > point was in relation to a physics algorithm. I don't have questions > about my physics code, because I'll be writing it mvyself. :) It's the > behavior of OpenGL that I don't know about. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: MediaPlayer - Sound stops when I change the layout or suddenly randomly in my game
Nobody has an answer? My sound stops when my application needs much cpu. What can I do? I don't want the sound to stop suddenly. Martin -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Master branch of Android Source code ?
How to know master branch of Android source code? I want to download Anroid 2.0-Eclair source code, but I don't know the version of master branch. So how to know master branch of Android source code? Thanks!!! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Dialog with backgroundDimAmount=0 may cause black screen! (Bug?)
Hello, all! For some reason, I need a dialog with "backgroundDimAmount=0". But I found that if I start a "new" emulator, show my dialog will get a black screen, and never come back even press BACK key. This will happen every time I test on 1.6 donut version. To solve it is to show any dialog without this setting first in my activity or not, and then my dialog will work well. I could not figure out why this is happened. Is that a bug? Anyone could test using the following sample code. public class mydialog extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); //showDialog(0); // backgroundDimAmount default setting showDialog(1); // backgroundDimAmount=0 } @Override protected Dialog onCreateDialog(int id) { if(id==0) { Dialog dialog = new Dialog(this); dialog.setContentView(R.layout.custom_dialog); dialog.setTitle("Custom Dialog"); TextView text = (TextView) dialog.findViewById(R.id.text); text.setText("Hello, this is a custom dialog!"); ImageView image = (ImageView) dialog.findViewById(R.id.image); image.setImageResource(R.drawable.icon); return dialog; } else { Dialog dialog = new Dialog(this,R.style.Theme_doNotDim); dialog.setContentView(R.layout.custom_dialog); dialog.setTitle("Custom Dialog with doNotDim"); TextView text = (TextView) dialog.findViewById(R.id.text); text.setText("Hello, this is a custom dialog!"); ImageView image = (ImageView) dialog.findViewById(R.id.image); image.setImageResource(R.drawable.icon); return dialog; } } } # res/layout/custom_dialog.xml http://schemas.android.com/apk/res/ android" android:id="@+id/layout_root" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" android:padding="10dp"> # res/value/styles.xml- 0
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: SQLite encryption of file storage
I see that a new open-source encrypted version of SQLite is now available, SQLCipher (http://www.zetetic.net/software/sqlcipher). If only Android included this instead of the vanilla SQLite... See also http://groups.google.com/group/sqlcipher. Bill -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] what is a suitable upper limit for application size?
I've filed a bug report against it, but not sure if its been address in later releases. At the time of 1.5 and 1.6, the package installer requires 4x the package size to be available during an install. That means, for a 15mb package, the user will need 60mb of free space, or else the install will fail (adb installs bypass this requirement). The error message is also unhelpful: "Installation Failed". Considering G1's only have 64mb, you're in a rough spot. We've had a ton of user complaints with our apps that are around 5.5mb. On Thu, Jan 7, 2010 at 9:56 PM, ian wrote: > The tourism related app I am completing has about 250 images for a > total of maybe 15MB. > > I;d like to add another 100 or so images but sometimes I get an > 'Insufficient storage' error message and have to restart the emulator. > That in itself isn't so bad a problem but now I'm wondering about > practical limits for real devices. > > Anybody know large can I make my app assuming I wouldn't want to to > use up more than perhaps 25% of a user's discretionary storage? > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] what is a suitable upper limit for application size?
The tourism related app I am completing has about 250 images for a total of maybe 15MB. I;d like to add another 100 or so images but sometimes I get an 'Insufficient storage' error message and have to restart the emulator. That in itself isn't so bad a problem but now I'm wondering about practical limits for real devices. Anybody know large can I make my app assuming I wouldn't want to to use up more than perhaps 25% of a user's discretionary storage? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Select multiple photos from a file browser?
Is there a way to select multiple photos instead of just one using Intent.ACTION_PICK? I'm doing something like this: Intent photoPickerIntent = new Intent (Intent.ACTION_PICK); photoPickerIntent.setType("image/*"); startActivityForResult(photoPickerIntent, 1); which allows the user to click one photo, but as soon as they do the dialog closes and you're back in your app. Is there an easy way to do this, or do I need to write my own custom dialog? Thanks! Kevin Hooke -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Flowing View Group
One of the things I wanted was a ViewGroup that I could plug an adapter into. It would work like the GridView and be much simpler. I could use it in ListViews and things wouldn't get weird. I built something that fills those needs for me. You could put any type of view into the grid. Take a look at it. Maybe you can make it better and let me know! Enjoy! The http Git archive is at: http://github.com/brione/FlowingViewGroup.git and the read-only link to the repository is: git://github.com/brione/FlowingViewGroup.git Here's a short video that shows what it looks like: http://www.youtube.com/watch?v=JzIa-NnGTEE The video just uploaded, so it could be a couple minutes. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Active Activity?
Hi all, Is there a way to find out what is on the screen at any given point in time? In a broadcast receiver, I would like to determine if a specific activity is onscreen. Is it possible? In that activity I have a button that is assigned two different functions and is labeled with text to match that function, based on current state... Because of some code in the receiver (a preference change) the button action in that activity would change and would not do what it says. The receiver displays a notification, but I would like to do a little bit more to help my user in this context. If the receiver executes when one of my Activities is running I want to show a toast to alert the user in addition to displaying the standard notification on the top left. Maybe I could update the Activity screen with the notification to reflect the proper state. Can I do any of that? Is there a way for my receiver to determine if a specific Activity within my application is running? I don't think it is possible to get that information, but I wanted to ask you all. This is a corner case and my users really should notice the notification. If not, the Activity has clear visual feedback to the button press that shows the user what the button did (since it did not do what was expected). The ActivityManager and WindowManager do not seem to offer this level of detail. Please share any insights you might have. Thanks and regards, Beth -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] OpenGL; GL11.glDrawTexiOES does not seem to work for Nexus One
I use this call (GL11.glDrawTexiOES), copied most of it from the Api Demos' "LabelMaker" class and it works on every Android phone, so far. However, i tested it on the Nexus One and nothing is rendered when using glDrawTexiOES. I tried the floating-point version of this call as well... nothing... Is there a way around this issue? Thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: can write youtube api on android?
thanks for your reply, however, I try the same code and same libs in the Android project and java project (within Eclipse), and the Android project will get the above problems that I mentioned for, but int the java project there will not get the problem, it's work normally! thanks On 1月7日, 上午1時49分, Kumar Bibek wrote: > You can report it in the Issue List of YouTube. I guess, you are > missing out some dependencies for youtube api. > > You can check the youtube docs to find out more. > > Thanks and Regards, > Kumar Bibek > > http://tech-droid.blogspot.com > > On Jan 6, 2:11 pm,tstanly wrote: > > > > > hi all, > > > I use the youtube api and other libs such as > > gdata_client...http://code.google.com/intl/zh-TW/apis/youtube/getting_started.html > > > but I always get the verify error: > > == > > E/dalvikvm( 749): Could not find class > > 'com.google.gdata.data.media.MediaStream > > Source', referenced from method > > com.google.gdata.client.media.MediaService.getMe > > diaResource > > W/dalvikvm( 749): VFY: unable to resolve new-instance 538 (Lcom/ > > google/gdata/da > > ta/media/MediaStreamSource;) in Lcom/google/gdata/client/media/ > > MediaService; > > W/dalvikvm( 749): VFY: rejecting opcode 0x22 at 0x0013 > > W/dalvikvm( 749): VFY: rejected Lcom/google/gdata/client/media/ > > MediaService;.g > > etMediaResource (Ljava/net/URL;Lcom/google/gdata/util/ContentType;Lcom/ > > google/gd > > ata/data/DateTime;)Lcom/google/gdata/data/media/MediaSource; > > W/dalvikvm( 749): Verifier rejected class Lcom/google/gdata/client/ > > media/MediaS > > ervice; > > D/AndroidRuntime( 749): Shutting down VM > > W/dalvikvm( 749): threadid=3: thread exiting with uncaught exception > > (group=0x4 > > 000fe70) > > E/AndroidRuntime( 749): Uncaught handler: thread main exiting due to > > uncaught e > > xception > > E/AndroidRuntime( 749): java.lang.VerifyError: > > com.google.gdata.client.media.Me > > diaService > > . > > > == > > so I want to confirm whether Android can integrate gdata and youtube > > api(lib)? > > or is there have mailing list for "gdata" that I can serach for > > problems? > > > thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Performance issue: Dalvik VM is >20x slower than most modern Java VMs
Flan not 2.1 which is still Eclair. S --- Sena Gbeckor-Kove CTO/Founder - imKon UK : +44 7788 146652 NL : +31 62 434 1290 s...@imkon.com|www.imkon.com Asia (Singapore) : 35 Selegie Road, #09-14/15 Parklane Shopping Mall, 188307 Singapore, Singapore Europe (London) : 145-157 St John's St, EC1V 4PY London, UK On 6 Jan 2010, at 20:39, Ecthelion wrote: > Do you have any references for the statement below? And does "next sdk > release" refer to the Android 2.1 SDK? > > Thanks > > On 6 Jan., 19:49, "Fred Grott(Android Expert, > http://mobilebytes.wordpress.com)" > wrote: >> the next sdk release is suppose to have a Dalvik JIT i nit doubling >> speed/performance.. > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en smime.p7s Description: S/MIME cryptographic signature
[android-developers] Re: Reccomendation for phone with Bluetooth SPP?
FWIW, I decided to order the Nexus One. I had been under the impression that they weren't going to be shipping them until March but that was incorrect and they are filling orders now -- not my order (yet), but I don't think it will be too long now. On Jan 6, 11:55 am, silverfox wrote: > I am just beginning my first Android project and it involves using > Bluetooth SPP. Since the emulator does not support Bluetooth, I > decided I need to bite the bullet and buy a phone. Should I get an > ADP2 or a Droid or just be patient and wait for a Nexus One? > Advantages or disadvantages of one choice over another? Also, does > anyone hold out any hope of a version of the emulator coming out any > time soon with Bluetooth capability? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] No emulator support for WQVGA and FWQVGA (normal screen/low density) skins?
I'm trying to make my app ready for all 1.6 devices, and am testing with the emulator. Per table 1 in http://developer.android.com/guide/practices/screens_support.html#testing I need to test the normal size / low density case, right? Why is these two skins not 'built-in'? Is merely specifying a custom skin resolution adequate for testing? Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: SeekBar
you are right, I just tested it. It can't be done. On Jan 7, 7:30 pm, Mark Murphy wrote: > Business Talk wrote: > > Has anybody tried to use the SeekBar in the window's title bar, > > instead of the ProgressBar, using the requestWindowFeature > > (Window.FEATURE_PROGRESS);? > > I do not believe that is possible. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > _The Busy Coder's Guide to *Advanced* Android Development_ > Version 1.3 Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Problems with
I found the problem. For some reason I had <... type="dimension" /> instead of format="dimension /> On Jan 7, 5:22 pm, Brion Emde wrote: > When I try to declare any non android:names in my attrs.xml file, I > get a horrible error. > > Here's the file, for a custom styleable component: > > > > > > > > > > > > > > > > When I take off the comments around the line that declares "rows" as > an attribute, or try to define any of my own attributes, Eclipse goes > nuts and spits out the following: > > In TagsViewGroup, unable to find attribute rows > > non-stop, over and over, and I have to turn off automatic compilation > to be able to edit the file. > > Yet, I have the APIDemos example atttrs.xml file which does declare > custom attributes for the LabelView class and does not have this > problem. Do you know what my problem is? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to write ContentProvider for content not stored in a file nor DB?
Data is encrypted and stored in the file. ContentProvider decrypts data and I would like to avoid to write decrypted data to the file just to get file descriptor. How did you implement yours? Thanks. On Jan 7, 4:34 pm, Brion Emde wrote: > You don't say where your data is stored. I'm fetching data from a web > service in JSON format. I decided to encapsulate the interactions with > the service, which is RESTful, as a ContentProvider for Android. It's > working well, so far. I still need to integrate authentication. > > On Jan 7, 3:08 pm, gnugu wrote: > > > Hi, > > I'm writing a ContentProvider that will provide content that is not > > stored in a file or database. > > > I understand hat I have to overwrite openAssetFile() method. > > > My problem is that I don't know how to create AssetFileDescriptor from > > data in memory (byte array or stream). > > > Can anybody please point me to the right direction? > > > I was digging in Android source where they use MemoryFile but I can't > > obtain ParcelFileDescriptor from MemoryFile :(. > > > Any help greatly appreciated. > > > Thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to write ContentProvider for content not stored in a file nor DB?
You don't say where your data is stored. I'm fetching data from a web service in JSON format. I decided to encapsulate the interactions with the service, which is RESTful, as a ContentProvider for Android. It's working well, so far. I still need to integrate authentication. On Jan 7, 3:08 pm, gnugu wrote: > Hi, > I'm writing a ContentProvider that will provide content that is not > stored in a file or database. > > I understand hat I have to overwrite openAssetFile() method. > > My problem is that I don't know how to create AssetFileDescriptor from > data in memory (byte array or stream). > > Can anybody please point me to the right direction? > > I was digging in Android source where they use MemoryFile but I can't > obtain ParcelFileDescriptor from MemoryFile :(. > > Any help greatly appreciated. > > Thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Developer console stopped updating?
On Thu, Jan 7, 2010 at 6:26 PM, nubin...@gmail.com wrote: > My "total" and "active install" numbers in Developer Console have not > been changing for more than 36 hours -- for all 5 apps that I publish. > Has anyone seen the same thing? Yes, the issue has been going on for about 48 hours now. Feel free to contact them, and good luck getting a response. -- Greg Donald http://destiney.com/ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] SeekBar
Business Talk wrote: > Has anybody tried to use the SeekBar in the window's title bar, > instead of the ProgressBar, using the requestWindowFeature > (Window.FEATURE_PROGRESS);? > I do not believe that is possible. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.3 Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] SeekBar
Has anybody tried to use the SeekBar in the window's title bar, instead of the ProgressBar, using the requestWindowFeature (Window.FEATURE_PROGRESS);? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Developer console stopped updating?
My "total" and "active install" numbers in Developer Console have not been changing for more than 36 hours -- for all 5 apps that I publish. Has anyone seen the same thing? The ranking of my apps haven't been dropping yet (touch wood) so maybe just I am getting a stale view of the numbers? Gods of google, if you have time, please check statistics of com.nubinews.fullreader Thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Problems with
When I try to declare any non android:names in my attrs.xml file, I get a horrible error. Here's the file, for a custom styleable component: When I take off the comments around the line that declares "rows" as an attribute, or try to define any of my own attributes, Eclipse goes nuts and spits out the following: In TagsViewGroup, unable to find attribute rows non-stop, over and over, and I have to turn off automatic compilation to be able to edit the file. Yet, I have the APIDemos example atttrs.xml file which does declare custom attributes for the LabelView class and does not have this problem. Do you know what my problem is? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: ProgressBar
Thanks Moto On Jan 7, 7:09 pm, Moto wrote: > That would be a seekbar not a progressbar ;) > > On Jan 7, 6:45 pm, Business Talk wrote: > > > > > Is there any interactive progress bar, similar to the music player > > progress bar? It shows the progress but it also allows to move the > > cursor back and forth.- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: ProgressBar
That would be a seekbar not a progressbar ;) On Jan 7, 6:45 pm, Business Talk wrote: > Is there any interactive progress bar, similar to the music player > progress bar? It shows the progress but it also allows to move the > cursor back and forth. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Wrapping horizontal list view?
You can use a Gallery widget. On Thu, Jan 7, 2010 at 3:48 PM, Marcus wrote: > I'm attempting to create a list view that shows clickable items that > wrap horizontally much like the To/From/CC/BCC fields in OS X and the > iPhone's Mail programs or like the TO field in Facebook's messages > (really like most mail programs). My questions are: > > 1. Is there a way to do this with a ListView? Everything I've seen and > experimented with is either horizontal scrolling or vertically > stacking, but not horizontal wrapping. If there's a way, would you > point me in the right direction as far as first steps to take to > implement it? > > 2. Is anyone aware of an existing app with available source that has a > view like this that I could look at as an example? The Google Mail/SMS > apps just have single strings that are not clickable for those fields. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Wrapping horizontal list view?
I'm attempting to create a list view that shows clickable items that wrap horizontally much like the To/From/CC/BCC fields in OS X and the iPhone's Mail programs or like the TO field in Facebook's messages (really like most mail programs). My questions are: 1. Is there a way to do this with a ListView? Everything I've seen and experimented with is either horizontal scrolling or vertically stacking, but not horizontal wrapping. If there's a way, would you point me in the right direction as far as first steps to take to implement it? 2. Is anyone aware of an existing app with available source that has a view like this that I could look at as an example? The Google Mail/SMS apps just have single strings that are not clickable for those fields. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] ProgressBar
Is there any interactive progress bar, similar to the music player progress bar? It shows the progress but it also allows to move the cursor back and forth. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Reminder IRC office hours today 5:00- 6:00 PST
Answers to 12/17 office hours have been posted: http://moderator.appspot.com/#15/e=120951&t=121ce5 2010/1/7 Megha Joshi > > Office hours Thursday Jan 7th 5:00 - 6:00 PST, post questions @ > http://moderator.appspot.com/#15/e=120951&t=126bf1 > > Thanks, > Megha > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Any way to go from an itermId to position in a ListView/Adapter
Hi, In a ListView/CursorAdapter, it is easy to go from a position to an itemId ((CursorAdapter)(listView.getAdapter()).getItemId(position); Is there any way to do the reverse mapping? From an itemId, get its position in the list? Thanks, Ambarish -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Expandable View
I am looking for a view that can be expended by dragging the it's handle, the way the notification view can be opened by dragging its handle downwards. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Needing an Android Developer
Hello, Could you work on C2C basis for this spot? Regards Navneet Chalana On Jan 7, 2:26 pm, Charity wrote: > I am recruiting for an Android Developer for my company in NW > Arkansas. We are a technology based company and we will need an > experienced developer here at our facility for approximately 2 weeks. > If this is something that might interest anyone please send my your > resume to cdezu...@rr-solutions.us. Feel free to check out our web > site atwww.rr-solutions.us Thank you! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: BACKTRACK on Motorola BACKFLIP
Thanks for the info. I'm sure I'm not the only developer who feared there'd be a private API for the touchpad, and we appreciate you taking the time to set us straight. String On 7 Jan, 19:22, annas wrote: > With the press release announcing the latest Motorola Android device, > the BACKFLIP, we are getting quite a few questions on the addition of > a rear touchpad. As a developer you can take advantage of the > touchpad through the standard Android APIs offered in the event > model. The experience, however, is unique to the BACKFLIP. > > The touchpad responds to trackball events by default, or falls through > to keypress events if you chose not to trap trackball events. The > BACKFLIP also has 5-way navigation that responds to keypress events. > So your application has the option of using the touchpad and 5-way > keys in exactly the same way through keypress events, or creating two > separate behaviors and experiences. > > Be aware that there is a new user setting that enables or disables the > touchpad, called BACKTRACK. This is turned on by default but can be > disabled by the consumer. For more detailed information on coding for > the touchpad refer to our technical library > articlehttp://developer.motorola.com/docstools/library/Using_BACKTRACK_Touch > > Anna Schaller > Manager, Developer Education > Motorola -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Long Term Contract Position_ Android Developer _CA
Hello Friends, Hope you are doing great We are looking for energetic, smart, self-starting J2ME/Android engineers to join the team and help make a daily impact on our product and the company's overall growth. I wanted to contact you to see if you are available and comfortable with below mentioned opportunity. If so, please send me an updated copy of your resume and the best way for me to contact. If you know anyone, who is available and comfortable, Feel free to pass my contact details to them. Thanks in advance and hope to hear from you soon! Location: CA Duration: 6-12 Months+ Telecommute Option is not available Responsibilities Port existing product from the iPhone to Android, Blackberry, and other Java based phone platforms Identify new and unique features which can be added to new platforms to make the product standout from the crowd Become the in-house expert on building and deploying applications to Android and J2ME store fronts for the different mobile providers Required Skills Expertise with Mobile Java Programming. Experience with J2ME is a must; hands on experience with Android development and deployment is a distinct advantage Programming networked applications, preferably using HTTP. Additional experience with TCP/IP sockets in mobile is a plus Experience with deploying applications on multiple carriers, for multiple handsets. Ability to write good, clean, reusable code Ability to create solid, reusable UI to match with the GOGII look and feel Desired Skills Any server side programming experience (J2EE, MySQL, Hibernate, etc) a huge plus. iPhone development experience not required, but helpful. Experience with Blackberry development Experience 5+ years developing software Experience working with small teams, especially in a start-up environment Thanks & Regards Navneet Chalana Sr. Account Manager 631-685-1134 x 260 | navn...@okayainfo.com | Okaya Inc. 99 Mark Tree Rd, Suite 304 Centereach, NY 11720 | URL: http://www.okayainfo.com - Fax: 631-389-2446 | -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: OpenGL fixed point vs. floating point
That looks like a lot of interesting and useful performance information, but I didn't actually see any answers to my questions there. In fact, the only discussion of fixed point versus floating point was in relation to a physics algorithm. I don't have questions about my physics code, because I'll be writing it myself. :) It's the behavior of OpenGL that I don't know about. Perhaps I would do better to ask a slightly different question: how can I determine whether the device my program is running on has hardware floating point support? Peter -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to write ContentProvider for content not stored in a file nor DB?
Hi, I'm writing a ContentProvider that will provide content that is not stored in a file or database. I understand hat I have to overwrite openAssetFile() method. My problem is that I don't know how to create AssetFileDescriptor from data in memory (byte array or stream). Can anybody please point me to the right direction? I was digging in Android source where they use MemoryFile but I can't obtain ParcelFileDescriptor from MemoryFile :(. Any help greatly appreciated. Thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Updating a pre-installed application
OK... I figured it out. Needed to add a file to /system/etc/permissions linking mapping the library name to the jar file--then reboot. - John On Jan 7, 1:39 pm, John Seghers wrote: > Hi Dianne, > > Thank you for your help with this. > > I'm trying to implement the shared library so that hopefully if we > ever need to use this, the Market will support that kind of filtering > by that time. Also, since we report to our servers an ID unique to > carrier/oem/handset, we want to carry this information in this shared > library so that a generic update can pick up the handset-specific > information. > > I'm having a problem getting to work, though (see > problem description below) > > On Dec 18 2009, 1:42 pm, Dianne Hackborn wrote: > > > Actually, if your app needs some functionality from the device that is not > > part of the platform, the proper way to do this is to put it in a shared > > library like this that the application uses (and the OEM implements). This > > may just be what you want to do anyway. > > Our application doesn't actually need anything specific provided by > the OEM for the app to run, but our app provides a service and content > provider that the > OEM then uses to obtain information. Since this integration is a key > element of our product, it doesn't make sense to put it on a handset > that doesn't have > the OEM-level support. > > So I've created a project with a single class > "com.cequint.platform.CequintConfig". I've run dx on the resulting > class files and packaged it in to a JAR file with a MANIFEST.MF > similar to that in other .jar files I see in /system/framework. > Indeed, I just copied the MANIFEST.MF from monkey.jar. > > So my jar file is named com.cequint.platform.jar and contains: > /META-INF/MANIFEST.MF > /classes.dex > > This jar file layout is the same for monkey.jar and > com.google.android.maps.jar. > > I then remounted /system on an OEM development phone and pushed > com.cequint.platform.jar into the /system/framework directory. > > I added to a test > application's section. > > When I try to install the test application, I get an error from "adb > install": Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY] > > What am I missing here? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] https with user+password
Hi, I'm trying to build an application that will connect to my network provider and retrieve my current billing status. the site is in https and require a user and a password to get it how do i do that? (if i have the source code of the page in a string/inputstrem/file/ whatever then i'm set, all the "parsing" of the page is already implemented) Thx for all the helpers! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Needing an Android Developer
I am recruiting for an Android Developer for my company in NW Arkansas. We are a technology based company and we will need an experienced developer here at our facility for approximately 2 weeks. If this is something that might interest anyone please send my your resume to cdezu...@rr-solutions.us. Feel free to check out our web site at www.rr-solutions.usThank you! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Strange issue with webkit
Hi, I have a strange issue with Android 2.0.1. The french site http://wap.ratp.fr just fail to render correctly. It works great with Android 1.6 and earlier version. I fill an issue here http://code.google.com/p/android/issues/detail?id=5768 adding some HTTP streams dump to prove it's not wap.ratp.fr which is faulty. At least I think so. This bug is very annoying for people in France leaving in Paris who want to use this site : it's very useful when you use transports here. I don't know what I can do to help fixing this bug, if anyone can take a quick look and tell me if more informations are needed I'll be happy to give some. Cheers, -shino- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: abort outgoing call
just found the answer: use setResultData(null) on the BroadcastReceiver Thanks On Thu, Jan 7, 2010 at 4:13 PM, Alejandro D. Garin wrote: > Hi, > > Suppose I want to replace a short number dialed by the user (i.e. 1234) by > a full mapped real number (4081234). So I should intercept the outgoing > call, abort it, and dial the correct real number. > > Although I'm able to detect the outgoing call by a BroadcastReceiver class > my problem is that I didn't found a way to actually abort the current call, > or maybe replace the number dialed by the user. > > Please any hint on how to do that? > > Thanks! > Alejandro. > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] BACKTRACK on Motorola BACKFLIP
With the press release announcing the latest Motorola Android device, the BACKFLIP, we are getting quite a few questions on the addition of a rear touchpad. As a developer you can take advantage of the touchpad through the standard Android APIs offered in the event model. The experience, however, is unique to the BACKFLIP. The touchpad responds to trackball events by default, or falls through to keypress events if you chose not to trap trackball events. The BACKFLIP also has 5-way navigation that responds to keypress events. So your application has the option of using the touchpad and 5-way keys in exactly the same way through keypress events, or creating two separate behaviors and experiences. Be aware that there is a new user setting that enables or disables the touchpad, called BACKTRACK. This is turned on by default but can be disabled by the consumer. For more detailed information on coding for the touchpad refer to our technical library article http://developer.motorola.com/docstools/library/Using_BACKTRACK_Touchpad/. Anna Schaller Manager, Developer Education Motorola -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Public calendar API for android
Hi. Is someone from Google able to advise when the android SDK is likely to include a public API for reading/writing event data to the user's calendar? Searching the forums I see that this is a much desired feature by many developers but I haven't seen any indication as to when (or even if) this need will be addressed. Thanks in advance ... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Reminder IRC office hours today 5:00- 6:00 PST
Office hours Thursday Jan 7th 5:00 - 6:00 PST, post questions @ http://moderator.appspot.com/#15/e=120951&t=126bf1 Thanks, Megha -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Difference between ImageView.setImageBitmap() and RemoteView.setImageViewBitmap() ????
Jeff, I'm trying to create AssetFileDescriptor from byte array. Could you please provide some example how to create AssetFileDescriptor without writing into a file system? Thanks. On Dec 8 2009, 12:50 am, Jeff Sharkey wrote: > One alternative you can use is RemoteViews.setImageViewUri(), and then > write your own ContentProvider that feeds images throughopenAssetFile(). > > j > > > > On Wed, Nov 18, 2009 at 8:55 PM, tedd wrote: > > Hi, > > > I have seen that the ImageView.setImageBitmap() can process high > > resolution images(even of size greater than 480x640), but > > RemoteView.setImageViewBitmap() fails with FAILED BINDER TRANSCATION > > error > > > Is there ary constraint on the bitmap size which RemoteView can > > handle > > Why is the difference in the behaviour > > > Plz clarify this... > > > Thanks, > > tedd > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > Jeff Sharkey > jshar...@android.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Save a highscore-list to the internal memory or the sd-card?
Hi! Thank you! For all of you, I wrote a Highscore-Class to save Highscore-Lists. You can create a new Instance like this: Highscore highscore = new Highscore(this); //"this" is the Context You can add a Score to the Highscore-List with this command: highscore.addScore("Martin", Global.score); You do not need to test, if the score is in the Highscore-List. This command automatically puts it in the right position, if the score is in the Highscore-List. If you want to test, if the score is in the Highscore-List, you can do it like this: highscore.inHighscore(score); It is helpful, if you want to ask for the name just if the person is in the Highscore-List. You get the name of the x-th position in the Highscore like this: highscore.getName(x); The same for the score: getScore(x); Here is the Highscore-Class: public class Highscore { private SharedPreferences preferences; private String names[]; private long score[]; public Highscore(Context context) { preferences = context.getSharedPreferences("Highscore", 0); names = new String[10]; score = new long[10]; for (int x=0; x<10; x++) { names[x] = preferences.getString("name"+x, "-"); score[x] = preferences.getLong("score"+x, 0); } } public String getName(int x) { //get the name of the x-th position in the Highscore-List return names[x]; } public long getScore(int x) { //get the score of the x-th position in the Highscore-List return score[x]; } public boolean inHighscore(long score) { //test, if the score is in the Highscore-List int position; for (position=0; position<10&&this.score[position]>score; position+ +); if (position==10) return false; return true; } public boolean addScore(String name, long score) { //add the score with the name to the Highscore-List int position; for (position=0; position<10&&this.score[position]>score; position+ +); if (position==10) return false; for (int x=9; x>position; x--) { names[x]=names[x-1]; this.score[x]=this.score[x-1]; } this.names[position] = new String(name); this.score[position] = score; SharedPreferences.Editor editor = preferences.edit(); for (int x=0; x<10; x++) { editor.putString("name"+x, this.names[x]); editor.putLong("score"+x, this.score[x]); } editor.commit(); return true; } } -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Updating a pre-installed application
Hi Dianne, Thank you for your help with this. I'm trying to implement the shared library so that hopefully if we ever need to use this, the Market will support that kind of filtering by that time. Also, since we report to our servers an ID unique to carrier/oem/handset, we want to carry this information in this shared library so that a generic update can pick up the handset-specific information. I'm having a problem getting to work, though (see problem description below) On Dec 18 2009, 1:42 pm, Dianne Hackborn wrote: > Actually, if your app needs some functionality from the device that is not > part of the platform, the proper way to do this is to put it in a shared > library like this that the application uses (and the OEM implements). This > may just be what you want to do anyway. Our application doesn't actually need anything specific provided by the OEM for the app to run, but our app provides a service and content provider that the OEM then uses to obtain information. Since this integration is a key element of our product, it doesn't make sense to put it on a handset that doesn't have the OEM-level support. So I've created a project with a single class "com.cequint.platform.CequintConfig". I've run dx on the resulting class files and packaged it in to a JAR file with a MANIFEST.MF similar to that in other .jar files I see in /system/framework. Indeed, I just copied the MANIFEST.MF from monkey.jar. So my jar file is named com.cequint.platform.jar and contains: /META-INF/MANIFEST.MF /classes.dex This jar file layout is the same for monkey.jar and com.google.android.maps.jar. I then remounted /system on an OEM development phone and pushed com.cequint.platform.jar into the /system/framework directory. I added to a test application's section. When I try to install the test application, I get an error from "adb install": Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY] What am I missing here? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] App crashes on Droid, works fine on G1
What is the stack crawl of the crash? On Thu, Jan 7, 2010 at 1:12 PM, MJB wrote: > Hi All, > I'm having a problem where my app crashes on the Droid and seems to > work fine on the G1. We have a G1 dev phone but do not have access to > a Droid phone, so the issue is difficult to debug at this stage. > > The app loads up the main screen okay, but once the user moves beyond > the main screen, the app crashes. Moving beyond main screen initiates > the following: > > - GPS signal acquired > - Accelerometer sensor listener active > - Geomagnetic sensor listener active > - Camera preview active > > I have a suspicion that the issue may be related to the camera > preview. With the G1, it didn't seem to matter how I set the camera > preview size, so I just made it fit the size of the view. > > Camera.Parameters parameters = mCamera.getParameters(); > parameters.setPreviewSize(w, h); //where w, h are the width and > height. > > One possibility is that with the Droid having a larger screen > resolution to the G1, it may be setting the preview size to something > that is not supported. I plan on addressing this, but I have a few > questions that I was hoping someone could shed some light on. > > 1. If the app attempts to set a preview size that is not supported, > will it just be ignored or will the app crash? > 2. If the preview size is smaller than the surface that is holding the > preview, will the image be stretched to fill the surface? > 3. Can anyone think of anything else that may be related specifically > to the Droid that could be causing me problems? > > > Thanks, > Mike > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Performance issue: Dalvik VM is >20x slower than most modern Java VMs
Fyi, there is no Dalvik or Android compiler; the Java code is just compiled with the regular javac. On Thu, Jan 7, 2010 at 9:03 AM, Biosopher wrote: > Hi dm1973, > > Actually these tests are not useless. Of course good modern compilers > should optimize away the code above. The reality is that the Android > compiler is not a good compiler so it does not optimize the above > code. This allows the simple example above to show the performance > limitations of the Dalvik compiler. > > The point of my sample code above is to quickly show the Dalvik vs C > performance without showing all the extraneous supporting code for > running the test. It's easy enough to subtly change the example > posted above so it doesn't get optimized away though even by a good > compiler. I.e. simply return the value from the method above and post > it to a text field in Android or log it in in C. I actually ran the > tests that way (where the processing is not optimized away) to get the > results that I posted above. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] App crashes on Droid, works fine on G1
Hi All, I'm having a problem where my app crashes on the Droid and seems to work fine on the G1. We have a G1 dev phone but do not have access to a Droid phone, so the issue is difficult to debug at this stage. The app loads up the main screen okay, but once the user moves beyond the main screen, the app crashes. Moving beyond main screen initiates the following: - GPS signal acquired - Accelerometer sensor listener active - Geomagnetic sensor listener active - Camera preview active I have a suspicion that the issue may be related to the camera preview. With the G1, it didn't seem to matter how I set the camera preview size, so I just made it fit the size of the view. Camera.Parameters parameters = mCamera.getParameters(); parameters.setPreviewSize(w, h); //where w, h are the width and height. One possibility is that with the Droid having a larger screen resolution to the G1, it may be setting the preview size to something that is not supported. I plan on addressing this, but I have a few questions that I was hoping someone could shed some light on. 1. If the app attempts to set a preview size that is not supported, will it just be ignored or will the app crash? 2. If the preview size is smaller than the surface that is holding the preview, will the image be stretched to fill the surface? 3. Can anyone think of anything else that may be related specifically to the Droid that could be causing me problems? Thanks, Mike -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Numeric-only soft keyboard
That doesn't work. You still can't enter special characters, +, -, etc... I want to default to numeric but still allow other characters On Dec 15 2009, 1:43 pm, xinit wrote: > Hi ! > > Add this to your EditText layout > > numeric:decimal > > Regards > > Gerard > > On Dec 14, 10:46 pm, Ajay wrote: > > > Any update on this? I also want to bring up the numeric keyboard, but > > I don't want to restrict the input type. > > > On Oct 25, 7:21 am, "Armond Avanes" wrote: > > > > So anyone any experience with numeric keyboard? > > > > Regards, > > > Armond > > > > > -Original Message- > > > > Sent: Tuesday, October 20, 2009 12:08 PM > > > > > Hi Guys, > > > > > How can I set numeric-only soft keyboard option for a text field? When I > > > > set the input-type to "number" it brings a soft keyboard which is > > > > actually > > > > a alpha-numeric one but already switched to numeric mode. What I want > > > > is a > > > > pure numeric soft keyboard with big numbers (no alphabets at all). I've > > > > already seen this in other applications and but don't know how to do it. > > > > > I will appreciate any help or hint... > > > > > Armond -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] market doesn't refresh downloads?
2010/1/7 Éva Lovrencsics : > My downloads and installs stopped two days ago, and I don't see any > changes on the market (developer console). They never stay the same, > so I think, market doesn't refresh them. > Anybody recognized this? Marketplace stats have not updated for about 48 hours. My emails to android-market-supp...@google.com are not being answered. Google is being silent as usual. -- Greg Donald http://destiney.com/ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Queue messages with SmsManager
The SmsManager class' method to send is: void sendTextMessage(String destinationAddress, String scAddress, String text, Intent sentIntent, Intent deliveryIntent, Intent failedIntent) The intent handlers for delivery and failure implies that this method sends messages interactively. I am working on an app for gathering data which would be sent via SMS. My question is, can I not send my messages to the device's built-in SMS application? That way I don't have to worry about a) Failure to send due to no/poor signal b) Failure due to insufficient balance for prepaid connections because in both of the above cases my instance would be freed up and the messages would go through whenever the phone re-enters coverage area or the user tops up his balance. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Confusion about using Camera to take pictures from my application
I've been trying to write an application that uses the Camera App to take a picture. So far, the only thing I've been able to get back successfully is a tiny bitmap picture. I've found several other posts related to this topic that have code that is reported to work, but it does not work for me. I'm hoping someone can steer me in the right direction. Below is the code I am using currently, but it causes the application to blow up. private void takePicture(final int x, final int y, String description) { // create a file on the SD card File file = new File(Environment.getExternalStorageDirectory(), "tmp_" + String.valueOf(System.currentTimeMillis()) + ".jpg"); // Create the URI that tells the camera where to put the picture. mOutputFileUri = Uri.fromFile(file); statusLine.setText("URI => " + mOutputFileUri); mIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE) .putExtra(MediaStore.EXTRA_OUTPUT, mOutputFileUri) .putExtra(PIC_X, x) // x coordinate of square .putExtra(PIC_Y, y) // y coordinate of square .putExtra(PIC_DESCRIP,description) .putExtra("return-data", true) ; startActivityForResult(mIntent, PIC_FROM_CAMERA); } Ultimately, I want to be able to get the picture back and do two things with it: create a 64x64 icon that is displayed by the Android application, and upload the picture to a web application. Thank you for any help or advice you can give. Oh, btw, I'm running this on the emulator using Android 2.0 Thanks, Ray -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Calendar Weekly View - Android 1.6 and 2.0
Noticed that Android 2.0 allows you to see the text in the Calendar's Event's Name in the WEEKLY View. Is it possible in 1.6 as well? Currently just a colored block and no text. Have to actually click each event one by one to bring up the Event's Name. But would like to see the entire week and be able to read the events names all at once like in 2.0. Any help for a novice user??? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Problem about adding app widget into my application(custom home screen)
Hi, I would like to add app widgets in my own custom home screen, but there are some problems about it. Since I have read https://groups.google.com/group/android-developers/browse_thread/thread/25c0a42655126c1b/e95302777a14d3b5?q=appwidgethost&pli=1 http://www.mail-archive.com/android-developers@googlegroups.com/msg50610.html they said that activity should need to launch the PICK intent for user choosing app widget, but I don't want to choose widget from a list, instead of this, I want to insert a specifically widtget. I think there is a clock widget on the original android home screen, so there still another way to add widget app into home screen that doesn't need user choosing app widget, right? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] any news or idea about how to access to google account parameters?
hi, i'm looking since hours how i can read google account setting used by calendar or Gmail for example. I'm also looking if it's possible to change this by some code, that switch google account setting. thanks a lot for your help. regards, -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Email ContentProvider
hi , I could see Email ContentProvider in Email application( under packages/ apps/Email/src/com/android/email/provider). Why was it not exported in SDK or am I blind?. If this is not exported, was there any way I could read Email from other apps?. Thanks. Regards, SK. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Urgent Openings for Android Programmers - Bangalore
Hi, Greetings!! This is Aariff and I am part of the resourcing team of Tieto Corporation (http://www.tieto.in). About the Requirement Job Description: -->Should be a self-starter and should be prepared to stretch and devise solutions that not only resolve the problem but also improve the product capabilities. --> Should be BE/BTech in ECE/EEE/IT/CSE and should have a good academic record with at least 2 to 5 years of experience. Job Specification: Must to have skills: java, android Location: Bangalore About Teito Tieto Corporation was formed by the combination of Tieto Corporation in Finland and Enator AB (publ) in Sweden on 7 July 1999. On 26 March 2009, the AGM decided to change the company name to Tieto Corporation. After the merger the company has strengthened its expertise of the chosen industries for instance by the following acquired IT service companies and outsourced IT units and is functioning in the following domains: Telecom and media, Forest, Oil and Gas, Manufacturing, Banking & Insurance, Retail and as well as digital services. Tieto India is primarily focused on Healthcare, Welfare, Financial Services, Global Software Outsourcing & Telecom and Media. Tieto is an IT service company providing IT, R&D and consulting services. With approximately 16 000 experts, we are among the leading IT service companies in Northern Europe and the global leader in selected segments. Tieto is active in close to 30 countries - Austria, Belarus, Canada, China, Czech Republic, Denmark, Estonia, Finland, France, Germany, India, Indonesia, Italy, Latvia, Lithuania, Malaysia, Netherlands, Norway, Poland, Russia, Singapore, Spain, Sweden, Ukraine, United Kingdom and USA Best Regards Md Aariff Executive Recruitment - TIETO Mob: 0-8008868883 Tel: 040-67348050 e-Mail: aariff.ha...@tieto.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Mapview + Tab example
Hi, i need to have an mapview on a tab. The attached example (http://www24.zippyshare.com/v/37272515/ file.html) shows how to do this if using intents. Now i want to change the zoom level of the mapview(s). How can i do this, although i'm using intents (or is there completely different solution)? thx -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: EditText default soft keyboard (alpha vs. digit)?
Has anyone been able to find a solution for this? It has now been asked a couple times: http://groups.google.com/group/android-developers/browse_thread/thread/c3e5971c110faa95/c58de37e472fe2c4?lnk=gst&q=soft+keyboard+ime#c58de37e472fe2c4 Thanks. -justin On Dec 24 2009, 3:07 pm, Keith Wiley wrote: > I know that by setting the input type of an edit text to, say, > 'number', I can get it to open the numericsoftkeyboardbydefault > for that edit text, but doing so prevents the entry of alpha character > entirely. I just want to set whether a given edit text should open > bydefaultto the alpha screen or the numeric screen, but such that the > user can override thedefaultvia the alt key if desired. > > Any ideas? > > Thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Reliable GPS location
One more question: What do you exactly mean by get the actual Time? If can compare the fix time with something like System.currentTimeMillis(), but this will just work if a correct time is set on the device. The GPS system time would be better, but i seems that it's not retrievable on SDK 1.6 as far as i have seen till now. .. On 5 Jan., 00:48, Daan wrote: > You can use Location.getTime() this returns the UTC time of this fix, > in milliseconds since January 1, 1970. Then you could get the current > time and compare it to see if you find it accurate enough. > > On Jan 4, 10:14 pm, Lance Nanek wrote: > > > You can call Location#getTime to see when the fix returned by > > LocationManager#getLastKnownLocation was taken. The > > getLastKnownLocation method doesn't start theGPS, so the fix may be > > from a long time ago, and not be a good indicator of the current > > location. > > > The accuracy of the fix refers to the accuracy at the time the fix was > > taken. I don't see how it could be easily updated to refer to the > > accuracy with respect to the current location. That would require > > starting theGPSand taking another fix to find the current location, > > in which case the new fix would become the last known location and > > there would be no point. > > > If you want current fixes, use the > > LocationManager#requestLocationUpdates methods. > > > On Jan 4, 6:07 am, nr1 wrote: > > > > Hi, > > > > i know how to get the calculatedGPSposition via getLastKnownLocation > > > (). As tests show, this function really always returns the last known > > > location, so it doesn't matter if there is agpsfix available. > > > > How can i check if the returned location isreliable? > > > I tried it with getAccurracy(), but this function even returns a > > > accurracy although nogpsfix is availavle (anymore). Is there a > > > possibility to getgpsdop values? > > > > Used SDK is 1.6, > > > thx > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Problem with song's ID3 Genre tag. If tag isn't present can't ID Song..
Hi everyone I been trying to find some way to add music recognition to my app to id music with no ID3 Genre tag but keep falling short.. If anyone has some answers I will be grateful to her them.. Thank you -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Mail stays in my Outbox - Using Exchange ActiveSync
Hi All, Just bought a htc Tattoo... I really like it, it is small which of caurse is good or bad... Anyway.. I have synced my mail with the company's Exchange server and Mail in, Contact both ways and Calender Both ways works really well, but I can not send mails from my Tattoo.. The Mails stays in the Outbox and I get a message saying that it can not send the mail.. here is no messages in my Sync or server error folder. Can someone help? Either with a solution, Fix or at least how to debug the sync/send error. My gmail works fine. Thanks in advance Kim -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to Calculate Temperature
My device (Motorola DEXT) does support it but it's phone temperature not the room temperature. On Nov 27 2009, 5:01 pm, Mark Murphy wrote: > SIDIBE Ali-Broma wrote: > > I want to determinetemperatureof my phone based SensorManager? > > > In Sensor we have a SENOR_TEMPERATURE! > > How i can use it? > > There are no devices that support that sensor, AFAIK. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Android App Developer Books:http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Best free hollywood moives downloads. Over 50 beautiful sketches ...
HOLLYWOOD TEEN MOVIES HOMEPAGE Hollywood Teen Movies Featuring movie reviews, pictures, posters, history, trivia, quotes, profiles, galleries, latest teen movie news & much much more. www.hollywood-moives.blogspot.com/ www.hollywood.moives.tk/ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] abort outgoing call
Hi, Suppose I want to replace a short number dialed by the user (i.e. 1234) by a full mapped real number (4081234). So I should intercept the outgoing call, abort it, and dial the correct real number. Although I'm able to detect the outgoing call by a BroadcastReceiver class my problem is that I didn't found a way to actually abort the current call, or maybe replace the number dialed by the user. Please any hint on how to do that? Thanks! Alejandro. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] The Android display on beagleboard doesn't show
Hello, everybody. I installed the android and linux kernel which Beagle Board released in my OMAP3530 device, I have modified the omap3_android_beagle_defconfig to enter the kernel on my device, The clock is correct, and so do the xres and yres. omapfb: Pixclock 72000 kHz hfreq 43.3 kHz vfreq 58.1 Hz I/EGLDisplaySurface( 704): using (fd=21) I/EGLDisplaySurface( 704): id = omapfb I/EGLDisplaySurface( 704): xres = 1280 px I/EGLDisplaySurface( 704): yres = 720 px I/EGLDisplaySurface( 704): xres_virtual = 1280 px I/EGLDisplaySurface( 704): yres_virtual = 1440 px I/EGLDisplaySurface( 704): bpp = 16 I/EGLDisplaySurface( 704): r= 11:5 I/EGLDisplaySurface( 704): g= 5:6 I/EGLDisplaySurface( 704): b= 0:5 I/EGLDisplaySurface( 704): width= 51 mm (637.490173 dpi) I/EGLDisplaySurface( 704): height = 38 mm (481.263153 dpi) I/EGLDisplaySurface( 704): refresh rate = 60.03 Hz It is scuessful to enter the kernel. However, the display didn't show anything. The following link is my debug message: http://pastebin.com/m6e0e3db9 I use oscilloscope to measure the signal, the clock is 72000 khz, but there is no any data sent!!! Why the CPU doesn't send any vedio data??? Is it possible that the android system error? Such as it didn't enter the UI?? Please notify me if you have any advise, and I would appreciate you very much !!! Best Regards -- Michael -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: PVMFFailure when using MediaPlayer for radio streams
But if non-streamable video? On 2009年12月14日, 下午5�r13分, YaushiIizuka wrote: > Hi. > > String url = "http://your.url";; > MediaPlayer mp = new MediaPlayer(); > mp.setDataSource(url); > mp.setAudioStreamType(AudioManager.STREAM_MUSIC); > mp.prepare(); > mp.start(); > > On 10月23日, 午後3:28, dede wrote: > > > Hi, > > In 1.6,I also try to play stream through setDataSource(http:// > > xxx/.mp3), > > but also it return IOException: prepare failed, status=0x1. > > If set the url into windows media player, it can play correctly, I > > wanna know your problem whether be resolved? > > If yes, can u tell me the solution,thanks very much. > > > On 10月7日, 上午5时41分, iwhoyt wrote: > > > > In 1.5 I was able to stream an mp3 over http by passing the url to > > > setDataSource(). However I started gettingPVMFFailures in 1.6. For > > > me the issue was the Content-Type http header. If the header was set > > > correctly (Content-Type: audio/mpeg), the stream played. Otherwise if > > > failed during PLAYER_INIT. > > > > On Sep 2, 2:32 am, siliconeagle wrote: > > > > > Also the URl is a http (MP3) stream URL - as opposed tioo other opost > > > > where RTSP is being tried. It looks like it should just work. Has > > > > anyone else got streaming working via a streaming URL? > > > > > On Sep 1, 1:24 pm, siliconeagle wrote: > > > > > > I am trying to build streaming radio into my app, which works fines > > > > > streaming files over the internet, but when i try to use a shoutcast > > > > > url in get the error below, which from the soruce code looks liek the > > > > > mediaPlayer is looking for the duration in the header. Does anyone > > > > > know if shoutcast urls will work withthe default media player? Or do i > > > > > have to download chunks into a ping-pong buffer sor something? The url > > > > > has no porblems downloading via the browser. > > > > > > the error is:- > > > > > > 09-01 11:53:25.634 E/MediaPlayer(16972): stop called in state 1 > > > > > 09-01 11:53:27.324 D/BatteryWidget(15623): Updating Views > > > > > 09-01 11:53:30.445 E/PlayerDriver( 35): Command PLAYER_INIT > > > > > completed with an error or infoPVMFFailure > > > > > 09-01 11:53:30.445 E/MediaPlayer(16972): error (1, -1) > > > > > 09-01 11:53:30.504 I/NotificationService( 55): enqueueToast > > > > > pkg=net.robmunro.mypod > > > > > callback=android.app.ITransientNotification$Stub > > > > > $pr...@4323b8f8 duration=1000 > > > > > 09-01 11:53:30.514 W/System.err(16972): java.io.IOException: Prepare > > > > > failed.: status=0x1 > > > > > 09-01 11:53:30.644 W/System.err(16972): at > > > > > android.media.MediaPlayer.prepare(Native Method) > > > > > 09-01 11:53:30.644 W/System.err(16972): at > > > > > net.robmunro.mypod.util.MediaPlayerWrapper.playMedia > > > > > (MediaPlayerWrapper.java:111) > > > > > > the code i use is:- > > > > > try { > > > > > mPlayer.stop(); > > > > > mPlayer.reset();} catch (Exception e) { > > > > > > e.printStackTrace();} > > > > > > this.source=source; > > > > > if (source.equals(Globals.SOURCE_LOCAL)) { > > > > > mPlayer.setDataSource(f.path); > > > > > buffered = 0;} else if > > > > > (source.equals(Globals.SOURCE_STREAM)) { > > > > > > mPlayer.setDataSource(f.remoteUrl); > > > > > buffered = 100;} > > > > > > mPlayer.prepare(); > > > > > mPlayer.start(); -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Android applications using the Android framework
bigchurch.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] locales supported for voice dialer app
hi all, I have seen in the recognizer.java file that the default locale used for voice recognition is Locale.US . Which are the other locales supported ? regards pritesh -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to evaluate a javascript function
hi, How to evaluate a javascript function loaded in a webview and get the return value Regards Sathish -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] how to use speech recongintion java classes for launching music player app
hi all, there are some java classes exposed for speech recognition . How can they be used for launching a music player app. or maybe control the music player using voice commands. regards techietone -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Removing the stack of Activity
Hi All, I have problem of removing activity. I have 5 Activities in sequence Activity1, Activity2, Activity3, Activity4, Activity5. When I am at Activity5 there is a button through I can go to Activity2. Means jump from 5 to 2 with removing the Activity3 & 4. How can I do that? Please help regarding 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Reccomendation for phone with Bluetooth SPP?
I am just beginning my first Android project and it involves using Bluetooth SPP. Since the emulator does not support Bluetooth, I decided I need to bite the bullet and buy a phone. Should I get an ADP2 or a Droid or just be patient and wait for a Nexus One? Advantages or disadvantages of one choice over another? Also, does anyone hold out any hope of a version of the emulator coming out any time soon with Bluetooth capability? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] User preference for background service
Hi, I have a background service which get started on power up, works fine. Now I want to add preferences, and bring up the preferences editor ONLY when user clicks the application icon from launch pad.Here's what I have in manifest: Problem is, when device is powered up, the preference editor get invoked as well ! How to have the preference view NOT shown until user clicks on it from launch pad? Thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] trouble with OpenGL ES extension
Our team is developing a 3D game engine based on Android NDK 1.6. The target hardware is HTC G1. However, I had a trouble with using OpenGL ES extension. Although HTC G1 supporting GL_ARB_vertex_buffer_object extension, I can not find any obvious improving performance after I uesd it in my programe. Did any one encounter the same problem? The other question is where can I find reference of GL_QUALCOMM_vertex_buffer_objecta and GL_QUALCOMM_direct_texture. Thank you! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Reliable GPS location
thx! On 5 Jan., 00:48, Daan wrote: > You can use Location.getTime() this returns the UTC time of this fix, > in milliseconds since January 1, 1970. Then you could get the current > time and compare it to see if you find it accurate enough. > > On Jan 4, 10:14 pm, Lance Nanek wrote: > > > You can call Location#getTime to see when the fix returned by > > LocationManager#getLastKnownLocation was taken. The > > getLastKnownLocation method doesn't start theGPS, so the fix may be > > from a long time ago, and not be a good indicator of the current > > location. > > > The accuracy of the fix refers to the accuracy at the time the fix was > > taken. I don't see how it could be easily updated to refer to the > > accuracy with respect to the current location. That would require > > starting theGPSand taking another fix to find the current location, > > in which case the new fix would become the last known location and > > there would be no point. > > > If you want current fixes, use the > > LocationManager#requestLocationUpdates methods. > > > On Jan 4, 6:07 am, nr1 wrote: > > > > Hi, > > > > i know how to get the calculatedGPSposition via getLastKnownLocation > > > (). As tests show, this function really always returns the last known > > > location, so it doesn't matter if there is agpsfix available. > > > > How can i check if the returned location isreliable? > > > I tried it with getAccurracy(), but this function even returns a > > > accurracy although nogpsfix is availavle (anymore). Is there a > > > possibility to getgpsdop values? > > > > Used SDK is 1.6, > > > thx > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] XMl Verification Failed while installing Android SDK
Hi I am getting this error while trying to install the available packages.I have used the Force Https to Http setting. I am a windoz user. XML verification failed for http://dl-ssl.google.com/android/repository/repository.xml. Error: Content is not allowed in prolog. Any pointers??? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Android Monkey Testing.
Hi All, I am executing Monkey testing on a Android device. The command i am using is "adb shell monkey -p com.android.calculator2 -v 5000 > monkey-calculator.txt" When we execute this command i suppose it should send 5000 events to the device.In my case after sending event #150900 it stopped and i see a message: ":Dropped: keys=0 pointers=0 trackballs=0 flips=0" What does this message tell me? I would appreciate any help. Thanks, Satish. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to access an item form ListView
I think the easiest way is to keep track of the checked state in a member array/list. Something like this. boolean[] selectedItems = new boolean[10]; void handleItemClick(View view, long rowId) { CompoundButton checkBox = (CompoundButton) view.findViewById(android.R.id.checkbox); selectedItems[rowId] = checkBox.isChecked(); } On Jan 6, 7:57 pm, Manoj wrote: > Hi > I am using ListView with checkbox as items and want to access the > checkbox status. > Would anybody help me on this topic. > > Manoj Chauhan -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Anyone noticing more uninstalls of their app than usual over last weekend/today?
On Thu, Jan 7, 2010 at 2:00 PM, dadical wrote: > Did anyone else see this get fixed? I saw a 10pt drop from about 45 > percent installed to under 35 in less than a day. Things are slowly > climbing back up, but I haven't seen any "fix" yet. There's been no fix from Google, just that one person confirming the problem followed by weeks of silence. -- Greg Donald http://destiney.com/ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Charting in Android?
Hey, I was wondering how charting works with android. Can I use the google chart api or would I have to use something like aiCharts http://www.artfulbits.com/Android/aiCharts.aspx -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Anyone noticing more uninstalls of their app than usual over last weekend/today?
Did anyone else see this get fixed? I saw a 10pt drop from about 45 percent installed to under 35 in less than a day. Things are slowly climbing back up, but I haven't seen any "fix" yet. On Dec 22 2009, 8:52 pm, Justin Giles wrote: > Here's an official answer: > > http://www.google.com/support/forum/p/Android+Market/thread?tid=4c575... > > > > On Tue, Dec 22, 2009 at 4:55 PM, dadical wrote: > > Same thing with my application, Screebl. Dropped by around 10% in one > > night. I've released lots of updates over the past few months, > > averaging about one/week, and have never seen this happen. Perhaps > > Google has changed the definition of an active installation? > > > Disturbing as active install count is the most heavily weighted factor > > in calculating ranking in the market. > > > pawpaw17 wrote: > > > I released an upgrade to my app on Saturday night and since have > > > noticed an unusual number of uninstalls. My app has been out for 8 > > > months, and this is very unusual. Has anyone else noticed this? I'm > > > wondering if there is anything related to the market, or a new OS > > > version hitting, or contracts with one of the phones coming up? > > > > Any thoughts would be very appreciated. > > > > Thanks! > > > > pawpaw17 > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to make any service running automatically when the phone is turned on.
Hi My best shot will be, U make a receiver and get the following intent. The start u service from this receiver, and off course define the receiver extending BroadCastReceiver Hope this helps. Per On Jan 7, 7:01 am, Manoj wrote: > Hi > Please tell me the way to make any service running automatically when > the phone is turned on. > > Manoj Chauhan -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Redirect in WebView
Ok I got itNeed to add webviewclient to the webview so that the redirect works.. On Jan 7, 10:28 am, nikhil wrote: > Any clue guys? > > On Jan 5, 10:20 am, nikhil wrote: > > > I am trying to open a URL using a webview. This URL redirects itself > > to another page. For some reason theredirectdoesnot open up inside > > the webview. It just opens up into a new browser. Is there some > > setting in the webview control that can prevent this from happening? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Enhancement to Emulator
I do have a can opener.. :P On Thu, Jan 7, 2010 at 2:25 PM, David Turner wrote: > > > On Thu, Jan 7, 2010 at 11:12 AM, Disconnect wrote: > >> Dev phone 2 - dev phone 1 firmware is still hidden/removed. >> >> Also, for the "planned for 2010" features, where can we see a list of such >> items? >> >> > You can't, it's in my head :-) > > >> On Thu, Jan 7, 2010 at 1:58 PM, theSmith wrote: >> >>> Noting what David said, you are better off using a development device >>> like the google dev phone 1. >>> >>> -theSmith >>> >>> On Jan 7, 1:49 pm, David Turner wrote: >>> > On Thu, Jan 7, 2010 at 10:36 AM, Thisara Rupasinghe < >>> thisara...@gmail.com>wrote: >>> > >>> > > Hi all, >>> > >>> > > Im trying to write an application using bluetooth. But using the >>> android >>> > > emulator, can i try that out. I mean is it emulated that >>> feature(bluetooth). >>> > > Or even the camera feature. And also if i would like to enhance the >>> > > capabilities of this emulator can i contribute? Where can i find the >>> source >>> > > of that emulator? >>> > >>> > These features are not emulated and are planned for 2010, if not >>> preempted >>> > by more important stuff. >>> > You can have a look at the emulator sources under external/qemu in the >>> > Android repository. >>> > >>> > > I would like to use computers web cam and the bluetooth devices as >>> > > emulators, if there are those features in the running machine. Is >>> that >>> > > pissble or can u gv any comments on this to my self. >>> > >>> > Note that being able to do that will require at the very least changes >>> to >>> > the kernel configuration used for the emulator, plus some changes to >>> the >>> > system itself. >>> > >>> > > Thanks >>> > >>> > > -- >>> > > Thanks & Regards, >>> > > Thisara. >>> > >>> > > -- >>> > > You received this message because you are subscribed to the Google >>> Groups >>> > > "android-platform" group. >>> > > To post to this group, send email to >>> android-platf...@googlegroups.com. >>> > > To unsubscribe from this group, send email to >>> > > android-platform+unsubscr...@googlegroups.com >>> >>> > >>> > > . >>> > > For more options, visit this group at >>> > >http://groups.google.com/group/android-platform?hl=en. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Android Developers" group. >>> To post to this group, send email to android-developers@googlegroups.com >>> >>> To unsubscribe from this group, send email to >>> android-developers+unsubscr...@googlegroups.com >>> >>> For more options, visit this group at >>> http://groups.google.com/group/android-developers?hl=en >>> >> >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to android-developers@googlegroups.com >> To unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Multitouch support in Android 2.0
Thank you Dianne, >From the following code: if(numevents > 1) ptrId = (action & MotionEvent.ACTION_POINTER_ID_MASK) MotionEvent.ACTION_POINTER_ID_SHIFT; action = action & MotionEvent.ACTION_MASK; int ptrIndex = event.findPointerIndex(ptrId); float X = event.getX(ptrIndex); float Y = event.getY(ptrIndex); I thought that when multiple fingers are down, the X and Y returned from the above code would be the ones associated with the event that was generated, but I am getting the X and Y associated with the other finger from the above code. I will take a good thorough look at the pointerLocation sample and if I still have problems, I will post more detail with all the points I can find! Thanks! -Colin On Jan 7, 11:15 am, Dianne Hackborn wrote: > On Thu, Jan 7, 2010 at 7:37 AM, Mirmathrax wrote: > > 4) Finger 1 goes back down at location X, Y > > X = X2 > > Y = Y2 > > action = ACTION_POINTER_DOWN > > ptrID = 0 > > ptrIndex = 0 > > numEvents = 2 > > > ** Here is the first problem: The X and Y coordinates returned > > are incorrect, they are the coordinates for the other finger (finger > > 2). When finger 1 was removed, finger 2's data moved to the 0 index, > > but it still retained ID 1. When finger 1 went back down, it > > correctly was identified as ID 0, but instead of adding a new index > > for finger 1 data, it just returns index 0, which is finger 2's > > data! > > You are only listing one coordinate for this event, but in fact there are > two for both fingers. It is really hard to understand what you are seeing > when you are not showing all of the data in the event. > > > 5) Lift Finger 1 back up again from location X, Y > > X = X2 > > Y= Y2 > > action = ACTION_POINTER_UP > > ptrIndex = 1 > > ptrID = 1 > > numEvents = 2 > > > *** WHATWHAT?!? I lifted finger 1 up, which should be ID 0, why is > > ID 1 reporting that it goes up. Also, why is it given data index 1, > > which I would assume should be finger 1's data, but the coordinates > > are still those of finger 2. Yes, I have a headache too... > > Again, when the up occurs, the motion event contains the points for the > finger going up as well as any other fingers that are currently down. > > I am not going to respond in detail to the remaining stuff, because I can't > really understand what you are seeing due to not showing all of the data. I > would also again please ask that you look at Pointer Location -- you should > see when using it that the correct data is actually generated, and you can > look at the code to see how the different event transitions are processed. > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Enhancement to Emulator
On Thu, Jan 7, 2010 at 11:12 AM, Disconnect wrote: > Dev phone 2 - dev phone 1 firmware is still hidden/removed. > > Also, for the "planned for 2010" features, where can we see a list of such > items? > > You can't, it's in my head :-) > On Thu, Jan 7, 2010 at 1:58 PM, theSmith wrote: > >> Noting what David said, you are better off using a development device >> like the google dev phone 1. >> >> -theSmith >> >> On Jan 7, 1:49 pm, David Turner wrote: >> > On Thu, Jan 7, 2010 at 10:36 AM, Thisara Rupasinghe < >> thisara...@gmail.com>wrote: >> > >> > > Hi all, >> > >> > > Im trying to write an application using bluetooth. But using the >> android >> > > emulator, can i try that out. I mean is it emulated that >> feature(bluetooth). >> > > Or even the camera feature. And also if i would like to enhance the >> > > capabilities of this emulator can i contribute? Where can i find the >> source >> > > of that emulator? >> > >> > These features are not emulated and are planned for 2010, if not >> preempted >> > by more important stuff. >> > You can have a look at the emulator sources under external/qemu in the >> > Android repository. >> > >> > > I would like to use computers web cam and the bluetooth devices as >> > > emulators, if there are those features in the running machine. Is that >> > > pissble or can u gv any comments on this to my self. >> > >> > Note that being able to do that will require at the very least changes >> to >> > the kernel configuration used for the emulator, plus some changes to the >> > system itself. >> > >> > > Thanks >> > >> > > -- >> > > Thanks & Regards, >> > > Thisara. >> > >> > > -- >> > > You received this message because you are subscribed to the Google >> Groups >> > > "android-platform" group. >> > > To post to this group, send email to >> android-platf...@googlegroups.com. >> > > To unsubscribe from this group, send email to >> > > android-platform+unsubscr...@googlegroups.com >> >> > >> > > . >> > > For more options, visit this group at >> > >http://groups.google.com/group/android-platform?hl=en. >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to android-developers@googlegroups.com >> >> To unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com >> >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en