Re: [android-developers] Re: UI like Youtube

2011-12-15 Thread Christian Eduardo Palomares Peralta
BTW, i'm not talking about the first view in UI youtube tablet version, i think that's a 3D carousel. I'm talking about the exploratory view (second tab). 2011/12/14 Kostya Vasilyev kmans...@gmail.com As far the as the 3D panoramic scrolling goes:

[android-developers] Android Encryption api

2011-12-15 Thread chander
Hi all, I want to know about Encryption features of android like ENCRYPT PHONE Feature so i want to know about what encryption algorithm and bit support android has? and what are the capabilities it can do like how we can encrypt 1- Phonebook entries 2- Files stored on the sd card I need

[android-developers] NFC at Digital Protocol Layer

2011-12-15 Thread ikki_fenix
Hello, I'm looking for information about it's possible stablish a P2P connection between Android phone and NFC card at NFC-DEP level (digital protocol layer) without the higher layers. I know that Android 4.0 it's possible to stablish a P2P connection using SNEP or NPP protocols but if i can I'll

Re: [android-developers] AppWidgets Disappearing from list in ICS

2011-12-15 Thread Ash McConnell
Yep, the user has just replied that he has a Galaxy Nexus and it doesn't have an SD card of course :( Can anyone think of another reason why the Widgets are being removed from the list when deleted from the homescreen? He says that the application still appears in the list of apps, so he

Re: [android-developers] Android Encryption api

2011-12-15 Thread Nikolay Elenkov
On Thu, Dec 15, 2011 at 5:01 PM, chander mohan.c...@gmail.com wrote: Hi all, I want to know about Encryption features of android like ENCRYPT PHONE Feature so i want to know about what encryption algorithm and bit support android has? and what are the capabilities it can do like how we can

[android-developers] Re: import error com.google cannot be resolved

2011-12-15 Thread Dominik
You have to add the guava-r07.jar library, then it works. You find this jar on the web or in the android sdk at android-sdk-path/tools/lib/guavalib.jar Dominik -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: OT How to Automate Build Tasks in Eclipse?

2011-12-15 Thread Doug
On Dec 14, 9:03 am, Mark Murphy mmur...@commonsware.com wrote: I have not tried building a host project that depended upon a library project that itself depended upon another library project -- I have no intention of even trying until r17 (or whenever Android library projects publishing JARs

Re: [android-developers] Re: How to compile C / C++

2011-12-15 Thread RAJU V
is it possible to make IDE of c and c++ ~~RAJU~~ ~~www.itdoall.co.cc~~ On Thu, Dec 15, 2011 at 12:15 PM, Anil Jagtap anil.so...@gmail.com wrote: Hi, This may help you http://android-tricks.blogspot.com/2009/02/hello-world-c-program-on-using-android.html Cheers On Dec 15,

Re: [android-developers] AppWidgets Disappearing from list in ICS

2011-12-15 Thread Kostya Vasilyev
Have you already asked him to reboot the device, just in case? I've had similar reports (not on ICS) where rebooting helped. As for the memory card and ICS - the original message didn't say it was a Galaxy Nexus, and there are already ICS - based ports of Cyanogen for a variety of devices

[android-developers] Re: LVL on Live Wallpaper

2011-12-15 Thread Novice
I have already read the LVL documentation it only showing us how to implement into activity but nothing about doing it on live wallpaper. On Dec 14, 2:04 am, TreKing treking...@gmail.com wrote: On Mon, Dec 12, 2011 at 4:20 AM, Novice noviceplayer1...@gmail.com wrote: Can someone teach me how

[android-developers] logcat tag

2011-12-15 Thread Kloze
Dear all How could I know all tag of logcat? I know dalivkvm is one of frequently use tag. How about others? Is there any document to reference? I only found doc. to teach how to insert new tags. Thanks you Kloze -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: UI like Youtube

2011-12-15 Thread Kostya Vasilyev
That - I mean the right part - looks like some kind of custom adapter view, maybe with view recycling (harder) maybe not (easier). 15.12.2011 12:02, Christian Eduardo Palomares Peralta пишет: BTW, i'm not talking about the first view in UI youtube tablet version, i think that's a 3D carousel.

[android-developers] Re: Display many images into the Imageview in 3-4 seconds

2011-12-15 Thread Christian Bianchini
Because is giong to alloc the memory and then display the image, this process looks that the application is blocked. I tried to run the TimerTask into a new thread but anything is changed. On Dec 15, 1:23 am, Miguel Morales therevolti...@gmail.com wrote: Why is TimerTask too slow?  Just set

[android-developers] Need Help - Options Menu

2011-12-15 Thread Kiran Kumar Kendole
Hey All, Can anybody tell me how to change the text color for Options menu items. Thanks, KIRANKUMARKENDOLE -- 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

Re: [android-developers] Need Help - Options Menu

2011-12-15 Thread RAJU V
Hi this is Raju... How to compile C / C++ by Android terminal.. Please help me. ~~RAJU~~ ~~www.itdoall.co.cc~~ On Thu, Dec 15, 2011 at 2:58 PM, Kiran Kumar Kendole k.kirankumar1...@gmail.com wrote: Hey All, Can anybody tell me how to

[android-developers] How could I know a process belongs to which apk?

2011-12-15 Thread Enrico
Dear All, From ps I could see many processes, such as follows: app_7 15000 78313496 33668 S com.android.mms app_4123986 7852 18488 S com.xiaomi.channel My question is, how could I get to know com.xiaomi.channel belongs to which apk file in

[android-developers] Re: undefined reference to `android::AudioTrack::set(...)

2011-12-15 Thread JC
Hello all, I understood that why it is not allowed. So if one have achieve same, what is another method for implementation? Can we pass AudioTrack object created in JAVA to native and do audiotrack.write in C ? Thanks in advance, Jay On Oct 27, 4:59 am, HamdiHamZ hamdi.zr...@gmail.com wrote:

[android-developers] Re: Memory

2011-12-15 Thread Hassy
don't know whether its a problem with your pc(processor,ram) or eclipse. processor speed isn't that important. check your eclipse internal memory settings. eclipse.ini Hassy(SL) On Dec 15, 12:44 pm, Kiran Kumar Kendole k.kirankumar1...@gmail.com wrote: Hey All, Suddenly my eclipse is getting

Re: [android-developers] Re: Memory

2011-12-15 Thread RAJU V
Hi this is Raju... How to compile C / C++ by Android terminal.. Please help me. ~~RAJU~~ ~~www.itdoall.co.cc~~ On Thu, Dec 15, 2011 at 3:37 PM, Hassy hasith@gmail.com wrote: don't know whether its a problem with your

[android-developers] Running Android in ubuntu with out netbean or eclipse

2011-12-15 Thread sathyashrayan
I asked this question in stackoverflow. http://stackoverflow.com/questions/8515528/running-android-in-ubuntu-with-out-netbean-or-eclipse But i am unable to make any reply there because I dont understand their forum system.. so i go again After i understood some process my latest update is this.

Re: [android-developers] Running Android in ubuntu with out netbean or eclipse

2011-12-15 Thread RAJU V
Hi this is Raju... How to compile C / C++ by Android terminal.. Please help me. ~~RAJU~~ ~~www.itdoall.co.cc~~ On Thu, Dec 15, 2011 at 3:41 PM, sathyashrayan sathyashra...@gmail.comwrote: I asked this question in stackoverflow.

Re: [android-developers] AppWidgets Disappearing from list in ICS

2011-12-15 Thread Ash McConnell
Hi Kostya, Yep, it was a good suggestion, I just had forgotten that he had a Nexus and it didn't have external storage. I've asked him to try a reboot, hopefully that will help. Thanks again! Ash -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] NullPointerException at MyService.onStartCommand ?

2011-12-15 Thread Terry
Occationally users report a NullPointerException Error at MyService.onStartCommand() for some of my apps. I never see this error when I try to debug the apps, and I wonder why this happens. I have studied the code both for the methods onStartCommand() and onCreate() for the services in question,

[android-developers] Strange webview problem

2011-12-15 Thread Neilz
I wish this was an april fool joke, but no. This is nuts. I have a certain piece of text which when I load it into a webview, it displays fine. If I pause and then resume the activity, the webview is blank. Usually it happens immediately on the first resume, sometimes it takes a few goes. Once

Re: [android-developers] NullPointerException at MyService.onStartCommand ?

2011-12-15 Thread Kostya Vasilyev
http://developer.android.com/reference/android/app/Service.html#onStartCommand(android.content.Intent, int, int) http://developer.android.com/reference/android/app/Service.html#onStartCommand%28android.content.Intent,%20int,%20int%29 intent The Intent supplied to|startService(Intent)

[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] Adding checkbox

2011-12-15 Thread Knutsford Software
I am new to android. I have this in my code CheckBox cb = new CheckBox(v.getContext()); Then a bit later on I have this String[] Tempstr = str.split(#); LinearLayout.removeAllViews(); for(int x = 0 ; x Tempstr.length; x++){ String[] TempTempstr = Tempstr[x].split(@);

[android-developers] Re: including/excluding conditional code in different builds

2011-12-15 Thread hhenne
In java you don't have macros (#ifdef) = compiler instructions. In stead you have to make a plain java function, which will do the same - the only difference is, the macro will not generate a call instruction - so it's more efficient. Personally I use it a lot. It is nice, to be able to switch off

[android-developers] WebView and ResponseCache

2011-12-15 Thread ydm
Hello, all! The ResponseCache class is a great tool for performance improvement and bandwidth consumption optimization. Anyway, I'm using it in a slightly different way -- to create something like Resource API (which will be most probably open-sourced soon) to serve app content when device is

[android-developers] Need to add something not included in How to Ask Questions the Smart Way

2011-12-15 Thread Oli Wright
It covers the idea of not cross posting in multiple discussion groups, but doesn't mention something I'm seeing on the increase in here: multiple postings of the same question by the same person (and I'm not just talking about the spam hijacking multiple threads). -- You received this message

[android-developers] Re: Running Android in ubuntu with out netbean or eclipse

2011-12-15 Thread sathyashrayan
Thanks for the reply by Gowtham. He has messaged me in my mail. His solution is Check this way once: Setting - Applications - Manage Application - Uninstall test-two.apk then try it may work fine. I uninstalled the existing one. But i could not able to run it through command line. So i

[android-developers] receive intent on clear data

2011-12-15 Thread elham
Hi My application should receive an intent when the clear data of system settings is selected . There is some action that i should take when the application's clear data is clicked . How can i know when clear data is selected . Please let me know if there is any way to know . Regards. -- You

Re: [android-developers] How can I write a regular expression for this in android?

2011-12-15 Thread Carlos Silva
Hi You're complicating. String stripped = ; for (int i = 0; i sss1.lenght(); i++) if (sss1.charAt(i) = '0' sss1.charAt(i) = '9') stripped += sss1.charAt(i); int start = sss1.indexOf(sss0); int stop = start + sss0.lenght(); Hope it helps. BTW, this group is for Android related questions,

Re: [android-developers] Adding checkbox

2011-12-15 Thread TreKing
Did you read the log? On Thu, Dec 15, 2011 at 5:37 AM, Knutsford Software i...@knutsford-software.co.uk wrote: 12-15 11:21:58.510: E/AndroidRuntime(1136): java.lang.**IllegalStateException: *The specified child already has a parent. You must call removeView() on the child's parent first.*

[android-developers] Re: How can I write a regular expression for this in android?

2011-12-15 Thread Abhishek Kumar Gupta
For String sss1 = (+91)-1-231-212 12-31; Currently my code is searching for *1-231-2*, but it should search for * 1-212.* -- 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] Re: NullPointerException at MyService.onStartCommand ?

2011-12-15 Thread Terry
Thank, Kostya. So, you mean that I should return START_STICKY_COMPATIBILITY to avoid this problem? But the actual problem then probably lies somewhere else, which may cause the process to fail/stop in the first place. It could be some Exception. Why are they not registered? Terry On 15 Des,

[android-developers] Adding a button to the titlebar from xml

2011-12-15 Thread Duygu Kahraman
I have a problem about the title bar. I want to do 2 buttons in the title bar, but it is seen really bad. First I was thinking I got the button height too big, but when I change the button height nothing is changed. I don't want a custom titlebar and I can't see the text in the button. Can

Re: [android-developers] Having a free and paid app, or just use LVL to determine if current app should have reduced functionality

2011-12-15 Thread TreKing
On Wed, Dec 14, 2011 at 6:22 PM, James Black planiturth...@gmail.comwrote: It would seem this would be a better route as then the user doesn't have to download anything, and they can see what is available in the paid app when there are new updates, and, most importantly, I would only need to

Re: [android-developers] Adding checkbox

2011-12-15 Thread Knutsford Software
I have literally just found the problem. I wasn't creating a new check box inside the loop. I had just created it once before entering the loop instead- oops. Thanks for answering Pam - Original Message - From: TreKing To: android-developers@googlegroups.com Sent:

[android-developers] Re: How can I write a regular expression for this in android?

2011-12-15 Thread Abhishek Kumar Gupta
Hi Carlos Silva, Thanks for reply. For String sss1 = (+91)-1-231-212 12-31; Currently my code is searching for *1-231-2*, but it should search for * 1-212.* -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Re: including/excluding conditional code in different builds

2011-12-15 Thread Kristopher Micinski
On Thu, Dec 15, 2011 at 6:39 AM, hhenne hhe...@gmail.com wrote: In java you don't have macros (#ifdef) = compiler instructions. In stead you have to make a plain java function, which will do the same - the only difference is, the macro will not generate a call instruction - so it's more

[android-developers] Showing DialogFragments crashes ICS

2011-12-15 Thread Flávio Faria
After the Fragments API being released, I started porting all my deprecated dialogs into DialogFraments using the compatibility package. Everything was working well, until I notice that my dialogs are causing crashes to ICS only: E/AndroidRuntime( 883): java.lang.IllegalStateException: Can not

Re: [android-developers] Need to add something not included in How to Ask Questions the Smart Way

2011-12-15 Thread Kristopher Micinski
On Thu, Dec 15, 2011 at 7:31 AM, Oli Wright oli.wri...@gmail.com wrote: It covers the idea of not cross posting in multiple discussion groups, but doesn't mention something I'm seeing on the increase in here: multiple postings of the same question by the same person (and I'm not just talking

[android-developers] Slow scrolling in Date/TimePicker using Holo theme

2011-12-15 Thread Dirk Vranckaert
I'm trying to build an activity on which the user can change a certain date and time. So I created an activity and a layout file, in the layout file (containing more than just the date and time picker, you can see it beneath) i define the date and time picker. The application android 2.1

Re: [android-developers] AppWidgets Disappearing from list in ICS

2011-12-15 Thread Ash McConnell
Ok, the user has responded to me with: - Ok I got the update then I did this added a clock removed that clock went back to widgets, icon for clock still there got as far as tapping add widget got Unfortunately, Launcher has stopped. clock widget now missing from widget list So then i tried

[android-developers] Re: NullPointerException at MyService.onStartCommand ?

2011-12-15 Thread Terry
And what is the DDMS tab in Eclipse? Terry On Dec 15, 2:00 pm, Terry terb...@gmail.com wrote: Thank, Kostya. So, you mean that I should return START_STICKY_COMPATIBILITY to avoid this problem? But the actual problem then probably lies somewhere else, which may cause the process to

[android-developers] Need Help -Custom Image

2011-12-15 Thread Kiran Kumar Kendole
hey All , I have a form .. in that.. I used the submit button as a IMAGE ( SAVE DATA) . I have two different colored images for this. My intention is to change the Image after the user click/touch the button. appreciate any suggestions. thanks, KIRANKUMARKENDOLE -- You received this message

[android-developers] openOptionsMenu not working on Honeycomb device

2011-12-15 Thread Royston
I have an app in which I select a theme of android:Theme.Holo.NoActionBar.Fullscreen. the app has a minim SDK of 11 and a target of 13. I am avoiding the use of the ActionBar due to issues in the way this works on different sized devices. I am attempting to provide a menu button which simply

[android-developers] Re: Adding a button to the titlebar from xml

2011-12-15 Thread skink
Duygu Kahraman wrote: I have a problem about the title bar. I want to do 2 buttons in the title bar, but it is seen really bad. First I was thinking I got the button height too big, but when I change the button height nothing is changed. I don't want a custom titlebar and I can't see the

Re: [android-developers] Re: NullPointerException at MyService.onStartCommand ?

2011-12-15 Thread Kostya Vasilyev
Well, maybe you should return START_NOT_STICKY, or START_REDELIVER_INTENT, or add an if statement checking for null - it just depends on the service. Read the docs, run your own experiments with DDMS, then decide what is the right thing to do for your code. The DDMS Perspective in Eclipse is

Re: [android-developers] Need Help -Custom Image

2011-12-15 Thread TreKing
On Thu, Dec 15, 2011 at 7:32 AM, Kiran Kumar Kendole k.kirankumar1...@gmail.com wrote: appreciate any suggestions. For what? You didn't exactly state what your issue is. - TreKing

Re: [android-developers] Need Help -Custom Image

2011-12-15 Thread Kiran Kumar Kendole
Hey TreKing , I just want to change the image when the user click/touch on it .So that user feel like the button was clicked really. I want to show variation in the image before click/touching and after. Thanks, KIRANKUMARKENDOLE On Thu, Dec 15, 2011 at 8:49 AM, TreKing treking...@gmail.com

Re: [android-developers] AppWidgets Disappearing from list in ICS

2011-12-15 Thread Ash McConnell
He is using the default ICS (Galaxy Nexus) Launcher. -Ash -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: conditional compilation

2011-12-15 Thread adorilson
On Mar 31 2010, 3:16 am, Bob Kerns r...@acm.org wrote: There is a much better way to do this. I have outlined it in a prior post, but I don't have time to dig it out or recreate it tonight. I'm planning to turn it into a blog post at some point. Basically, you do not needconditional

Re: [android-developers] Re: including/excluding conditional code in different builds

2011-12-15 Thread Adorilson Bezerra de Araujo
On Thu, Dec 15, 2011 at 8:39 AM, hhenne hhe...@gmail.com wrote: In java you don't have macros (#ifdef) = compiler instructions. In stead you have to make a plain java function, which will do the same - the only difference is, the macro will not generate a call instruction - so it's more

[android-developers] requestLocationUpdates Question

2011-12-15 Thread Markus Unger
Hello! The method requestLocationUpdates public void requestLocationUpdates (String provider, long minTime, float minDistance, LocationListener listener) has minTime and a minDistance. So if I would say requestLocationUpdates (gps, 1000l * 60l * 5l, 0, new LocationListener); I will

Re: [android-developers] AppWidgets Disappearing from list in ICS

2011-12-15 Thread Kostya Vasilyev
Have you tried your widgets on the ICS emulator? Does repeating the sequence reported by the user on a pre-ICS device result in any warnings or errors in the logcat? 15 декабря 2011 г. 18:10 пользователь Ash McConnell ash.mcconn...@gmail.com написал: He is using the default ICS (Galaxy Nexus)

Re: [android-developers] Re: including/excluding conditional code in different builds

2011-12-15 Thread Kristopher Micinski
On Thu, Dec 15, 2011 at 9:31 AM, Adorilson Bezerra de Araujo adoril...@gmail.com wrote: On Thu, Dec 15, 2011 at 8:39 AM, hhenne hhe...@gmail.com wrote: In java you don't have macros (#ifdef) = compiler instructions. In stead you have to make a plain java function, which will do the same -

[android-developers] Lazy Loading

2011-12-15 Thread Ryan Mattison
Quality Image Lazy Loading Strategy - http://www.ryangmattison.com/post/2011/12/15/AsynchronousImageProvider.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

Re: [android-developers] requestLocationUpdates Question

2011-12-15 Thread Kristopher Micinski
On Thu, Dec 15, 2011 at 9:32 AM, Markus Unger markus.unger1...@googlemail.com wrote: Hello! The method requestLocationUpdates public void requestLocationUpdates (String provider, long minTime, float minDistance, LocationListener listener) has minTime and a minDistance. So if I would say

Re: [android-developers] requestLocationUpdates Question

2011-12-15 Thread Kristopher Micinski
P.s., do *not* hard code that gps string! Use LocationManager.GPS_PROVIDER instead... kris On Thu, Dec 15, 2011 at 9:49 AM, Kristopher Micinski krismicin...@gmail.com wrote: On Thu, Dec 15, 2011 at 9:32 AM, Markus Unger markus.unger1...@googlemail.com wrote: Hello! The method

Re: [android-developers] Need Help -Custom Image

2011-12-15 Thread TreKing
On Thu, Dec 15, 2011 at 7:56 AM, Kiran Kumar Kendole k.kirankumar1...@gmail.com wrote: I just want to change the image when the user click/touch on it .So that user feel like the button was clicked really. I want to show variation in the image before click/touching and after.

Re: [android-developers] Re: UI like Youtube

2011-12-15 Thread Christian Eduardo Palomares Peralta
I've tried again with listview but i had some problems to load more items to the adapter. Now i'm adding the controls programmatically and i think it should work, but my only problem is detecting the scroll in the bottom to load more items :(. Thxs 2011/12/15 Kostya Vasilyev kmans...@gmail.com

Re: [android-developers] openOptionsMenu not working on Honeycomb device

2011-12-15 Thread Mark Murphy
AFAIK, if you don't have an action bar, you don't have an options menu. You will need to either add back the action bar or not use an options menu. On Thu, Dec 15, 2011 at 8:36 AM, Royston roystonpcar...@gmail.com wrote: I have an app in which I select a theme of

Re: [android-developers] receive intent on clear data

2011-12-15 Thread Mark Murphy
On Thu, Dec 15, 2011 at 7:47 AM, elham elhamna...@gmail.com wrote: My application should receive an intent when the clear data of system settings is selected . There is some action that i should take when the application's clear data is clicked . AFAIK, this is not supported. How can i know

Re: [android-developers] Strange webview problem

2011-12-15 Thread Mark Murphy
Try loadDataWithBaseURL() with a null URL for the first parameter. On Thu, Dec 15, 2011 at 5:46 AM, Neilz neilhorn...@gmail.com wrote: I wish this was an april fool joke, but no. This is nuts. I have a certain piece of text which when I load it into a webview, it displays fine. If I pause and

Re: [android-developers] Can I use some interfaces in framework?

2011-12-15 Thread Mark Murphy
On Thu, Dec 15, 2011 at 1:30 AM, chenyu xu xal...@gmail.com wrote:  I want to get the SIM card contacts storage information in Contacts app AFAIK, this is not supported by the Android SDK. I used IccPhoneBook interface like this below:   try {            IIccPhoneBook iccIpb =

Re: [android-developers] Need Help -Custom Image

2011-12-15 Thread Kiran Kumar Kendole
Tnx It worked for me. Thanks, KIRANKUMARKENDOLE On Thu, Dec 15, 2011 at 10:03 AM, TreKing treking...@gmail.com wrote: On Thu, Dec 15, 2011 at 7:56 AM, Kiran Kumar Kendole k.kirankumar1...@gmail.com wrote: I just want to change the image when the user click/touch on it .So that user feel

[android-developers] Re: requestLocationUpdates Question

2011-12-15 Thread Markus Unger
The requestSingleUpdate is no Option, cause I need to support 2.1 and the method is just available at 2.3. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Partition confusion

2011-12-15 Thread Joerg Pleumann
Hello, would someone from Google mind explaining the current strategy behind the various partitions? I'm a little bit confused. - In the beginning /sdcard was used for external storage, but since you could not rely on the mount point across vendors, the proper way to access it was the

Re: [android-developers] Re: UI like Youtube

2011-12-15 Thread Kostya Vasilyev
For dynamic content on the bottom, you can: - Override getView and check the item position (maybe not quite religiously pure, but it works). - Use an OnScrollListener to be notified of scroll state changes, wait for SCROLL_STATE_IDLE and check what's visible

Re: [android-developers] Re: UI like Youtube

2011-12-15 Thread Christian Eduardo Palomares Peralta
Thanks for the help, but i was talking about that in a linearlayout with a scroll view :( 2011/12/15 Kostya Vasilyev kmans...@gmail.com For dynamic content on the bottom, you can: - Override getView and check the item position (maybe not quite religiously pure, but it works). - Use an

[android-developers] Re: Getting the Android Java source?

2011-12-15 Thread Jordi Gasulla
Varun Tewari varuntewari2010 at gmail.com writes: I found the downloaded source code under eclipse/plugins.Thanks anyways.VARUN On Mon, Feb 7, 2011 at 6:07 PM, varun tewari varuntewari2010 at gmail.com wrote:Can anybody tell me how this works. I use Ganymede. Updated eclipse with above

Re: [android-developers] Re: UI like Youtube

2011-12-15 Thread Kostya Vasilyev
Um, @Override protected void onScrollChanged (int l, int t, int oldl, int oldt) ??? 15 декабря 2011 г. 19:55 пользователь Christian Eduardo Palomares Peralta palomare...@gmail.com написал: Thanks for the help, but i was talking about that in a linearlayout with a scroll view :( 2011/12/15

Re: [android-developers] Re: UI like Youtube

2011-12-15 Thread Christian Eduardo Palomares Peralta
like this??? http://www.marteinn.se/blog/?p=485 I'll try it =) 2011/12/15 Kostya Vasilyev kmans...@gmail.com Um, @Override protected void onScrollChanged (int l, int t, int oldl, int oldt) ??? 15 декабря 2011 г. 19:55 пользователь Christian Eduardo Palomares Peralta

Re: [android-developers] Re: UI like Youtube

2011-12-15 Thread Kostya Vasilyev
Looks pretty close to me. 15 декабря 2011 г. 20:08 пользователь Christian Eduardo Palomares Peralta palomare...@gmail.com написал: like this??? http://www.marteinn.se/blog/?p=485 I'll try it =) 2011/12/15 Kostya Vasilyev kmans...@gmail.com Um, @Override protected void onScrollChanged

[android-developers] Re: Display many images into the Imageview in 3-4 seconds

2011-12-15 Thread Christian Bianchini
Still give me the fatal error: excess VM On Dec 15, 8:57 am, Christian Bianchini max...@gmail.com wrote: Because is giong to alloc the memory and then display the image, this process looks that the application is blocked. I tried to run the TimerTask into a new thread but anything is

Re: [android-developers] openOptionsMenu not working on Honeycomb device

2011-12-15 Thread Royston
Mark, I cannot finds words to express how disappointed that makes me! I did rather expect this response however but was hopefull that there would be a way around the issue. Regards Roy -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] openOptionsMenu not working on Honeycomb device

2011-12-15 Thread Mark Murphy
On Thu, Dec 15, 2011 at 11:34 AM, Royston roystonpcar...@gmail.com wrote: I cannot finds words to express how disappointed that makes me! :: shrug :: Either your app has an immersive experience, or it does not. Apps where you consider the whole screen to be yours (games, video players, etc.),

[android-developers] Re: Strange webview problem

2011-12-15 Thread Neilz
Hi Mark - nope, no difference. Very strange, this one. On Dec 15, 3:14 pm, Mark Murphy mmur...@commonsware.com wrote: Try loadDataWithBaseURL() with a null URL for the first parameter. On Thu, Dec 15, 2011 at 5:46 AM, Neilz neilhorn...@gmail.com wrote: I wish this was an april fool

Re: [android-developers] Re: requestLocationUpdates Question

2011-12-15 Thread Kristopher Micinski
On Thu, Dec 15, 2011 at 10:34 AM, Markus Unger markus.unger1...@googlemail.com wrote: The requestSingleUpdate is no Option, cause I need to support 2.1 and the method is just available at 2.3. So stop requesting updates after a single update? Kris -- You received this message because you

[android-developers] Re: NullPointerException at MyService.onStartCommand ?

2011-12-15 Thread Terry
I followed your advice, and used DDMS to stop the process of an app in question. Interestingly, it did not crash, but the Service was restarted properly, without any error messages shown to the user. The value START_STICKY is being (and has always been) returned from method onStartCommand(). So

[android-developers] Transparent Background View with Translucent Activity

2011-12-15 Thread Guian
Hi all ! I've got a weird problem in my interface and I'd like to ask for comments, if anyone already seen such a case : I've created a dialog style Activity : an Activity with translucent background and a listView centered in it. (so we can see the previous activity around my listview ) the

[android-developers] Re: openOptionsMenu not working on Honeycomb device

2011-12-15 Thread Royston
Mark, Generally I would agree with you and if I were starting again would probably avoid menu/preferences. Unfortunately this would not be a good choice at this stage in my project. The issues I have with the ActionBar are to do with inconsistency and uncertainty. Depending on the size of the

[android-developers] Re: Edittext in Listview crashes on Android 2.2.3 on back during editing

2011-12-15 Thread havexz
Thanks a lot poncho. Well that leads to few other questions: Say I have 1000 items and i want to give in-place editing (say not using ListView) so now I have to create 1000 editboxes in a LinearLayout. Can't it make more sense to use ListView so that EditBoxes can be re- cycled? Creating 100

Re: [android-developers] Re: openOptionsMenu not working on Honeycomb device

2011-12-15 Thread Mark Murphy
On Thu, Dec 15, 2011 at 12:29 PM, Royston roystonpcar...@gmail.com wrote: Depending  on the size of the device I may or may not get a menu icon on the ActionBar. The user will have some means of opening the options menu, either by an indicator in the action bar itself, or by an off-screen MENU

Re: [android-developers] Re: Display many images into the Imageview in 3-4 seconds

2011-12-15 Thread Miguel Morales
Try the tutorial I sent. Also, dont load the images into memory that's your issue. Save to memory cache, then read them from file right before you need to draw them. TimeTask already runs in a different thread, so seems like you're having a memory issue. On Thu, Dec 15, 2011 at 8:22 AM,

[android-developers] Moving shifting

2011-12-15 Thread unionmoversuae
Welcome Enjoy world-class moving services at local rates! www.unionmoversuae.com Union Mover Dubai is the moving company created to make your moving experience a stress free one. Our focus is on top notch customer service, and fast, professional moving services. We aim to offer our customers the

Re: [android-developers] Having a free and paid app, or just use LVL to determine if current app should have reduced functionality

2011-12-15 Thread James Black
Thank you. I will look up the android library project. On Dec 15, 2011 8:06 AM, TreKing treking...@gmail.com wrote: On Wed, Dec 14, 2011 at 6:22 PM, James Black planiturth...@gmail.comwrote: It would seem this would be a better route as then the user doesn't have to download anything, and

[android-developers] The Pocket Panel - 1.2 Amp Solar USB Charger for Android Devices

2011-12-15 Thread www.PortableSolarPower.Biz
I'm looking to get some feedback from the android community about 2 new solar panels I had created that are actually powerful enough to rapid charge all the new Android smart phones but I also had a 2 amp panel created to charge the Droid Tablets that can be recharged via their USB Ports. Pricing

[android-developers] Problem when running Android Program

2011-12-15 Thread Mona
I have a problem when I run Android program for the second time it states that it's loaded to 27%, but then nothing happens. I try to cancel it but then that just gets the new title of canceling launch and still nothing happens. If I close and reopen eclipse, I'm able to launch like normal

[android-developers] Re: Generate keypress when moving phone

2011-12-15 Thread Charly Pierre
Debug your app. hm... I never thought about that... really thanks ! for the stack trace i don't have it cause i can't test movements on computer :$... i just have the message fermeture soudaine de l'application... merci de réessayer = sudden closure of thank to retry on my phone... i try

[android-developers] Re: Alternative (offline) implementation of Geocoder backend service

2011-12-15 Thread Chris Ostler
On Dec 12, 5:30 pm, TreKing wrote: Replying back to the whole list. Oops. Thanks for the catch. On Mon, Dec 12, 2011 at 6:06 PM, Chris Ostler chris.ost...@gmail.comwrote: On Dec 12, 4:37 pm, TreKing wrote: On Mon, Dec 12, 2011 at 2:07 PM, Chris Ostler wrote: I'm interested in

[android-developers] Large Image processing, scrolling, zooming, performance issues

2011-12-15 Thread Henry Nguyen
I'm facing an issue on processing very large images(some image have size A0).Currently i'm doing this by split the image to many tiles(size 128x128 pixels ) in difference zoom level and host them on a server for downloading and displaying on the view . I think its mechanism like Google Map .

[android-developers] Re: ICS: unlock screen in jUnit

2011-12-15 Thread David Strickland
On Dec 13, 5:02 pm, Jakub Czaplicki jakub.czapli...@gmail.com wrote: Hi All, Is there a way to unlock the screen after boot-up in jUnit ? I tried the deprecated keyguardManager.newKeyguardLock() method. I've set the required DISABLE_KEYGUARD permission in jUnit manifest, but the test

[android-developers] Re: Context menu for a Grid item

2011-12-15 Thread Davoud Rafati
http://developer.android.com/guide/topics/ui/menus.html look this page -- 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] home launcher optimization

2011-12-15 Thread Asam
Hello, I am trying to improve performance of existing Gingerbread (Android 2.3) home launcher framework application. I tried to speed up home screen by enabling cache for children views on home screen, made background opaque to save normal wallpaper drawing calls. This has improved UI

[android-developers] nook tablet

2011-12-15 Thread campo
Can apps be made for the Nook tablet by independent developers? -- 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] Pause/Resume vs. Stop/Start

2011-12-15 Thread BT
Hello. I'm hoping to get a better handle on these callbacks in the Activity life-cycle. One would think that Pause/Resume is one thing and Stop/ Start is another, but on Android it seems there is no instance of Pause without Stop, and no instance of Resume without Start. Or is there some use

[android-developers] Google talk contacts

2011-12-15 Thread Mashiah
How can I tell which one in the contact is using Android. the google talk has the little icon of the Android next to the contact Avatar but how can I know which one has it? Thank you! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

  1   2   3   >