[android-developers] How to drag a big size image in an activity

2008-11-17 Thread Ernest
Hi, I want to finish such an activity,the activity only contains one big size image view which can't be show complete in the screen.So I want to make it like a mapview,user could drag the screen with the image moving.Do you think imageView could do these and how to do it? Thank you very much.

[android-developers] get position of cursor in EditText

2008-11-17 Thread Alex B
Hi! How does one determine the position of the cursor in android.widget.EditText? I am dealing with a situation where the user should be able to touch the text view, positioning the cursor where their finger touched, and then be able to press a virtual "backspace" button (on the screen), expecti

[android-developers] Re: How to debug G1 on Vista 64

2008-11-17 Thread Koush
There is now a 64 bit version of the drivers. http://www.koushikdutta.com/2008/11/android-debug-bridge-x64-windows.html On Nov 14, 6:05 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > Robert Green wrote: > > Anyone?? > > I am not aware of a 64-bit Vista driver for the G1, though I'm not a > Vista

[android-developers] Re: Can anyone clarify this part of the developer's agreement?

2008-11-17 Thread Morisato13
Sorry, I need a bit more clarification. This only pertains to using personal data to advertise right? So for example, if Burger King paid me some money to develop a BK themed game that was plastered with BK ads and yelled out "Buy a Whopper!" every time a player beat a level... that would be fine

[android-developers] Re: :: How to store the Higest Scores of the players who download my Game

2008-11-17 Thread Andrew Stadler
Imran- You might take a look at the Google App Engine, . --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-dev

[android-developers] Re: attempt to acquire a reference on a close SQLiteClosable

2008-11-17 Thread akurni
Anybody cab help me with this problem? On Nov 14, 5:35 pm, akurni <[EMAIL PROTECTED]> wrote: > Hi, > > I have trouble using the setTextFilterEnabled() on a list view. > I got this Runtime exception "attempt to acquire a reference on a > close SQLiteClosable". This exception only occurs when I did

[android-developers] Re: Does android calendar support meeting request?

2008-11-17 Thread plargo
Nobody knows this? On 11月17日, 下午2时40分, plargo <[EMAIL PROTECTED]> wrote: > BTW > what does it actually mean for below code comments? > private void updateEventAttendeeStatus(SQLiteDatabase db, > ContentValues attendeeValues) { >// Get the event id for this attendee >long eventId =

[android-developers] Re: :: How to store the Higest Scores of the players who download my Game

2008-11-17 Thread Imran
Hi How can be it done using web service.. ? cheers, Imran On Nov 17, 9:25 pm, g1bb <[EMAIL PROTECTED]> wrote: > It sounds like you'll want to store the scores in your own database on > the Internet somewhere. Whether this would best be done through a web > service or something si

[android-developers] Re: If I am not using "ListActivity" do I need to id a ListView as the predefined id "android:id/list"?

2008-11-17 Thread Romain Guy
If you don't use ListActivity, there is no reason to use this id :) On Mon, Nov 17, 2008 at 8:02 PM, Satya Komatineni <[EMAIL PROTECTED]> wrote: > > If I am not using "ListActivity" do I need to id a ListView as the > predefined id "android:id/list"? > > Whose contract is "android:id/list"? Is th

[android-developers] How to check if System Wallpaper is now Visible to the user?

2008-11-17 Thread Kakyoin
Hi. I'm creating a Service that will run in the background and do many tasks. And one of those tasks will need to verify that the wallpaper is currently visible to the user or not. Is threre a way to check(by code) if the System Wallpaper is currently 'visible' to the user? (eg. when the user i

[android-developers] If I am not using "ListActivity" do I need to id a ListView as the predefined id "android:id/list"?

2008-11-17 Thread Satya Komatineni
If I am not using "ListActivity" do I need to id a ListView as the predefined id "android:id/list"? Whose contract is "android:id/list"? Is this used only by ListActivity or is it used somewhere else as well such as the ListAdapter? Thanks Satya --~--~-~--~~~---~--~-

[android-developers] Re: .getSelectedItemId() always selecting 0 when using the touch screen

2008-11-17 Thread Protocol-X
Actually i figured that out between posts... but since you cannot use an int on creating the context menu i run into the same issue on any item that requires a long click On Nov 17, 10:43 pm, Romain Guy <[EMAIL PROTECTED]> wrote: > This is perfectly normal. Just use the position parameter given t

[android-developers] Re: .getSelectedItemId() always selecting 0 when using the touch screen

2008-11-17 Thread Romain Guy
This is perfectly normal. Just use the position parameter given to you in onListItemClick(). On Mon, Nov 17, 2008 at 7:08 PM, Protocol-X <[EMAIL PROTECTED]> wrote: > > Hello all, > > I have been dealing with this issue for a long time and have yet to > find a solution online anywhere. > > Using a

[android-developers] Re: Listening for dynamic buttons created by an adapter

2008-11-17 Thread Mark Murphy
alexdonnini wrote: > Next, I need to make sure that each and every "kill" button is wired, > not just the one for the first item in the list. > > In order to do that, do you think it would be sufficient to set up a > loop ranging across all members of the dataset (in my case an > ArrayList) in ge

[android-developers] Re: Re-use Layouts

2008-11-17 Thread Mark Murphy
cyntacks wrote: > Got it, Mark you were absolutley correct (and I am sure you knew > that!). I didn't realize the screenOrientation was to be set in the > Manifest > > Thanks so much, works like a charm... Sorry for not being clear the first time. -- Mark Murphy (a Commons Guy) http://comm

[android-developers] Re: Re-use Layouts

2008-11-17 Thread cyntacks
Got it, Mark you were absolutley correct (and I am sure you knew that!). I didn't realize the screenOrientation was to be set in the Manifest Thanks so much, works like a charm... Kevin On Nov 17, 9:25 pm, cyntacks <[EMAIL PROTECTED]> wrote: > Hi Mark, > > Thanks for the help, I am amazed I

[android-developers] .getSelectedItemId() always selecting 0 when using the touch screen

2008-11-17 Thread Protocol-X
Hello all, I have been dealing with this issue for a long time and have yet to find a solution online anywhere. Using a ListAvtivity i encounter an issue with jsut the touch screen. below is a quick example of the code: WHen using the trackball everything is correct but when using the touch scre

[android-developers] Re: Listening for dynamic buttons created by an adapter

2008-11-17 Thread alexdonnini
Hello again Mark, Thanks for the help. I really appreciate it. It worked. I also had to move the button wiring section after the view set-up section. Next, I need to make sure that each and every "kill" button is wired, not just the one for the first item in the list. In order to do that, do yo

[android-developers] Re: How to call RIL?

2008-11-17 Thread Jeff Hamilton
> Thanks for your reply. > But the TelephonyManager doesn't provide enough information for us. > We really need to get more informaiton from the RIL layer. What information do you need from the RIL that isn't provided by the TelephonyManager APIs? -Jeff --~--~-~--~~~

[android-developers] Re: How to call RIL?

2008-11-17 Thread blues
Thanks for your reply. But the TelephonyManager doesn't provide enough information for us. We really need to get more informaiton from the RIL layer. We hope we can reuse the code we see. It seems the open source code are just "read only". We cannot use it, neither rewrite it. Our app runs on Wi

[android-developers] Re: Re-use Layouts

2008-11-17 Thread cyntacks
Hi Mark, Thanks for the help, I am amazed I have been developing on Android for 5 months and never came across this! BUT, alas, it didn't work. What I am looking to do is force "portrait" when the phone is in Landscape, even though I added android:screenOrientation="portrait" to the xml view my

[android-developers] Re: Setting Proxy on a Real Device

2008-11-17 Thread Jongseok,Park
Hi.. I guess that emulator only supports proxy access. When I reviewed source code, I found only proxy setting in qemu source . (proxy_http_setup(), android_main.c in /external/qemu/) Does anyone know how to access proxy on real device? Should we modify source code to access proxy? Plz..Help us~

[android-developers] positron 1.0 (an acceptance testing tool) and android-ant

2008-11-17 Thread philhsmith
Hello all! It's been a long while, but a new version of positron is out! Positron is a story runner / acceptance testing tool for android in the spirit of selenium or watir. With it, you can * Manipulate your application by pressing keys, touching the screen or trackball, using the menus, etc

[android-developers] Re: MediaPlayer looping bug?

2008-11-17 Thread Cool Frood
In that case, you can perhaps mark Issue 1314 (http://code.google.com/ p/android/issues/detail?id=1314) as invalid/duplicate. I filed this yesterday On Nov 17, 12:33 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Yes, we should document it - I logged a bug. We needed a way to > specify tha

[android-developers] download APK from google marketplace to android device besides G1?

2008-11-17 Thread mattR
Hi, I have Android running on a development platform that is not a G1 phone. Is it possible to download applications from the google marketplace to my device? I am able to put an APK onto my device from my PC, but is there a way to download APK to my PC from the google marketplace? Thanks Matt

[android-developers] Re: Re-use Layouts

2008-11-17 Thread Mark Murphy
cyntacks wrote: > How do I force the view to always be layout-port-480X320? Well, you can't force 480x320, if the device doesn't happen to work at that resolution. In terms of portrait, though, add: android:screenOrientation="portrait" to every affected activity. -- Mark Murphy (a Commons G

[android-developers] Re: Playing sounds multiple times using MediaPlayer

2008-11-17 Thread Cool Frood
Thanks for the tip. I'll try OGG again. I started with OGG initially but I got thrown off by the "ANDROID_LOOP=true" metadata in the OGG file (as I've mentioned in another thread. -Akshat On Nov 17, 12:33 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Use OGG insteaed of WAVE. You'll fin

[android-developers] Re-use Layouts

2008-11-17 Thread cyntacks
Hi, I have finally finished my app but I am running into a last minute "detail". I built the app using the layout-port-480X320 for the screen size. The app does not require input from the keyboard so "landscape" is not a valid layout. But, if the user opens the keyoboard Android searches for a la

[android-developers] Re: How to call RIL?

2008-11-17 Thread Jeff Hamilton
The RIL is an internal mechanism that the system uses to communicate with the radio stack. It's not meant for consumption by applications, the TelephonyManager class provides the application level telephony APIs. -Jeff On Mon, Nov 17, 2008 at 5:44 PM, blues <[EMAIL PROTECTED]> wrote: > > How to

[android-developers] Re: How to access native functions in standard library?

2008-11-17 Thread Urakagi
Thank you David. Now I can concentrate on other works. On 11月18日, 上午1時18分, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Most JNI functions are registered with the VM during runtime boot. > > FYI, the 1.0 SDK does not support native code development. If you > proceed along this path, be aware

[android-developers] Re: Question about ServerSocket

2008-11-17 Thread linker lv
public static final int SERVERPORT = ; public void server() { DataOutputStream os=null; DataInputStream is = null; ServerSocket socket = null; Socket ClientSocket = null; String out = null; try { socket = new ServerSocket(SERVER

[android-developers] How to call RIL?

2008-11-17 Thread blues
How to call the RIL functions? I saw the source code of com.android.internal.telephony.gsm.RIL. But I don't see them in the andorid.jar. Is there a way to use it? I know it is not a standard way. --~--~-~--~~~---~--~~ You received this message because you are subsc

[android-developers] Re: Comunication Server->Phone: SMS directed to an application (0.9 SDK)

2008-11-17 Thread Jonathan Herriott
So the real issue is that the SMSBroadcaster does not do an ordered broadcast. Even if this were fixed, it would still be a problem in how you can gurantee someone doesn't try and put a higher priority to receive your events and bash you. They implemented incoming/outgoing call broadcasters to b

[android-developers] Re: Help!! About browser the file!

2008-11-17 Thread 心蓝
That's good!! yesterday i did it!! we can read the file from the sdcar!! Thanks! 2008/11/17 erkenoid <[EMAIL PROTECTED]> > > Can you be a bit more specific? Do you want to read a file, like > launching an mp3 or showing a picture from /data or /sdcard, or do you > want to review what's in th

[android-developers] Re: PhoneStateListener not called until Phone Activity completes...

2008-11-17 Thread dreamerBoy
I thinks I answered my own question again. The problem appears to be with the Android Service object. I was using an instance of the Service object to do my synchronization. In normal Java, when you call wait() inside of a synchronization block, the thread is supposed to release the monitor so

[android-developers] Re: Compressed Camera Images

2008-11-17 Thread blindfold
BTW, how reliable is this shutter trick? http://code.google.com/android/reference/android/hardware/Camera.ShutterCallback.html states that onShutter() is called *after* taking the picture, but before the data is available. Now that data must be derived from the picture, right? So setting picture

[android-developers] Re: Set an EditText view editable or not

2008-11-17 Thread Alvin Yates
I think what you're describing is in fact here: http://code.google.com/android/reference/android/widget/TextView.html#setText(java.lang.CharSequence,%20android.widget.TextView.BufferType) On Nov 17, 11:59 am, CG <[EMAIL PROTECTED]> wrote: > Hi all, > > I am facing an issue ... > I explain the

[android-developers] Re: support for ad2p and others

2008-11-17 Thread Kaisershrout
I recently read something to that effect but you have have conveyed the point with a bit more eloquence. That being the case, I will be watching the API on my fedora distribution and waiting for the stable release in that case. Thanks for the reply. --~--~-~--~~~---~-

[android-developers] Re: Compressed Camera Images

2008-11-17 Thread blindfold
Yep, and the setPictureSize(480,320) works fine on the G1 when taking of this asynchronous processing. On Nov 17, 11:48 pm, Alvin Yates <[EMAIL PROTECTED]> wrote: > Okay, so I figured out what the problem with a series of back-and- > forth emails with blindfold. > > Basically, the camera API is a

[android-developers] Re: Clickable Linear Layout

2008-11-17 Thread G
Figured it out... For those with the same problem, just set the background of the Layout to @android:drawable/list_selector_background On Nov 17, 4:16 pm, G <[EMAIL PROTECTED]> wrote: > Hi, I've got a Linear Layout that I'm trying to make clickable... I've > got the click functionality working j

[android-developers] Re: Compressed Camera Images

2008-11-17 Thread Alvin Yates
Okay, so I figured out what the problem with a series of back-and- forth emails with blindfold. Basically, the camera API is asynchronous to the point where my setting the parameters on onSurfaceChanged() is not actually occurring as it should be. In short, you need to have something that will

[android-developers] Re: how to use TouchDelegate

2008-11-17 Thread hackbod
It is pretty broken, I would recommend against using it. On Nov 17, 12:51 pm, Huebi <[EMAIL PROTECTED]> wrote: > I have tried to use the TouchDelegate class but couldn't figure out > how to really do it. It is terribly documented. Has anyone succeeded > with it? I want to extend the touchable reg

[android-developers] Re: Listening for dynamic buttons created by an adapter

2008-11-17 Thread Mark Murphy
alexdonnini wrote: > Hello Mark, If you're referring to me, hi! > I read carefully your very good tutorials on lists Thanks! > b) The button which is wired does not act on the desired item because > the value of the "position" parameter returned by getView. That's because you're not holding o

[android-developers] PhoneStateListener not called until Phone Activity completes...

2008-11-17 Thread dreamerBoy
Hi - I'm having a problem with my PhoneStateListener not being called until after the Phone Activity is finished. Here is what I am doing: step 1: Install a PhoneStateListener. The listener is supposed to call notify() (synchronized on the lock object) when it detects a change in the phone st

[android-developers] Re: Listening for dynamic buttons created by an adapter

2008-11-17 Thread alexdonnini
Hello Mark, I have been trying to implement the same functionality as Moazzam. Specifically, I want each row in my list to have a "delete" (in my case a process kill) button. I read carefully your very good tutorials on lists, and tried to follow the approach you describe in tutorial #5 (see the

[android-developers] Clickable Linear Layout

2008-11-17 Thread G
Hi, I've got a Linear Layout that I'm trying to make clickable... I've got the click functionality working just fine, but I was hoping for the background color to change when it has focus (like an item in a ListView). Can anyone help me do this? Below is the xml of the LinearLayout...

[android-developers] how to use TouchDelegate

2008-11-17 Thread Huebi
I have tried to use the TouchDelegate class but couldn't figure out how to really do it. It is terribly documented. Has anyone succeeded with it? I want to extend the touchable region of a small button. If you do it programatically you need bounds but in onCreate and onResume the position and boun

[android-developers] Upgrading vs. Stats bug

2008-11-17 Thread Teo
Can we at least be given a general idea when this Market issue will be fixed? Thanks, Teo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develo

[android-developers] Set an EditText view editable or not

2008-11-17 Thread CG
Hi all, I am facing an issue ... I explain the behaviour I like to have : I have several edittext views. Since they are in a "overriden" class of Edit text, they have a specific look and feel. I would like to have for them the customized L&F when my application starts and when people look at my

[android-developers] Re: Is it necessary for an activity to be in manifest.xml for that to be invoked by its explicit component name?

2008-11-17 Thread Mark Murphy
Satya Komatineni wrote: > wonder if that could not be done at run time and not > needing that activity to be in the manifest when that activity is > purely internal. Sorry, it is required to be in the manifest, AFAIK. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide

[android-developers] Re: Is it necessary for an activity to be in manifest.xml for that to be invoked by its explicit component name?

2008-11-17 Thread Satya Komatineni
Mark, Thanks. I suppose it needs to be in there to kick off the activity life cycle etc. wonder if that could not be done at run time and not needing that activity to be in the manifest when that activity is purely internal. Thanks again Satya On Mon, Nov 17, 2008 at 2:09 PM, Mark Murphy <[EMAIL

[android-developers] Re: How to make a Service run ONLY when no other app is running?

2008-11-17 Thread hackbod
To auto-stop when the user launches another app (I assume from your own), you can just look at the pause or stop call of your own activities. For starting when other apps are "closed", there is no way to do this, it really isn't in the Android application model. It is completely normal for a use

[android-developers] Re: Is it necessary for an activity to be in manifest.xml for that to be invoked by its explicit component name?

2008-11-17 Thread Mark Murphy
Satya Komatineni wrote: > Is it necessary for an activity to be in manifest.xml for that to be > invoked by its explicit component name? Yes, but... > And also what are the minimal intent filters that are needed? No intent filters are needed for an activity that is "to be invoked by its explic

[android-developers] Is it necessary for an activity to be in manifest.xml for that to be invoked by its explicit component name?

2008-11-17 Thread Satya Komatineni
Is it necessary for an activity to be in manifest.xml for that to be invoked by its explicit component name? And also what are the minimal intent filters that are needed? What I noticed is the following: 1. The activity has to be in the manifest.xml 2. It doesn't seem to need any additional fil

[android-developers] Re: DatagramSocket - unknown error exception

2008-11-17 Thread Nitin Khanna
Hi! I figured out the solution. Its just another permission we have to declare we use android.permission.INTERNET. Rgds Nitin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

[android-developers] DatagramSocket - unknown error exception

2008-11-17 Thread Nitin Khanna
Hi! Folks, I have recently upgraded my application to the recent version of Android SDK and since, the upgrade I am facing a strange problem. The problem is as follows: DatagramSocket socket; int port = 5060; socket = new DatagramSocket(port); When the application executes this API, I get a So

[android-developers] KSOAP2 and .NET web service

2008-11-17 Thread pk
Please help, I have spend days trying to get this to work without any luck. I am calling a .NET web service with the latest (ksoap2-j2se- full-2.1.2.jar) build. I can get responces with the servcice returning basic strings and ints but I cannot get the service to take parameters in. The code below

[android-developers] Android Market's "Publish" Button does nothing

2008-11-17 Thread xMemphisx
I'm a bit upset, to say the least. I registered for the market, paid the 25$, and when i hit "publish" after setting up an app for the store, nothing happens. I've tried it on both Opera, and Firefox, and they both yeild the same results... NOTHING. I'm running Ubuntu, so i don't have internet exp

[android-developers] Re: Playing sounds multiple times using MediaPlayer

2008-11-17 Thread blindfold
Glad it worked! Your use of multiple MediaPlayers is an interesting approach. I current use only one, but latency is according to G1 user reports awful: 4 or 5 seconds, though I do not know yet if that is perhaps also due to the fact that Android forces me to first write synthesized sound to flash

[android-developers] Re: Strange WIFI behavior when the G1 screen is blacked/locked (sleeping ?).

2008-11-17 Thread Guillaume Perrot
Yes it never ends looping reconnect/disconnect while the phone's asleep. It is very strange and/or very buggy... 2008/11/17 Josh Guilfoyle <[EMAIL PROTECTED]> > > Are you saying that Wi-Fi was in a never ending loop disconnecting and > reconnecting while the phone was asleep? The normal behaviou

[android-developers] Re: MediaPlayer looping bug?

2008-11-17 Thread [EMAIL PROTECTED]
Yes, we should document it - I logged a bug. We needed a way to specify that some ringtone files would loop continuously while others would only play when triggered by the ring signal from the network. On Nov 16, 6:00 pm, Cool Frood <[EMAIL PROTECTED]> wrote: > On Nov 16, 3:37 pm, Cool Frood <[EM

[android-developers] Re: Playing sounds multiple times using MediaPlayer

2008-11-17 Thread [EMAIL PROTECTED]
Use OGG insteaed of WAVE. You'll find that it is lower overhead and latency. We will have better audio support in a future SDK. On Nov 16, 1:20 pm, Cool Frood <[EMAIL PROTECTED]> wrote: > Hi, > > What is the length of the files that you are trying to play? I'm > trying to do the same with 0.2s

[android-developers] Re: Any one know how to create a new project on android.git.kernel.org?

2008-11-17 Thread [EMAIL PROTECTED]
Details on this are forthcoming. Look for a post on the source.android.com site soon. On Nov 16, 5:48 pm, Eric Miao <[EMAIL PROTECTED]> wrote: > Or whom to contact, if you know pls. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

[android-developers] Re: How to access native functions in standard library?

2008-11-17 Thread [EMAIL PROTECTED]
Most JNI functions are registered with the VM during runtime boot. FYI, the 1.0 SDK does not support native code development. If you proceed along this path, be aware that any API's you use are subject to change without notice. On Nov 17, 2:03 am, Urakagi <[EMAIL PROTECTED]> wrote: > Hi, > I hav

[android-developers] Extending Contacts info in existing phone book

2008-11-17 Thread Breno T. Minzon
Hi, After looking for this subject, i found some old posts, like this ( http://groups.google.com/group/android-developers/browse_thread/thread/cc61aad4b6cda7f9/fd2ece81bf8de3e8?lnk=gst&q=contacts#fd2ece81bf8de3e8). Now, one year after, any google team opinion about that? It's very important to

[android-developers] Re: Is Market going to support applications autoupdate mechanism?

2008-11-17 Thread Peli
Of course it would be best to obtain the current version number directly from the Market. Unfortunately, the Market does not reveal this information currently in a way that can be easily accessed by other applications. Therefore we depend on the application's developer to provide a separate, up-t

[android-developers] Emulators

2008-11-17 Thread Lillian Brandão
Hi, I would like to know if there is a way to start the emulator and the application using shell (adb). I'm having problems with emulators. Sometimes, I have to install the application manually. I would like to instantiate more than one emulator with its application. Did anyone do something like t

[android-developers] Re: Need help animating the System Wallpaper.

2008-11-17 Thread Romain Guy
Hi, I don't know what the issue is with your animation but your solution is going to be very very expensive. Calling setWallpaper() writes the image into the /data partition and Home then loads that image. This means that every two seconds you are doing one write + one read of a rather large imag

[android-developers] Re: :: How to store the Higest Scores of the players who download my Game

2008-11-17 Thread g1bb
It sounds like you'll want to store the scores in your own database on the Internet somewhere. Whether this would best be done through a web service or something similar, I don't know. On Nov 17, 2:52 am, Imran <[EMAIL PROTECTED]> wrote: > Hi >    Hey  i have gone through Iphone Game where there

[android-developers] Re: Is Market going to support applications autoupdate mechanism?

2008-11-17 Thread Peli
My personal guess is that the Market will support autoupdate as soon as they start to allow for paid applications. But this is really just a guess, based on no information. (It would make sense to introduce this feature together with paid applications so that developers can quickly distribute crit

[android-developers] Re: Dalvik and BOOTCLASSPATH

2008-11-17 Thread fadden
On Nov 14, 1:37 pm, Koush <[EMAIL PROTECTED]> wrote: > From adb shell on the emulator, I am prepend the BOOTCLASSPATH to > include a jar that contains an implementation of > android.widget.EditText. This won't work. Generally speaking, it's not a good idea to try to change the bootstrap class pa

[android-developers] overloading getView

2008-11-17 Thread Murray
I want to overload getView similar to the Fancy-List posting I have seen. However, my data source is a Sqlite database as opposed to an array of strings. The examples I have seen show you how to create a custom Adapter that extends ArrayAdapter... How would I do this using a the database results

[android-developers] How to make a Service run ONLY when no other app is running?

2008-11-17 Thread Kakyoin
I've successfully created a service that change the wallpaper every 2 seconds. My next goals: I want this service to... - auto-stop itself when user launch other app. - auto-start itself when the wallpaper is visible. (eg. when users close all other apps) The only clue I have is, when user pre

[android-developers] Re: placing the image on listbox on right side

2008-11-17 Thread Murray
Venkat, This is the approach I used ... except I aligning to the right of the image and further using multiple rows with alignments. This should work if you change the alignment to the left in your case. http://schemas.android.com/apk/res/ android" android:layout_width="fill_parent" andr

[android-developers] [Jade Android add-on]Could not connect to my Jade platform..

2008-11-17 Thread ~bill~
1,I have run a Jade Platform..(by type Java jade.Boot -gui in cmd window ),this windows'title showed "[EMAIL PROTECTED]:1099/JADE" 2,I modify the strings.xml... 127.0.0.1 1099 JADE 3.build the demo and then , I run the Demo of Jade Android addon on my android emulator... app is started,but there

[android-developers] Need help animating the System Wallpaper.

2008-11-17 Thread Kakyoin
This is my Service. It's a simple service which use Handler to invoke "setWallpaper()" every 2 seconds. [code] package com.mseer.testservice; import java.io.IOException; import java.io.InputStream; import android.app.Service; import android.content.Context; import android.content.Intent; import

[android-developers] Re: Deployment of native C library

2008-11-17 Thread li chen
You can use adb shell to remount /system and try again: mount -o remount rw /system -freepine On Mon, Nov 17, 2008 at 5:08 PM, hackbod <[EMAIL PROTECTED]> wrote: > > Sorry, currently native code is not supported in the SDK. > > On Nov 16, 8:05 pm, adlaiti <[EMAIL PROTECTED]> wrote: > > I have a

[android-developers] Re: "CREATE TABLE android_metadata failed"

2008-11-17 Thread Jongseok,Park
I have also same error report.. I want to run web browser in android 1.0 r1. Anyone have a idea to solve this problem? I guess that this is from ownership mismatch problem of data and system files. then..I have no idea for detail explanation. logcat message is below... Jongseok,Park.

[android-developers] :: How to store the Higest Scores of the players who download my Game

2008-11-17 Thread Imran
Hi Hey i have gone through Iphone Game where there is option called " Higest Scores " where it displays the score, Name of the User and Place(Country), This list will get Updated always if some one breaks the higest score... i think we have to track all the users who download our applicatio

[android-developers] Re: Convert a view (layout) to a Bitmap

2008-11-17 Thread Romain Guy
Hi, If you do this in onCreate(), then the View didn't go through a layout pass yet, so its size is null (0 by 0 pixels.) You need to either wait for the first layout, or force the layout by calling layout() on the View. On Mon, Nov 17, 2008 at 2:34 AM, Jose Cortes <[EMAIL PROTECTED]> wrote: > >

[android-developers] Re: Is Market going to support applications autoupdate mechanism?

2008-11-17 Thread Al Sutton
Dan, Couple of clarifications; - OI Update falls back to checking AndAppStore.com only if the developer hasn't specified update data in the applications manifest file. - Anyone can register/update their app listing on AndAppStore.com, so if the version numbers it might be worth prodding the d

[android-developers] Re: Strange WIFI behavior when the G1 screen is blacked/locked (sleeping ?).

2008-11-17 Thread Josh Guilfoyle
Are you saying that Wi-Fi was in a never ending loop disconnecting and reconnecting while the phone was asleep? The normal behaviour is for the Wi-Fi radio to shut off some time after the screen blanks, and so the first disconnect is not strange at all. If you were to activate the screen, it wou

[android-developers] Re: Is Market going to support applications autoupdate mechanism?

2008-11-17 Thread Dan B.
I certainly hope the Market will support a way to query and prompt for updates. OI Update is alright, but it checks a 3rd party site which often doesn't match the Market version and requires you to open your device up to potentially dangerous software (granted, it's not yet been an issue, but it i

[android-developers] Re: Is Market going to support applications autoupdate mechanism?

2008-11-17 Thread Al Sutton
Max, If you want a solution now look at http://www.openintents.org/en/node/136 Beyond that I think it'll be a wait given how Market is currently being run and the problems its' having. Al. http://andappstore.com/ Max Binshtok wrote: > So I am wondering if the Market is going to support some a

[android-developers] Re: disable home button

2008-11-17 Thread Mark Murphy
zl25drexel wrote: > import com.android.internal.widget.SlidingDrawer; > > :( http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/com/android/internal/widget/SlidingDrawer.java;h=90a548a7a1a20ed7d9ac1e66876139cce27fa443;hb=HEAD (or http://tinyurl.com/6lekc2 if that U

[android-developers] Re: disable home button

2008-11-17 Thread zl25drexel
import com.android.internal.widget.SlidingDrawer; :( On Nov 17, 9:55 am, Mark Murphy <[EMAIL PROTECTED]> wrote: > zl25drexel wrote: > > i dont have anything specific. how about open up thehomeapp so that > > we can tweak it? > > http://android.git.kernel.org/?p=platform/packages/apps/Launcher.gi

[android-developers] Is Market going to support applications autoupdate mechanism?

2008-11-17 Thread Max Binshtok
So I am wondering if the Market is going to support some autoupdate mechanism for the applications - we are required to version and sign our apps - so it seems like they can do it, but is it going to be done? If yes then : 1. When? 2. How the users will be notified? 3. How the reinstallation will

[android-developers] Handle events

2008-11-17 Thread BrunoZP.com
Hi, Does anyone has an example already done on how can a dial in / dial out event be handled ?? Like catch the number dialed to change it ? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers

[android-developers] Re: disable home button

2008-11-17 Thread Mark Murphy
zl25drexel wrote: > i dont have anything specific. how about open up the home app so that > we can tweak it? http://android.git.kernel.org/?p=platform/packages/apps/Launcher.git;a=tree;f=src/com/android/launcher;h=29e244605fc3d4cde54b1bd3adc44ec2c69cb2d4;hb=HEAD (or http://tinyurl.com/66q28r if

[android-developers] Re: disable home button

2008-11-17 Thread zl25drexel
i dont have anything specific. how about open up the home app so that we can tweak it? On Nov 14, 9:02 pm, hackbod <[EMAIL PROTECTED]> wrote: > On Nov 14, 12:08 pm, zl25drexel <[EMAIL PROTECTED]> wrote: > > > you guys did not open-source everything. it's pretty hard to figure > > out how things w

[android-developers] Re: Strange WIFI behavior when the G1 screen is blacked/locked (sleeping ?).

2008-11-17 Thread Guillaume Perrot
Forgot to mention the logs are mine, to avoid confusions, here is the code of my broadcast receiver: @Override public void onReceive(Context context, Intent intent) { for (String key : intent.getExtras().keySet()) Log.e("ubikim","key="+key+" , value="+intent.getExtras().get (key))

[android-developers] Re: OpenGL Hardware Acceleration in G1

2008-11-17 Thread razialx
Excellent. Thanks everyone. On Nov 16, 9:42 pm, Romain Guy <[EMAIL PROTECTED]> wrote: > OpenGl is hardware accelerated on the G1 > > On Nov 16, 2008 6:07 PM, "razialx" <[EMAIL PROTECTED]> wrote: > > DSmith: Right, but Android does not require hardware acceleration of > the OpenGL ES Api. Do you h

[android-developers] Strange WIFI behavior when the G1 screen is blacked/locked (sleeping ?).

2008-11-17 Thread Guillaume Perrot
I implemented a BroadCastReceiver to monitor the connectiviy thanks to the android.net.ConnectivityManager API. When the G1 becomes locked after a couple of minutes and the screen is black I have this logs: 11-17 15:04:03.271: ERROR/ubikim(1849): key=networkInfo , value=NetworkInfo: type: WIFI, s

[android-developers] Re: a simple native pthread test but SIGSEGV generated!

2008-11-17 Thread David Turner
You are using arm-none-linux-gnueabi-gcc which is not compatible with the android toolchain. This kind of issue is perfectly normal and non supported. Only trivial programs may correctly work that way, more by chance that anything else. On Mon, Nov 17, 2008 at 1:35 PM, allstars <[EMAIL PROTECTED]

[android-developers] Re: Help!! About browser the file!

2008-11-17 Thread erkenoid
Can you be a bit more specific? Do you want to read a file, like launching an mp3 or showing a picture from /data or /sdcard, or do you want to review what's in those files? If you wish to review what's in there, I recommend you go have a look to this tutorial on the anddev.com website : http://

[android-developers] Re: How to use buildin email intent

2008-11-17 Thread Peli
Your intent is missing the correct type. Have a look here: http://www.openintents.org/en/node/121 Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_TEXT, "email text"); sendIntent.putExtra(Intent.EXTRA_SUBJECT, "Subject"); sendIntent.setType("message/rfc822");

[android-developers] know draw shape

2008-11-17 Thread ena
HI All, please help me out...Suppose if we draw a any shape(circle) on the mobile screen using mouse and finger..is it possible to know what shape is drawn through used of a class??? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Displaying Equations on Android

2008-11-17 Thread Mark Murphy
[EMAIL PROTECTED] wrote: > I am currently working on an application that is essentially an > equation "cheat sheet." I want to make the equations look good when > they are displayed, so I am thinking of using MathML, but I don't know > how I would implement this and include everything in a package

[android-developers] Re: Wifi communication

2008-11-17 Thread Guillaume Perrot
I don't know about bluetooth support in the SDK, but the G1 does support bluetooth, I can tune it in the settings. On Nov 17, 5:59 am, "Prashant Kalkar" <[EMAIL PROTECTED]> wrote: > Hi, > I am working on an application that need to communicate between two devices. > Initially the application was

[android-developers] Re: ListActivity and progressbars?

2008-11-17 Thread Guillaume Perrot
Your code is quite strange because when you perform UI operations, it has to be on the main thread, so you normally have to use an Handler to post actions on the UI thread when you are in another thread. I am surprised it works. Plus I checked your CategoryList.java at google code, I didn't find an

  1   2   >