[android-developers] how to use cache memory to store data temporary?

2011-04-19 Thread Hitendrasinh Gohil
hi, is there anyway to store data to cache memory for certain time? regards, hitendra gohil -- 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

[android-developers] Re: Purchasing a phone for development

2011-04-19 Thread Chambras
I am using the Nexus One and it works excellent even faster than using the emulator, just plug it, enable dev mode and that is all you do not need to look for drivers or things like that. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: high scores

2011-04-19 Thread ko5tik
On Apr 18, 9:57 pm, bob b...@coolgroups.com wrote: What is the smartest way to save the top ten high scores in an Android game? For top ten Shared preferences may be enough. I store 200 local results and 1000 global results pulled from server in JSON files and marshall them to java objects

Re: [android-developers] how to use cache memory to store data temporary?

2011-04-19 Thread Dianne Hackborn
Define cache memory. On Mon, Apr 18, 2011 at 11:24 PM, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote: hi, is there anyway to store data to cache memory for certain time? regards, hitendra gohil -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] how to use cache memory to store data temporary?

2011-04-19 Thread Hitendrasinh Gohil
hi, i dont want to do it with sdcard. -- Regards, Hitendrasinh Gohil -- 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

Re: [android-developers] Re: Purchasing a phone for development

2011-04-19 Thread kaushik p
Hi all , how is the Samsung galaxy Tab for development ?? On Tue, Apr 19, 2011 at 11:58 AM, Chambras marcech...@gmail.com wrote: I am using the Nexus One and it works excellent even faster than using the emulator, just plug it, enable dev mode and that is all you do not need to look for

Re: [android-developers] Facebook and twitter integration

2011-04-19 Thread Laxmi Verma
Hi, Thanks for your replies. I am able to get the sdk of facebook and twitter for integration with android. But, I want the feature like exactly what is happening in ndtv app of android. In this after clicking twitter button, it goes directly to the mobile site of twitter and paste the article

[android-developers] Re: Transparent control on camera viewfinder

2011-04-19 Thread Peter Staab
Actually I cannot overlay the listview over the live camera preview so that the preview remains visible. But it's not a big deal - I will make such a control by myself. On Apr 18, 8:37 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, Apr 18, 2011 at 2:21 PM, Peter Staab pixst...@gmx.net

[android-developers] Re: how to set permission for changing wallpaper

2011-04-19 Thread kumar Gaurav
it is still throwing error, but error message is null, let me show you ma code LinearLayout l=(LinearLayout) findViewById(R.id.lview); ImageView im=(ImageView) v; l.setBackgroundDrawable(im.getDrawable()); Bitmap bmp= im.getDrawingCache();

[android-developers] Re: Perform device detection check after reboot

2011-04-19 Thread raki
Hello, Awaiting for any help on this issue. Thanks and best regards, Rakesh On Apr 14, 12:46 pm, raki rakeshkart...@gmail.com wrote: Hello, By Status, I mean running, working properly, detected but not running, device present but driver not installed etc. Devices, I mean all the hardware

Re: [android-developers] Re: how to set permission for changing wallpaper

2011-04-19 Thread Dianne Hackborn
Please include the actual error. (And not the message you are printing when consuming it, the actually full exception that gets printed when the app doesn't handle it.) Anyway, this works, lots of apps use it, I think there is even an API demo for it. On Tue, Apr 19, 2011 at 12:13 AM, kumar

Re: [android-developers] how to use cache memory to store data temporary?

2011-04-19 Thread Dianne Hackborn
Sorry that doesn't really help. You don't want to do what? What does the SD card have to do with this? How does this answer at all the question of what you think cache memory is? On Mon, Apr 18, 2011 at 11:41 PM, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote: hi, i dont want to

Re: [android-developers] Facebook and twitter integration

2011-04-19 Thread Kristopher Micinski
So you want to circumvent the login system. . . ? ? ? ... ... Kris On Tue, Apr 19, 2011 at 3:02 AM, Laxmi Verma laxmiverma.andr...@gmail.comwrote: Hi, Thanks for your replies. I am able to get the sdk of facebook and twitter for integration with android. But, I want the feature like

[android-developers] How does Android PhoneNumberUtils determin the international call prefix for a specific country?

2011-04-19 Thread Freddman
I noticed that when i recive an incoming international call, the call screen will show the entire number e.g beginning with '00' because Swedens call prefix is '00'. When i later dismissed the call, when the notification was shown in the status bar, the '00' had been replaced with '+'. How does

[android-developers] Is it possible to add header to TabHost in android ?

2011-04-19 Thread Jitesh dedhiya
Is it possible to add header to TabHost in android ? -- --Jitesh .V. Dedhiya--- Don't Learn To Hack but Hack To Learn -- 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

Re: [android-developers] How does Android PhoneNumberUtils determin the international call prefix for a specific country?

2011-04-19 Thread Bernard T. Higonnet
On 04/19/11 10:29, Freddman wrote: I noticed that when i recive an incoming international call, the call screen will show the entire number e.g beginning with '00' because Swedens call prefix is '00'. When i later dismissed the call, when the notification was shown in the status bar, the '00'

[android-developers] How to add horizontal scrollbar at runtime?

2011-04-19 Thread pramod.deore
Hi all, I want to add horizontal scrollbar at runtime how to do this? 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,

[android-developers] Outgoing phone calls going through Dialer interface in android

2011-04-19 Thread gauri
Hello I want to distinguish between the outgoing phone calls going through Dialer user interface and not going through Dialer user interface in Android. Please give me its solution if there is any way in android. Also I want to retrieve package name of application generating outgoing phone

[android-developers] Proxy development (in source)

2011-04-19 Thread Ashok Jeevan
Hi, I am trying to build a proxy for Android in the source and I need to set the proxy option under 'Settings'. After researching in the internet, I found out that there is a 'settings.db' file in /data/data/com.google.android.providers.settings/databases/ path, into which values are inserted

Re: [android-developers] how to use cache memory to store data temporary?

2011-04-19 Thread Kostya Vasilyev
http://developer.android.com/guide/topics/data/data-storage.html#filesInternal If you'd like to cache some data, rather than store it persistently, you should use |getCacheDir()| to open a |File| that represents the internal directory where your application should save temporary cache files.

Re: [android-developers] how to use cache memory to store data temporary?

2011-04-19 Thread Hitendrasinh Gohil
hi kostya, thankx for your answer it clears some of my doughts. But i have one question. Max size of apk file can be 50Mb. Cache sizes are different for different devices. in my application i am storing my files using getCacheDir() .my app size is around 1 mb and after storing files to it apk

Re: [android-developers] how to use cache memory to store data temporary?

2011-04-19 Thread Kostya Vasilyev
19.04.2011 13:47, Hitendrasinh Gohil пишет: in my application i am storing my files using getCacheDir() .my app size is around 1 mb and after storing files to it apk size is like 5mb. Do you mean total internal memory used by application, rather than apk size ? Cache files are not stored

[android-developers] resizing bitmap for seting wallpaper

2011-04-19 Thread kumar Gaurav
i'm making an app that sets the wallpaper on click on image. i take bitmap from the imageview and setwallpaper using wallpapermanager.setbitmap() but the size of image is not exactly what is needed. please give me code to resize the bitmap. thanks -- You received this message because you are

[android-developers] Re: How does Android PhoneNumberUtils determin the international call prefix for a specific country?

2011-04-19 Thread Freddman
Sweden's prefix for dialing out is 00, but dialing in is 46. The problem i encountered was that when my app get's a number that is from Hong Kong (852) it adds (00) to the number, thus enabling me to redial the number. My app get's the number 00852 and determinds that 00 must be

[android-developers] How to set the NAT IP in CONTACT FIELD of SIP message REGISTER during registeration process

2011-04-19 Thread vikram jain
Hello I am using Android SIP on Android 2.3. My SIP client is being NAT as shown in the figure below. When i try to register, the CONTACT field of the REGISTER request should have NAT IP. Now in which field of the SIP Profile, i should set the NAT IP so that CONTACT field reflects it. SIP CLIENT

[android-developers] Re: How do i upload the file from android mobile to public server

2011-04-19 Thread snehalal gangadharam
Hi all, Thanks for all your reply, now i am able to uplaod file from android to public server by using http protocol, thank you very much thanks Regards Sneha On Apr 11, 5:22 pm, Kostya Vasilyev kmans...@gmail.com wrote: Yes, but there is also the passive / active mode thing to consider...

[android-developers] Re: How does Android PhoneNumberUtils determin the international call prefix for a specific country?

2011-04-19 Thread lbendlin
since you do all this on a mobile phone why not use the + notation for outgoing calls too? Let your mobile operator figure out how to connect the call. -- 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] checkboxes in the List randomly get checked/unchecked when i scroll through. android 2.3.

2011-04-19 Thread Ishan
0 down vote favorite I am using my custom adapter. There is a checkbox and a text view in each row. But i have a problem. There are more items in the list than the number which fits on the screen. So when i check any of the checkboxes on the screen and scroll down. The automatically get

[android-developers] Re: How to add horizontal scrollbar at runtime?

2011-04-19 Thread Ishan
on what do u want a scrollbar? layout? textview? On Apr 19, 1:48 pm, pramod.deore deore.pramo...@gmail.com wrote: Hi all, I want to add horizontal scrollbar at runtime how to do this? Thanks in advance -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: How does Android PhoneNumberUtils determin the international call prefix for a specific country?

2011-04-19 Thread Freddman
Im trying to figure out the origin of the incoming call and those don't have a '+' in the begining (i never seen anyone atleast). I'v noticed that when reciving an international call, it shows (00) (sense im in Sweden) in the begining of the number, but when i later rejected the call, my status

[android-developers] how to access desktop files from android app remotely?

2011-04-19 Thread Hitendrasinh Gohil
hi, i just want to access my desktop files from android app. so what is the basic need to do it. like i have to make a ftp server at desktop side? is there any library that support ftp through android? if i want to authenticate it by username/password what should i need to do? can anyone

Re: [android-developers] Proxy development (in source)

2011-04-19 Thread TreKing
On Tue, Apr 19, 2011 at 4:08 AM, Ashok Jeevan ashokjee...@gmail.com wrote: I am trying to build a proxy for Android in the source Questions regarding the source should go to an appropriate group for that topic. See the documentation for other relevant groups to post to.

Re: [android-developers] Bluetooth socket send issue

2011-04-19 Thread social hub
With Nokia I can establish connection. Here the connection was successful but as mentioned when I Send using socket.send() it seems successful I dont see any errors on logcat. Any thoughts on why nokia is not showing that message. I also flushed as mentioned but I dont see any hello on nokia

Re: [android-developers] Re: Transparent control on camera viewfinder

2011-04-19 Thread Mark Murphy
On Tue, Apr 19, 2011 at 3:09 AM, Peter Staab pixst...@gmx.net wrote: Actually I cannot overlay the listview over the live camera preview so that the preview remains visible. Why not? I haven't tried it, but with transparent/translucent backgrounds and a RelativeLayout for Z-axis ordering, I

Re: [android-developers] resizing bitmap for seting wallpaper

2011-04-19 Thread TreKing
On Tue, Apr 19, 2011 at 5:04 AM, kumar Gaurav urp...@gmail.com wrote: please give me code to resize the bitmap. please offer payment in exchange for doing your work. - TreKing

Re: [android-developers] checkboxes in the List randomly get checked/unchecked when i scroll through. android 2.3.

2011-04-19 Thread TreKing
On Tue, Apr 19, 2011 at 6:43 AM, Ishan ishandeepsi...@gmail.com wrote: Can you please post some code snippet and explain in detail. i am tired of searching this since last 2weeks Try searching for listview recycling or some variation of that. Also, the documentation samples show how to use

Re: [android-developers] which is the best way to play encrpted song instantly?

2011-04-19 Thread Mark Murphy
Don't encrypt the file. On Tue, Apr 19, 2011 at 12:32 AM, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote: hi, I have encrypted songs in my sdcard when i want to play i have to decrypt the song and than play. I have done the same thing  first decrypt the song ,make a file  and then

Re: [android-developers] resizing bitmap for seting wallpaper

2011-04-19 Thread kumar Gaurav
well i'm not here for making jokes, i simply need help as resource which can be a link as well, n i think this forum is for the same purpose On Tue, Apr 19, 2011 at 6:45 PM, TreKing treking...@gmail.com wrote: On Tue, Apr 19, 2011 at 5:04 AM, kumar Gaurav urp...@gmail.com wrote: please give

Re: [android-developers] resizing bitmap for seting wallpaper

2011-04-19 Thread TreKing
On Tue, Apr 19, 2011 at 8:36 AM, kumar Gaurav urp...@gmail.com wrote: well i'm not here for making jokes, i simply need help as resource which can be a link as well, n i think this forum is for the same purpose If you want a serious answer, explain what you have tried and what exactly you're

[android-developers] Algorithm for building 3D shapes with GL_TRIANGLE_STRIP needed

2011-04-19 Thread MobileVisuals
I am looking for a good way to triangulate for building shapes with GL_TRIANGLE_STRIP. I made a working algorith and working code for building 3D shapes a few years ago. This has worked on M3G, Java3D and Symbian Open GL C++. It does for some reason not work like it should on Android Open GL. The

Re: [android-developers] resizing bitmap for seting wallpaper

2011-04-19 Thread kumar Gaurav
well thanks for this, here's my code which i'm trying but its not working. I mean the image is not fit to the screen of android LinearLayout l=(LinearLayout) findViewById(R.id.lview); ImageView im=(ImageView) v; l.setBackgroundDrawable(im.getDrawable());

[android-developers] Re: Display large html content page wise in WebView

2011-04-19 Thread Sourav Howlader
So I need to extract content from html and then write into a file. But while displaying how I will come to know about the number of words and formatting I need for creating page1.htm, page2.htm etc. ? Can you explain using an working example ? Thanks. -- You received this message because you

[android-developers] Re: how to access desktop files from android app remotely?

2011-04-19 Thread Nicholas Johnson
so what is the basic need to do it. like i have to make a ftp server at desktop side? Yes, an FTP server on your desktop would do the job. is there any library that support ftp through android? Do a google search on java ftp

[android-developers] Re: Display large html content page wise in WebView

2011-04-19 Thread lbendlin
Since I don't know your text, your font size, or your target device I'll go with a simple answer: No. -- 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

Re: [android-developers] Re: How does Android PhoneNumberUtils determin the international call prefix for a specific country?

2011-04-19 Thread Marcin Orlowski
On 19 April 2011 13:58, Freddman fredd...@gmail.com wrote: Im trying to figure out the origin of the incoming call and those don't have a '+' in the begining (i never seen anyone atleast). I'v noticed that when reciving an international call, it shows (00) (sense im in Sweden) in the begining

Re: [android-developers] Re: How does Android PhoneNumberUtils determin the international call prefix for a specific country?

2011-04-19 Thread lbendlin
I have seen many cases where my carriers (ATT and T-Mobile USA) are botching the incoming numbers, especially from international sources. Oftentimes all they display is 00123456, or they truncating the tail part because they feel the number is too long. Also be aware that in the new world of

Re: [android-developers] checkboxes in the List randomly get checked/unchecked when i scroll through. android 2.3.

2011-04-19 Thread lbendlin
Instead of fighting against the adapter in the UI you need to work with the adapter. The UI is always only a display slave and should never be used to hold data. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: dispatchTouchEvent which view hit?

2011-04-19 Thread Keith Wiley
So, I have two views, a background that covers the screen, and an EditText that I reposition over the screen at various times. They both implement dispatchTouchEvent (as well as zillions of gesture detection methods), but I really only want to operate on one or the other in any given instance.

[android-developers] Problem with timed notification

2011-04-19 Thread Brad Stintson
I have set the date and time for the event in the interface using datepicker and timepicker respectively. These are stored in the database by converting them into long format. For retrieval, they can be converted back to calendar format(using the function getCalendarFromFormattedLong). The

Re: [android-developers] Problem with timed notification

2011-04-19 Thread Mark Murphy
It would help if you could define unable to set an alarm. On Tue, Apr 19, 2011 at 11:06 AM, Brad Stintson geek.bin...@gmail.com wrote: I have set the date and time for the event in the interface using datepicker and timepicker respectively. These are stored in the database by converting them

[android-developers] Using v4 Fragments with v11 ActionBar tabs

2011-04-19 Thread Dave Johnston
I'm having trouble implementing ActionBar tabs whilst also using backward-compatible Fragments (with the compatibility package). The main issue being that ActionBar.TabListener expects android.app.Fragment, and my Fragment classes inherit from android.support.v4.app.Fragment. Therefore I can't

[android-developers] Re: Eclipse wont regenerate files since downloading the 2.3 SDK

2011-04-19 Thread draf...@gmail.com
I done this and the output simply says Refreshing resource folders and thats it, there is nothing else. None of these other workarounds work for me. On Mar 15, 10:48 pm, Xavier Ducrohet x...@android.com wrote: Can you enable verbose build output (in the Eclipse preferences under Android

Re: [android-developers] Using v4 Fragments with v11 ActionBar tabs

2011-04-19 Thread Mark Murphy
On Tue, Apr 19, 2011 at 11:10 AM, Dave Johnston john...@gmail.com wrote: I'm having trouble implementing ActionBar tabs whilst also using backward-compatible Fragments (with the compatibility package). The main issue being that ActionBar.TabListener expects android.app.Fragment, and my

Re: [android-developers] Using v4 Fragments with v11 ActionBar tabs

2011-04-19 Thread Chris Stewart
As far as I know, you can't use the ActionBar pre-Honeycomb anyway. So you wouldn't have a scenario in which you'd be able to use the ActionBar unless you're targeting Honeycomb. And to clarify, I don't know much, so I could be completely wrong. :) -- Chris Stewart http://chriswstewart.com

[android-developers] [Android Developers] How stlove permission denial

2011-04-19 Thread a a
04-19 23:12:09.814: ERROR/AndroidRuntime(2260): Caused by: java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.intent.action.BOOT_COMPLETED from pid=2260, uid=10060 04-19 23:12:09.814: ERROR/AndroidRuntime(2260): at

Re: [android-developers] Using v4 Fragments with v11 ActionBar tabs

2011-04-19 Thread Mark Murphy
On Tue, Apr 19, 2011 at 11:19 AM, Chris Stewart cstewart...@gmail.com wrote: As far as I know, you can't use the ActionBar pre-Honeycomb anyway.  So you wouldn't have a scenario in which you'd be able to use the ActionBar unless you're targeting Honeycomb. No, but you can have an application

[android-developers] Re: Using v4 Fragments with v11 ActionBar tabs

2011-04-19 Thread Dave Johnston
On Apr 19, 4:19 pm, Chris Stewart cstewart...@gmail.com wrote: As far as I know, you can't use the ActionBar pre-Honeycomb anyway.  So you wouldn't have a scenario in which you'd be able to use the ActionBar unless you're targeting Honeycomb. I'm targeting Honeycomb but retaining backwards

Re: [android-developers] [Android Developers] How stlove permission denial

2011-04-19 Thread Mark Murphy
To solve this, don't try to send a BOOT_COMPLETED broadcast from an SDK application. On Tue, Apr 19, 2011 at 11:22 AM, a a harvey.a...@gmail.com wrote: 04-19 23:12:09.814: ERROR/AndroidRuntime(2260): Caused by: java.lang.SecurityException: Permission Denial: not allowed to send broadcast

[android-developers] Re: Using v4 Fragments with v11 ActionBar tabs

2011-04-19 Thread Dave Johnston
On Apr 19, 4:18 pm, Mark Murphy mmur...@commonsware.com wrote: What seems to be working for me is to simply ignore the passed-in FragmentTransaction and use your own. See the FeedsTabActivity in this project: https://github.com/commonsguy/cw-advandroid/tree/master/Honeycomb/Fee... Ace,

[android-developers] Re: Help on creating a web service for an android application

2011-04-19 Thread natti
good one, but i m newbie with web service thing plus there is so many proposition on the net that i lost it however thx for funny comment!!! On 31 mar, 23:46, TreKing treking...@gmail.com wrote: On Thu, Mar 31, 2011 at 4:05 AM, natti abdennaceur.zineelabid...@gmail.comwrote: I'm new on this

Re: [android-developers] [Android Developers] How stlove permission denial

2011-04-19 Thread a a
But i really need send the BOOT_COMPLETED broadcast from my application. There is my project When photo boot, my service will run immediately. so i declare the receive in AndroidManifest.xml receiver android:name=.BackgroundReceiver intent-filter action

Re: [android-developers] Problem with timed notification

2011-04-19 Thread Kostya Vasilyev
Brad, You can verify the alarm (as saved by Android) by typing adb shell dumpsys alarm in your development computer's command line window. Your alarm should be listed among others there, something like this: RTC_WAKEUP #2: Alarm{2b34f5f8 type 0 com.google.android.gsf} type=0

Re: [android-developers] [Android Developers] How stlove permission denial

2011-04-19 Thread Kostya Vasilyev
19.04.2011 19:49, a a пишет: But i really need send the BOOT_COMPLETED broadcast from my application. No you don't. There are other, multiple, means to start your own service from your own activity: startService, bindService, sending your own broadcast action (not a system defined one).

[android-developers] How to properly clear intent data from singleTop Activity?

2011-04-19 Thread Jona
Scenario is: Activity with singleTop declared at the manifest. This activity is called with some extras. I'm able to clear the intent data and be able to flip screen and such without the original intent being called using setIntent(newIntent). The issue is that when the activity is killed

Re: [android-developers] Re: Transparent control on camera viewfinder

2011-04-19 Thread Streets Of Boston
It's possible. IT works fine. You can have a RelativeLayout or a FrameLayout with a camera-preview View (that hosts the Surface on which the camera preview is drawn) at the bottom of the Z-stack and other views above it. -- You received this message because you are subscribed to the Google

[android-developers] Re: How to properly clear intent data from singleTop Activity?

2011-04-19 Thread Streets Of Boston
Try to use onSaveInstanceState to record the fact that you have 'nulled' out some of the extras. Then in onCreate, examine its 'Bundle savedInstanceState' parameter. If it is not null, it is the Bundle you returned in the onSaveInstanceState earlier. From this Bundle, you can decide to ignore

[android-developers] Re: How to properly clear intent data from singleTop Activity?

2011-04-19 Thread Jona
Well, doing what you are saying leaves me with an issue... How do I than know when it's a legit incoming intent? -- 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] Grey appears pink when scrolling - ListView scrollCache

2011-04-19 Thread Richard Leggett
Hi all, I think I could be out of luck with this one, but does anyone know whether ListView does anything to colors when using scrolling cache? I have a ListView with a background color of #F3F3F3, opaque light grey. When scrolling the list, the grey turns a grey-pink and usually resets to grey

Re: [android-developers] Re: How to properly clear intent data from singleTop Activity?

2011-04-19 Thread Dianne Hackborn
Because onNewIntent() will be called and you can update your state at that point. On Tue, Apr 19, 2011 at 9:16 AM, Jona medicalsou...@gmail.com wrote: Well, doing what you are saying leaves me with an issue... How do I than know when it's a legit incoming intent? -- You received this

Re: [android-developers] Re: dispatchTouchEvent which view hit?

2011-04-19 Thread Dianne Hackborn
I don't understand exactly what you are looking for, but event dispatching works as I described -- ViewGroup's impl looks at the event and views to decide which view it should dispatch to, modifying the MotionEvent at that point to be appropriate for the target view. Be careful how tricky you get

Re: [android-developers] Grey appears pink when scrolling - ListView scrollCache

2011-04-19 Thread Dianne Hackborn
The cache is often 16bpp. Pick a color that can be rendered well at 16bpp, such as #f2f2f2. You want to do this anyway because if your app is running on a 16bpp screen you will also get these kinds of artifacts. On Tue, Apr 19, 2011 at 9:20 AM, Richard Leggett richard.legg...@gmail.comwrote:

[android-developers] Re: How to properly clear intent data from singleTop Activity?

2011-04-19 Thread Streets Of Boston
public YourActivity extends Activity { ... private boolean extrasClearedOut; ... public void onCreate(Bundle savedInstanceState) { ... ... if (savedInstanceState != null savedInstanceState.getBoolean(extras_cleared_out, false)) { extrasClearedOut = true; }

[android-developers] Re: How to properly clear intent data from singleTop Activity?

2011-04-19 Thread Streets Of Boston
public YourActivity extends Activity { ... private boolean extrasClearedOut; ... public void onCreate(Bundle savedInstanceState) { ... ... if (savedInstanceState != null savedInstanceState.getBoolean(extras_cleared_out, false)) { extrasClearedOut = true; }

Re: [android-developers] Grey appears pink when scrolling - ListView scrollCache

2011-04-19 Thread Richard Leggett
Hi Dianne, I've just spent some time looking at the cache code in View, I was trying to force it to use a higher color depth but as you point out the screen may be 16bit anyway so many thanks I'll just switch to F2F2F2! I remember reading about some Window colorspace changes on the blog, but I

[android-developers] Hide a keypad

2011-04-19 Thread Igor Nesralla Ribeiro
Hi, I have a autcompletetextview and i want to hide a keypad when a select a item who appears.. Thanks Igor -- 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

[android-developers] Re: Display large html content page wise in WebView

2011-04-19 Thread Sourav Howlader
My html is basically a static one, which I will read from resource. It will contain header, and other text, similar to basic html pages of eBook. Regarding target device, it need to be for all resolution devices. Now can you explain your suggestion using any example ? Thanks for your suggestion.

[android-developers] Re: Android Map Query (Please help me out)

2011-04-19 Thread sagar borse
/* Use the LocationManager class to obtain GPS locations */ LocationManager mlocManager = (LocationManager)getSystemService(Context.LOCATION_SERVICE); LocationListener mlocListener = new MyLocationListener(); *mlocManager.requestLocationUpdates( LocationManager.GPS_PROVIDER, 0, 0,

Re: [android-developers] Re: How to properly clear intent data from singleTop Activity?

2011-04-19 Thread Jona
You are completely right... :) Now I see a way out of this issue... But I'm still thinking why does Android work like this? There should be a way to tell the OS to clear the intent data from the ActivityManager. -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: How to properly clear intent data from singleTop Activity?

2011-04-19 Thread Jona
Thanks man! It has helped understand this much better and now things are working as expected! :) -- 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

Re: [android-developers] Problem with timed notification

2011-04-19 Thread Brad Stintson
When I set alarm for few mins from current time, it shows this Elapsed realtime wakeup (now=1263900): ELAPSED_WAKEUP #0: Alarm{43d52750 type 2 android} type=2 when=112231046 repeatInterval=0 count=0 operation=PendingIntent{43c2e498: PendingIntentRecord{43c5abb0 android broad

[android-developers] In-App Billing example service lifecycle

2011-04-19 Thread markusn82
Hi, I recently implemented In-App billing for an application and I used the Dungeons example as a starting point. I noticed that after leaving my application (onDestroy is called in the base stack activity), the BillingService service is still running on the phone and stays running long after. I

Re: [android-developers] Bluetooth socket send issue

2011-04-19 Thread Kristopher Micinski
On Tue, Apr 19, 2011 at 9:15 AM, social hub shubem...@gmail.com wrote: With Nokia I can establish connection. Here the connection was successful but as mentioned when I Send using socket.send() it seems successful I dont see any errors on logcat. Any thoughts on why nokia is not showing that

Re: [android-developers] Re: How to properly clear intent data from singleTop Activity?

2011-04-19 Thread Dianne Hackborn
It was a mistake to have the setIntent() method. The Intent is always the original intent used to launch the activity, nothing more. This is immutable. On Tue, Apr 19, 2011 at 10:48 AM, Jona medicalsou...@gmail.com wrote: You are completely right... :) Now I see a way out of this issue...

[android-developers] Android help

2011-04-19 Thread bob
How do you access the Android help table of contents in Eclipse? -- 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

Re: [android-developers] Re: Help on creating a web service for an android application

2011-04-19 Thread Kristopher Micinski
We have no idea what you want to do, and we don't have large amounts of source code hanging around to give people that do each individual thing possible. Telling people you're new at this will make them *less* likely to help you, contrary to what many newcomers think (I should rephrase, telling

[android-developers] Re: Application not installed

2011-04-19 Thread bob
How do I check the logcat? On Apr 18, 5:05 pm, Kostya Vasilyev kmans...@gmail.com wrote: Bob, Do you see any relevant messages in the logcat when installation fails? 19.04.2011 2:03 пользователь Russell DuRoss r2s...@gmail.com написал: I tried this previously and also couldn't get an

Re: [android-developers] Re: Application not installed

2011-04-19 Thread Mark Murphy
Use adb logcat, DDMS, or the DDMS perspective in Eclipse. On Tue, Apr 19, 2011 at 3:03 PM, bob b...@coolgroups.com wrote: How do I check the logcat? On Apr 18, 5:05 pm, Kostya Vasilyev kmans...@gmail.com wrote: Bob, Do you see any relevant messages in the logcat when installation fails?

Re: [android-developers] which is the best way to play encrpted song instantly?

2011-04-19 Thread Miguel Morales
Maybe play the vide data as you are decrypting it. Don't decrypt then play, play while you decrypt. On Tue, Apr 19, 2011 at 6:18 AM, Mark Murphy mmur...@commonsware.comwrote: Don't encrypt the file. On Tue, Apr 19, 2011 at 12:32 AM, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote:

Re: [android-developers] Re: Application not installed

2011-04-19 Thread Marcin Orlowski
2011/4/19 Mark Murphy mmur...@commonsware.com Use adb logcat, DDMS, or the DDMS perspective in Eclipse. There're some on-device log readers apps - search market for logcat Regards, Marcin Orlowski *Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy... *Date In Tray*

[android-developers] Re: Android help

2011-04-19 Thread lbendlin
Good one. I don't think it is possible. You'll have to keep the webpage handy. -- 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

Re: [android-developers] Problem with timed notification

2011-04-19 Thread Kostya Vasilyev
19.04.2011 21:48, Brad Stintson пишет: When I set alarm for few mins from current time, it shows this Elapsed realtime wakeup (now=1263900): ELAPSED_WAKEUP #0: Alarm{43d52750 type 2 android} type=2 when=112231046 repeatInterval=0 count=0 operation=PendingIntent{43c2e498:

Re: [android-developers] In-App Billing example service lifecycle

2011-04-19 Thread Kostya Vasilyev
Mark, The calls to startService in BillingService are matched by stopSelf(), so that's not the cause. I believe this long-running service is caused by how the purchase activity starts the billing service: Dungeons.java mBillingService = new BillingService();

Re: [android-developers] Re: Application not installed

2011-04-19 Thread Kostya Vasilyev
Bob, If you have the phone hooked up to a development system with all the tools, including Java and Android SDK, you could just run adb logcat in a command line window. If not, there is a bunch of apps in Market that can read and display the logcat right on the phone. -- Kostya

Re: [android-developers] Re: Help on creating a web service for an android application

2011-04-19 Thread TreKing
On Tue, Apr 19, 2011 at 10:43 AM, natti abdennaceur.zineelabid...@gmail.com wrote: good one, but i m newbie with web service thing plus there is so many proposition on the net that i lost it If it's the web service you're stuck on, you're on the wrong forum.

[android-developers] Re: Display large html content page wise in WebView

2011-04-19 Thread lbendlin
here are some links that get you started http://stackoverflow.com/questions/3636052/html-book-like-pagination?tab=active#tab-top -- 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] Android apps installed on external memory.

2011-04-19 Thread sblantipodi
Hi, I have an apps that needs to be activated with an activation code, the activation code is based on some phone's data like IMEI and others. Once the app has been activated with the correct activation code, its ok, you can use it. How apps installed in the external memory works on android? Is

[android-developers] Re: Use Google Spreadsheets API in Android

2011-04-19 Thread Spiral123
In fairness to the OP he did try posting in the correct group first. On Apr 18, 1:12 pm, TreKing treking...@gmail.com wrote: On Mon, Apr 18, 2011 at 11:59 AM, Reptil christophepeix...@gmail.comwrote: Nobody can help This group is for the Android SDK. Try a group or forum dedicated to the

Re: [android-developers] Displaying Equations on Android

2011-04-19 Thread Anuj Goyal
It looks like there is some basic support for MathML... https://trac.webkit.org/wiki/MathML I don't have access to an Android 3.0 device, but it might work on there. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Use Google Spreadsheets API in Android

2011-04-19 Thread Spiral123
I'm afraid you are a very long way from achieving your objective. My recommendation would be to study the Picasa Android API example. Get it working on your device, understand it, and then adapt it for Spreadsheets. the link to the sample is here:

Re: [android-developers] Android apps installed on external memory.

2011-04-19 Thread Dianne Hackborn
Having an app on external memory is no different from it being an internal memory, except that it can temporarily disappear when the external memory gets unmounted from the device to mount on a computer as USB mass storage. On Tue, Apr 19, 2011 at 1:56 PM, sblantipodi

  1   2   >