[android-developers] Re: Gps Signal Strength

2010-05-10 Thread JP
Signal strength isn't really a factor except for the visibility of satellites. As Lance indicates, multipath through reflection weight down on accuracy. So do urban canyons, bodies of water as well as shadowing by trees or even just overcast skies. What you can use programatically is the measure

[android-developers] Re: Send SMS in Android

2010-05-10 Thread Nithin
My wild guess is you are clicking on the button more than once... put the send() inside a if loop and set the boolean to false after calling send() Nithin On May 10, 10:53 am, mike hasitharand...@gmail.com wrote: hi guys, i have a application which send sms. but i found that the application

[android-developers] Re: How can I catch screen orientation change in onPause()?

2010-05-10 Thread Lenny
Maybe what you really want is to tell Android that your app will handle orientation changes on its own, rather than messing around with onPause http://developer.android.com/reference/android/app/Activity.html#ConfigurationChanges On Apr 23, 10:01 am, Thom Shutt thomshuttimper...@googlemail.com

[android-developers] Re: How to build default applications as a seperate

2010-05-10 Thread FrankG
It will not work in many cases, because often they are not standalone apps. So either they need special rights and must be signed with the platform key, or they use JNI stuff from other parts of the framework . I think, you must use the android build system. On 8 Mai, 11:15, Karteek N

[android-developers] Re: Creating Menu Problem

2010-05-10 Thread patbenatar
On Thu, May 6, 2010 at 9:16 PM, ChunKuen Lee jiafei...@gmail.com wrote: Any IDEA? help me~ Plz. LOL What's so funny? This may be what you're looking for... http://developer.android.com/reference/android/widget/ExpandableListView.html -- You received this message because you are subscribed to

[android-developers] Re: deserialize byte[]

2010-05-10 Thread ko5tik
Sending serialized bytesteam over the internet is generally bad idea - it's really difficult to ensure serialised bytes compatibility on both ends (JVM version, serial vgersion UID and couple of other factors really matter.) If I were you, I would use JSON / XML data binding for this purpose

[android-developers] Re: Send SMS in Android

2010-05-10 Thread mike
hi Nithin, i also guess the same thing because of that what i did was i create a very simple application. it also sends 2 sms's. this is really frustration. this the application package com.sms; import android.app.Activity; import android.os.Bundle; import android.telephony.SmsManager; import

[android-developers] Re: ProgressDialog - how to remove the numbers

2010-05-10 Thread oriharel
relax bibek, I will explain... since I don't know how to upload screenshots here, I'l do my best to describe. about the example - as I said, in the ApiDemos there is a progress dialog example. look it up. about the numbers - when the dialog shows, you see the orange progress bar start running,

Re: [android-developers] Re: Send SMS in Android

2010-05-10 Thread Mani Android
Hi Randika I'll try to solve ur issue. Add my id in the chat. Regards Mani On Mon, May 10, 2010 at 2:56 PM, mike hasitharand...@gmail.com wrote: hi Nithin, i also guess the same thing because of that what i did was i create a very simple application. it also sends 2 sms's. this is really

[android-developers] How to create uses-library

2010-05-10 Thread Karteek N
Hi, In android manifest file there is a tag to include libraries called uses-library. Suppose if i have some java files in the package hierarchy called com.my.lib i used the following tag in my manifest file uses-library android:name=com.my.lib / Now it is compiled successfully. But if i want to

[android-developers] Re: Send SMS in Android

2010-05-10 Thread mike
hi Nithin, i also guess the same thing because of that what i did was i create a very simple application. it also sends 2 sms's. this is really frustration. this the application package com.sms; import android.app.Activity; import android.os.Bundle; import android.telephony.SmsManager; import

[android-developers] How to set and get thread priority from Java and native layers

2010-05-10 Thread KK
I have a multithreaded streaming app which has mainly the following 5 threads 1 Main App(UI) Thread 1 controller thread (in native) 1 audio decoder thread (in native) 1 video decoder thread(in native) 1 thread to query the head position of audio (in Java) Apart from this I have video rendering

[android-developers] How does NotificationService work?

2010-05-10 Thread Second Dancer
I Know there is a system service out there handling toast, notification. But how does it handle these events. In android.widget.Toast.java, I only found INotificationService(which is defined by an aidl file) that handles it, I couldn't no found any class in android system implemented the

[android-developers] How does NotificationService work?

2010-05-10 Thread Second Dancer
I Know there is a system service out there handling toast, notification. But how does it handle these events. In android.widget.Toast.java, I only found INotificationManager(which is defined by an aidl file) that handles it, I couldn't no found any class in android system implemented the

[android-developers] Re: Listening for Bluetooth events and AVRCP profile

2010-05-10 Thread mort
You get AVRCP keys with the MEDIA_BUTTON Intent. But I don't know of support for track information. I'm afraid you need to do that low level, if it's possible at all (that is, without having to flash a patched ROM or at least having root access and using NDK...). On 10 Mai, 01:13, Moto

[android-developers] read the inbox messages

2010-05-10 Thread Mohammad Siddiqui
Hi everyone Can we read the android SMS messages programmatically in android. -- 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

[android-developers] Re: how to build the gallery application.

2010-05-10 Thread FrankG
He wrote, that he already downloaded everything. So he has already what he needs ..the different Android.mk files and he could also run mm SHOWCOMMANDS=1 in the Android build environment to see what happens during the build of this part. Good luck ! Frank On 7 Mai, 14:14, Mark Murphy

[android-developers] Re: I've found a way to stop piracy of my apps

2010-05-10 Thread MobDev
It took several days (almost a week) for crackers to decompile Screebl Pro and find a way to circumvent AAL. Typically it takes about 90 secs from the time that we publish to the market for the various warez sites to start tweeting the location of the download. I was wondering, after the first

[android-developers] Problem in sending in SMS

2010-05-10 Thread rajesh chandrasekaran
Hi all I am new in android, i need to send the sms in android, i have tryed with the following code, and i have tested in emulator, but i am getting error. i need to know how to send sms, and also please tell me below code will work or not import android.app.Activity; import

[android-developers] Re: glTexImage2D very slow on phones like Nexus one

2010-05-10 Thread manjunath
Hi Robert, Even I have a similar issue. The glTexSubImage2D API was taking long time and sometime it was blocking ( in loadTexture() function ). So we are creating a pixmap and then creatin a EGL Image of using eglCreateImageKHR API and then calling glEGLImageTargetTexture2DOES API . I've also

[android-developers] Re: ProgressDialog - how to remove the numbers

2010-05-10 Thread oriharel
I got an answer that there is no answer. so I just subclassed, reflected and changed. On May 10, 10:04 am, oriharel ori.ha...@gmail.com wrote: relax bibek, I will explain... since I don't know how to upload screenshots here, I'l do my best to describe. about the example - as I said, in the

[android-developers] Misleading incorrect runtime exception when missing resource

2010-05-10 Thread westmeadboy
This took me several hours to figure out so I thought its worth reporting... Manifest: uses-sdk android:minSdkVersion=3 android:targetSdkVersion=4 / supports-screens android:smallScreens=true android:normalScreens=true android:largeScreens=true android:anyDensity=true / Resource strategy:

[android-developers] Re: Problem in sending in SMS

2010-05-10 Thread Federico Paolinelli
On 10 Mag, 10:20, rajesh chandrasekaran crajeshdanger...@gmail.com wrote: Hi all I am new in android, i need to send the sms in android, i have tryed with the following code, and i have tested in emulator, but i am getting error. What kind of error are you getting? Did you remember to add

[android-developers] Max number of bluetooth devices that can be paired?

2010-05-10 Thread guru
Hi All is there any max limit that we can pair with bluetooth devices? How to check this limit.? when i tried to pair with more than 15 devices, it becomes slow and later it doesnt pair. Regards Gururaja B O -- You received this message because you are subscribed to the Google Groups Android

[android-developers] popupCharacters selection

2010-05-10 Thread Martins Mozeiko
Hi, I am wondering if popup for key could select automatically popped up character when implementing custom Keyboard with popupCharacters property for key. I have keyboard layout that has only one popup character for some keys and I would like to select it automatically when I hold long press on

[android-developers] Re: ProgressDialog Problem with Rotation

2010-05-10 Thread Kumar Bibek
Well, first of all you need to understand what happens on change of orientation. 1. The activity is killed. 2. The activity is re-started. So, obviously, your progress dialog is no where when the activity is restarted. Try to preserve the state of your activity while changing orientation and on

[android-developers] Re: store contacts in phone from a txt file.

2010-05-10 Thread Kumar Bibek
Simple, read the contacts from the file, and add them to the contacts app on your phone. Please, if you need specific answers, ask questions which can be answered that way. Thanks and Regards, Kumar Bibek On May 10, 9:03 am, pramod.deore deore.pramo...@gmail.com wrote: I have one txt file

[android-developers] Re: draw a 2d marker on a openGL scene

2010-05-10 Thread Paolo
I searched for that, but i did't find anything... Could you link it, please? On 4 Mag, 17:48, Robert Green rbgrn@gmail.com wrote: Paolo, If you want to do it the canvas-style, Just flip the projection to orthographic and draw a 2D quad.  I have posted the code for that more than once on

[android-developers] Re: Update an AbsouleLayout through code.

2010-05-10 Thread Kumar Bibek
Is there any link between the Subject and the description? Thanks and Regards, Kumar Bibek On May 9, 10:27 pm, Lordsaibat lordsai...@gmail.com wrote: My application sends a text message, it receives a reply through a broadcast receiver  that fires off a Notification. Here is my problem. My

[android-developers] Re: How to create uses-library

2010-05-10 Thread Vinay S
Can post the LogCat Output.. -Vinay On May 10, 12:21 pm, Karteek N kartee...@gmail.com wrote: Hi, In android manifest file there is a tag to include libraries called uses-library. Suppose if i have some java files in the package hierarchy called com.my.lib i used the following tag in my

Re: [android-developers] Add another Virtual Keyboard do simulate Control keys.

2010-05-10 Thread Rogério de Souza Moraes
Hi Mani, 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. The name of the file that implements this is Touchable.java. http://www.android-x86.org/documents/touch-only-device-howto The inconvenient is that you need

Re: [android-developers] How to handle the key events for HOME, MENU, BACK?

2010-05-10 Thread Mark Murphy
manis.droid wrote: Dear all How to handle the key events for HOME, MENU, BACK after making these keys as a soft keys? Requirement: The Device doesn't going to have any hard keys. So we want to bring these keys as a soft key and handle these keys events. If any one having the

Re: [android-developers] How to create uses-library

2010-05-10 Thread Mark Murphy
Karteek N wrote: In android manifest file there is a tag to include libraries called uses-library. This is for SDK add-ons, like the Google Maps add-on. Suppose if i have some java files in the package hierarchy called com.my.lib i used the following tag in my manifest file uses-library

[android-developers] Question about contact management (register and lookUpKey)

2010-05-10 Thread jef
Hello I'm a newbie with manipulation of Contact API I would create an application that saved a references to chosen contacts and create nex contacts. So I first think of contact id but i have read that it was a bad idea and the lookupkey was here for that ! So I try to play with lookupKey and

[android-developers] Re: WYSIWYG Tool for Android

2010-05-10 Thread jasont
Please do not use droiddraw. From my experience and what others have said about the site it is completely useless. I don't think it has been updated since pre 1.0 of the SDK. If it has been recently updated then please disregard this comment :) On May 8, 11:42 am, polyclefsoftware

[android-developers] Re: How do I fix an FC on Nexus.

2010-05-10 Thread jasont
What is the name of the application? As Robert send, let us know how to reproduce the problem and a friendly dev will post the logcat output for you. On May 9, 4:47 pm, TreKing treking...@gmail.com wrote: On Thu, May 6, 2010 at 5:21 PM, cellurl gpscru...@gmail.com wrote: What should I do?

Re: [android-developers] Re: Intents problem

2010-05-10 Thread Esdras Beleza
On 8 May 2010 10:08, Mark Murphy mmur...@commonsware.com wrote: Esdras Beleza wrote: I don't know if I understood your advice, but I tried some things like that. I tried to put new data into the intent (like a used flag) and updating the intent with setIntent(updatedIntent). I also

Re: [android-developers] Common code reuse

2010-05-10 Thread Max Gilead
As Mark said, resources are going to be an issue. For code though there's a simple way which would allow you to edit the shared code on the fly. Create a standard Android project and manually remove Android nature from its .project file (it you do this from inside Eclipse it'll all get

Re: [android-developers] Max number of bluetooth devices that can be paired?

2010-05-10 Thread Sandeep Phansekar
Hi you can pair max 7 device for proper functionality. -- Regards Sandeep On Mon, May 10, 2010 at 3:10 PM, guru guru.nav...@gmail.com wrote: Hi All is there any max limit that we can pair with bluetooth devices? How to check this limit.? when i tried to pair with more than 15 devices,

Re: [android-developers] Need Assistance !!!

2010-05-10 Thread TreKing
On Sun, May 9, 2010 at 11:53 PM, Sattanaathan Ravi sattanaat...@gmail.comwrote: Architecture and other guidances(how to get things done) What does Architecture mean? How to get WHAT things done? Everything? Do you want someone to come on here and post you a how-to-make-an-app guide from start

Re: [android-developers] Re: Intents problem

2010-05-10 Thread Mark Murphy
Esdras Beleza wrote: 5) Here comes the problem: if I go to other application (browser, for example) and go back to my application, the intent seems to be received again, onResume() is called and the dialog A, B or C is shown. But they must be shown *only* when the widget is clicked. Any

Re: [android-developers] Media control style buttons

2010-05-10 Thread TreKing
On Mon, May 10, 2010 at 12:38 AM, flumby jay.mojni...@gmail.com wrote: The user experience is very much like the play controls button on Media controls. Any suggestion/sample code on how to implement it? Isn't that part of the open source code? If so, seems like the best place to look.

Re: [android-developers] Re: ProgressDialog - how to remove the numbers

2010-05-10 Thread TreKing
On Mon, May 10, 2010 at 4:05 AM, oriharel ori.ha...@gmail.com wrote: I got an answer that there is no answer. Sure there is - find wherever the sample is placing those numbers and take that part out.

[android-developers] WCF complex types with android

2010-05-10 Thread Lamia Hannoun
Hi to all! I made the connection between my service WCF and my app android. But i'm wondering if u have ideas about using complex types (classes created on the server side). should i implement the serialization process? or should i juts create the classes on my client side(android) Plz can u

[android-developers] MMS URI Structure

2010-05-10 Thread Daniel Wiedenheft
Inspired by a post by CJ a few months ago, and because I ran into the same problem, I did a little (OK, a LOT) of poring through endless screens of code, and finally made some headway on how MMS messages are stored. Although the documentation blatantly omits this (read: unsupported, may change in

[android-developers] Wired crash with ActivityUnitTestCase and dimens.xml

2010-05-10 Thread T-Droid
Hi @all, I wrote a test case with ActivityUnitTestCase which was working fine. Now I added a dimensions file (dimens.xml) and using the values with a style.xml. Here some parts from the dimens.xml: resources eat-comment/ dimen name=my_height15dp/dimen resources Here the attrs.xml:

Re: [android-developers] WCF complex types with android

2010-05-10 Thread Jose Gomez
If you can return JSON then you should be ok THanks Sincerely Jose C Gomez http://www.josecgomez.com On Mon, May 10, 2010 at 9:38 AM, Lamia Hannoun lamia.hann...@gmail.comwrote: Hi to all! I made the connection between my service WCF and my app android. But i'm wondering if u have ideas

[android-developers] Re: Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required!

2010-05-10 Thread Abhi
Al Could you give an example of how to use StringBuilder to replace what I am doing? Thanks, Abhi On May 6, 3:37 pm, Al alcapw...@googlemail.com wrote: This isn't an error, it's just a message to inform you it is better to specify the size of thebufferyou need in the constructor. Abhi

Re: [android-developers] Re: [Help] how to draw multiple lines in Edittext?

2010-05-10 Thread social hub
What exactly is your problem here . getting line count 18 when u filled textbox with 18 lines? On Sat, May 8, 2010 at 12:53 AM, Vincent Tsao caojunvinc...@gmail.comwrote: @Soical Hub: thanks for your help, your suggestion inspired me a lot i finally find this way to get padding:

[android-developers] Re: ProgressDialog Problem with Rotation

2010-05-10 Thread Mike dg
Evan Charlton wrote a great article that might help you. http://evancharlton.com/thoughts/rotating-async-tasks/ -Mike dg On May 10, 12:37 am, Aaron aobrien...@gmail.com wrote: I have a managed ProgressDialog that show the status as tasks are moving along.  The Activity.show is kicked off by

[android-developers] Re: Problem in sending in SMS

2010-05-10 Thread Brion Emde
Another option is to use the built-in ACTION_SEND or its variants, so that you are using the facilities that are already available. This is and especially useful approach for a beginner. Look for ACTION_SEND in this document: http://developer.android.com/reference/android/content/Intent.html and

[android-developers] Communication between Activities in Tabs

2010-05-10 Thread Patrick
My application contains several Tabs. Each tab is it's own activity. They are created by using for example Intent intent = new Intent().setClass(this, SearchActivity.class); There I pass only the class of the activity. My question: how do I get the instance? (I want to invoke a method, which hides

[android-developers] Re: Eclipse: running junit tests

2010-05-10 Thread Patrick
I checked it again, unfortunately this is not the problem. The package matches the package of the application: instrumentation android:targetPackage=at.test.android.myapplication android:name=android.test.InstrumentationTestRunner / at.test.android.myapplication is the package, in which the

[android-developers] Re: Is Google working on the Bluetooth bug? Any estimated date of completion?

2010-05-10 Thread frankentux
The same problem seems to be detailed here: http://forum.samdroid.net/threads/598 Looks like SPP is completely broken on the i5700 - possibly because of the Broadcom BCM4325. On the positive side, that chip has a FM module :-) On May 3, 6:56 pm, frankentux cfarrell1...@googlemail.com wrote:

[android-developers] Re: Lots of lost sales due to Credit Card authorization.

2010-05-10 Thread Paul
I think if this thread gets enough response and attention then someone from Google may notice. They've got to have people looking at these posts once in a while. Is there no official Bug list for Android Market? I did post a thread here :

Re: [android-developers] Need Assistance !!!

2010-05-10 Thread Sattanaathan Ravi
Alright thanks for your Advice TreKing -- 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: I've found a way to stop piracy of my apps

2010-05-10 Thread dadical
That argument assumes that I don't respond to those cracks with improvements to AAL that will make it more difficult! :) Also, each app will need to be cracked individually, and I'm trying to work out some ways to make that a job that isn't cookie-cutter. The point here is to get this past the

[android-developers] Re: Strange ListView divider behaviour

2010-05-10 Thread Ondra
Next observation: When i build/run application from within Eclipse, everything behaves normal (that means all dividers are visible). However, when i create/build/run new project by means of android create, and debug and adb install tools, the app is rendered badly (some of the dividers are

[android-developers] How can I know if OpenGl has drawn something?

2010-05-10 Thread Alfonso
glReadPixels is too slow, so I need another way. Without testing object by object, Is there any other way? Thanks you very much -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] WCF complex types with android

2010-05-10 Thread Lamia Hannoun
Thanks for ur quick answer but can u give me more information(tutorial) or some example code !!! Thx 2010/5/10 Jose Gomez j...@josecgomez.com If you can return JSON then you should be ok THanks Sincerely Jose C Gomez http://www.josecgomez.com On Mon, May 10, 2010 at 9:38 AM, Lamia

[android-developers] Namespaces and custom widgets

2010-05-10 Thread Edward Falk
As a continuation of the thread in http://groups.google.com/group/android-developers/browse_thread/thread/390e8188cedd66a6, I'm still trying to figure out how a custom widget can use getIdentifier() to read attributes. As an example, I have a widget class called CustomWidget. It has attributes

[android-developers] Set an ImageView at a particular position inside GridView

2010-05-10 Thread tilo1583
I am using the GridView along with an ImageAdapter. The functionality I want is that I select a particular image and drop it on to the GridView. I want this image to snap to a cell closest to where it has been dropped. How do I tell the GridView (or the Adapter) to set this dropped Image in the

[android-developers] Re: SIP Stack

2010-05-10 Thread HeHe
i saw this in sipdroid project FAQ: Sipdroid now uses TCP for the signaling connection and keeps the corresponding port open. does anyone know how peer servers of sipdroid handle scalability when there are a million of sipdroid clients connecting with the servers using TCP? as i observed,

[android-developers] Having a back button functioning like the emulators

2010-05-10 Thread pawan nimje
Hi all I have 3 activities 1: Welcome screen 2:List of country 3:Details abt that country Now i want to from activity 3 to 2 Currently wat im doing is Intent i = new Intent(getApplicationContext(), selectcountry.class); startActivity(i); This way the onCreate methode of 2nd activity is

[android-developers] Re: ProgressDialog Problem with Rotation

2010-05-10 Thread Aaron
Thanks Mike, that was very helpful! I'll See if I can use the info to get my example working correctly, and post it for the next person... On May 10, 9:05 am, Mike dg vinb...@gmail.com wrote: Evan Charlton wrote a great article that might help you.

[android-developers] Go back to previous activity

2010-05-10 Thread pawan nimje
I want to go back to previous activity What code should i write for back button plz dont suggest Intent i = new Intent(Constants.CountryContext, selectcountry.class); startActivity(i); This creates the whole activity again ... which i dont want .. i want somthing like emulators back button ..

Re: [android-developers] Go back to previous activity

2010-05-10 Thread TreKing
On Mon, May 10, 2010 at 11:24 AM, pawan nimje pawanni...@gmail.com wrote: I want to go back to previous activity What code should i write for back button How about finish() ? plz dont suggest Intent i = new Intent(Constants.CountryContext, selectcountry.class); startActivity(i); I

Re: [android-developers] Re: SIP Stack

2010-05-10 Thread mike
On 05/10/2010 09:04 AM, HeHe wrote: i saw this in sipdroid project FAQ: Sipdroid now uses TCP for the signaling connection and keeps the corresponding port open. does anyone know how peer servers of sipdroid handle scalability when there are a million of sipdroid clients connecting with the

Re: [android-developers] Having a back button functioning like the emulators

2010-05-10 Thread TreKing
On Mon, May 10, 2010 at 11:09 AM, pawan nimje pawanni...@gmail.com wrote: wat code should i write to make my back button behave like the emulators ... finish(). And please don't double post - it's really unnecessary.

[android-developers] On activity (re)usage en creation

2010-05-10 Thread EnnaN
A question that might be a bit general/basic knowledge, but for me it has a quite direct background, so i'll form it as an example: I have an activity entry showing something equivalent of a blogpost, that might have comments. You can click somewhere to open a comments activity. But in this

Re: [android-developers] On activity (re)usage en creation

2010-05-10 Thread TreKing
On Mon, May 10, 2010 at 11:35 AM, EnnaN nhui...@gmail.com wrote: If I call the entry activity (with an intent) on a link to show this entry, am I re-using the old activity, or am I creating an endless string of entry, comment, entry, comment activities (pretty cost- ineffective that would

Re: [android-developers] Go back to previous activity

2010-05-10 Thread pawan nimje
By Intent i = new Intent(Constants.CountryContext, selectcountry.class); startActivity(i); i meant Intent i = new Intent(getApplicationContext(), SomeClass.class); startActivity(i); On Mon, May 10, 2010 at 9:59 PM, TreKing treking...@gmail.com wrote: On Mon, May 10, 2010 at 11:24 AM,

Re: [android-developers] Go back to previous activity

2010-05-10 Thread pawan nimje
yup ... finish() is working ... hey Treking ... is there any way to find out the contents of Activity Stack .. i.e getting the name and position of Activities ... and den bringing forward any of the activities .. plz help .. On Mon, May 10, 2010 at 9:59 PM, TreKing treking...@gmail.com wrote:

Re: [android-developers] Having a back button functioning like the emulators

2010-05-10 Thread pawan nimje
sorry and thank u ... On Mon, May 10, 2010 at 10:03 PM, TreKing treking...@gmail.com wrote: On Mon, May 10, 2010 at 11:09 AM, pawan nimje pawanni...@gmail.comwrote: wat code should i write to make my back button behave like the emulators ... finish(). And please don't double post - it's

[android-developers] Re: Need Assistance !!!

2010-05-10 Thread Maps.Huge.Info (Maps API Guru)
You might consider using a webview UI in an application such as this, it's easier for beginners to learn and has a lot of power behind it. -John Coryat -- 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: draw a 2d marker on a openGL scene

2010-05-10 Thread Robert Green
I couldn't find it either, hrmm Anyway it's like this: gl.glMatrixMode(GL10.GL_PROJECTION); gl.glPushMatrix(); gl.glLoadIdentity(); GLU.gluOrtho2D(gl, 0, viewportWidth, viewportHeight, 0); gl.glMatrixMode(GL10.GL_MODELVIEW); // draw your quad in 2d here - coordinate system is top left = 0,0 to

[android-developers] Re: How can I know if OpenGl has drawn something?

2010-05-10 Thread Robert Green
What are you trying to do? glReadPixels is a pipeline stall - it will slow everything down. If you want to check to see if an object has been touched, use a collision detection system, unproject the touch point into a ray and get the closest item that intersects with that ray. It's actually

Re: [android-developers] Go back to previous activity

2010-05-10 Thread TreKing
On Mon, May 10, 2010 at 11:46 AM, pawan nimje pawanni...@gmail.com wrote: hey Treking ... is there any way to find out the contents of Activity Stack .. There should be a most recently used list somewhere - dig around the documentation (ApplicationInfo, Packagemanager, etc would be likely

[android-developers] Re: SIP Stack

2010-05-10 Thread HeHe
i was not thinking about media. i guess the reason why sipdroid+TCP+pbxes can lower battery use is to enlarge sip registration expiration, eg. to 5 minutes or longer. what if mobile service provider changes phone IP earlier than 5 min when the provider finds no traffic to/from the phone? it will

Re: [android-developers] Re: SIP Stack

2010-05-10 Thread mike
On 05/10/2010 10:24 AM, HeHe wrote: i was not thinking about media. i guess the reason why sipdroid+TCP+pbxes can lower battery use is to enlarge sip registration expiration, eg. to 5 minutes or longer. what if mobile service provider changes phone IP earlier than 5 min when the provider finds

[android-developers] Re: On using themes?!

2010-05-10 Thread Mariano Kamp
Hmmh, also no answer to this question on themes. Maybe the answer cannot be given with two lines? So let me explain what I would expect step by step and you stop me were I deviate from the Golden Path? I'll try yes/no questions. In the simplest terms I would expect that in every place I can

Re: [android-developers] Go back to previous activity

2010-05-10 Thread pawan nimje
The resone why i want all this is ... what im wanting is since all those activities are already created ... on button click i jus want to switch [jump] to those activities ... instead of using the startActivity(intent) method ...anyways forget it and thnx for the help On Mon, May 10, 2010 at

[android-developers] Re: On activity (re)usage en creation

2010-05-10 Thread EnnaN
You can test this pretty easily by doing what you described and backing out. If it's the former, you should have 2 back presses. If it's the latter, you should have to back out as many times as activities you started. Yes? Good point I think! That would mean that the back-button is defined as

[android-developers] Check The Pic and comment

2010-05-10 Thread pawan nimje
Hi All, Check the image attached and let me know if its possible ... 6 tabs ... 4 above and 2 below ... and if yes .. how?? PS : i have created 4 tabs [all above :) ] using extends TabActivity,tabhost etc . -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: How can I know if OpenGl has drawn something?

2010-05-10 Thread Alfonso
I've got that collision detection system implemented, yet. And I'm agree to use glUnproject as the best achoice. My problem is that I remap the modelview matrix with the sensors and when I rotate the phone, change the coords of the screen returned by glUnproject. Even if I keep the object in the

[android-developers] Re: SIP Stack

2010-05-10 Thread HeHe
when i mentioned ...not be able to receive incoming calls.., i was not thinking about just server-client streaming. Mike, you knew it :) what is your mobile service provider? the sentence IP address changes are probably pretty rare looks strange to a T-Moble user like me. at least i find my G1 ip

[android-developers] Re: On activity (re)usage en creation

2010-05-10 Thread EnnaN
Well that was easy: Entry 1-click-Comments 1-click-Entry 2. Using back works like you'd expect (that sounds good), so that would mean i'm starting a string of activities (could be bad). Anyone care to give advice about this? Is this a big memoryproblem, or could this just work? Nanne. On May

Re: [android-developers] Re: On activity (re)usage en creation

2010-05-10 Thread TreKing
On Mon, May 10, 2010 at 1:18 PM, EnnaN nhui...@gmail.com wrote: In the meanwhile, is there a standard method to ensure some sort of singleton effect? Not sure what you mean by singleton effect, but you probably want to look at the launch mode flags when starting your activities. The

[android-developers] Re: Strange ListView divider behaviour

2010-05-10 Thread Ondra
Ok, I've probably solved the problem (but i still don't understand it). When I add uses-sdk android:minSdkVersion=3/ into app's manifest file, all problems mentioned earlier and badly rendered pixels disappear (no matter which IDE i use). Ondra -- You received this message because you are

[android-developers] Re: On activity (re)usage en creation

2010-05-10 Thread EnnaN
In the meanwhile, is there a standard method to ensure some sort of singleton effect? Not sure what you mean by singleton effect, I was referring to the singleton pattern (http://en.wikipedia.org/wiki/ Singleton_pattern), but as its not completely correct in this case i obfuscaded the term

Re: [android-developers] Re: On activity (re)usage en creation

2010-05-10 Thread TreKing
On Mon, May 10, 2010 at 1:34 PM, EnnaN nhui...@gmail.com wrote: Any thoughts on how bad the current behaviour is? Not sure what you mean - but if you haven't touched anything else, the current behavior is the default behavior, which should suffice for most apps.

[android-developers] Re: ProgressDialog Problem with Rotation

2010-05-10 Thread Aaron
The solution is very simple, for anyone who runs into this in the future... As Kumar stated when the phone is rotated the activity is destroyed and recreated - you don't have to play with Android for very long before you realize that. What I didn't know is you can override that behavior by

Re: [android-developers] Re: SIP Stack

2010-05-10 Thread mike
On 05/10/2010 11:24 AM, HeHe wrote: when i mentioned ...not be able to receive incoming calls.., i was not thinking about just server-client streaming. Mike, you knew it :) what is your mobile service provider? the sentence IP address changes are probably pretty rare looks strange to a T-Moble

[android-developers] Re: How can I fix this touch ev ent / draw loop “deadlock”?

2010-05-10 Thread niko20
Yes you should definitely put a small Yield or sleep in the drawing thread, this will allow the UI thread to process events. Also make sure to only synchronize exactly when you need to. For example, dont synchronize while checking which touch action it is, etc. Instead synchronize only right

Re: [android-developers] Re: Scala, Android, Eclipse - not including Scala jar?

2010-05-10 Thread James Moore
On Thu, May 6, 2010 at 7:55 PM, Bob Kerns r...@acm.org wrote: The lesson there is that if you use Proguard, and something odd goes wrong, always try disabling that first -- because the amount of time you can potentially waste is huge! Proguard works pretty well, and is pretty useful. But

[android-developers] Re: How can I know if OpenGl has drawn something?

2010-05-10 Thread Robert Green
If you're doing this to set up and draw your scene: gl.glMatrixMode(GL10.GL_PROJECTION); gl.glLoadIdentity(); GLU.gluPerspective(gl, FOV, viewAspectRatio, zNear, zFar); // **get or recreate this matrix for the unproject projection gl.glMatrixMode(GL10.GL_MODELVIEW); gl.glLoadIdentity();

[android-developers] Getting widget size

2010-05-10 Thread James
I'm writing a widget at the moment. It's supposed to fill one cell, so I've set the size to be 72dp by 72dp. The layout has a linear layout containing a 72x72dp ImageView. In onUpdate(), I call views.setImageViewBitmap with a 72px x 72px bitmap. This worked fine under Android 1.5 on my G1, but

[android-developers] PNG quality in WebView based app

2010-05-10 Thread Jeff
I am using WebView to display html content in an app. One of the pages has a rather large PNG image. The image is large and detailed on purpose because the idea is to use it as a map and allow users to zoom in to see the detail. Unfortunately, when the image is displayed with WebView, the quality

[android-developers] Re: Twitter app's popup aligned with ListView item - how did they do it?

2010-05-10 Thread westmeadboy
Anyone any ideas? On May 9, 4:33 pm, westmeadboy westmead...@yahoo.co.uk wrote: In the official Twitter app, in the Tweets activity, if you click on the small down arrow (right side of each tweet entry), a really nice popup appears just above or below the entry. How did they do this (i.e.

[android-developers] Re: I've found a way to stop piracy of my apps

2010-05-10 Thread niko20
Well I will say one thing, if it was opened up, that would allow each dev to make small code changes, so it would never be cookie cutter then...however, I am not against that you are trying to make some income from it, I mean you still did have to do the work. -niko On May 10, 10:06 am, dadical

  1   2   >