Re: [android-developers] Accessing the /data folder

2010-02-18 Thread Mark Murphy
Thalisson wrote: I'm working on a android project and we're wondering if there is any way to access all the data on the /data folder. I'm asking this because we need to copy (and paste) all the data on that folder and, so far, we couldn't find a way to do that. I know that normally we don't

[android-developers] Re: singleTask + activity stack not preserved?

2010-02-18 Thread jotobjects
Just curious since you and others have asked similar questions in the past. I just wrote a simple App with ActivityA and ActivityB where A is singleTask launchMode. If I go A-b-Home-relaunch I get gack to B. So I cannot replicate the scenario you describe. The code and all files for the app

[android-developers] Content Length -1 in HTTP Response / Parial Read

2010-02-18 Thread kumaresh
Hi, 1. Implemented an application, that does a webservice call to our servers. when the response size is around 200 Kb, iam receiving the content length as -1. It works well in Droid/ADP1/etc (receiving the original length) but fails in HTC My Touch and HTC DREAM. 2. When i replace, the

[android-developers] How to move Activity to foreground

2010-02-18 Thread // C
You can send an Activity to the background by calling the moveTaskToBack() operation. This seems to work perfectly. But when I later on want to retrieve my Activity to the foreground again, how can I do this programatically ? Can someounde illustarte with a small example ? -- You received this

[android-developers] SMS inbox Read Problem

2010-02-18 Thread Akage
Hi Thank you for Read this thread. i tryed for apps sms blocker first i get sms inbox message like this public class CsmsHandler extends BroadcastReceiver { public void onReceive(Context arg0, Intent arg1) { Bundle bundle = arg1.getExtras(); SmsMessage[] msgs =

[android-developers] Usb Tethering in Android Eclair 2.1

2010-02-18 Thread Aniruddha Mukherjee
Hi All, In android eclair 2.1 is dialup networking through usb possible? Is there any Support for usb tethering present in kernel layer. I am trying to make my own app, if needed ready to do some kernel related code chage also. I have seen in \kernel\drivers\usb\gadget\f_derial.c file some

[android-developers] OpenGL Texture Scaling Problem

2010-02-18 Thread Barrett_A
I have a texture with 8 equally sized stripes that I am using as a wall with OpenGL. On my Nexus One it scales it properly, as the stripes get smaller the further away they get ( http://lbarrettanderson.com/pongGood.png ). However, in emulators and on a G1 (and probably on other hardware), it

[android-developers] How to get current time accurately?

2010-02-18 Thread Yoshinori
Hi I want to get current time accurately. I tried to get the time by System.currentTimeMillis() but it has the effect on the modificaion by User. So it is not useful for me. Could you kindly tell me how to get current time accurately? Thanks. -- You received this message because you are

[android-developers] differentiating single click and long click.

2010-02-18 Thread mmkr
Hi all, I have an array list of a view in my application. The view has both single click and long click listeners. To detect a particular view that is selected I'm using isPressed() for single click listener. Now how can I detect that a particular view is longclicked from the array list of

[android-developers] Retrieving data from portrait to landscape

2010-02-18 Thread sid
Hi All, For changing from portrait to landscape mode i have done some changes in manifest.xml and included some code in test.java file In manifest.xml i have included activity_name android:configChanges=orientation/ i entered some data in portrait mode. but when i rotate my mobile from portrait

[android-developers] Add a new custom locking screen

2010-02-18 Thread plouck
Dear, We are looking to add a new android locking screen (a password based one) with the same behaviour of the current unlock pattern. In fact we have been able to create a custom locking screen but we haven't found the way to disable the home key. Any ideas ? Cheers -- plouck -- You

[android-developers] Gestures in app Widget

2010-02-18 Thread Rajesh G
Hi All: Greetings!!! I'm newbie to Android and developed a widget for my application. I want to use gesture to open up some of my application features inside the widget. As far I know implementation of gesture inside my application is possible and my question is will it be possible to implement

[android-developers] Stop Surface View being destroyed

2010-02-18 Thread Adrian Hirst
Hi, I have created a game that uses SurfaceView and need input for player to enter there name so I created a View xml that allows the player to enter there name with the virtual keyboard. The problem I have is when I call setContentView(nameView) it destroys the surfaceview and everything

[android-developers] How to get Bitmap from SurfaceView?

2010-02-18 Thread ASL
Hello, I'm using the MediaPlayer to play a video and I need to get some frames of the video while it is being played. I found that SurfaceHolder has the method lockCanvas() returning a Canvas object, using it I can draw thing on the surface, but how can I get the pixels that are currently on the

[android-developers] TranslateAnimation z-order problem

2010-02-18 Thread mc_sunw
I've come across a curious problem: I have a simple horizontal LinearLayout: Button A - ViewGroup (vertical LinearLayout containing TextViews) - Button B It's important to note that the views are defined in the XML in the above order i.e. Button A, ViewGroup, Button B. I have a simple

[android-developers] Content Observer

2010-02-18 Thread Kiran
As per normal content observer, you will just get to know that content has been changed but not the data. So how can I exactly find out what changes has been made using Content Observer? Is there any alternative way to obtain the changes done on specific content URI? Thanks a lot in advance !!

[android-developers] Re: Store contact name in emulator phonebook.

2010-02-18 Thread ivar
Try this: ContentValues values = new ContentValues(); values.put(Contacts.People.NAME, Dummy Contact+i); Uri uri = Contacts.People.createPersonInMyContactsGroup(getContentResolver(), values); Uri

[android-developers] Custom locking screen

2010-02-18 Thread Clément Lecigne
Dear, We are looking to add a new android locking screen (a password based one) with the same behaviour of the current unlock pattern. With some ugly hacks we have been able to create a custom locking screen but we haven't found a way to disable the home key. Any ideas ? Cheers -- plouck --

[android-developers] Can't show ProgressDialog during listview update

2010-02-18 Thread Ken H
What am I doing wrong here? I have a listview of items (songs on the sd card). The user has an option to load all the songs on the sd card to into a current playlist -- those songs are what is displayed in the listview. Because this can take few seconds to load if they have a lot of songs on the

Re: [android-developers] Add a new custom locking screen

2010-02-18 Thread Mark Murphy
plouck wrote: We are looking to add a new android locking screen (a password based one) with the same behaviour of the current unlock pattern. In fact we have been able to create a custom locking screen but we haven't found the way to disable the home key. Write your own firmware. Blocking

[android-developers] How to implement UI for re-ordering a list?

2010-02-18 Thread Luke Meyer
I have an Android app where users can add items to a ListView, and I'd like them to be able to re-order the items in the list however they want (as opposed to just offering them different sort orders). It's easy enough to add a position setting for the items (they come from the DB) but what kind

[android-developers] Re: username and password for sample sync adapter

2010-02-18 Thread HCH
Could someone on the android team please tell us what we should use for the password when connecting to the SampleSyncAdapter server? On Feb 16, 4:19 pm, HCH hayeshau...@gmail.com wrote: as for 1) - The source tree is not available for download that I can tell.  You have to cut and paste each

[android-developers] Re: Is it possible to launch an activity on a certain key sequence?

2010-02-18 Thread BillS
So I would need to write an activity that listens for a certain key sequence and then launches a second activity? On Feb 18, 9:08 am, Mark Murphy mmur...@commonsware.com wrote: BillS wrote: Sorry, I meant the key sequence would launch my activity. Can you elaborate on what it would take?

Re: [android-developers] differentiating single click and long click.

2010-02-18 Thread social hub
can u try using onclickpress() and implement there On Thu, Feb 18, 2010 at 5:47 AM, mmkr manutd...@gmail.com wrote: Hi all, I have an array list of a view in my application. The view has both single click and long click listeners. To detect a particular view that is selected I'm using

Re: [android-developers] differentiating single click and long click.

2010-02-18 Thread social hub
sorry meant onlongpress On Thu, Feb 18, 2010 at 12:36 PM, social hub shubem...@gmail.com wrote: can u try using onclickpress() and implement there On Thu, Feb 18, 2010 at 5:47 AM, mmkr manutd...@gmail.com wrote: Hi all, I have an array list of a view in my application. The view has

Re: [android-developers] Can't show ProgressDialog during listview update

2010-02-18 Thread Frank Weiss
Use AsyncTask instead od Java threads. I'm not kidding, it's that simple. On Thu, Feb 18, 2010 at 10:21 AM, Ken H hunt1...@gmail.com wrote: What am I doing wrong here? I have a listview of items (songs on the sd card). The user has an option to load all the songs on the sd card to into a

[android-developers] Data Recovery

2010-02-18 Thread olipolus
Data recovery is a tricky thing, and if you've somehow deleted or had your important files corrupted or lost due to human error, business espionage, faulty hardware or software or any other reason; the good news is that your lost data is probably recoverable.

Re: [android-developers] Re: Is it possible to launch an activity on a certain key sequence?

2010-02-18 Thread Mark Murphy
BillS wrote: So I would need to write an activity that listens for a certain key sequence and then launches a second activity? Yes. I suspect you're trying to get it such that arbitrary other applications, or the operating system, will register the key events and start up your activity for

[android-developers] Re: Need Samsung Moment user to help troubleshoot problems

2010-02-18 Thread shaun
Ernest, Your response is helpful. I am not using android.opengl.GLSurfaceView, but I did try to get my EGL config chooser routine to look like what is provided therein. Are you saying that if I did use GLSurfaceView from Android I would not have the issue? If so, is there any specific

[android-developers] Re: Why is all the spam suddenly appearing?

2010-02-18 Thread Disconnect
Course, some of it -is- just spammers. EG olipo...@gmail.com (http:// groups.google.com/groups/search? hl=enq=olipol66%40gmail.comqt_s=Search) Spams everywhere, hasn't been shut down yet. Fun :/ On Feb 17, 8:36 pm, Disconnect dc.disconn...@gmail.com wrote: Its not a forum. Its an email list with

Re: [android-developers] Re: Is it possible to launch an activity on a certain key sequence?

2010-02-18 Thread TreKing
I don't know if this will help your situation at all, but note that there is the option for users to set keyboard shortcuts, so you could set a shortcut for yourself for your own app. On Thu, Feb 18, 2010 at 12:51 PM, Mark Murphy mmur...@commonsware.comwrote: BillS wrote: So I would need to

[android-developers] access android.R.string values from xml layout file

2010-02-18 Thread fry
Hello, I can access android.R.string.ok value from java code, but can't see how to do the same in layout xml file - I only have @string/xxx in autocompletion list which does not have system string values. thank's -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Is it possible to launch an activity on a certain key sequence?

2010-02-18 Thread Mark Murphy
TreKing wrote: I don't know if this will help your situation at all, but note that there is the option for users to set keyboard shortcuts, so you could set a shortcut for yourself for your own app. *smacks forehead* I keep forgetting about that, particularly now that I'm using a

[android-developers] Re: Is there a normal human way to copy image from one folder to another?

2010-02-18 Thread Streets Of Boston
No. You have to do this all yourself :( 1. Query from the mediastore all the info for your original image, including its file-path (DATA column). 2. Query from the thumbnail mediastore the info of all the thumbnails (can have more than one) for the given image. 3. Copy your image-file to another

[android-developers] Building the sdk (.jar file) with calendar app

2010-02-18 Thread arnoldl
Hello all, newbie question... I want my android.jar to include the calendar provider class..this is not in the normal .jar It's hidden for the sdk build by @hidden lines in the source. i have read somewhere that by removing some @hidden's i can build a android.jar with the calendar class.. But i

Re: [android-developers] Building the sdk (.jar file) with calendar app

2010-02-18 Thread Mark Murphy
arnoldl wrote: I want my android.jar to include the calendar provider class. Please don't do that. this is not in the normal .jar It's hidden for the sdk build by @hidden lines in the source. Correct. It is not for SDK developer use at this time. It is subject to modification by the core

Re: [android-developers] access android.R.string values from xml layout file

2010-02-18 Thread TreKing
On Thu, Feb 18, 2010 at 1:13 PM, fry bender...@gmail.com wrote: I can access android.R.string.ok value from java code, but can't see how to do the same in layout xml file Try @android:string/ok - though even if that works, note that that's probably discouraged, as the value of that resource

[android-developers] Re: Is it possible to launch an activity on a certain key sequence?

2010-02-18 Thread Abhi
On that note, Can I launch an activity from the called 'Camera App' within my own activity on the press of Capture button? Abhi On Feb 18, 2:13 pm, Mark Murphy mmur...@commonsware.com wrote: TreKing wrote: I don't know if this will help your situation at all, but note that there is the

[android-developers] Calling activity from inside a thread?

2010-02-18 Thread Abhi
Hi, I want to either use WiFiManager to toggle wifi from inside a thread or call another activity to do this, whichever is possible. I tried using the wifimanager class inside the thread but it didn't work. Could anyone tell me how to call an activity using Intents from inside a thread? Thanks,

[android-developers] KEYCODE for headset button press

2010-02-18 Thread Porting beginner
Hi, I am trying from few days but don't get any information related to issue as below. Which KEYCODE to send to input dev ( /dev/input/event2 here ) on headset button press event from my headset driver so can answer / hang-up call ? Please let me know if I am missing something here. --

[android-developers] Re: How To Using lisview

2010-02-18 Thread DonFrench
Have you read the tutorial? http://developer.android.com/intl/de/resources/tutorials/views/hello-listview.html On Feb 17, 7:07 pm, Reno Akbar robotijo.be...@gmail.com wrote: Hai Guys any body share with me how to use lisview ? thanks -- You received this message because you are

Re: [android-developers] TranslateAnimation z-order problem

2010-02-18 Thread Dianne Hackborn
The Z adjustment only works for window animations. I thought this was documented, but apparently not. On Thu, Feb 18, 2010 at 8:25 AM, mc_sunw mlcaun...@googlemail.com wrote: I've come across a curious problem: I have a simple horizontal LinearLayout: Button A - ViewGroup (vertical

[android-developers] Re: Building the sdk (.jar file) with calendar app

2010-02-18 Thread arnoldl
Please don't do that. I understand that it's not the right way to build an app. And i'm aware that if i link to this class , any change by the android team will break my app. her comes the but :-) - i want to make a app only for personal use..so i take the change of failing with code update. -

Re: [android-developers] Tab Bar in Android

2010-02-18 Thread TreKing
On Wed, Feb 17, 2010 at 11:25 PM, Sasikumar.S sasikumar.it1...@gmail.comwrote: I need like that tab bar in android . How to do that? Any suggestions ? Yes. 1 - Get a book or two or three on Android. 2 - Read the online documentation. 3 - Read through the samples. 4 - (This one is

[android-developers] Re: Multiple Gallery Widgets won't scroll

2010-02-18 Thread racx182
I am stacking two galleries on top of each other... I know no other way to do this than to include two galleries in a layout. The one that's last added is the one that will properly scroll. Work around? On Feb 18, 11:51 am, social hub shubem...@gmail.com wrote: I am also having the same issue

[android-developers] Re: TranslateAnimation z-order problem

2010-02-18 Thread mc_sunw
Ok, so it's not me doing something stupid. :) Any thoughts as to the best solution? I wrote a simple test whereby I created a RelativeLayout rather than a LinearLayout and defined the ViewGroup first and the buttons after, relative to the ViewGroup, which seemed to work ok in the test. So did

Re: [android-developers] Re: Multiple Gallery Widgets won't scroll

2010-02-18 Thread social hub
sorry stack u mean in z axis or one below the other. I may have solution for the one below the other not the other case i guess. On Thu, Feb 18, 2010 at 1:59 PM, racx182 drobe...@gmail.com wrote: I am stacking two galleries on top of each other... I know no other way to do this than to include

Re: [android-developers] How to implement UI for re-ordering a list?

2010-02-18 Thread TreKing
On Thu, Feb 18, 2010 at 10:08 AM, Luke Meyer luke.rt.me...@gmail.comwrote: The best I can think of is to use a long click and context menu to move up or move down. Any better ideas? This is what I do and it works well enough for small lists. I would like to do drag-n-drop at some point but

[android-developers] Re: access android.R.string values from xml layout file

2010-02-18 Thread fry
Thank's for hint - this works. On Feb 18, 10:30 pm, TreKing treking...@gmail.com wrote: On Thu, Feb 18, 2010 at 1:13 PM, fry bender...@gmail.com wrote: I can access android.R.string.ok value from java code, but can't see how to do the same in layout xml file Try @android:string/ok - though

[android-developers] Landscape orientation of Intent

2010-02-18 Thread Tatyana Ulyanova
Hi, friends! I have got a problem and hope you could help me:) I have application in landscape orientation, I set it as android:screenOrientation=landscape in AndroidManifest.xml. But when my app starts another activity - default internet browser - it starts in portrait orientation. Any ideas?

[android-developers] Re: singleTask + activity stack not preserved?

2010-02-18 Thread Mark Wyszomierski
Hi jotobjects, that would be really helpful if you could post your example. My simple example is below. Behavior I am seeing is: -App Tray -ActivityA -btn click, start ActivityB -home button -resume -ActivityA is shown import android.app.Activity; import android.content.Intent; import

[android-developers] Re: Weird stuff - help!

2010-02-18 Thread nikhil
Has any one seen this? 02-18 14:31:49.159: ERROR/AndroidRuntime(23066): Uncaught handler: thread android.server.ServerThread exiting due to uncaught exception 02-18 14:31:49.159: ERROR/AndroidRuntime(23066): *** EXCEPTION IN SYSTEM PROCESS. System will crash. 02-18 14:31:49.169:

[android-developers] JetPlayer keeps logging write blocked for X msecs - is this normal?

2010-02-18 Thread kk
Hello all, I'm trying to add audio to my game and following the jetboy tutorial and dev pages I'm doing it as follows: I'm initialising like this: JetPlayer JET_PLAYER = JetPlayer.getJetPlayer(); JET_PLAYER.clearQueue(); JET_PLAYER.loadJetFile(p_resources.openRawResourceFd(R.raw.ingame1)); byte

Re: [android-developers] Landscape orientation of Intent

2010-02-18 Thread Mark Murphy
Tatyana Ulyanova wrote: I have got a problem and hope you could help me:) I have application in landscape orientation, I set it as android:screenOrientation=landscape in AndroidManifest.xml. But when my app starts another activity - default internet browser - it starts in portrait

[android-developers] Re: Can't show ProgressDialog during listview update

2010-02-18 Thread Ken H
I wasn't able to get the AsyncTask to work (although I have used it successfully in another app). What I did was use the Looper.prepare(); in my run() method: public void run(){ Looper.prepare(); loadsongs(CURRENT_PLAYLIST); mHandler = new Handler() {

Re: [android-developers] Re: Can't show ProgressDialog during listview update

2010-02-18 Thread Mark Murphy
Ken H wrote: I wasn't able to get the AsyncTask to work (although I have used it successfully in another app). Here's an example of using AsyncTask to asynchronously populate a ListView: http://github.com/commonsguy/cw-android/tree/master/Threads/Asyncer/ -- Mark Murphy (a Commons Guy)

[android-developers] Re: OnActivityResult passing a null intent

2010-02-18 Thread Cog
Thank you very much. That's made it much clearer for me. Cog -- 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: singleTask + activity stack not preserved?

2010-02-18 Thread jotobjects
On quick inspection your app looks almost like the one I tested. My test is with the emulator with Android 2.0.1. I am NOT running this from eclipse. Any difference from your scenario? What do you mean by resume in your scenario? Do you mean pulling down the tray and clicking on the App icon

[android-developers] Re: Intent.ACTION_SYNC no docs or resolveInfo

2010-02-18 Thread Alex Corbi
HI, is there a way for an app to know when a data sync happens? It would be just great to be able to Register a BroadcastReceiver and handle that action, in my case instead of fire a data synchronization i would like to detect when it happens. is it possible? On Jan 25, 6:59 pm, Dianne

[android-developers] Re: Custom locking screen

2010-02-18 Thread Clément Lecigne
Hi, We are looking to add a new android locking screen (a password based one) with the same behaviour of the current unlock pattern but we did not found any documentation about that. With some ugly hacks we have been able to create a custom locking screen but we haven't found a way to disable

[android-developers] How can I create TextAppearanceSpan which looks like an anchor

2010-02-18 Thread n179911
Hi, Can you please tell me how can I create a TextAppearanceSpan which looks like an anchor (a blue text with a blue underline under the text)? 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

Re: [android-developers] Re: Custom locking screen

2010-02-18 Thread TreKing
2010/2/18 Clément Lecigne plo...@gmail.com With some ugly hacks we have been able to create a custom locking screen but we haven't found a way to disable the home key. You can't do this. See this

[android-developers] Re: Socket is not connected

2010-02-18 Thread nikhil
This is what logcat shows. 02-18 16:39:19.505: WARN/System.err(25664): java.net.SocketTimeoutException: Socket is not connected 02-18 16:39:19.505: WARN/System.err(25664): at org.apache.harmony.luni.platform.OSNetworkSystem.connectStreamWithTimeoutSocketImpl(Native Method) 02-18 16:39:19.515:

[android-developers] Re: username and password for sample sync adapter

2010-02-18 Thread Megha
Hi, I have uploaded the zipped source files for this sample at: http://code.google.com/p/apps-for-android/downloads/list Sorry about the server related python source files not being visible on developer.android.com. We will fix it soon. This sample source will be available with the next sdk

[android-developers] Re: Can't show ProgressDialog during listview update

2010-02-18 Thread Ken H
But what if you're using a custom ArrayAdapter? Also, I *think* AsyncTask is meant for one shot type tasks. A user of this app may update this listview multiple times. But here is something I've discovered: if I change the orientation of the screen, the list is properly updated. Question: how can

[android-developers] Re: username and password for sample sync adapter

2010-02-18 Thread HCH
Thank you! On Feb 18, 3:18 pm, Megha mjo...@google.com wrote: Hi, I have uploaded the zipped source files for this sample at:http://code.google.com/p/apps-for-android/downloads/list Sorry about the server related python source files not being visible on developer.android.com. We will fix

[android-developers] mail to group

2010-02-18 Thread Porting beginner
Hi, I don't see my mails sent to these groups. is that any issue ? -- Thanks -- 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] mail to group

2010-02-18 Thread Jason Proctor
if you have a gmail address, you won't see the copy coming back. gmail swallows it thinking it's its own copy it uses for conversation tracking. at least i *think* that's what's going on, i've never heard a peep out of google after asking many times. this used to work properly up until last

[android-developers] Re: Restarting a MediaPlayer

2010-02-18 Thread Steeler
Would those buffers' memory space be able to be reallocated when the activity dies, or the process, or on a total OS shutdown? This particularly is something I was wondering about on a broader scope than MediaPlayers. Thanks for your answers. On Feb 18, 7:08 am, Mark Murphy

Re: [android-developers] Re: Can't show ProgressDialog during listview update

2010-02-18 Thread Mark Murphy
Ken H wrote: But what if you're using a custom ArrayAdapter? And that matters...how, exactly? Also, I *think* AsyncTask is meant for one shot type tasks. A user of this app may update this listview multiple times. :: shrug :: Fire new instances of the AsyncTask. It uses a thread pool. It

[android-developers] Set style one by one in TextView

2010-02-18 Thread 中村修太
Hi,all. I want to set Bold-style or TextColor one by one in TextView. Can I do it? I thought use InputFilter, but the Class could not set style.(may be..) Please teach if it is good idea. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] Re: Can't show ProgressDialog during listview update

2010-02-18 Thread Jason Proctor
Fire new instances of the AsyncTask. It uses a thread pool. It is designed for the specific purpose we are telling you to put it to. or you could use AsyncTasks's progress reporting mechanism to communicate the loading of each list entry. AsyncTask is *fab* -- jason.vp.engineering.particle

[android-developers] Re: Can't show ProgressDialog during listview update

2010-02-18 Thread Bob Kerns
Using a custom ArrayAdapter doesn't seem to me to relate to your question, unless your problem is that it's broken. For example, if yours doesn't notify the registered DataSetObservers that the data has changed. As for async tasks -- what you're describing IS a one-shot task, in any sense that

[android-developers] spreadsheets.google.com using raw http/xml

2010-02-18 Thread dan raaka
It looks like my example refuses to work with spreadsheets.google.com list worksheet feed. Here is the code snippet authenticate() succeeds and I get the proper auth token. However getWorksheetContents() fails with 404 Not found error. I have double check the URL (worksheetsheetURL) using curl

[android-developers] Re: Need Samsung Moment user to help troubleshoot problems

2010-02-18 Thread shaun
I just read you other post and it covers pretty much the same subject matter: http://groups.google.com/group/android-developers/browse_thread/thread/26f577bca4cee64d# I will try to step through to determine what EGL config is choosen. I find is strange in my case because I have one user who

Re: [android-developers] Re: Intent.ACTION_SYNC no docs or resolveInfo

2010-02-18 Thread Dianne Hackborn
There is really no such thing as a global data sync. You can write a SyncAdapter to take care of syncing with a particular content provider, and decide when to sync. You can register a ContentObserver to see when the data inside of a content provider changes. A global concept of sync isn't

Re: [android-developers] Tab Bar in Android

2010-02-18 Thread Sasikumar.S
ok... On Fri, Feb 19, 2010 at 1:16 AM, TreKing treking...@gmail.com wrote: On Wed, Feb 17, 2010 at 11:25 PM, Sasikumar.S sasikumar.it1...@gmail.comwrote: I need like that tab bar in android . How to do that? Any suggestions ? Yes. 1 - Get a book or two or three on Android. 2 -

[android-developers] Re: Deprecated Absolute layout ?

2010-02-18 Thread NoraBora
AFAIK, AbsoluteLayout does not support variable screen size like WVGA. On Feb 16, 6:59 am, Mina Samyhttp://android-pro.blogspot.com; m.s.ra...@gmail.com wrote: Hi all the absolute layout class is deprecated but still can write it in code and it works. will there be any problems if I use

[android-developers] Re: rotate progress bar

2010-02-18 Thread NoraBora
To use vertical progressbar, you have to make your own widget extending View, not ProgressBar. the source of ProgressBar widget may help. On Feb 16, 6:24 am, Jonathan jonathanmschm...@gmail.com wrote: HI, I am extending the normal android.widget.ProgressBar. I want to make it vertical. This is

[android-developers] Re: Simple Cursor Adapter - Listview Example

2010-02-18 Thread NoraBora
See ApiDemos in SDK On Feb 16, 9:33 pm, Sasikumar.S sasikumar.it1...@gmail.com wrote: Hi, Any simple cursor adapter with listview example ? -- Thanks Regards Sasikumar.S -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Deciding which method to call when intent is received

2010-02-18 Thread Babasaheb
Hi TreKing, Thank you for the prompt reply.. :) I will try your solution to see how it solves the problem.. Thanks On Feb 18, 9:17 pm, TreKing treking...@gmail.com wrote: On Thu, Feb 18, 2010 at 8:47 AM, Babasaheb babadam...@gmail.com wrote: Is it possible to send an intent so that a

[android-developers] Re: username and password for sample sync adapter

2010-02-18 Thread Sameer AM
Thanks a lot megha.. this is a relief, I'd try this and get back -- 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] Two processes are created some times at the time app starting?

2010-02-18 Thread pink 444
Hi, Some times at the time of application starting up two processes are created one has default process as parent and second has first as parent. In this scenario neither activity nor application is coming up.But application code is being executed. Any idea. Thanks, -- You received

[android-developers] Re: username and password for sample sync adapter

2010-02-18 Thread Sameer AM
Okay, I tried the user1/test on emulator and it added account succesfully, and on the web side I added few handles and added few friends on the same handle, and tried syncing the same on emulator, and I am getting 500 internal server error, is there still something wrong? I added one more user on

[android-developers] Re: Calling activity from inside a thread?

2010-02-18 Thread Steeler
Do you have a reference to the activity's context in your thread? If so, I think you could do something like this: Intent _intent = new Intent(yourContext, yourActivity.class); yourContext.startActivity(_intent); provided that yourActivity was declared in your manifest. On Feb 18, 1:39 pm, Abhi

[android-developers] Re: Can't show ProgressDialog during listview update

2010-02-18 Thread Ken H
Wow, dude...thanks! That was a thorough answer. Usually get a vague, one sentence response that leaves me more confused than before. I don't know why I said that thing about the custom adapter...I think because I don't truly understand what it's doing and this activity revolves around it. Well,

[android-developers] Re: Stop Surface View being destroyed

2010-02-18 Thread Steeler
One thing that comes to mind is using an AlertDialog for the name prompt instead of a View. On Feb 18, 4:39 am, Adrian Hirst adrian.hi...@gmail.com wrote: Hi, I have created a game that uses SurfaceView and need input for player to enter there name so I created a View xml that allows the

RE: [android-developers] Re: Google Chart API

2010-02-18 Thread Tommy
Ah ok thank you!! -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Shrenik Vikam Sent: Thursday, February 18, 2010 12:52 AM To: Android Developers Subject: [android-developers] Re: Google Chart API You can use google

[android-developers] Cannot get textAppearance to inherit/cascade from theme

2010-02-18 Thread Walt Armour
I have a simple style like this: style parent=android:Theme.Light.NoTitleBar name=MyTheme item name=android:colorBackground#FF/item item name=android:textAppearance@style/PrimaryText/ item /style And a simple style like this: style

[android-developers] CursorAdapter Listview Text Filter

2010-02-18 Thread Sasikumar.S
Hi,,\ I'm using a listview with cursoradapter. How to set Text filter for that listview ?. -- Thanks Regards Sasikumar.S -- 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: How to get current time accurately?

2010-02-18 Thread ko5tik
On Feb 18, 9:44 am, Yoshinori yoshinori...@gmail.com wrote: Hi I want to get current time accurately. I tried to get the time by System.currentTimeMillis() but it has the effect on the modificaion by User. So it is not useful for me. Could you kindly tell me how to get current time

[android-developers] Re: Retrieving data from portrait to landscape

2010-02-18 Thread ivar
you have to save the necessary data as part of the bundle in the method, onSaveInstanceState and onCreate(bundle), you should if there is any data in the bundle. if there is get the data from the bundle and use that data. -Ravi On Feb 18, 1:29 pm, sid wakeupsi...@gmail.com wrote: Hi All, For

[android-developers] Re: Intent.ACTION_SYNC no docs or resolveInfo

2010-02-18 Thread Alex Corbi
Ok Thanks Dianne, What interest me is detecting when new GMail is being received. Wich is the uri of the Gmail content provider? content://gmail-ls ??? is there any documentation somewhere about how the information is being stored in this Content-Provider. On Feb 19, 4:03 am, Dianne Hackborn

[android-developers] Re: Can't show ProgressDialog during listview update

2010-02-18 Thread Ken H
Just tried the asynctask again, and it works. Basically I put the time consuming part in doInBackground(), and then launched a progressDialog in onProgressUpdate() to let users know nothing froze, and finally dismissed the progrssDialog in onPostExecute(). Also added the final refresh of the

<    1   2