[android-developers] RenderScript Carousel Custom View
I have found many example related with RenderScript Carousel and their user experience is greater than widget.Gallery. However, I would like to put some layouts inside RenderScript Carousel but cannot. For e.q. in below code, all parameters are not null but Allocation.createFromBitmapResource throw null pointer exception. mScript.set_gTex_00(Allocation.createFromBitmapResource(mRS, mRes, R.layout.laytest)); -- 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] Carousel || Coverflow with LinearLayout Views
Dear Friends, I have some layout views and I want to display them in screen such as carousel or coverflow . However I found many examples and all of them take only imageview. Is there any example that you provide me? 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
Re: [android-developers] Carousel || Coverflow with LinearLayout Views
I guess it is not possible, because class extends Gallery, On 13 February 2012 15:21, TreKing treking...@gmail.com wrote: On Mon, Feb 13, 2012 at 6:55 AM, Kubilay D. Yılmaz kubilayd.yil...@gmail.com wrote: However I found many examples and all of them take only imageview. Is there any example that you provide me? Take the examples with ImageView, and then replace the ImageView with any View of your liking. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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] Multilanguage via market
Hello friends; I want to make my application multi language. And want to set its language from market, I mean if user downloaded it from UK android market, then application should start english. Is it possible? -- 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] generating 1d barcode
Hi Friends, How can i generate barcodes in android? I tried java version of barcode4j but it uses awt components. -- 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] generating 1d barcode
Dear Mark, Thank you for your response, I have also own services that produces barcode using barcode4j api, however I have to generate inside android device. On 22 November 2011 14:12, Mark Murphy mmur...@commonsware.com wrote: On Tue, Nov 22, 2011 at 4:03 AM, Kubilay D. Yılmaz kubilayd.yil...@gmail.com wrote: How can i generate barcodes in android? I tried java version of barcode4j but it uses awt components. One popular possibility is to use an online service like Google Charts, if your app will have Internet access, and if you can find a service that supports the barcode format you seek. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.1 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 -- 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] Layout Question
Hi Friends; I have a problem with layout. I have 4 images, - redbackground.png 80px - triangle.png 80px - star.png 80px - green_diamond.png 160px I want to show these images like attached file as shouldbe.png My layout xml is like //above layout fit LinearLayout android:id=@+id/linearLayout1 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_gravity=bottom android:background=@drawable/red_background android:gravity=center ImageView android:id=@+id/imagetriangle android:layout_width=wrap_content android:layout_height=wrap_content android:layout_weight=1 android:src=@drawable/triangle android:onClick=backClicked / ImageView android:id=@+id/imgb android:layout_width=wrap_content android:layout_height=wrap_content android:layout_weight=1 android:src=@drawable/green_diamond / ImageView android:id=@+id/imageright android:layout_width=wrap_content android:layout_height=wrap_content android:layout_weight=1 android:src=@drawable/star android:onClick=digerClicked / /LinearLayout However it shows as wrong.png. Problem is that I have to put background image only for 80px thank you for your advice. -- 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=enattachment: shouldbe.pngattachment: wrong.png
Re: [android-developers] Layout Question
if i put green diamond to under another child linearlayout, result will not change, because parent linearlayout fill its height what it has inside it. so what should be the solution On 20 November 2011 15:00, Mark Murphy mmur...@commonsware.com wrote: You have your green diamond as a child of the LinearLayout. It is not a child of the LinearLayout in your desired result. On Sun, Nov 20, 2011 at 7:51 AM, Kubilay D. Yılmaz kubilayd.yil...@gmail.com wrote: Hi Friends; I have a problem with layout. I have 4 images, redbackground.png 80px triangle.png 80px star.png 80px green_diamond.png 160px I want to show these images like attached file as shouldbe.png My layout xml is like //above layout fit LinearLayout android:id=@+id/linearLayout1 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_gravity=bottom android:background=@drawable/red_background android:gravity=center ImageView android:id=@+id/imagetriangle android:layout_width=wrap_content android:layout_height=wrap_content android:layout_weight=1 android:src=@drawable/triangle android:onClick=backClicked / ImageView android:id=@+id/imgb android:layout_width=wrap_content android:layout_height=wrap_content android:layout_weight=1 android:src=@drawable/green_diamond / ImageView android:id=@+id/imageright android:layout_width=wrap_content android:layout_height=wrap_content android:layout_weight=1 android:src=@drawable/star android:onClick=digerClicked / /LinearLayout However it shows as wrong.png. Problem is that I have to put background image only for 80px thank you for your advice. -- 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.6 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 -- 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] Layout Question
Dear Mark, Thank you for your concern however, My code is on below and result is same. RelativeLayout android:id=@+id/relativeLayout1 android:layout_width=fill_parent android:layout_height=match_parent android:layout_gravity=center LinearLayout android:id=@+id/linearLayout1 android:layout_width=match_parent android:layout_height=match_parent android:background=@drawable/background ImageView android:id=@+id/imgTriangle android:layout_width=wrap_content android:layout_height=wrap_content android:layout_weight=1 android:src=@drawable/imgTriangle / ImageView android:id=@+id/imgStar android:layout_width=wrap_content android:layout_height=wrap_content android:layout_weight=1 android:src=@drawable/imgStar / /LinearLayout ImageView android:id=@+id/imgDiamond android:layout_width=fill_parent android:layout_height=fill_parent android:layout_gravity=center_horizontal android:src=@drawable/imgDiamond / /RelativeLayout On 20 November 2011 16:00, Mark Murphy mmur...@commonsware.com wrote: On Sun, Nov 20, 2011 at 8:57 AM, Kubilay D. Yılmaz kubilayd.yil...@gmail.com wrote: if i put green diamond to under another child linearlayout, result will not change, because parent linearlayout fill its height what it has inside it. so what should be the solution The green diamond should be *outside* the LinearLayout. RelativeLayout LinearLayout green diamond By having the green diamond appear later in the RelativeLayout parent, it will float over top of the red LinearLayout. Yet the size of the red LinearLayout will not be related to the size of the green diamond. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.6 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 -- 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] Get result from Calculator
Hi Friends, I start calculator from my activity and override onActivityResult method, however I cannot handle result from calculator. Is it possible? Here is my code. public static final String CALCULATOR_PACKAGE = com.android.calculator2; public static final String CALCULATOR_CLASS = com.android.calculator2.Calculator; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Intent i = new Intent(); i.setAction(Intent.ACTION_MAIN); i.addCategory(Intent.CATEGORY_LAUNCHER); i.setFlags( Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED); i.setComponent(new ComponentName( CALCULATOR_PACKAGE, CALCULATOR_CLASS)); startActivityForResult(i, 1001); } @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { // TODO Auto-generated method stub super.onActivityResult(requestCode, resultCode, data); Log.d(CheckStartActivity,onActivityResult and resultCode = +resultCode); if(requestCode == 1001) { Log.i(data:,data.getExtras().get(data).toString()); } } -- 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] Get result from Calculator
Hi Treking, Activity starts standard calculator of android. On 14 August 2011 01:29, TreKing treking...@gmail.com wrote: On Sat, Aug 13, 2011 at 5:16 PM, Kubilay D. Yılmaz kubilayd.yil...@gmail.com wrote: I start calculator from my activity and override onActivityResult method, however I cannot handle result from calculator. Is it possible? Highly doubtful. Not only are you hard-coding a class and package that's not guaranteed to exist (I don't think), it's unlikely a calculator app is set up to return a result. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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
Re: [android-developers] Track User moves
get bearing calculation gives angle between two coordinates to north . for example if I am in a car and turn 90° right, bearing calculation does not give me 90°, how can i convert it ? thank you On 6 July 2011 02:07, Kubilay D. Yılmaz kubilayd.yil...@gmail.com wrote: great man, thank you so much, i am trying On 6 July 2011 02:04, TreKing treking...@gmail.com wrote: On Tue, Jul 5, 2011 at 5:57 PM, Kubilay D. Yılmaz kubilayd.yil...@gmail.com wrote: How can i track, follow the if user in a car and turns right, or turns left? I have a map application and have to catch moves of user. http://developer.android.com/reference/android/location/Location.html#getBearing() - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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
Re: [android-developers] Track User moves
for e.q. on below address, they explained, android get bearing gives like below? http://www.mathsrevision.net/gcse/pages.php?page=12 On 9 July 2011 23:21, Kubilay D. Yılmaz kubilayd.yil...@gmail.com wrote: get bearing calculation gives angle between two coordinates to north . for example if I am in a car and turn 90° right, bearing calculation does not give me 90°, how can i convert it ? thank you On 6 July 2011 02:07, Kubilay D. Yılmaz kubilayd.yil...@gmail.com wrote: great man, thank you so much, i am trying On 6 July 2011 02:04, TreKing treking...@gmail.com wrote: On Tue, Jul 5, 2011 at 5:57 PM, Kubilay D. Yılmaz kubilayd.yil...@gmail.com wrote: How can i track, follow the if user in a car and turns right, or turns left? I have a map application and have to catch moves of user. http://developer.android.com/reference/android/location/Location.html#getBearing() - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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
Re: [android-developers] Rotate Google Map
Sorry, what do you mean? I need only, if user turn right, then map which is in my application should turn right, how can i handle it? thank you On 5 July 2011 04:26, lbendlin l...@bendlin.us wrote: Your requirements contradict each other. -- 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
Re: [android-developers] Rotate Google Map
Dear Raghay, Sorry for first mail and missed explanation. Map has canvas.rotate method also all of many navigation application has this function. Our application has a mapview and user will use it on their cars and if users turn right, map right, if users turn left, map will turn left. Am I clear right now? On 5 July 2011 10:24, Raghav Sood raghavs...@gmail.com wrote: He meant that you contradict yourself as in the first mail you want the app to turn with the user and you want north to stay on top as well. This would be impossible in a lot of cases. On Tue, Jul 5, 2011 at 12:40 PM, Kubilay D. Yılmaz kubilayd.yil...@gmail.com wrote: Sorry, what do you mean? I need only, if user turn right, then map which is in my application should turn right, how can i handle it? thank you On 5 July 2011 04:26, lbendlin l...@bendlin.us wrote: Your requirements contradict each other. -- 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 -- Raghav Sood http://www.raghavsood.com/ http://www.androidappcheck.com/ http://www.telstop.tel/ -- 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
Re: [android-developers] Rotate Google Map
Is there any update? On 5 July 2011 10:32, Kubilay D. Yılmaz kubilayd.yil...@gmail.com wrote: Dear Raghay, Sorry for first mail and missed explanation. Map has canvas.rotate method also all of many navigation application has this function. Our application has a mapview and user will use it on their cars and if users turn right, map right, if users turn left, map will turn left. Am I clear right now? On 5 July 2011 10:24, Raghav Sood raghavs...@gmail.com wrote: He meant that you contradict yourself as in the first mail you want the app to turn with the user and you want north to stay on top as well. This would be impossible in a lot of cases. On Tue, Jul 5, 2011 at 12:40 PM, Kubilay D. Yılmaz kubilayd.yil...@gmail.com wrote: Sorry, what do you mean? I need only, if user turn right, then map which is in my application should turn right, how can i handle it? thank you On 5 July 2011 04:26, lbendlin l...@bendlin.us wrote: Your requirements contradict each other. -- 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 -- Raghav Sood http://www.raghavsood.com/ http://www.androidappcheck.com/ http://www.telstop.tel/ -- 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] Track User moves
Dear Friends; How can i track, follow the if user in a car and turns right, or turns left? I have a map application and have to catch moves of user. Thanks 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
Re: [android-developers] Track User moves
great man, thank you so much, i am trying On 6 July 2011 02:04, TreKing treking...@gmail.com wrote: On Tue, Jul 5, 2011 at 5:57 PM, Kubilay D. Yılmaz kubilayd.yil...@gmail.com wrote: How can i track, follow the if user in a car and turns right, or turns left? I have a map application and have to catch moves of user. http://developer.android.com/reference/android/location/Location.html#getBearing() - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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] Rotate Google Map
Hi Friends, I developed a map applications and if there is an U-Turn on the road I want to rotate map (North point must be always on top of phone) How can i handle it. Thank you for your concern. 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] Calculate Distance like GoogleMap
Dear Friends, I have two lat's and Lon's and want to calculate distance between them. However I do not want use Location.distanceBetween or float distance = locationA.distanceTo(locationB); I want to get results over road.(like google map) How can I handle this on android? 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