Re: [android-developers] Which will make Faster?...

2010-02-12 Thread Kevin Duffey
I would always opt for the 2nd one when possible.. the variables live within the scope of the method, so less chance of them hanging around in memory. I forget if they live on the stack or not when declared/instantiated within the method body as passed in parameters do. But having the method clean

Re: [android-developers] How to start an Activity from a Service and getting a result from it

2010-02-12 Thread Kevin Duffey
The whole purpose of a service is to stay in the background doing something, so not sure why you would want to display a UI in a non-UI based app. As Dianne said, post a notification that shows up on the status bar... when the user slides it down and clicks on it, that can launch an activity...

Re: [android-developers] Multitouch seems badly broken on Nexus One 2.1-update1

2010-02-12 Thread Kevin Duffey
Ugh..sorry.. I hate using my moto droid to reply.. fat fingers and a horrible physical keyboard don't go together. Dianne, I don't understand your response.. it's quite clear from several developers that the multi-touch has problems severe enough that it's deterring game developers and others

[android-developers] Customize keyboard look and feel

2010-02-12 Thread Sing
Hi, How can I change the look and feels of a soft keyboard? like changing button's shape, allowing a button to display text in two rows...etc Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Which will make Faster?...

2010-02-12 Thread Hekki
Hi, I'm interested by the answer to the original question as well : Which is faster ? 1) Declaring and using local variables in a method (Variable lookup is faster, but instanciating is slow ? ) 2) Declaring and using a variable that is global to the class (Instance is reused but lookup is a

[android-developers] What is exactly an ANDROID_ID ?

2010-02-12 Thread Guillaume Perrot
I could not find in documentation any information about how the ANDROID_ID is generated. Is it related to some carrier or some constructor ? Is it related to google apps ? Are we allowed to store these values on application servers without breaking any privacy policy ? (it does not require

[android-developers] Re: Multitouch seems badly broken on Nexus One 2.1-update1

2010-02-12 Thread Hekki
Hi, I should report the same thing. My game Armaboing (www.armaboing.com) is multitouch since Android 1.5. And I have the same problem with multitouch, and came to think that it's not Android the problem but the drivers or the hardware. I think that's why Diane doen't want a bug report on this

[android-developers] read current speaker audio

2010-02-12 Thread bayeeblue
Hi Anyone know how can I read/record the audio which is being played at the moment in android phone. As audiorecord can only read audio source from mic and voice call, however what I want to do is to read what the phone speaker is currently playing, for example a song playing via mediaplayer.

[android-developers] Re: connect android emulator to mysql server

2010-02-12 Thread saravanan p
thanks. now i clear the classnotfoundexception. i got exception like java.sql.SQLException:no sutiable drive On Feb 10, 7:35 am, David Turner di...@android.com wrote: Ah sorry, the java.lang.ClassNotFoundException is a different thing. You may be missing a .jar file when generating your

[android-developers] Layout Highlight For Already Background Set

2010-02-12 Thread Sasikumar.S
Hi, Pls see the below link In that White color background is LinearLayout. How to set highlight for that LinearLayout? Now i need is when i click the White Colored Linear Layout it should highlight in blue color it should go for that onclick action. How to do that ?... Pls help me...

[android-developers] Re: No light sensor and/or proximity sensor detected on Hero?

2010-02-12 Thread mileoresko
Hi Simon, sensorManager.getDefaultSensor(Sensor.TYPE_LIGHT) returns: null On Feb 12, 2:12 am, Simon simon.drab...@gmail.com wrote: What is the result of calling sensorManager.getDefaultSensor(Sensor.TYPE_LIGHT) ? -- Simon -- You received this message because you are subscribed to the

[android-developers] Regarding the applications that were launched during the Launcher activity

2010-02-12 Thread Gladys
Hi, Where are the Applications(Contacts,Settings) details gets populated while the Launcher activity is getting loaded? where the information regarding which application packages that are to be loaded are stored? Are the application details stored as in the form of arraylist in ApplicationInfo?

Re: [android-developers] Re: Multitouch seems badly broken on Nexus One 2.1-update1

2010-02-12 Thread Kevin Duffey
If this same issue occurs on Nexus, Moto Droid, G1.. (any other devices??) it seems it would more likely be Android and not the different devices all with the same problem. But.. I don't know for sure.. just seems like that two or three different vendors wouldn't end up with the same bug based on

Re: [android-developers] https weirdness (really ksoap2)

2010-02-12 Thread Michael Rueger
answering to my own post, for whom it may concern. Turns out in the ksoap HttpTransportSE setup the innocent looking line connection.setRequestProperty(Connection, close); seems to be the culprit. Removed it, now it seems to work. Don't know why exactly (although I have an idea). No amount of

Re: [android-developers] https weirdness (really ksoap2)

2010-02-12 Thread Michael Rueger
On 2/12/2010 12:26 PM, Michael Rueger wrote: answering to my own post, for whom it may concern. Turns out in the ksoap HttpTransportSE setup the innocent looking line connection.setRequestProperty(Connection, close); seems to be the culprit. Removed it, now it seems to work. well, it only

Re: [android-developers] What is exactly an ANDROID_ID ?

2010-02-12 Thread Mark Murphy
I could not find in documentation any information about how the ANDROID_ID is generated. It is not documented, AFAIK. Is it related to some carrier or some constructor ? If by constructor you mean device manufacturer, then yes -- the value comes from the device manufacturer. For example, it

[android-developers] Re: Multitouch seems badly broken on Nexus One 2.1-update1

2010-02-12 Thread Hekki
You've got a point here. Unless the screen capabilities and/or technologies is dictated by google to the vendors. Does someone knows how to use the ndk ? I believe using the ndk you can have direct access to the sensors and thus find out if it's the hardware or one of the layers on top of it

[android-developers] Re: softkeyboard in Android 1.1

2010-02-12 Thread andu
How are you Currently I have Android 1.1 phone. That is why. I have tried the sample softkey in the emulator with Android 1.5 platform. It works. But in 1.1 platform, there is problem. Andu On Feb 10, 4:24 pm, swapnil kamble swap.kam...@gmail.com wrote: Why you want Android 1.1 ? On

Re: [android-developers] Multitouch seems badly broken on Nexus One 2.1-update1

2010-02-12 Thread Sean Hodges
I think what Dianne is saying is that the values you are seeing are what is raw data returned from the sensor, it's not normalised for multi-touch games, or for any particular purpose. My understanding is that the values returned have different coordinate spaces, and have a tendency to jump about

[android-developers] How to change Title color of a preference dynamically?

2010-02-12 Thread pink 444
Hi, I have an application,in which customized preferences are defined by inheriting from Preference class. In my application i have to change the preference title color dynamically.For that i am calling View view = Preference.getView(null,null). And doing as follows. ((TextView)

[android-developers] Re: What is exactly an ANDROID_ID ?

2010-02-12 Thread Guillaume Perrot
Is it related to google apps ? Not that I am aware of. I asked this question since we can read in the doc: Identical to that obtained by calling GoogleLoginService.getAndroidId(); which sounds strange. Spoofing android_id could grant access to the Google account of someone else ? -- You

Re: [android-developers] Re: Problems testing applications on HTC Hero device

2010-02-12 Thread Justin Giles
Hmmm. My Hero hardware version is 0002. Based on the software and build differences, I'd say that you are running on a pre-release build. Does your phone have service with Sprint? Have you checked with Sprint Developer forums (if there are any)? On Thu, Feb 11, 2010 at 11:32 PM, brooke

[android-developers] Remove rating of my game in the market

2010-02-12 Thread Martin
Hi! I made a beta-version of a game which at the beginning was a testing- version. I solved more and more errors and made it faster and faster. Now I am getting to the point that it isn't a beta-version anymore. I have customers who like my free game and I also have old bad comments that my game

[android-developers] Re: Working with the new ContactContracts API

2010-02-12 Thread Berto
Well now I just feel stupid since that's pretty out in the open. One last question: how exactly do you go about requesting a sync (let's say after they change some custom options for the account)? I've tried requestSync but it never really seems to kick off the sync unless I'm not waiting long

[android-developers] Re: Remove rating of my game in the market

2010-02-12 Thread Hekki
Hi Martin, It's quite logical that you keep ratings even though your application evolves, that's why the version is given in the description in the market. Imagine the scenario : I have crappy ratings, i just change the spelling of a word somewhere in my apps, change version number, then asks a

[android-developers] Re: launch activity from on-screen Camera/Capture button?

2010-02-12 Thread Abhi
Hi Jason, I am not sure if you understood my question correctly... maybe I didn't frame it right :) I am trying to start a background activity, for e.g. the accelerometer from within the Camera app. I want the accelerometer to run while the user is shooting a video. I don't want to build my own

[android-developers] INSTALL_FAILED_OLDER_SDK: How to set minSdkVersionin Android linux toolchain?

2010-02-12 Thread extrapedestrian
Im trying to build my app apk on linux with make. git source 2.1. minSdkVersion is set to 3 in AndroidManifest.xml I get Warning: AndroidManifest.xml already defines minSdkVersion and compiled apk can not be installed on device older then 2.1 Where else is minSdkVersion defined? -- You received

[android-developers] Rotation and layout issues

2010-02-12 Thread ls02
I have problems with my layout being inflated after the screen rotation. I impelemnted android:configChanges in the manifest and onConfigurationChanged() in my Activity. I call setContentView with either vertical layout or horizontal layout. Both layouts have imageview with wrap_content height

[android-developers] Re: Emulator on Ubuntu problem running after first time starting emulator

2010-02-12 Thread Richard Kasperowski
... my quick fix is to create a new AVD, delete the broken AVD, and get on with my life. On Feb 3, 4:53 pm, Richard Kasperowski r...@kasperowski.com wrote: For me, this has been happening consistently on my Mac.  After running it mostly successfully for weeks, today I can't get the emulator

Re: [android-developers] Re: Flash file android

2010-02-12 Thread Alessandro Pellizzari
Il giorno mer, 10/02/2010 alle 12.31 +0530, Narendra Bagade ha scritto: Actually i want to use flash file in android. Is it possible? By flash you mean swf, right? No, it's not possible. Bye. -- Alessandro Pellizzari -- You received this message because you are subscribed to the Google

Re: [android-developers] https connection problem

2010-02-12 Thread Michael Rueger
Hi all, last time from me for now ;-) I've uploaded a tiny test project here http://impara.de/michael/TestSSL.zip that demonstrates every other request failing to work. For now I will hack some ugly workaround simply repeating the request if the first one fails. It must be something

[android-developers] How to get all the nodes content from strings.xml

2010-02-12 Thread CMF
Hi all, I would like to write a program to parse the nodes of strings.xml and then get the content and attributename. Can anyone has experience on it? -- 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] Sendin KeyEvents

2010-02-12 Thread Houcem Berrayana
Hi all, I want to simulate Home and Back buttons. I tried to see how to dispatch a key event but I didn't knew exactly how to do ?? I found some examples using IWindowManager. but I haven't found this class in the SDK. Is there any other way to send key events ? Thanks by advance and excuse me

Re: [android-developers] https connection problem

2010-02-12 Thread social hub
connection.connect(); OutputStream os = connection.getOutputStream(); os.write(requestData, 0, requestData.length); os.flush(); os.close(); InputStream is; connection.connect(); seems like u have two connection attempts why do u need two connects,

[android-developers] Re: Pinch-zooming on maps gives no feedback

2010-02-12 Thread CaptainSpam
I think I see what he's saying. The theory is that the Overlay's draw() method would be called after a zoom, among other times. You could pass the Overlay a MapView to check over the zoom level, and during the draw() method, see if it's changed. If it has, that effectively becomes your

[android-developers] Re: Pinch-zooming on maps gives no feedback

2010-02-12 Thread CaptainSpam
Oh, wait, hang on, you're saying the draw()s AREN'T being dispatched in the Overlays during pinch-zoom? Huh. Well, if that's true, then that wouldn't work at all. I'll have to test it later. On Feb 12, 2:16 am, JP joachim.pfeif...@gmail.com wrote: Not sure if I follow. As nothing is fired in

Re: [android-developers] https connection problem

2010-02-12 Thread Michael Rueger
On 2/12/2010 5:27 PM, social hub wrote: connection.connect(); OutputStream os = connection.getOutputStream(); os.write(requestData, 0, requestData.length); os.flush(); os.close(); InputStream is; connection.connect(); seems like u have two

Re: [android-developers] How to get all the nodes content from strings.xml

2010-02-12 Thread Frank Weiss
A fairly straight forward way do it at build time with xslt. Chances are the strings.xml is not available at run time. On Feb 12, 2010 8:23 AM, CMF manf...@gmail.com wrote: Hi all, I would like to write a program to parse the nodes of strings.xml and then get the content and attributename. Can

Re: [android-developers] https connection problem

2010-02-12 Thread social hub
Once I replaced the url with https://mail.google.com it is fine i got each attempt succesful With ur url connection is successful all time except read happened every other time probably something do with ssl server On Fri, Feb 12, 2010 at 10:38 AM, Michael Rueger mike.rue...@gmail.comwrote: On

[android-developers] Button in a ListView row

2010-02-12 Thread Mark Wyszomierski
Hi, I have a standard listview, the row definition looks like this: LinearLayout TextView Button /LinearLayout not sure if this is possible - but it would be nice if the user could scroll down the list using the trackball, and the entire LinearLayout parent gets highlighted, and is

Re: [android-developers] https connection problem

2010-02-12 Thread Michael Rueger
On 2/12/2010 6:05 PM, social hub wrote: Once I replaced the url with https://mail.google.com it is fine i got each attempt succesful same for me here With ur url connection is successful all time except read happened every other time probably something do with ssl server hmm, interesting

Re: [android-developers] https connection problem

2010-02-12 Thread social hub
What did u see in wireshark. is this your test server. do you have any specific details about the server side On Fri, Feb 12, 2010 at 11:24 AM, Michael Rueger mike.rue...@gmail.comwrote: On 2/12/2010 6:05 PM, social hub wrote: Once I replaced the url with https://mail.google.com it is fine i

[android-developers] Re: Multitouch seems badly broken on Nexus One 2.1-update1

2010-02-12 Thread Robert Green
Where did my original post go? Was it deleted? This is a valid problem. How is it that the hardware coming from both HTC and motorola has the same problem? Also - how was this a solved problem with iPhone several years ago? I'm trying to compete with that platform but problems like this make

[android-developers] Re: Multitouch seems badly broken on Nexus One 2.1-update1

2010-02-12 Thread Robert Green
Nevermind, I found it - it got segmented somehow. On Feb 12, 11:33 am, Robert Green rbgrn@gmail.com wrote: Where did my original post go?  Was it deleted? This is a valid problem.  How is it that the hardware coming from both HTC and motorola has the same problem?  Also - how was this a

[android-developers] Re: Problems testing applications on HTC Hero device

2010-02-12 Thread brooke
Thanks for your help Justin. I'm inquiring with developer forums now. I'll post back here with the solution/resolution. B On Feb 12, 5:16 am, Justin Giles jtgi...@gmail.com wrote: Hmmm.  My Hero hardware version is 0002.  Based on the software and build differences, I'd say that you are

[android-developers] Re: Crashed Service not restarting - Dianne could you help (again) ?

2010-02-12 Thread Derek
Hi again, I've new logs from the Android device (see below). Our application generates more logs now (stopping , onDestroy, onStart, onCreate ...) Could you advise ? We don't know the way to troubleshoot this issue. Everything works fine in emulator even when we kill (or crash) the service while

Re: [android-developers] Sendin KeyEvents

2010-02-12 Thread Rogério de Souza Moraes
Hi Houcem, take a look at the code of android-x86 that implaments a way to use MENU, BACK and HOME buttons in a device with just touchscreen. i if the name of the file that implements tihs is touchable.java http://www.android-x86.org/documents/touch-only-device-howto Regards, Rogerio

[android-developers] Re: Network Unreachable (Socket.net Exception)

2010-02-12 Thread himanshu jain
@Mark Murphy If you Read my Questions and issues Please spend little time to answer it .I am kind of stuck ,i want to implement service indefinitely in the background or i want network to be available all the time to implement my service.How can i do it ?? . Please reply On Feb 11, 12:28 

Re: [android-developers] Multitouch seems badly broken on Nexus One 2.1-update1

2010-02-12 Thread Dianne Hackborn
Sorry I meant exactly what I said: this is how the touch screen hardware on the Nexus One works (which is essentially the same screen as on the G1 and myTouch). The Droid has a sensor from a different manufacturer, with different behavior. Other phones will likewise have different sensors. This

[android-developers] Re: Working with the new ContactContracts API

2010-02-12 Thread Berto
I figured this out. I was passing in the wrong value for the authority. On Feb 12, 7:56 am, Berto mstbe...@gmail.com wrote: Well now I just feel stupid since that's pretty out in the open.  One last question: how exactly do you go about requesting async(let's say after they change some custom

[android-developers] Re: Switching between activities

2010-02-12 Thread jotobjects
Possibly setting android:freeezesText resolves this issue? http://developer.android.com/reference/android/widget/TextView.html#attr_android:freezesText On Feb 11, 10:36 am, TreKing treking...@gmail.com wrote: On Thu, Feb 11, 2010 at 2:55 AM, uday kiran uday.pic...@gmail.com wrote: What i want

[android-developers] Broadcast Receiver without Activity.

2010-02-12 Thread askPrins
A WAP PUSH (Broadcast)receiver basically doesn't need any UI. It is a silence application which handles the Push messages based on actions/ mimetype without needing any intreaction with user, I've tried to test it in a SMS receiver by removing the Activity from the project and it stopped receiving

Re: [android-developers] Multitouch seems badly broken on Nexus One 2.1-update1

2010-02-12 Thread Kevin Duffey
Ok.. thanks for the pointer Sean. So question for you and Dianne.. being on the platform team.. if his code works so well.. supposedly better than the OTA updates for Nexus.. why not just replace what is in Android.. or add it some how so that all of us developers can have this corrected data?

Re: [android-developers] Broadcast Receiver without Activity.

2010-02-12 Thread Rogério de Souza Moraes
Hi askPrins, you can implement this using a service class instead of an activity class. So you don't need the UI. Regards, Rogerio 2010/2/12 askPrins askpr...@gmail.com A WAP PUSH (Broadcast)receiver basically doesn't need any UI. It is a silence application which handles the Push messages

Re: [android-developers] Broadcast Receiver without Activity.

2010-02-12 Thread Mark Murphy
A WAP PUSH (Broadcast)receiver basically doesn't need any UI. It is a silence application which handles the Push messages based on actions/ mimetype without needing any intreaction with user, I've tried to test it in a SMS receiver by removing the Activity from the project and it stopped

[android-developers] Re: What is exactly an ANDROID_ID ?

2010-02-12 Thread jotobjects
Too bad it is NOT documented. There was a long thread about this recently and one poster even thought it had something to do with connecting to the Market. Seems like some developers are looking for workarounds for a viable unique ID. Probably most of this is due to misunderstanding which is

[android-developers] signatures permissions and what else is missing in sdk documensts.

2010-02-12 Thread askPrins
I am new to Android. A WAP PUSH receivers defines permissions I've seen in some cases, they uses signatures in manifest files. Q: Can a intent-filter use any string as a mime type or the mime types must be pre-register(Accepted) somewhere in system? Q: What about the permissions? Who is really

Re: [android-developers] signatures permissions and what else is missing in sdk documensts.

2010-02-12 Thread Mark Murphy
uses-permission android:name=android.permission.RECEIVE_WAP_PUSH/ intent-filter action android:name=android.provider.Telephony.WAP_PUSH_RECEIVED / data android:mimeType=application/vnd.oma.drm.rights+xml / /intent-filter Neither the Telephony class nor WAP_PUSH_RECEIVED are part of the

[android-developers] Re: android and proguard...

2010-02-12 Thread fadden
For the curious: sdphil was kind enough to provide the APK and the ProGuard-modified classes. It appears that the dx program, which converts Java bytecode to Dalvik bytecode, is emitting a bad sequence of instructions. The verifier is correctly identifying the situation and rejecting the class.

[android-developers] Re: Scroll a Gallery widget?

2010-02-12 Thread Sam
I'm in a similiar situation. Does anyone have a solution to this? On Dec 27 2009, 8:04 pm, Mark Wyszomierski mar...@gmail.com wrote: Hi, Is it possible to scroll aGallerywidget programatically? I seeGalleryinherits scrollTo() andscrollBy(), but that scrolls the entire widget itself, not its

[android-developers] Re: How to debug unexpected exceptions (source not found)

2010-02-12 Thread fadden
On Feb 11, 12:09 am, Bob Kerns r...@acm.org wrote: I was catching all caught and uncaught RuntimeExceptions. ArithmeticException is a subclass of RuntimeException, so it SHOULD have stopped at the point of the throw. I wrote a simple test: public static void testThrow() { try {

Re: [android-developers] saving shortcuts etc to the desktop?

2010-02-12 Thread Jason Proctor
well, i did this, but nothing seems to pick up the broadcast -- at least no shortcut is created. the documentation suggests that the intent at least as been there since 1.0. is this feature supported? (btw i had to change the action to ACTION_CREATE_SHORTCUT.) I believe that you can do

[android-developers] gridview to scroll horizontally and

2010-02-12 Thread social hub
Hi I am just wondering if the children of gridview can be shown horizontally instead of vertical view. Also I have question on performance issues on how horizontal scroll view works. I have to show 1000 objects and for this I have to create objects and add it to view and scroll view works

Re: [android-developers] https connection problem

2010-02-12 Thread Michael Rueger
On 2/12/2010 6:27 PM, social hub wrote: What did u see in wireshark. is this your test server. do you have any specific details about the server side ok, the idea with the server side pointed me in the right direction. Sort of... I found notes about connection problems with older IE

Re: [android-developers] gridview to scroll horizontally and

2010-02-12 Thread Jason Proctor
would Gallery work in this situation? often described as a horizontal scrollview. Hi I am just wondering if the children of gridview can be shown horizontally instead of vertical view. Also I have question on performance issues on how horizontal scroll view works. I have to show 1000

[android-developers] Question about setting height of StaticLayout

2010-02-12 Thread silverburgh
Hi, I am trying to use StaticLayout for my custom widget. It only has api to set the width of the StaticLayout, but there is no way to specify the HEIGHT? http://developer.android.com/intl/fr/reference/android/text/StaticLayout.html Can you please tell me how can I set the height of the

Re: [android-developers] gridview to scroll horizontally and

2010-02-12 Thread social hub
Thanks that seems to do the trick. On Fri, Feb 12, 2010 at 4:04 PM, Jason Proctor jason.android.li...@gmail.com wrote: would Gallery work in this situation? often described as a horizontal scrollview. Hi I am just wondering if the children of gridview can be shown horizontally instead

[android-developers] unable to bind to a service

2010-02-12 Thread dane131
hallo i have a service that provides gps coordinates.Here is the code : package app.suite.gps; import android.app.Service; import android.content.Context; import android.content.Intent; import android.location.Location; import android.location.LocationListener; import

Re: [android-developers] Re: android and proguard...

2010-02-12 Thread Dianne Hackborn
On Thu, Feb 11, 2010 at 11:01 AM, Bob Kerns r...@acm.org wrote: Yeah, it's a good idea to leave R completely untouched. That includes R $string, R$drawable, R$id, etc. etc. There are things look at that those via reflection, so the names matter, and there's no significant bytecodes to

[android-developers] Re: Multitouch seems badly broken on Nexus One 2.1-update1

2010-02-12 Thread Robert Green
Luke's code cleans up some basic stuff like gestures involving pinching but it can not fix the two independent point problem. Currently, even with his code which filters out some noise, it is impossible to have a reliable control system involving two independent virtual joysticks placed along the

[android-developers] Greyscale image while getting data array from onPictureTaken

2010-02-12 Thread Kevin Long
Hi, I'm using Camera.PreviewCallback.onPictureTaken to get an image byte array, and try to do greyscale with this byte array. But it's not working. It generates a broken image file in the sdcard. Here is my code: public void onPictureTaken(byte[] data, Camera camera){

[android-developers] How to lookup in contacts table for the contact of the incoming sms

2010-02-12 Thread Manoj
Hi guys, Can anybody help me on this issue. I want to lookup in the contacts table for the contact of the incoming sms. I have created a receiver for the incoming sms that gives me the number of sender now i want to check whether it is there in contacts or not. Manoj C -- You received this

[android-developers] valantine images

2010-02-12 Thread seneha
Feel free to download any of the images. Just right click and Save As... VALENTINE'S DAY. IMAGES, BACKGROUND, BORDERS ... You can select among 200+ images. .. http://www.adbrite.com/mb/commerce/purchase_form.php?opid=1003278afsid=1

[android-developers] MapView zoom listener

2010-02-12 Thread Vinh
Hi all, I wonder if anyone knows how to detect a zoom event in a MapView. I am using the recommended MapView.setBuiltInZoomControls to get a zoom controller to display at the bottom of the map. I have a touch listener that can detect a tap to display the zoom controller. But after that initial

[android-developers] Question on a Work at Home Program

2010-02-12 Thread hplarc
Has anyone had experience with this work at home program ? http://tinyurl.com/ykjnasp -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

[android-developers] How Do You Write Songs?

2010-02-12 Thread olipolus
First off, there isn't a wrong way to write songs. But after you've done it for a while, you'll find out that some ways to go about it are easier than others. This is how I do it. http://music-olipolus.blogspot.com -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Really simple android question

2010-02-12 Thread tony obrien
Hi, You're likely not waiting LONG ENOUGH it takes quite sometime for the emulator to wake up and your app to get transferred ... The process goes something liek this... A. Start Emulator B. See 'text-oriented' A N D R O I D with blinking cursor C. text turns to ANDROID Graphic with

[android-developers] Think Big

2010-02-12 Thread Blue
Think Big : Every king was once a Crying baby and every great Building was once a Blueprint. its not where u r today. but where u'll reach tomorrow. for more info : http://123maza.com/50/daxman/ -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Best way of scrolling top part of screen/layout?

2010-02-12 Thread Maedhros
I have approximately the following layout: LinearLayout ListView/ LinearLayout TextView/ TextView/ EditView/ /LinearLayout /LinearLayout What I want to achieve is that the inner LinearLayout should attach to the bottom of the screen and the ListView should grow to fill the

[android-developers] Re: Modal Dialogs: the definitive solution

2010-02-12 Thread guich
Thanks, i'll try that. regards guich -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] How to get notification of Pre-Installed application on Android Market place

2010-02-12 Thread S Kumar
I have developed a small android application and then installed the app using ADB and uploaded the same app with a higher version number (not the string value, but the integer field) to Android market place. I get no notification saying there is an update available for my app. Under Market - My

[android-developers] Re: How to lookup in contacts table for the contact of the incoming sms

2010-02-12 Thread Manoj
well i have created a receiver for the message and i am getting the message and the contact from that but not i need to know whether it exist in my contact list or not.. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Basis SoftExpo 2010

2010-02-12 Thread allaccessbd
Basis SoftExpo 2010 http://allaccessbd.bogspot.com Bangladesh Association of Software and Information Services (BASIS) arranged BASIS Soft Expo 2010 at Bangabondhu International Conference Center at the capital city of Dhaka, Bangladesh. The image contains for Bangla version of Basis SoftExpo

[android-developers] Broken Meshes / not synchronous while rendering GlSurfaceView

2010-02-12 Thread Clankrieger
Hi, I got an issue while rendering a number of meshes on a GlSurfaceView renderer: The meshes are sometimes broken or are not updated on screen during my render call. The whole 1.6 application is running single threaded, rendering is done with vertexpointers like this: glVertexPointer(3,

[android-developers] News

2010-02-12 Thread olipolus
Everyone should write, writing is a way to express your feelings, what you want, what you are. http://news-olipolus.blogspot.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Modal Dialogs: the definitive solution

2010-02-12 Thread Berek
How do you get a View from the current window (Activity?) using this method in a worker thread (not GUI)? And, even if you did, there is still a window (of execution) between the time you get the view and the time the runnable runs. The Activity may have changed in that window of execution. On

[android-developers] Basis SoftExpo 2010

2010-02-12 Thread allaccessbd
http://allaccessbd.bogspot.com Bangladesh Association of Software and Information Services (BASIS) arranged BASIS Soft Expo 2010 at Bangabondhu International Conference Center at the capital city of Dhaka, Bangladesh. The image contains for Bangla version of Basis SoftExpo 2010 For more visit:

[android-developers] ANUSHKA'S THUNDER THIGHS FOR UUUUUU

2010-02-12 Thread timrzre t
ANUSHKA'S THUNDER THIGHS FOR UU http://medicinescizz.blogspot.com/ http://medicinescizz.blogspot.com/ http://medicinescizz.blogspot.com/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] crash in ListView.layoutChildren on display of onscreen keyboard

2010-02-12 Thread Tim
Hi All-- I have a ListActivity activity (with, of course, a ListView) that creates an AlertDialog when one of its elements is pressed to enabling editing of that item.The AlertDialog has an EditView in it and displays correctly, but when i click on the text box, I get the following crash on

[android-developers] Can I reset android device programatically?

2010-02-12 Thread Boris
Hi! Is there some way to reset android device programatically? I'm looking need some way to delete any private data (contacts, calendar items, media) from the phone. Thanks, Boris -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Hey Mr or Ms Moderator...

2010-02-12 Thread tony obrien
Hi, I have been attempting to operate within the android-developers and android-beginners Groups. I understand that new members are moderated, and completely agree with the concept. But to date, NONE of my posts have appeared. Is this normal? I am a new developer (thus the groups I am trying to

[android-developers] how to crop an image in android 2.x

2010-02-12 Thread Vaibhav Goel
I need to crop an image whose Uri is known. In 1.6 I used the below code. Intent i = new Intent(com.android.camera.action.CROP); i.setClassName(com.android.camera, com.android.camera.CropImage); i.setData(imageUri); // imageUri = content://media/external/images/media/40

[android-developers] how to set two colors Android list rows

2010-02-12 Thread ram
hi to all In a List How to set colors of Alternate rows -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Layout Highlight For Already Background Set

2010-02-12 Thread skink
use StateListDrawable as a layout's background. pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: read only time

2010-02-12 Thread Otters, everywhere
You could store the date when a goodie was found, then check somewhere in your game (at startup maybe) that no goodies where obtained in the future, or else delete them. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Dalvik Turbo

2010-02-12 Thread skink
hi, is it in any way related to jit that is being developed at google? www.myriadgroup.com/Media-Centre/News/MYRIAD-BRINGS-3x-FASTER-APPLICATIONS-RICHER-GAME-GRAPHICS-AND-BETTER-BATTERY-LIFE-TO-ANDROID.aspx thanks pskink -- You received this message because you are subscribed to the Google

[android-developers] How to use com.android.gallery with an image in the .apk ?

2010-02-12 Thread Gosh
Hi, i'm a big newbie in developping Android application, and i just met my first issue. I'm trying to display an image from package resources with an intent 'ACTION_VIEW'. I set the data type to 'image/*' and the data to 'android.resource://com.mypackage.test/r.drawable.toto' where toto is a jpg

[android-developers] Re: Dev Tools app crashes on entering Dev Settings menu (htc tattoo)

2010-02-12 Thread bradu33
I was having the same problem today on an HTC Hero running 1.5. Copied from adb command line as suggest in Android Documentation, and I first get a can't dispatch DDM chunk... error when trying to load Development.apk onto the phone (but it still says it copies successfully). When I launch, it

[android-developers] OpenGL lighting example?

2010-02-12 Thread Thomas A. Fine
Hi, I'm having problems getting OpenGL lighting to work. Right now I'm playing with a grid of random polygons. I've assigned a material that I think should give a light brown color to everything. But what I'm seeing is everything is either mostly black or mostly white most of the time, and

[android-developers] Re: Layout Highlight For Already Background Set

2010-02-12 Thread skink
use StateListDrawable as a layout's background. pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

  1   2   >