[android-developers] Can I get navigation information from the GoogleMaps Navigation app?
Hi guys, Can I get navigation information from the GoogleMaps Navigation app such as turn right at the next intersection? is it possible? 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
Re: [android-developers] malloc() in the Renderscript
Thank you for your reply. I'm sorry for a belated reply. Does it means that the only way to allocate memory is the procedure of Working with dynamic memory allocations in the Dev Guide? http://developer.android.com/guide/topics/renderscript/index.html#dynamic. Why renderscript does not allow to do it? Because of the poor memory of mobile devices? Kind Regards, Macotonalds. -- 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] malloc() in the Renderscript
Hello, everyone. I am studying Renderscript. I want to use the malloc() in a Renderscript code(.rs), but it seems that not supported. I get this error by using malloc. error: implicit declaration of function 'malloc' is invalid in C99 In the Renderscript, what functions can i use instead of the malloc? I'm hoping that someone can help me. Kind Regards, Macotonalds. -- 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:inputType=number Error
maybe it's because of the Integer.MAX_VALUE that is 2147483647. On Sep 8, 3:40 pm, Duygu Kahraman duygu.kahram...@gmail.com wrote: Hi All; I have a problem about Edittext.I want to enter just number one of my Edittext so in xml i use android:inputType=number .But When i want to more than 10 characters program is not working.10 and less than 10 character it is OK. Do you anyone this reason and how can i fix it? Code is here: EditText android:layout_width=match_parent android:inputType=number android:id=@+id/surucu_sasi_no_e android:layout_height=wrap_content / 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: How was the RenderScript Balls Demo Video Made?
Hi. In this post, Mr.Bray says that The video above, captured through an Android tablet’s HDMI out. I think that it is not necessary to use TV. http://android-developers.blogspot.com/2011/02/introducing-renderscript.html On Aug 21, 5:29 am, newbyca newb...@gmail.com wrote: i'd like to use direct video capture of my apps for making Android Market promo videos. i know other devs have asked about this before and up until now i hadn't found a way. then recently i saw theRenderScriptBalls demo on youtube:http://www.youtube.com/watch?v=uQ5NumRfHN4 and it seems to be a direct capture. i also recently got a Xoom in my test bed ... so i'm guessing the Balls video was made by connecting a tablet to a TV via HDMI then recording from the TV? just hoping someone could confirm? i'm not much of a tv person so my tv is ancient and doesn't have HDMI- in, nor do i have a way to record from a TV to a computer for editing and format conversion. point being, i'd be willing to invest in a new tv and pc card ... but would like to know that it's necessary first. also, any pc card recommendations would be great, but i know that subject isn't really germane to this forum :) TIA// -- 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] Bug in Renderscript API of the pown()???
Hi, the function pown() in Renderscript may have bugs. //rs_cl.rsh _RS_RUNTIME float __attribute__((overloadable)) pown(float v, int p); _RS_RUNTIME float2 __attribute__((overloadable)) pown(float2 v, int2 p); _RS_RUNTIME float3 __attribute__((overloadable)) pown(float3 v, int3 p); _RS_RUNTIME float4 __attribute__((overloadable)) pown(float4 v, int4 p); I experimentally execute the scalar version, float pown(float f,int i). Then it returns the value of f^i, so I think that it seems like the pow() function. Next I execute the vector version of pown(), but it seems that they don't work, because they always return the value 1.00 as follows, this is float3 pown(). //code float3 f3 = {2.0f, 3.0f, 10.0f}; int3 p3 = {10,5,2}; float3 r3 = pown(f3,p3); rsDebug(pown : , r3.x, r3.y, r3.z); //rsDebug log of the above code 09-02 16:42:37.460: DEBUG/RenderScript(10395): pown : {1.00, 1.00, 1.00} Does anyone know about it? I'm hoping that someone can help me. Kind Regards, Macotonalds. -- 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 function root() of the Renderscript
I am studying renderscript recently. Hello everyone, I am studying Renderscript recently. Then I have a qustion about Renderscript. What do arguments of the root() function correspond to? For example the root() of HelloCompute in the AndroidSDK has some arguments as follows. void root(const uchar4 *v_in, uchar4 *v_out, const void *usrData, uint32_t x, uint32_t y) { float4 f4 = rsUnpackColor(*v_in); float3 mono = dot(f4.rgb, gMonoMult); *v_out = rsPackColorTo(mono); } I'm hoping that someone can help me. Kind Regards, Macotonalds. -- 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