[android-developers] Re: Creating events

2008-04-02 Thread Dan U.
You mean to make your app interact with another app? I don't think that's possible. On Apr 2, 11:13 pm, dimenwarper <[EMAIL PROTECTED]> wrote: > hey all! > > Does anyone know if there is any way to create and launch events (such > as click and key events) via software (e.g. createClickEvent(float

[android-developers] Creating events

2008-04-02 Thread dimenwarper
hey all! Does anyone know if there is any way to create and launch events (such as click and key events) via software (e.g. createClickEvent(float x, float y))? Rgrds, dw --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

[android-developers] Re: Autocomplete and filtering issue

2008-04-02 Thread Romain Guy
Hi, The best thing to do is indeed to override getFilter() and return a Filter that will do what you are proposing. The current ArrayAdapter's Filter simply matches the text against the first characters of each entry of the array. On Wed, Apr 2, 2008 at 10:31 PM, AkaZn <[EMAIL PROTECTED]> wrote:

[android-developers] Autocomplete and filtering issue

2008-04-02 Thread AkaZn
Hi I want to somehow emulate the idea T9 Text Input (not it but similar to it) and I want to use the AutoCompleteTextView to suggest the user the word they can choose. But only overriding the performFiltering function of the AutoCompleteTextView class is not enough to do the work as use my custo

[android-developers] Re: Failed to open database file

2008-04-02 Thread JuhaK
http://code.google.com/p/android/issues/detail?id=151&colspec=ID%20Type%20Version%20Security%20Status%20Owner%20Summary Seems like the fix is a work in progress. JuhaK On Apr 2, 1:13 pm, goro <[EMAIL PROTECTED]> wrote: > Hi All, > I know that it is a pretty old topic, but I am facing the same p

[android-developers] Re: Real Device in market with google Android

2008-04-02 Thread JuhaK
"...announced that its mCUE(tm) converged communications client for mobile devices and handsets now supports Google's Android, one of the industry's first open-source mobile platforms." I would interpret "client for mobile devices" as a piece of software (which now runs on Android), rather than a

[android-developers] 100 euros laptop

2008-04-02 Thread William Barneau
hi all, we are developping a 100 euros public price laptop. At this stage using the samsung arm 920 we are searchig for a solution small based on android that would only start the device and directly connect on internet via a firefox it must have the necessary pilotes ( screen wifi kaboard mouse

[android-developers] Re: Long list of LogCat error messages from DeviceMonitor

2008-04-02 Thread jalopy
I have seen these error messages all the time. I normally needed to restart my emulator with "-wipe-data" to get back to normal. I noticed that those error messages began to appear after my program crashed a few times or some other programs were not responding such as gtalkservice. Yes, it is ver

[android-developers] Re: making a http post call from an andriod app to web app

2008-04-02 Thread yizhao
All, I found the problem, after I added code to read the response, everything started working. It might have to do with the fact that the webapp is implemented using WebWorks, I'm not sure... The code I added is: BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getI

[android-developers] Re: efficiency question: ViewInflate used for rows of a listview

2008-04-02 Thread xingye
It's posiable to create a LinearLayout layout and put some controls in it. look at here (InternalSelectionFocus.java in ApiDemos): final LinearLayout layout = new LinearLayout(this); layout.setOrientation(LinearLayout.HORIZONTAL); layout.setLayoutParams(new ViewGroup.Layou

[android-developers] Re: suggestion: the *relevant* context should be automatically accessible from any method

2008-04-02 Thread Joe Onorato
Hi Anil, This is not correct. Here are a few examples: If your app has two services, there will be two different contexts running at the same time. If your app has two activities, one will still have methods running after onPause. Messages sent may be handled while another activity is still ru

[android-developers] Re: Developer program with access to real test phones

2008-04-02 Thread jim.renkel
I too would like to hear about this. My application will require significant real world testing on real devices before I can in good conscience offer to users. Ya can only go so far on an emulator. Jim Renkel On Mar 31, 6:00 pm, Alex <[EMAIL PROTECTED]> wrote: > Does Google or the open handset a

[android-developers] Re: extra libraries for android

2008-04-02 Thread Adriano Crestani
I haven't checked it yet, but it's a nice initiative. I expect others can share their tools/libraries as well : ) Thanks On Apr 2, 4:24 pm, "Carl H." <[EMAIL PROTECTED]> wrote: > Hello, > > I have been reusing a lot of code across several sample applications > while developing android. I am tryi

[android-developers] Re: Can a GTalk message receiver know who sent the intent?

2008-04-02 Thread jtaylor
Peli, My guess is that some kind of security layer will be added to the uses- permission, etc. in the AndroidManifest. - Juan On Apr 2, 9:43 pm, Peli <[EMAIL PROTECTED]> wrote: > Thank you for this information. I had not found it in the > documentation. > > Regarding the security issue, both,

[android-developers] Re: Long list of LogCat error messages from DeviceMonitor

2008-04-02 Thread jim.renkel
Yes, I get these also, on one of my development systems, the single core, relatively slower one, 1.66 GHz. This does not happen on my other development system which is a dual core, and relatively faster, 2.66 GHz each. That seems to be the only difference betwen them, they both have gobs of memory

[android-developers] Re: suggestion: the *relevant* context should be automatically accessible from any method

2008-04-02 Thread Anil
Again, please correct me: But unlike J2SE, here in Android, zero or one contexts are 'active' or relevant in a thread. The thread started life and meandered along touching different contexts along the way. In other words, it is possible to state which was the last context touched, and will be rele

[android-developers] Re: how to make a View always display on Screen?

2008-04-02 Thread xingye
Maybe you should use your owen home.apk instead of the one android provided. On Apr 3, 4:28 am, Android-Berry <[EMAIL PROTECTED]> wrote: > Hi there, > > I want to create a view stick with screen, > what I means is like status bar, but is always at the bottom of > screen, > > for example, Create a

[android-developers] Long list of LogCat error messages from DeviceMonitor

2008-04-02 Thread Peli
The following slows my system down: From time to time there is a long list of error messages apparently from the DeviceMonitor. These error messages stop after some time, and I can continue working. Still, they slow down my work, and I wonder if anybody else has seen them or has a hint what could

[android-developers] map with location points on either side of longitude 180 (international date line)

2008-04-02 Thread MegaHog
If I create a MapView with the map centered to the middle of the Pacific ocean (east of longitude 180). The latitude and longitude spans are set so both Japan and California are visible in the map. I have 2 overlay location points, one in Japan and another in California. Initially the California

[android-developers] Re: Can Spinner OnItemSelectedListener use View's drawable state to detect drop-down?

2008-04-02 Thread lee.t
Hey Megha, Sorry if I wasn't clear - I know the concept might be a little muddied in the example... Basically the issue seems to be that since Spinner doesn't actually support the 'OnItemClickListener' (fires an exception according to docs) we're left to deal with the 'OnItemSelected' event. Sinc

[android-developers] Re: LocationManager crashes app, every time

2008-04-02 Thread guzarva
On Apr 3, 7:09 am, "Harsh Jain" <[EMAIL PROTECTED]> wrote: > are you running this in a second emulator by any chance ? > > > > On Thu, Apr 3, 2008 at 5:35 AM, JoeB <[EMAIL PROTECTED]> wrote: > > > Hi, > > > Any advice on this would help--I can never get a provider from > > LocationManager (there

[android-developers] Re: LocationManager crashes app, every time

2008-04-02 Thread guzarva
On Apr 3, 7:05 am, JoeB <[EMAIL PROTECTED]> wrote: > Hi, > > Any advice on this would help--I can never get a provider from > LocationManager (there is supposed to be a mock one at least, and I > can see the data for it by using "adb shell").  I also can't get > locations or anything else.  Any

[android-developers] Re: WebView History use?

2008-04-02 Thread guzarva
On Apr 3, 4:29 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I'm working on a custom html browser using WebView.loadData().  I'm > trying to implement a back button feature, but it seems that loadData > doesn't update the history, and I have no way to do it myself. > > private WebView wv;

[android-developers] Re: making a http post call from an andriod app to web app

2008-04-02 Thread guzarva
On Apr 3, 4:24 am, yizhao <[EMAIL PROTECTED]> wrote: > I posted a similar question in the beginner group but didn't get what > I was looking for so I'm trying my luck here : ). > > I have a simple android app.  In one of the Activity's onCreate() > method, I have some code to make a http post (t

[android-developers] Re: Can Spinner OnItemSelectedListener use View's drawable state to detect drop-down?

2008-04-02 Thread guzarva
On Apr 3, 5:33 am, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > Hi Todd, > > Its not clear to me what you are trying to do, I read twice through your > post, but I couldn't figure it out. > > Thanks, > Megha > > > > On Wed, Apr 2, 2008 at 1:57 PM, lee.t <[EMAIL PROTECTED]> wrote: > > > Seems there

[android-developers] Re: Can Spinner OnItemSelectedListener use View's drawable state to detect drop-down?

2008-04-02 Thread guzarva
On Apr 3, 3:57 am, "lee.t" <[EMAIL PROTECTED]> wrote: > Seems there have been a lot of questions regarding the selection model > for the spinner (ie - no OnItemClicked, only OnItemSelected listeners, > making it difficult to use callbacks which respond to 'final' item > selection and not every '

[android-developers] Re: SDK Bug - ViewAnimator Crash

2008-04-02 Thread guzarva
On Apr 3, 3:31 am, peter <[EMAIL PROTECTED]> wrote: > Hi, > > I've noticed that the ViewAnimator class will often crash with the > message: > > "Application Error: > [application] > > An error has occured in [application]. width and height must be > 0." > > I am fairly confident this is a proble

[android-developers] Re: how to make a View always display on Screen?

2008-04-02 Thread guzarva
On Apr 3, 3:28 am, Android-Berry <[EMAIL PROTECTED]> wrote: > Hi there, > > I want to create a view stick with screen, > what I means is like status bar, but is always at the bottom of > screen, > > for example, Create a view and it will show at the bottom of the > screen, > > maybe the screen h

[android-developers] Re: Monitor live objects in android app !!!

2008-04-02 Thread guzarva
On Apr 3, 3:56 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > The message of application not responding is not related to the memory > usage, but to the processor usage of you application. All processor > intensive tasks should be done in a seperate thread. > > On Apr 2, 9:45 pm, Niket Ana

[android-developers] Re: Monitor live objects in android app !!!

2008-04-02 Thread guzarva
On Apr 3, 2:45 am, Niket Anand <[EMAIL PROTECTED]> wrote: > Hello, > > I have been facing one problem while running the android app for > sometime. After playing with app for sometime, I usually see > application not responding messages, eventhough I am taking care of > not creating large number

[android-developers] Re: Display Context menu

2008-04-02 Thread guzarva
On Apr 3, 2:38 am, Android-Berry <[EMAIL PROTECTED]> wrote: > Hi There, > > If there is particular view with some specifical menu, > > When pushing menu, if focus is on that view, it will display > specifical menu, if not, it will not show up. > > How to implement this function? > > Thanks. --~-

[android-developers] Re: MapActivity onTouchEvent

2008-04-02 Thread guzarva
On Apr 3, 7:45 am, Alex B <[EMAIL PROTECTED]> wrote: > Indeed, you are right.  Using dispathTouchEvent worked.  Thank you > kindly! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

[android-developers] Re: MapActivity onTouchEvent

2008-04-02 Thread guzarva
On Apr 3, 2:37 am, Alex B <[EMAIL PROTECTED]> wrote: > Hi, > > Has anyone managed to override onTouchEvent within MapActivity?  I > know that overriding onTouchEvent in MapView is possible, and I have > done that, but I need to do it in MapActivity.  I see it in the API in > the section "Methods

[android-developers] Re: MapActivity onTouchEvent

2008-04-02 Thread guzarva
On Apr 3, 7:58 am, Alex B <[EMAIL PROTECTED]> wrote: > Sorry, I meant dispatchTouchEvent. I'm correcting it in case anyone > searches for that keyword. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Develop

[android-developers] Re: MapActivity onTouchEvent

2008-04-02 Thread guzarva
On Apr 3, 4:20 am, wonderoid <[EMAIL PROTECTED]> wrote: > You could try overriding the dispathTouchEvent method, i think it's > called before onTouchEvent > > On 2 Nisan, 22:37, Alex B <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > Has anyone managed to override onTouchEvent within MapActivity?

[android-developers] Re: Line separator (between views/controls on activity page)

2008-04-02 Thread guzarva
On Apr 3, 5:59 am, Ram <[EMAIL PROTECTED]> wrote: > Thanks Romain guy. I'll go with your suggestion > > Btw Harish, ListView.setDivider sets the divider between individual > lines within the listview and wouldn't be applicable to a separator > between a listview and other controls. > > On Apr 2,

[android-developers] Re: Line separator (between views/controls on activity page)

2008-04-02 Thread guzarva
On Apr 3, 2:52 am, "Harsh Jain" <[EMAIL PROTECTED]> wrote: > You can do a ListView.setDivider(Drawable d). or ListView.setDividerHeight. > > > > On Thu, Apr 3, 2008 at 1:00 AM, Romain Guy <[EMAIL PROTECTED]> wrote: > > > It's actually pretty easy. Just use a View and give it a small height. > >

[android-developers] Re: Line separator (between views/controls on activity page)

2008-04-02 Thread guzarva
On Apr 3, 6:06 am, "Harsh Jain" <[EMAIL PROTECTED]> wrote: > my bad i didnt read ur posting properly. > > > > On Thu, Apr 3, 2008 at 4:29 AM, Ram <[EMAIL PROTECTED]> wrote: > > > Thanks Romain guy. I'll go with your suggestion > > > Btw Harish, ListView.setDivider sets the divider between indivi

[android-developers] Re: ListView - make no item focused on startup?

2008-04-02 Thread guzarva
On Apr 3, 1:40 am, Mark Wyszomierski <[EMAIL PROTECTED]> wrote: > Hi, > > In my ListView, the first list item always gets selected. Is there a > way to just have NO item in the listview selected at startup? > Something like setSelection(-1)? > > Thanks --~--~-~--~~~--

[android-developers] Re: efficiency question: ViewInflate used for rows of a listview

2008-04-02 Thread guzarva
On Apr 3, 1:35 am, Craig <[EMAIL PROTECTED]> wrote: > Is there a more efficient way to create rows for a listview other than > to use ViewInflate over and over?  Is there much of a performance gain > by creating the views programmatically rather than in xml (although I > do perfer the maintainab

[android-developers] Re: Ability to have chapters in video files

2008-04-02 Thread guzarva
On Apr 3, 12:10 am, Cheryl Sedota <[EMAIL PROTECTED]> wrote: > iMovie/iTunes gives users the ability to mark chapters in their video > files.  Will Android's media player or content provider expose an API > for obtaining chapter info/metadata in the future? --~--~-~--~~~-

[android-developers] Re: web service

2008-04-02 Thread guzarva
On Apr 2, 10:57 pm, nEgaTivo <[EMAIL PROTECTED]> wrote: > Guys, > > How can I connect with a web service??? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send emai

[android-developers] Re: JPEG Byte Array in a WebView

2008-04-02 Thread guzarva
On Apr 2, 11:24 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > After hacking around a bit, I found out what the issue is.  My base64 > string being sent is correct; I test this by directly encoding the > base64 string into html using where the complete jpeg is embedded in base64.  I teste

[android-developers] Re: How can I determine if app is running on the emulator or a device.

2008-04-02 Thread guzarva
On Apr 2, 11:50 pm, Agus <[EMAIL PROTECTED]> wrote: > correction: > /lib/ddms.bat > > > > On Wed, Apr 2, 2008 at 12:49 PM, Agus <[EMAIL PROTECTED]> wrote: > > from the dalvik debug monitor > >  run ddms.exe in /lib/tools directory > > >  On Wed, Apr 2, 2008 at 11:27 AM, Brendan <[EMAIL PROTECTED

[android-developers] Re: commitUpdates with ContentProvider.update / ContentProvider.delete issue/misunderstanding?

2008-04-02 Thread guzarva
On Apr 2, 10:26 pm, "Carl H." <[EMAIL PROTECTED]> wrote: > Hello, > > I am trying to write logs for ContentProvided data is created, updated > and deleted. Thus I added Log.i(MYLOG, "update") in my ContentProvider > class as follow: > >     @Override >     public int update(Uri url, ContentValue

[android-developers] Re: How to get pictures files?

2008-04-02 Thread guzarva
On Apr 3, 12:39 am, "Dan U." <[EMAIL PROTECTED]> wrote: > I believe where/how they are stored is really up to the person writing > the app that uses the camera. My guess is that apps will (hopefully) > provide content providers to access them. > > On Apr 2, 6:38 am, "arthur" <[EMAIL PROTECTED]>

[android-developers] Re: Unable to set the image on an ImageView in code

2008-04-02 Thread guzarva
On Apr 2, 9:04 pm, xingye <[EMAIL PROTECTED]> wrote: > My code > > ImageView iv = > (ImageView)convertView.findViewById(R.id.image); > // iv.setImageResource(R.drawable.badge); > Uri uri = Uri.parse("http://www.yexing.org/ > im

[android-developers] Re: OpenGL ES Frame Buffers

2008-04-02 Thread guzarva
On Apr 3, 2:25 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Thank you for your prompt reply. > > The refine my question, I'm trying what I read about in may other > posts: 2D image processing.  I've been using the code sample you > mentioned to try to render to a SurfaceView but have had

[android-developers] Re: Can a GTalk message receiver know who sent the intent?

2008-04-02 Thread Peli
Thank you for this information. I had not found it in the documentation. Regarding the security issue, both, Juan and you, suggest to perform whatever security checks are necessary for my needs. But let me ask again: I'm not worried about the intents that I have control about. I could program th

[android-developers] Re: How to change menu background and "More" button image?

2008-04-02 Thread guzarva
On Apr 2, 6:20 pm, bloodcarter <[EMAIL PROTECTED]> wrote: > How to work with IconMenuView? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-deve

[android-developers] Re: Resources in the base system theme

2008-04-02 Thread guzarva
On Apr 2, 5:52 pm, David Given <[EMAIL PROTECTED]> wrote: > I'm trying to make some custom user interface elements that mimic the > look of the standard user interface elements with some additional > features --- for example, I want to make a list that looks like the menu > you get with 'API Dem

[android-developers] Re: Cant created non-interactive ListView

2008-04-02 Thread guzarva
On Apr 3, 2:51 am, "Harsh Jain" <[EMAIL PROTECTED]> wrote: > I use the list view to display a constantly changing list of items from an > SQL table. Using ListView lets me use the cursor adapters which keep the > view in sync automatically. But I guess I will go with your suggestion as > using a

[android-developers] Re: Cant created non-interactive ListView

2008-04-02 Thread guzarva
On Apr 2, 5:33 pm, "Harsh Jain" <[EMAIL PROTECTED]> wrote: > Hi, >  I need to create a list view, which doesnt response to user interactions, > it should be non-clickable, and user should not be able to scroll through > it. > I tried the following >         ListView lv = getListView(); >        

[android-developers] Re: How can I play the remote media files in M5 sdk?if there is differences between audio and video ?

2008-04-02 Thread guzarva
On Apr 2, 4:14 pm, Vampire <[EMAIL PROTECTED]> wrote: > Hi everybody, >      I have tried to play the local media files using the code below. >                 mMediaplayer = > (VideoView)findViewById(R.id.video_view); >                // mMediaplayer.setVideoURI( Uri.parse( "http:// > daily3gp.

[android-developers] Re: web browser and dialog theme

2008-04-02 Thread guzarva
On Apr 2, 3:58 pm, dr123 <[EMAIL PROTECTED]> wrote: > Hi, > > I have an acivity which opens another floating activity which opens a > web browser intent. > After the back button from the webbrowser there is the floating > activity and beneath it there are the checkered squares and not the > firs

[android-developers] Re: How to connect to a server that runs on a localhost with the same eclipse program as the emulator?

2008-04-02 Thread guzarva
On Apr 2, 3:56 pm, "Dan U." <[EMAIL PROTECTED]> wrote: > Right, the emulator thinks localhost is itself. You should be able to > specify the actual ip address of your computer when you make a > connection. > > On Apr 2, 1:43 am, "E.D.I" <[EMAIL PROTECTED]> wrote: > > > > > How to connect to a se

[android-developers] Re: How to connect to a server that runs on a localhost with the same eclipse program as the emulator?

2008-04-02 Thread guzarva
On Apr 2, 6:08 pm, Digit <[EMAIL PROTECTED]> wrote: > within the emulator, address 10.0.2.2 is a special alias that connects > directly to your development machine's localhost (i.e. you r own 127.0.0.1) > > > > On Wed, Apr 2, 2008 at 10:56 AM, Dan U. <[EMAIL PROTECTED]> wrote: > > > Right, the e

[android-developers] Re: How to connect to a server that runs on a localhost with the same eclipse program as the emulator?

2008-04-02 Thread guzarva
On Apr 2, 3:43 pm, "E.D.I" <[EMAIL PROTECTED]> wrote: > How to connect to a server that runs on a localhost with the same > eclipse program as the emulator? > > i need the emulator to connect to a server > both of them are in the building process so they both > are running on the same eclipse fo

[android-developers] Re: MapActivity onTouchEvent

2008-04-02 Thread Alex B
Sorry, I meant dispatchTouchEvent. I'm correcting it in case anyone searches for that keyword. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-d

[android-developers] Re: MapActivity onTouchEvent

2008-04-02 Thread Alex B
Indeed, you are right. Using dispathTouchEvent worked. Thank you kindly! --~--~-~--~~~---~--~~ 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@googlegrou

[android-developers] extra libraries for android

2008-04-02 Thread Carl H.
Hello, I have been reusing a lot of code across several sample applications while developing android. I am trying to refactor most of my code so I could package it into a general jar. I would like to share what I have so far; in order for others to add their own code snippet into the extra librar

[android-developers] Re: LocationManager crashes app, every time

2008-04-02 Thread Harsh Jain
are you running this in a second emulator by any chance ? On Thu, Apr 3, 2008 at 5:35 AM, JoeB <[EMAIL PROTECTED]> wrote: > > Hi, > > Any advice on this would help--I can never get a provider from > LocationManager (there is supposed to be a mock one at least, and I > can see the data for it by u

[android-developers] LocationManager crashes app, every time

2008-04-02 Thread JoeB
Hi, Any advice on this would help--I can never get a provider from LocationManager (there is supposed to be a mock one at least, and I can see the data for it by using "adb shell"). I also can't get locations or anything else. Any of the following statements crash the application, every time (t

[android-developers] Re: ODBC Driver

2008-04-02 Thread Megha Joshi
Did you try the groups search that I mentioned earlier? There are a couple of posts on the groups about ways of using external databases. On Wed, Apr 2, 2008 at 3:34 PM, ScottG <[EMAIL PROTECTED]> wrote: > > Thanks much, Mega. I use the inbuilt SQLite DB extensively. The hope > was to contact a

[android-developers] Re: Line separator (between views/controls on activity page)

2008-04-02 Thread Harsh Jain
my bad i didnt read ur posting properly. On Thu, Apr 3, 2008 at 4:29 AM, Ram <[EMAIL PROTECTED]> wrote: > > Thanks Romain guy. I'll go with your suggestion > > Btw Harish, ListView.setDivider sets the divider between individual > lines within the listview and wouldn't be applicable to a separator

[android-developers] Re: Line separator (between views/controls on activity page)

2008-04-02 Thread Ram
Thanks Romain guy. I'll go with your suggestion Btw Harish, ListView.setDivider sets the divider between individual lines within the listview and wouldn't be applicable to a separator between a listview and other controls. On Apr 2, 12:52 pm, "Harsh Jain" <[EMAIL PROTECTED]> wrote: > You can do

[android-developers] Re: ODBC Driver

2008-04-02 Thread ScottG
Thanks much, Mega. I use the inbuilt SQLite DB extensively. The hope was to contact a database outside of Android. But alas! Cheers, Scott On Apr 1, 2:38 pm, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > Hi, > > The SDK does not support this, there is no JDBC driver code distributed with > Andro

[android-developers] Re: Can Spinner OnItemSelectedListener use View's drawable state to detect drop-down?

2008-04-02 Thread Megha Joshi
Hi Todd, Its not clear to me what you are trying to do, I read twice through your post, but I couldn't figure it out. Thanks, Megha On Wed, Apr 2, 2008 at 1:57 PM, lee.t <[EMAIL PROTECTED]> wrote: > > Seems there have been a lot of questions regarding the selection model > for the spinner (ie -

[android-developers] Re: making a http post call from an andriod app to web app

2008-04-02 Thread Megha Joshi
Hi, Could you provide the following additional information: 1) SDK version 2) logcat output. 3) check if conn object is null after calling url.openConnection().. Thanks, Megha On Wed, Apr 2, 2008 at 2:24 PM, yizhao <[EMAIL PROTECTED]> wrote: > > I posted a similar question in the beginner gr

[android-developers] WebView History use?

2008-04-02 Thread [EMAIL PROTECTED]
I'm working on a custom html browser using WebView.loadData(). I'm trying to implement a back button feature, but it seems that loadData doesn't update the history, and I have no way to do it myself. private WebView wv; private boolean goBack = false; public void onCreate(Bundle icicle) { sup

[android-developers] making a http post call from an andriod app to web app

2008-04-02 Thread yizhao
I posted a similar question in the beginner group but didn't get what I was looking for so I'm trying my luck here : ). I have a simple android app. In one of the Activity's onCreate() method, I have some code to make a http post (this code is tested in an independent java program and works):

[android-developers] Re: MapActivity onTouchEvent

2008-04-02 Thread wonderoid
You could try overriding the dispathTouchEvent method, i think it's called before onTouchEvent On 2 Nisan, 22:37, Alex B <[EMAIL PROTECTED]> wrote: > Hi, > > Has anyone managed to override onTouchEvent within MapActivity? I > know that overriding onTouchEvent in MapView is possible, and I have >

[android-developers] Can Spinner OnItemSelectedListener use View's drawable state to detect drop-down?

2008-04-02 Thread lee.t
Seems there have been a lot of questions regarding the selection model for the spinner (ie - no OnItemClicked, only OnItemSelected listeners, making it difficult to use callbacks which respond to 'final' item selection and not every 'browsing' selection in between). Most proposed solutions to this

[android-developers] Re: Monitor live objects in android app !!!

2008-04-02 Thread [EMAIL PROTECTED]
The message of application not responding is not related to the memory usage, but to the processor usage of you application. All processor intensive tasks should be done in a seperate thread. On Apr 2, 9:45 pm, Niket Anand <[EMAIL PROTECTED]> wrote: > Hello, > > I have been facing one problem whi

[android-developers] Re: Can a GTalk message receiver know who sent the intent?

2008-04-02 Thread [EMAIL PROTECTED]
The intent does contain the sender of the intent. If you use intent.getStringExtra("from") you will get the senders jid. If you only want to process intent from a select group of people you will need to add a check before processing it. On Mar 31, 4:35 pm, Peli <[EMAIL PROTECTED]> wrote: > I have

[android-developers] Re: addRemoteChatListener in IGTalkSession

2008-04-02 Thread Lev
I haven't quite understood what to implement into the asBinder method. Could you help me out? Thanks a lot. On Mar 11, 4:22 am, Ed <[EMAIL PROTECTED]> wrote: > The methods you declared should be methods on a new > IChatListener.Stub(), not a IChatListener.  So if your > IChatListener.Stub is cal

[android-developers] Re: How to get a GL11Ext instance to call OpenGL Extension functions?

2008-04-02 Thread Toothy Bunny
Hi Romain, Thanks for your suggestion. I'll need to use GL11Ext.drawTexiOES() to draw 2D image in OpenGL context. I understand that we need to check the availablilty of GL extension function before we use it. Do you know how to check the ability? Using glGetString()? Thanks, hongkun www.omnigsoft.

[android-developers] Re: Can a GTalk message receiver know who sent the intent?

2008-04-02 Thread jtaylor
The intent receiver is only a gateway though. I suppose you can receive the intent and do whatever security check needs to be done in what follows the intent receiver. - Juan On Mar 31, 10:35 am, Peli <[EMAIL PROTECTED]> wrote: > I have the following conceptual question: > > If I look at the GT

[android-developers] SDK Bug - ViewAnimator Crash

2008-04-02 Thread peter
Hi, I've noticed that the ViewAnimator class will often crash with the message: "Application Error: [application] An error has occured in [application]. width and height must be > 0." I am fairly confident this is a problem with the SDK. It appears to me that the problem is easier to reproduc

[android-developers] how to make a View always display on Screen?

2008-04-02 Thread Android-Berry
Hi there, I want to create a view stick with screen, what I means is like status bar, but is always at the bottom of screen, for example, Create a view and it will show at the bottom of the screen, maybe the screen holds tabview or linearlayout view that holds lots of view, which is needed to s

[android-developers] Re: Line separator (between views/controls on activity page)

2008-04-02 Thread Harsh Jain
You can do a ListView.setDivider(Drawable d). or ListView.setDividerHeight. On Thu, Apr 3, 2008 at 1:00 AM, Romain Guy <[EMAIL PROTECTED]> wrote: > > It's actually pretty easy. Just use a View and give it a small height. > For instance: > > android:layout_width="fill_parent" > android:layout_h

[android-developers] Re: Cant created non-interactive ListView

2008-04-02 Thread Harsh Jain
I use the list view to display a constantly changing list of items from an SQL table. Using ListView lets me use the cursor adapters which keep the view in sync automatically. But I guess I will go with your suggestion as using a simple view may be more efficient. regards, harsh On Wed, Apr 2, 20

[android-developers] Monitor live objects in android app !!!

2008-04-02 Thread Niket Anand
Hello, I have been facing one problem while running the android app for sometime. After playing with app for sometime, I usually see application not responding messages, eventhough I am taking care of not creating large number of objects. Can anyone suggest what is the exact problem which led to

[android-developers] Display Context menu

2008-04-02 Thread Android-Berry
Hi There, If there is particular view with some specifical menu, When pushing menu, if focus is on that view, it will display specifical menu, if not, it will not show up. How to implement this function? Thanks. --~--~-~--~~~---~--~~ You received this message

[android-developers] MapActivity onTouchEvent

2008-04-02 Thread Alex B
Hi, Has anyone managed to override onTouchEvent within MapActivity? I know that overriding onTouchEvent in MapView is possible, and I have done that, but I need to do it in MapActivity. I see it in the API in the section "Methods inherited from class android.app.Activity". I have written the c

[android-developers] Re: Line separator (between views/controls on activity page)

2008-04-02 Thread Romain Guy
It's actually pretty easy. Just use a View and give it a small height. For instance: On Wed, Apr 2, 2008 at 12:28 PM, Ram <[EMAIL PROTECTED]> wrote: > > Hi, I have a somewhat simple UI question. > > I'd like to draw a clear separator (a single line or double-edged > line) between a button an

[android-developers] Line separator (between views/controls on activity page)

2008-04-02 Thread Ram
Hi, I have a somewhat simple UI question. I'd like to draw a clear separator (a single line or double-edged line) between a button and a listview. One way to draw the separator might be to place a custom view inbetween the two controls (and implement the custom view to draw a line). However, I'm

[android-developers] Re: OpenGL ES Frame Buffers

2008-04-02 Thread [EMAIL PROTECTED]
Thank you for your prompt reply. The refine my question, I'm trying what I read about in may other posts: 2D image processing. I've been using the code sample you mentioned to try to render to a SurfaceView but have had some difficulty. The gl method I'm used to using is DrawPixels and ReadPixe

[android-developers] ListView - make no item focused on startup?

2008-04-02 Thread Mark Wyszomierski
Hi, In my ListView, the first list item always gets selected. Is there a way to just have NO item in the listview selected at startup? Something like setSelection(-1)? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Starting my application from browser using MIME Type Intent

2008-04-02 Thread Amos
Hello, I'm trying to make the browser start my application after a file with a specific MIME content type is downloaded. I've followed some hints and tips from the forum - but have not succeeded so far. >From the errors I'm getting I'm not sure if I'm doing something wrong - or if this feature i

[android-developers] efficiency question: ViewInflate used for rows of a listview

2008-04-02 Thread Craig
Is there a more efficient way to create rows for a listview other than to use ViewInflate over and over? Is there much of a performance gain by creating the views programmatically rather than in xml (although I do perfer the maintainability of the xml approach)? Since I am inflating the same def

[android-developers] Re: How to get pictures files?

2008-04-02 Thread Dan U.
I believe where/how they are stored is really up to the person writing the app that uses the camera. My guess is that apps will (hopefully) provide content providers to access them. On Apr 2, 6:38 am, "arthur" <[EMAIL PROTECTED]> wrote: > Hi, > > I am developing the application in which I need ac

[android-developers] Ability to have chapters in video files

2008-04-02 Thread Cheryl Sedota
iMovie/iTunes gives users the ability to mark chapters in their video files. Will Android's media player or content provider expose an API for obtaining chapter info/metadata in the future? --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: Cant created non-interactive ListView

2008-04-02 Thread Joe Onorato
Hi, If you don't need all of the features that ListView provides, you should use LinearLayout instead. -joe On Wed, Apr 2, 2008 at 3:33 AM, Harsh Jain <[EMAIL PROTECTED]> wrote: > Hi, > I need to create a list view, which doesnt response to user interactions, > it should be non-clickable, and

[android-developers] Re: How can I determine if app is running on the emulator or a device.

2008-04-02 Thread Agus
correction: /lib/ddms.bat On Wed, Apr 2, 2008 at 12:49 PM, Agus <[EMAIL PROTECTED]> wrote: > from the dalvik debug monitor > run ddms.exe in /lib/tools directory > > > > > On Wed, Apr 2, 2008 at 11:27 AM, Brendan <[EMAIL PROTECTED]> wrote: > > > > > > Is there someway in code to tell if an

[android-developers] Re: stand-alone notepad content provider insert error

2008-04-02 Thread logisic
i appreciate your reply. i did what you suggested but somehow i'm still getting the same error. any other ideas? On Mar 31, 11:23 pm, haitian <[EMAIL PROTECTED]> wrote: > Maybe you database is collision or error. you can try to wipe all the > emulator data. > > In DOS command, change the current

[android-developers] Re: How can I determine if app is running on the emulator or a device.

2008-04-02 Thread Agus
from the dalvik debug monitor run ddms.exe in /lib/tools directory On Wed, Apr 2, 2008 at 11:27 AM, Brendan <[EMAIL PROTECTED]> wrote: > > > Is there someway in code to tell if an application is running on the > emulator, on the device. I can't see how it coul dbe checked. Maybe > there is so

[android-developers] Re: Cant created non-interactive ListView

2008-04-02 Thread Agus
boolean isBlockAllEvents = false; this.setFocusableInTouchMode(!isBlockAllEvents); this.setClickable(!isBlockAllEvents); this.setFocusable(!isBlockAllEvents); this.setBlockDescendantFocus(isBlockAllEvents); Agus. On Wed, Apr 2, 2008 at 6:33 AM, Harsh Jain <[EMAIL PROTECTED]> wrote: > Hi, > I

[android-developers] Re: JPEG Byte Array in a WebView

2008-04-02 Thread [EMAIL PROTECTED]
After hacking around a bit, I found out what the issue is. My base64 string being sent is correct; I test this by directly encoding the base64 string into html using where the complete jpeg is embedded in base64. I tested the Base64 string I'm sending to the webview in firefox and it worked. T

[android-developers] web service

2008-04-02 Thread nEgaTivo
Guys, How can I connect with a web service??? --~--~-~--~~~---~--~~ 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 t

  1   2   >