[android-developers] where's android.telephony.TelephonyProperties moved to?

2009-03-29 Thread savio
Hi, I want to use android.telephony.TelephonyProperties, but I cannot find it in current reference. This API was available in the past. Can anyone tell me how to get android.telephony.TelephonyProperties? Thank you very much! --~--~-~--~~~---~--~~ You received

[android-developers] ViewGroup and SurfaceView

2009-03-29 Thread serveace6
Anyone know how to use a SurfaceView with ViewGroups? I am trying to get use the 3d transition view from sample apis with a SurfaceView instead of a normal view. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Dev Phone and RC33 update

2009-03-29 Thread Rodin
Jean-Baptiste, I've looked around and I'm still not clear on something. If I order the ADP1, is there a possibility to flash the standard TMobile US image and just the use the phone as a fully-functional, locked G1? Thanks, Rodin On Mar 2, 3:16 pm, Jean-Baptiste Queru j...@android.com

[android-developers] Re: DDMS running on Vista64

2009-03-29 Thread John Doe
Sorry about not being specific. The problem is having 64bit operating system. Thats why ddms is not workingç ANy solution to fix this problem? On Mar 28, 9:51 pm, John Doe halila...@gmail.com wrote: How can we achieve to have DDMS running on Vista? I have a Vista64 installed computer and when

[android-developers] where can i find widget interface for NBA Game Schedule?

2009-03-29 Thread Xiaoliang Ding
I want implement a widget to show NBA Game Schedule in Android G1, where can i find the widget interface ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: where can i find widget interface for NBA Game Schedule?

2009-03-29 Thread deepdr...@googlemail.com
ther is no widget interface yet in the Android SDK. -- http://www.deepdroid.com On Mar 29, 9:31 am, Xiaoliang Ding xding2...@gmail.com wrote:  I want implement a widget to show NBA Game Schedule in Android G1, where can i find the widget interface ?

[android-developers] Re: How do I get the source code of Android 1.1_r1?

2009-03-29 Thread luggie
JBQ ,I see, thank you very much! On 3月29日, 上午3时12分, Jean-Baptiste Queru j...@android.com wrote: The exact source code for 1.1 is not available. 1.1 isn't hugely different from 1.0, which you can get with repo init -u git://android.git.kernel.org/platform/manifest.git -b release-1.0 repo

[android-developers] R not re-generating in Eclipse after rename of the package

2009-03-29 Thread Mariano Kamp
Hi, I renamed the package in the manifest from com.a to com.a.beta in order to upload a different version to the Android Market. In the manifest I changed the referenced entities (services, activities etc.) to use the fully qualified name com.a.X instead of just .X. Of course the code still

[android-developers] Re: why I can't access http://developer.android.com

2009-03-29 Thread meaglith
All the appspot proxy server blocked. On Fri, Mar 27, 2009 at 7:41 PM, John johnliug...@gmail.com wrote: it doesn't matter, you can access it via proxy server. John On Mar 27, 2:34 pm, Eric Chan jude...@gmail.com wrote: If you being China Mainland , it is blocked. Best Regards

[android-developers] Re: What about a virtual keyboard?

2009-03-29 Thread Odessa Silverberg
Yea, the HTC Magic/G2 mobile phone has touch keyboard. But it's quite required, as the HTC Magic/G2 doesn't have a realy keyboard anymore :P On Mar 28, 2:03 pm, Nox v.beh...@googlemail.com wrote: Hi everyone, If I´m using the T-Mobile G1, then the QWERTZ- keyboard is very good. But if I only

[android-developers] Re: Spying camera application

2009-03-29 Thread Tote
Being afraid of malware must not be an excuse of limiting functionality. The applicaion must indicate it clearly what its intention is and it's THE USER who has to decide whether he/she allows it - not the system. On Mar 28, 7:21 pm, Tseng tseng.priv...@googlemail.com wrote: This kind of

[android-developers] Re: Save TextView/ScrollView Data

2009-03-29 Thread Tseng
Yes you can. There are two ways to achieve this. 1. Using/overriding onSaveInstanceState(Bundle bundle)/ onRestoreInstanceState(Bundle bundle) methods of the Activity you're running and save your data there or 2. Using/overriding the same functions (but with other parameters) of the View element

[android-developers] Re: DDMS running on Vista64

2009-03-29 Thread Tseng
Hi, I'm using Eclipse/Android 1.1_r1 SDK on Vista x64 too. No problems there. Do you have the latest Java 1.6.13 JDK for windows x64 installed on your computer? Or do you have Java x64 installed at all? I'm using the x64 bit version of Java 1.6.x JRE/JDK. Maybe you have only the x86 version

[android-developers] Re: DDMS running on Vista64

2009-03-29 Thread Tseng
Sorry for double post. Rereading the error message the reason also could be that you only have x64 Java JDK on your system and no x86 version. Try installing both and see if it works On Mar 29, 1:54 pm, Tseng tseng.priv...@googlemail.com wrote: Hi, I'm using Eclipse/Android 1.1_r1 SDK on

[android-developers] Re: how to add --core-library to Eclipse ?

2009-03-29 Thread Marco Schmitz
is there noone who can help me on this? 2009/3/26 DaRolla netzprofi.ma...@googlemail.com: hi, I need to know how to add the parameter --core-library to Eclipse, especially to DEX. I managed to work around with activitycreator and ant scripts (build.xml), but this way it takes too long.

[android-developers] How to make translucent control just like 'zoom' in Pictures

2009-03-29 Thread Ren
I have an image displayed in a view. I want to make some translucent control over that image, just like the zoom control on the built-in 'Pictures' application, or the 'Play' button on any youtube video. What is the general practice to achieve this kind of effect? -- Kind Regards, Ren

[android-developers] Re: When save image, how to specify image name?

2009-03-29 Thread Ren
Can anyone help? I just need a simple example on how to save image while being able to specify the file name. Cheers, Ren On Sat, Mar 28, 2009 at 9:59 PM, Ren rens...@gmail.com wrote: I tried values.put(MediaStore.Images.ImageColumns.TITLE, newpic.jpg);

[android-developers] Re: where's android.telephony.TelephonyProperties moved to?

2009-03-29 Thread Tseng
Most probably it got removed during 1.0 release. Much of the 0.9 (or earlier) APIs was move, removed or renamed (and making tutorials/code examples from old version quite useless) On Mar 29, 2:23 am, savio savioche...@gmail.com wrote: Hi, I want to use android.telephony.TelephonyProperties,

[android-developers] Custom created files and application reinstall - bug or my mistake?

2009-03-29 Thread EvgenyV
Hi all! My application creates some custom file on sdcard/mypackage/myfile.bin Uninstall from the phone left this file unremoved. Actually it left the unused garbage. I believe it happens with other applications as well. How can I ensure deleting of all custom files when the application

[android-developers] Re: Dev Phone and RC33 update

2009-03-29 Thread vendor
Yes, you can do that, but you will fully lock your phone. 2009/3/29 Rodin rodin.lyas...@gmail.com Jean-Baptiste, I've looked around and I'm still not clear on something. If I order the ADP1, is there a possibility to flash the standard TMobile US image and just the use the phone as a

[android-developers] Re: Dev Phone and RC33 update

2009-03-29 Thread Jean-Baptiste Queru
Such images aren't distributed to the public, and even if you got your hands on one and managed to flash it, you could indeed end up locking yourself out of your phone entirely. It seems to me that if you want to do that you might as well sell your ADP1 and buy a G1. JBQ 2009/3/28 Rodin

[android-developers] help with contacts

2009-03-29 Thread eng.madr...@gmail.com
Hi developers, I'm trying to create an application that reads the contacts and print them. I did read the contacts but the problem is in printing them. I don't know how to print them as a list so when I run my code it just gives me only one contact. My code is shown below: The main activity

[android-developers] Re: R not re-generating in Eclipse after rename of the package

2009-03-29 Thread Faber Fedor
Have you tried deleting R altogether? You can also do a complete rebuild of the project. Uncheck Project - Build Automatically and then select Project - Build All On Sun, Mar 29, 2009 at 7:18 AM, Mariano Kamp mariano.k...@gmail.comwrote: Hi, I renamed the package in the manifest from com.a

[android-developers] Re: How to update Android Dev 1

2009-03-29 Thread sherifffruitfly
/goes to learn german. On Mar 26, 2:55 am, rolandHa haring.rol...@gmail.com wrote: i used this image http://dvdylan.com/files/android/adp1-11-official.zip and these instructions http://android.pocketpc.ch/android-forum/49074-dev-phone-1-aktualisie... (german forum) and it perfectly

[android-developers] custom progress indicator ?

2009-03-29 Thread Alexey
Hi all , i want to replace standard progress ( circle ) with custom sequence of 5 images changing in order. My understanding i should create something like res/drawable/ progress_small.xml - but i'm not sure how to create sequence of images ...

[android-developers] Re: Dev Phone and RC33 update

2009-03-29 Thread Disconnect
Yes you can, and so long as you do not flash the t-mobile SPL you will be fine. (For example, do not use any tmobile dreaimg.nbh files you might come across.) Safer and more functional images are available from http://jf.andblogs.net, where he sets the security code to 0 (so you have root),

[android-developers] ProgressDialog and sub activities

2009-03-29 Thread vincent.gann...@gmail.com
Hi all, I have a main activity that launches a sub activity when the user clicks a button as follows: private OnClickListener buttonDirectoryListener = new OnClickListener () { public void onClick(View v) { Intent intent = new Intent(); intent.setClass(Main.this, Sub.class);

[android-developers] Saving a picture not in the Camera folder?

2009-03-29 Thread BoD
Hi! I'm trying for my app to create a picture this way: ContentValues contentValues = new ContentValues(3); contentValues.put(MediaColumns.DISPLAY_NAME, name); contentValues.put(ImageColumns.DESCRIPTION, desc); contentValues.put(MediaColumns.MIME_TYPE,

[android-developers] Re: Spying camera application

2009-03-29 Thread Dianne Hackborn
Provided you ask for the take pictures' permission, you can take a picture whenever you want. I am assume the bit the certification message is on Symbian? We don't have any such thing on Android. On Thu, Mar 26, 2009 at 3:11 PM, srik sri_reddy...@yahoo.com wrote: Hi I worked on N95

[android-developers] rating bar padding problem

2009-03-29 Thread pmilosev
Hi I have noticed that if I add some padding to the rating bar (small) it will shift the bar but the star on the right will be truncated (e.g. if I add 5px padding from left or right the right most star will be missing 5 pixels) Is there something I am missing, or is this a SDK bug ? regards

[android-developers] Re: Spying camera application

2009-03-29 Thread Dianne Hackborn
Btw doing this every 2 minutes is probably going to be really hard on the battery. On Sun, Mar 29, 2009 at 9:08 AM, Dianne Hackborn hack...@android.comwrote: Provided you ask for the take pictures' permission, you can take a picture whenever you want. I am assume the bit the certification

[android-developers] Re: custom progress indicator ?

2009-03-29 Thread matthias
that's a good question; unfortunately, drawable resources are poorly documented. You can always take a look at the Android implementation though... there should be plenty of examples. I usually simply copy over drawables from the framework and modify them to suit my needs. Android's drawables

[android-developers] Re: ProgressDialog and sub activities

2009-03-29 Thread Nox
You have to add the time how long it should work!!! On 29 Mrz., 17:40, vincent.gann...@gmail.com vincent.gann...@gmail.com wrote: Hi all, I have a main activity that launches a sub activity when the user clicks a button as follows: private OnClickListener buttonDirectoryListener = new

[android-developers] Re: testing using EasyMock

2009-03-29 Thread matthias
Hi, On Mar 26, 4:15 pm, gyuri gyorgy.tar...@gmail.com wrote: Can EasyMock be used with Android SDK to test my code? ... How did you run that test case? You cannot run tests against Android classes (or tests which stub them) just by running your tests as a Junit program or whatever. You cannot

[android-developers] Re: Question about one application requiring another application or service

2009-03-29 Thread Streets Of Boston
Thanks for your answer. That's what i feared. I knew that you can start the Market to the apps/ packages you need to download when your code detects certain classes/ intents/services are missing. I was just hoping something more userfriendly was available (e.g. automatic download after app-

[android-developers] Re: Fling on ListView

2009-03-29 Thread matthias
Well, you can set a OnTouchListener on any view, including ListView, and use a GestureDetector to detect horizontal flings. So, yes, I guess. The problem with this whole touch mechanism in Android is that child views can silently consume the touch gesture, so your fling will not even propagate up

[android-developers] Re: Buffering Background Image - Graphics Advice Sought

2009-03-29 Thread robotissues
Still digging but I have example code. I am able to capture the bitmap, but now the screen flickers. The idea here is that the refresh_background flag gets raised when I need to hold the background. Advice super appreciated (especially if I am on the totally wrong track!). private

[android-developers] Re: OutofMemory exception when dealing with large Bitmaps

2009-03-29 Thread Markus Junginger
On Mar 27, 5:10 pm, mark.ka...@gmail.com wrote:    This is a common problem when using the BimapFactory.decode, there is a bug or memory leak. We've had lengthy discussions about this in previous threads. Using smaller bitmaps, using bitmap.recycle(), and turning down the sample size can

[android-developers] Re: ProgressDialog and sub activities

2009-03-29 Thread vincent.gann...@gmail.com
I'm not sure cause it's an indeterminate one. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] Re: Spying camera application

2009-03-29 Thread srikanth reddy
Hi   Thanks for reply,   If I install the application in mobile with user permissions can I able to take the pictures without user involvement for every 1 minute using timers thread in program.   Thank you, Srikanth. --- On Sun, 3/29/09, Dianne Hackborn hack...@android.com wrote: From: Dianne

[android-developers] Re: DDMS running on Vista64

2009-03-29 Thread John Doe
I installed both version but how can i open DDMS with x86 version of Java? On Mar 29, 4:56 am, Tseng tseng.priv...@googlemail.com wrote: Sorry for double post. Rereading the error message the reason also could be that you only have x64 Java JDK on your system and no x86 version. Try

[android-developers] How can i use vold(New volume manager daemon) to automatically mount sdcard when device startup?

2009-03-29 Thread Jiang Jiang
Hi, all I am porting android to my own device now. I checkout the latest source code from android.git.kernel.org. I have successfully compilated filesystem images and burn those images to my devices. But i couldn't automatically mount my sdcard when android startup. The / sdcard directory is

[android-developers] Re: How can i use vold(New volume manager daemon) to automatically mount sdcard when device startup?

2009-03-29 Thread Mark Murphy
Jiang Jiang wrote: I am porting android to my own device now. Questions regarding porting Android to new platforms are best asked on discussion lists concerning porting Android to new platforms, such as [android-porting]: http://source.android.com/discuss This list is for developers using

[android-developers] Re: How to make translucent control just like 'zoom' in Pictures

2009-03-29 Thread Lukasz Mosdorf
Hi I guess that this would be sth like this: addContentView(_anotherLayer, new LayoutParams (LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); and _anotherLayer is for example an object which extends View. Then you need to draw transculent stuff on this layer.

[android-developers] Webview Question: onCreate always get called when activity comes to foreground

2009-03-29 Thread j
I launch my TestWebView activity. After my web page is loaded, I put the app in the background by pressing the Home key. Then I bring the TestWebActivity back to the foreground. Unexpectedly, TestWebView's onCreate() is called when I bring the activity to the foreground. But onDestroy is

[android-developers] Re: Fling on ListView

2009-03-29 Thread Romain Guy
Doesn't look like fling support as known from the iPhone was ever meant to be part of Android's UI design. Making your app react to flings (or even detect them properly) is a messy and fragile procedure in Android. It was meant to be part of the UI design. And it's not messy nor fragile, you

[android-developers] Re: Buffering Background Image - Graphics Advice Sought

2009-03-29 Thread Jason Van Anden
I sorted this out. i++ On Sun, Mar 29, 2009 at 12:31 PM, robotissues jason.van.an...@gmail.comwrote: Still digging but I have example code. I am able to capture the bitmap, but now the screen flickers. The idea here is that the refresh_background flag gets raised when I need to hold the

[android-developers] Re: Current Preference Screen? (easyy)

2009-03-29 Thread Peli
Whenever i = 2, I want to run a certain method. Is there a way to get this to work? if (i == 2) { runCertainMethod(); } I'm sure this is *not* what you wanted to know, but I have no idea what your i is and who sets it... Peli www.openintents.org On Mar 26, 12:49 am, Noam

[android-developers] Re: R not re-generating in Eclipse after rename of the package

2009-03-29 Thread Mariano Kamp
Hey Faber, there is no R that I can delete. Yes, I did a clean / build all. Mariano On Sun, Mar 29, 2009 at 3:56 PM, Faber Fedor faberfe...@gmail.com wrote: Have you tried deleting R altogether? You can also do a complete rebuild of the project. Uncheck Project - Build Automatically

[android-developers] looking for developer to write an image application

2009-03-29 Thread androidinsider
Eldev LLC is looking for android developer familiar with google image search API to write a new application. This is a contract job with a budget of $3000. Possibility of full time work, if the job is done right. Please reply to this thread or email to eldev...@gmail.com

[android-developers] BroadcastReceiver for data SMS - static works, dynamic does not

2009-03-29 Thread thesquib
I have created a broadcast receiver statically by specifying it within the Manifest, and I have also created the same broadcast receiver in code and have registered it with the application context. The static way works very well, but the dynamic way does not receive the expected broadcast. It

[android-developers] Re: R not re-generating in Eclipse after rename of the package

2009-03-29 Thread Peli
Have you used any class names in your layout files? If yes, then they also have to be changed, otherwise R.java is not recreated. Peli www.openintents.org On Mar 29, 9:35 pm, Mariano Kamp mariano.k...@gmail.com wrote: Hey Faber,   there is no R that I can delete.   Yes, I did a clean /

[android-developers] How do I make my application to be restarted after the phone is powered-on again?

2009-03-29 Thread pperotti
Hi Everyone, Can anyone give me a hint about what should I do to make my application to be restarted automatically after the phone has been powered-off and powered-on again ? I read that regular alarms do not survive phone reboots so, I'm assuming there should be a way to do it. Thanks in

[android-developers] Re: How do I make my application to be restarted after the phone is powered-on again?

2009-03-29 Thread Mark Murphy
pperotti wrote: Can anyone give me a hint about what should I do to make my application to be restarted automatically after the phone has been powered-off and powered-on again ? I read that regular alarms do not survive phone reboots so, I'm assuming there should be a way to do it. You

[android-developers] Some stacktraces do not show up in logcat output

2009-03-29 Thread Dirk Jaeckel
Hi! Usually I can see the exceptions that are thrown in my application via adb logcat. But they seem to get lost when thrown by code running in a somehow different Thread. I use the Smack Library to receive XMPPMessages. When the receiving thread throws a NullPointerException that is not

[android-developers] Re: How do I make my application to be restarted after the phone is powered-on again?

2009-03-29 Thread pperotti
Thanks Mark, I have just read also the response in the last update of your latest book. On 29 mar, 20:01, Mark Murphy mmur...@commonsware.com wrote: pperotti wrote: Can anyone give me a hint about what should I do to make my application to be restarted automatically after the phone has been

[android-developers] Re: How do I make my application to be restarted after the phone is powered-on again?

2009-03-29 Thread Mark Murphy
pperotti wrote: Thanks Mark, I have just read also the response in the last update of your latest book. That was fast! ;-) -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books.html

[android-developers] Re: Observation and comments on Android and regularly scheduled events

2009-03-29 Thread clarkbriancarl
Dianne and Mark, I just wanted to thank the both of you for your help on this. Your suggestions worked beautifully. My application has been running several hours on two different phones and it has not missed a scheduled event yet. Just in case the two of you don't hear this enough, I for one,

[android-developers] Re: Webview Question: onCreate always get called when activity comes to foreground

2009-03-29 Thread Mark Murphy
j wrote: I launch my TestWebView activity. After my web page is loaded, I put the app in the background by pressing the Home key. Then I bring the TestWebActivity back to the foreground. Unexpectedly, TestWebView's onCreate() is called when I bring the activity to the foreground. But

[android-developers] Asset Image in WebView

2009-03-29 Thread Beginner
Hi, I'm trying to load an image (tried both gif and png) from my assets directory, into a webview. In my assets folder, I have an image called myImage.gif Here's my code: WebView data = (WebView) findViewById(R.id.data) data.loadData(IMG HEIGHT=\42px\ WIDTH=\42px\ SRC=\file:///

[android-developers] Re: Asset Image in WebView

2009-03-29 Thread Mark Murphy
Beginner wrote: Hi, I'm trying to load an image (tried both gif and png) from my assets directory, into a webview. In my assets folder, I have an image called myImage.gif Here's my code: WebView data = (WebView) findViewById(R.id.data) data.loadData(IMG HEIGHT=\42px\ WIDTH=\42px\

[android-developers] Re: Asset Image in WebView

2009-03-29 Thread Beginner
Wow. That worked. Thanks a bunch. Is there a bug already opened for this? Or... On Mar 29, 8:47 pm, Mark Murphy mmur...@commonsware.com wrote: Beginner wrote: Hi, I'm trying to load an image (tried both gif and png) from my assets directory, into a webview. In my assets folder, I

[android-developers] Re: Observation and comments on Android and regularly scheduled events

2009-03-29 Thread gjs
Hi, Great thread, one of the best I've read here in a long time. A few related questions - (1) Is it recommended that a Service which runs for more than a few seconds always use a wake lock in an attempt to ensure it completes ? My limited tests on a G1 seem to show that a Service that runs

[android-developers] Re: Asset Image in WebView

2009-03-29 Thread Mark Murphy
Beginner wrote: Wow. That worked. Thanks a bunch. Is there a bug already opened for this? Or... There was a bug already opened. And closed. Without what I would consider an adequate explanation. It's one of my pet peeves, which is why I come up with slightly different fake URLs to try to

[android-developers] Re: Some stacktraces do not show up in logcat output

2009-03-29 Thread Marco Nelissen
All uncaught exceptions are logged. The library you are using is probably catching them at a different level, preventing them from showing up in the log. On Sun, Mar 29, 2009 at 4:14 PM, Dirk Jaeckel dirk.jaec...@gmail.com wrote: Hi! Usually I can see the exceptions that are thrown in my

[android-developers] Re: Asset Image in WebView

2009-03-29 Thread Beginner
I thought this might have fixed my problem, but not quite. Since the apk is readonly, it seems I can't put any files in the assets directory at runtime. So I can't grab an image, put it in there, and then have the webview load it. Is it possible to load an image from the files directory?

[android-developers] cant read file from data/data/pkg/files/...

2009-03-29 Thread Komal
Hi, I am saving an image using openFileOutput and now i want to use this image in my java script file. I am saving image using this code : Bitmap b=DownloadImage(imageUrl); FileOutputStream fos = mcontx.openFileOutput(imageName, Context.MODE_WORLD_WRITEABLE)

[android-developers] Paid upgrades discussion

2009-03-29 Thread Keith Wiley
I'm not sure whether to bring this up on the developer or market group. Since it is a developer-oriented discussion, I have chosen to put it here. I apologize if I was incorrect in this choice. I am about to release a major upgrade for my app. It represents hundreds of hours of work spanning

[android-developers] Re: how to color key 2d sprite backgound?

2009-03-29 Thread Sarnoth
I tried this out and unfortunately it is not a good solution. AvoidXfermode is implemented very inefficiently such that each pixel is converted to 32 bits, run through an alpha calculation, and then converted back to 16 bits. Based on the documentation of the tolerance parameter I was hoping for

[android-developers] Re: Asset Image in WebView

2009-03-29 Thread Ralf
In this case simply use a data URI when creating the loadData string. See 4. Examples at http://www.ietf.org/rfc/rfc2397.txt R/ On Sun, Mar 29, 2009 at 6:44 PM, Beginner ayrton.merc...@gmail.com wrote: I thought this might have fixed my problem, but not quite. Since the apk is readonly, it

[android-developers] dispatchTouchEvent works differently when finger hold on touch screen in G1 emulator

2009-03-29 Thread Oceanedge
Hi, All I found event handler: dispatchTouchEvent(MotionEvent) works differently between G1 emulator when finger is holding on touch screen. I have a class inherited from RelativeLayout and override public boolean dispatchTouchEvent(MotionEvent event) method. After I touch hold on the touch

[android-developers] Re: dispatchTouchEvent works differently when finger hold on touch screen in G1 emulator

2009-03-29 Thread Romain Guy
They work the same. I have a class inherited from RelativeLayout and override public boolean dispatchTouchEvent(MotionEvent event) method. After I touch hold on the touch screen, in emulator I got MotionEvent.ACTION_DOWN event only. But in G1, I got MotionEvent.ACTION_DOWN first and then

[android-developers] Re: MenuItems and Typefaces

2009-03-29 Thread G_man
hey guys Just wanted to tell you that I have tried the new 1.5 firmware (Cupcake) on my PC (Emulator) I tried the virtual Keyboard and some of the the other new features. About the localization, There are lots of languages like Polish, Russian, Chinese, Japanese, German, Spanish, French, and

[android-developers] Re: Paid upgrades discussion

2009-03-29 Thread Streets Of Boston
I'm not a hundred percent sure, but very close to 100% :-) Google's Android Market does not provide upgrade functionaliy, except free upgrades forever. Sorry... :( I'm sorry to say this, but you could have known this before you put all this work in, if you had read the terms and agreements of

[android-developers] Re: Current Preference Screen? (easyy)

2009-03-29 Thread Noam
Thanks Peli for your contribution to my problemo. The default for the integer i will be 1. I have two PreferenceScreens - A and B. Whenever the user is on PreferenceScreen A, i will be equal to 1. Whenever the user is on PreferenceScreen B, i will be equal to 2. Basically, I want to know when the

[android-developers] Re: where can i find widget interface for NBA Game Schedule?

2009-03-29 Thread Xiaoliang Ding
Yes. Actually I want to find a NBA Game Schedule widget content to implement a Widget on G1. Where can i find it ? 2009/3/29 deepdr...@googlemail.com deepdr...@googlemail.com ther is no widget interface yet in the Android SDK. -- http://www.deepdroid.com On Mar 29, 9:31 am, Xiaoliang

[android-developers] Re: How to make translucent control just like 'zoom' in Pictures

2009-03-29 Thread Ren
Thanks, I'll try On Mon, Mar 30, 2009 at 4:46 AM, Lukasz Mosdorf lukasz.mosd...@gmail.comwrote: Hi I guess that this would be sth like this: addContentView(_anotherLayer, new LayoutParams (LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); and _anotherLayer

[android-developers] Re: How to make translucent control just like 'zoom' in Pictures

2009-03-29 Thread Ralf
You can use a FrameLayout in your XML to layer widgets or sub-layouts on top of each others. R/ On Sun, Mar 29, 2009 at 8:54 PM, Ren rens...@gmail.com wrote: Thanks, I'll try On Mon, Mar 30, 2009 at 4:46 AM, Lukasz Mosdorf lukasz.mosd...@gmail.com wrote: Hi I guess that this would be

[android-developers] Re: Current Preference Screen? (easyy)

2009-03-29 Thread Noam
Thanks Ralf. Where in the documentation might I find a list of what override methods I could use? For example onClick, onAttachedToActivity, onCreateView, etc.? Thanks, Noam. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Asset Image in WebView

2009-03-29 Thread Beginner
That would work, if I was getting the entire data from one source. As it stands, I'm getting part of the data (text) from one URL and another part (image) from a different URL. So I get both pieces of data then I have to combine them in a webview. On Mar 29, 11:02 pm, Ralf ralfo...@gmail.com

[android-developers] Re: Current Preference Screen? (easyy)

2009-03-29 Thread Ralf
Did you consider simply subclassing PreferenceScreen and overriding some of its methods? There are various methods such as onClick, onAttachedToActivity, onCreateView, etc., that might give you the behavior you're looking for. R/ On Sun, Mar 29, 2009 at 8:42 PM, Noam noam.ha...@gmail.com wrote:

[android-developers] Re: Buffering Background Image - Graphics Advice Sought

2009-03-29 Thread Ralf
If you want to work with the 2d draw api (e.g. not the GL one), a typical way to organize your code is to have a view that knows how to draw your static background and all the pieces (aka sprites) that you need on top. However before drawing anything get the clip bounds and check your sprites

[android-developers] Re: Paid upgrades discussion

2009-03-29 Thread Keith Wiley
On Mar 29, 8:27 pm, Streets Of Boston flyingdutc...@gmail.com wrote: I'm sorry to say this, but you could have known this before you put all this work in, if you had read the terms and agreements of the Android Market. I did know. That didn't preclude implementing the software, it just left

[android-developers] Re: R not re-generating in Eclipse after rename of the package

2009-03-29 Thread Mariano Kamp
Hey Peli, what do you mean? Like com.a.MyView? I specified them fully qualified, so that shouldn't be a problem, or should it? Cheers, Mariano On Mon, Mar 30, 2009 at 12:55 AM, Peli peli0...@googlemail.com wrote: Have you used any class names in your layout files? If yes, then they also

[android-developers] Crash of my application on startup

2009-03-29 Thread Andrewoid
I have an application that responds to wifi status changes. Some of my users have reported repeatable crashes of my application when their phone starts up. I finally got one to email me a log file and this is what I saw. D/WifiHW ( 54): Unable to open connection to supplicant on tiwlan0:

[android-developers] Re: looking for developer to write an image application

2009-03-29 Thread mawei1981
cheap/// On Mar 30, 5:36 am, androidinsider eldev...@gmail.com wrote: Eldev LLC is looking for android developer familiar with google image search API to write a new application. This is a contract job with a budget of $3000. Possibility of full time work, if the job is done right.