[android-developers] Watch video in WebView problem

2012-05-13 Thread Richard Sámela
Hallo, I have implemented my app by TabActivity. There is a WebView as a root of layout in the one on the child activities. Orientation of all activities of project is setup to portrait in mainfest file. Everything works well, but problem occured if I double click on youtube video - change

[android-developers] how to scrolling two textviews

2012-02-22 Thread Richard Sámela
I implemented textview which is automaticly scrolling by theese lines of code: android:ellipsize=marquee android:focusable=true android:focusableInTouchMode=true android:marqueeRepeatLimit=marquee_forever android:scrollHorizontally=true this work perfectly. but there is focusable attribute

[android-developers] how to handle connection lost using Media player?

2011-12-15 Thread Richard Sámela
hello, to play the music stream I use Media player and prepareasync in backround service. Music is playing and then I lost connection. or maybe when I reconect from wifi to 3G. Is there any way how to handle somethink like this? thank you very much Richard Sámela -- You received this message

[android-developers] change between screens - best practise

2011-09-16 Thread Richard Sámela
hallo, in my app i have a listview and if i click on item so i start new activity by intent to show details of an item. i would like to do it that it will be possible scrolling in detail activity. there i implement GestureDetectr.OnGestureListener and when i scroll from right to left i would like

[android-developers] MapView - infowindow

2011-04-12 Thread Richard Sámela
or link me to some tutorial. thank you very much. Richard Sámela -- 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

[android-developers] invisible part of layout

2011-03-10 Thread Richard Sámela
hallo, my issue is that I have a layout and at the bottom of layout I have a EditText like this: EditText android:id=@+id/EditText05 android:layout_width=fill_parent android:layout_height=fill_parent

[android-developers] Connection problem

2011-03-07 Thread Richard Sámela
HI, I read developer.android.com and via class connectivitymanager should I get network state info. I want to know is my mobile connected to the internet? I try it like this but it doesn't work. can you help me what I am doing wrong? I have this in onCreate method. ConnectivityManager cm =

[android-developers] Re: I hate threads, help please.

2011-03-06 Thread Richard Sámela
Very great article about threads is here: http://www.bogotobogo.com/Android/android22Threads.html I learnt threads from there and now I think I understand it. try to visit this page. On 6. Mar., 23:31 h., brian purgert brianpurge...@gmail.com wrote: I have a main thread that controls the

[android-developers] Re: ListView with custom items

2011-03-01 Thread Richard Sámela
On 1. Mar., 01:59 h., TreKing treking...@gmail.com wrote: On Mon, Feb 28, 2011 at 5:53 PM, Richard Sámela feromak...@gmail.comwrote: Have you confirmed that: 1 - your array list actually has items and 2 - your getView function is being called I sure that my ListArray contains items

[android-developers] Re: ListView with custom items

2011-03-01 Thread Richard Sámela
On 1. Mar., 10:30 h., Kostya Vasilyev kmans...@gmail.com wrote: Two ways to fix it: - Get rid of al in your subclass, pass the data array to ArrayAdapter, get data items from it as needed (using getItem()); - Continue using al in your subclass, but then don't use ArrayAdapter, extend

[android-developers] ListView with custom items

2011-02-28 Thread Richard Sámela
have tried a lof of options but nothing helps me. thank you very much. Richard Sámela -- 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

[android-developers] Re: Change View

2011-02-08 Thread Richard Sámela
I know how to update my adapter. I extends my adapter and i can get adapter to the listview. But i was asking if it is possible to call method setcontentview more times in activity or about best practice how to switch between views. Now i think that use setcontentview more times is possble i try

[android-developers] need help with DatePickerDialog

2011-02-07 Thread Richard Sámela
)+.+Integer.toString(mMonth) +.+Integer.toString(mYear)); } }; datum.setOnClickListener(ocl); I dont know what is wrong but when I clicked on my datum: EditText so my app force close. help me pls to find a mistake. thank you very much Richard Sámela -- You received

[android-developers] Change View

2011-02-07 Thread Richard Sámela
call method setContentView again to set new layout from Resource app force close. how to change layouts dynamically after adding new item? can someone give me some advice? thank you very much Richard Sámela -- You received this message because you are subscribed to the Google Groups Android

[android-developers] ArrayList vs ArrayAdapter

2011-02-02 Thread Richard Sámela
ArrayAdapter and show it in the View. can you give me some advice or some tutorial page? Or can you explain me it how should I continue? thank you very much Richard Sámela -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: JNI working

2011-01-12 Thread Richard Sámela
for an ARM device will work on a MIPS device. On Jan 11, 11:35 am, Kumar Bibek coomar@gmail.com wrote: Yes, It will work on all devices... Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com On Wed, Jan 12, 2011 at 1:03 AM, Richard Sámela feromak...@gmail.comwrote: Hi

[android-developers] EditText with Cross

2011-01-12 Thread Richard Sámela
Hi, I saw an app where was EditText and if you put some text into EditText there was a Cross Button (or something like that) on the left side. And if I click on this Button the text from EditText was deleted. Can you help me or explain me how to to this? I would like to use EditText with the same

[android-developers] Re: EditText with Cross

2011-01-12 Thread Richard Sámela
: It might just be a regular button beside the EditText. And I guess that's very simple to implement. Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com On Wed, Jan 12, 2011 at 10:15 PM, Richard Sámela feromak...@gmail.comwrote: Hi, I saw an app where was EditText and if you

[android-developers] JNI working

2011-01-11 Thread Richard Sámela
Hi, I would like to know something about JNI. How it works in android? does it work on all devices? does it work on tablest with android? I want to use toolkit in C++ programing language. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] switch between two or more screens

2010-12-15 Thread Richard Sámela
screens (it should be Activites if i'm right) and then I would like to swith between them. only switch, no destroy and then create it new. can anybody help me with problem?? Thank you very much. Richard Sámela -- You received this message because you are subscribed to the Google Groups Android