Re: [android-developers] Re: Application wake up

2010-10-21 Thread Zhihong GUO
Hi Prill, How to send binary SMS to the specific port on the phone, can we do the test on emulator? Thanks 2010/5/11 Timo Prill timo.pr...@googlemail.com Send binary SMS to the specific port on the phone, they won't be shown in the inbox.. (except the HTC Tattoo sometimes shows binary SMS

[android-developers] ContactsContract.Contact Not fully Aggregated

2010-10-21 Thread Chopcsu
I have found that the ContactsContract.Contact table contains the same contact multiple times for different accounts. i.e I have one 'dave' with com.google account and another in with vnd.sec.contact.sim . I thought the Contact table is supposed to be an aggregate of RawContacts automatically

[android-developers] Galaxy Tab SDK missing shared library

2010-10-21 Thread marlan
Hi, I have downloaded the Galaxy SDK from: http://innovator.samsungmobile.com/galaxyTab.do When I try to install my app on the emulator, I get an error: missing shared library. I think the google maps api is not included in the emulator. Is it possible to include the api? Thanks Mark -- You

Re: [android-developers] ContactsContract.Contact Not fully Aggregated

2010-10-21 Thread Atul Raut
Hi, Yes the contacts gets aggregetted into contact table and shows to used. The concept google introduced here is that same user might have different googles or yahoos or other account. Is this you are looking or what please let us know will elaborate more if needed. Thanks, Atul On Thu, Oct

[android-developers] Re: queryBroadcastReceivers does not return receivers registered by registerReceiver()

2010-10-21 Thread Assaf
I understand. 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For

Re: [android-developers] Re: Can startActivityForResult be called from within InputMethodService?

2010-10-21 Thread Dianne Hackborn
Why do you think it can't be used from a service? On Wed, Oct 20, 2010 at 3:36 PM, Saied saie...@gmail.com wrote: Now it seems that createSpeechRecognizer cannot be called from within a service. Without that, I don't think I can use SpeechRecognizer. Does this make sense? If it does,

[android-developers] Re: Smooth scrolling within a custom view - how to?

2010-10-21 Thread MB
Okay, I figured this out. The framework provides computeScroll for this. On Oct 20, 3:35 pm, MB manoj.bi...@gmail.com wrote: Hi, I would really appreciate any insights regarding the following. Any pointers/hints/thoughts on this   would be very helpful. I have wasted quite a bit of time on

Re: [android-developers] Re: Interface Design Question

2010-10-21 Thread Kostya Vasilyev
There is an article by Sony Ericsson guys on implementing a similar UI, except their list items don't get stacked on the bottom. http://blogs.sonyericsson.com/developerworld/category/tutorials/3d-list/ -- Kostya 21.10.2010 9:37, metal mikey пишет: Sorry, didn't mean to suggest using a

[android-developers] Screen capture from video stream

2010-10-21 Thread sheffanet
Hi, I want to get a screenshot from the video which is showing. Is it possible to get screenshot from video stream? Any ideas? 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] Crash report: NoSuchFieldError

2010-10-21 Thread Markus
Hi all, Yesterday I noticed this awkward crash report on the Android Market Home: java.lang.ExceptionInInitializerError at java.lang.Class.newInstanceImpl(Native Method) at java.lang.Class.newInstance(Class.java:1429) at android.app.Instrumentation.newApplication(Instrumentation.java: 957) at

[android-developers] How to get the state of checkbox in a onListItemClick in Listactivity?

2010-10-21 Thread LiangLiang Wu
f my list has 10 items.. the onclick listener is fired only for the 10th item. How to get the state of checkbox in a onListItemClick in Listactivity? I have a class OnItemClickListener like this: private class OnItemClickListener implements OnClickListener { private int mPosition;

[android-developers] Re: Memory Leaks

2010-10-21 Thread kohlerm
Hi, The dominator tree shows the largest objects in the heap. It shows only the largest objects that are not retained by one single object. It's therefore possible that your objects show not up there. Note that currently the information shown by the Memory Analyzer does *not* take the size of

Re: [android-developers] About the character encoding

2010-10-21 Thread Marcin Orlowski
On 20 October 2010 21:53, Julio Martins martins.ju...@gmail.com wrote: Friends, I am developing an application that has a module for sending SMS alerts. I'm worried about the character encoding. What better way to encode the string to be sent and the receiver not interpret as funny

[android-developers] Re: Recommendations for variable length ListBox

2010-10-21 Thread Kumar Bibek
Sure you can do that. There can be as many number of ViewTypes you want. And as many layouts. Also, you can create the views at runtime, depending on the requirement. There are a few methods in the BaseAdapter class which will help you. Search for them (getItemViewType or something)

Re: [android-developers] Re: [USSD] Any API's or code flow ?

2010-10-21 Thread Atul Raut
How to send Ussd command/code using Android phone. When am trying *#306# [for getting IMEI number] it say wrong Ussd code. But this is very generic and application to all phone. -Atul On Wed, Oct 13, 2010 at 10:52 AM, Atul Raut atul.dr...@gmail.com wrote: Thanks for kind reply. On Wed,

Re: [android-developers] Re: Interface Design Question

2010-10-21 Thread argon gold
Hi William, What happens to documents that are scrolled above the central one? Will they accumulate in a stack at the top? ==The documents that scrolled above the central one gradually scrolls to the top end and disappears. All documents are like in a chain until the last one reaches at the

[android-developers] Re: Tab Icons

2010-10-21 Thread JonFHancock
How is this for a start? Zip file containing white and gray tab icons for bus, car, bike, pedestrian, and two types of star in sizes from 512px to 32px: http://drop.io/pwrsdfe Here is a sample image: http://drop.io/pwrsdfe/asset/sample-png If you like them well enough, I'll tackle making more,

[android-developers] Display a numeric keypad on activity without an input area

2010-10-21 Thread draf...@gmail.com
I use the following code to pop up the soft input keyboard in my Activity --- InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); imm.getInputMethodList(); imm.toggleSoftInput(InputMethodManager.SHOW_FORCED, 0); --- This displays the

[android-developers] what intent is used for opening mail account?

2010-10-21 Thread MG
Hi all. I just want to know what intent am I going to use to open a mail client. I can open the compose view of the mail client but I cant find an intent to open the inbox view of the mail client. The same thing for opening the mail application from android device. For example, from my

[android-developers] Re: Droid 2: Cannot download to this device.

2010-10-21 Thread Ganapathy.C
May be your app have minimum SDK ver like android:minSdkVersion=7 so only it is showing like that... try this to change to 3 ( ver 1.5) -- 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] ListView OnClickListners Issue

2010-10-21 Thread Honey
Hi, I have a list view with few rows which has image, some text and a button in each row of the list. I have listeners for list and button.The Listener for button works but for the list view row is not working. Please let me know a solution for this issue. I have attached the sample code here:

[android-developers] Android mt9p031 sensor support

2010-10-21 Thread ashwani
Hi all, I have successfully ported android kernel (enabling staging kernel 2.6.32) on leopard DM365 board. I am using mt9p031 sensor in my board. I am getting the following errors while running the android camera application from adb shell. W/HAL ( 2118): load:

Re: [android-developers] Re: adjustResize with Landscape Mode.

2010-10-21 Thread gv.ramkumar.75
Yes i want to override that functionality. 1. I don't want the IMEs to go full screen in landscape mode , is there a property to achieve this? 2. My current layout xml file given above doesn't have the IME to fullscreen ( I believe i have used TextView instead of EditText that prevents it from

[android-developers] MediaRecorder buffering

2010-10-21 Thread RFuente
Hi everyone! I've been working with MediaRecorder for a while and still keep up discovering funny things about this class. I have two instances: one of them records video and the other one records audio (why I don't implement this with just one instance will be long to explain xD). At the same

[android-developers] reading ttf fonts

2010-10-21 Thread siliconeagle
I am writing a vector based drawing app and wanted to be able to get the vectorised (points, triangles, lines, etc) information for fonts - apparently this is in most ttf files. does anyone know how to read ttf files or any libraries that do it? Or is there a way to get the font information from

[android-developers] Re: Interface Design Question

2010-10-21 Thread William Ferguson
Let us know when you're done, I'd love to see it. Good luck. On Oct 21, 6:48 pm, argon gold argongol...@gmail.com wrote: Hi William, What happens to documents that are scrolled above the central one? Will they accumulate in a stack at the top? ==The documents that scrolled above the central

Re: [android-developers] what intent is used for opening mail account?

2010-10-21 Thread Mark Murphy
On Thu, Oct 21, 2010 at 5:47 AM, MG my.android.a...@gmail.com wrote: I just want to know what intent am I going to use to open a mail client. I can open the compose view of the mail client but I cant find an intent to open the inbox view of the mail client. There is no such Intent, sorry.

[android-developers] Re: what intent is used for opening mail account?

2010-10-21 Thread MG
But how would you open the mail client? Not to compose a message but to just call mail or gmail? Is it not possible? On Oct 21, 8:26 pm, Mark Murphy mmur...@commonsware.com wrote: On Thu, Oct 21, 2010 at 5:47 AM, MG my.android.a...@gmail.com wrote: I just want to know what intent am I going to

Re: [android-developers] Re: what intent is used for opening mail account?

2010-10-21 Thread Mark Murphy
On Thu, Oct 21, 2010 at 7:30 AM, MG my.android.a...@gmail.com wrote: But how would you open the mail client? Users tap on the icon for whatever mail client (Mail, Gmail, K-9, etc.) they want. Not to compose a message but to just call mail or gmail? Is it not possible? There is no generic

[android-developers] how to change location provider provider...

2010-10-21 Thread A N K ! T
i have developed an app which just notify when location changed... it used GPS_PROVIDERS as provider.. but as devices go inside of some building. it stop listening .. i want to change the provider at that time to network provider.. so should i write locationManager.requestLocationUpdate method

[android-developers] Re: how to get device's android version

2010-10-21 Thread Doug Gordon
Seems like this just gets the version that you compiled the app on. I think the OP is looking for a runtime version for an app that can run on multiple versions. Doug Gordon On Oct 20, 7:34 pm, Mark Murphy mmur...@commonsware.com wrote: On Wed, Oct 20, 2010 at 7:32 PM, cindy

Re: [android-developers] Re: how to get device's android version

2010-10-21 Thread Mark Murphy
On Thu, Oct 21, 2010 at 7:48 AM, Doug Gordon gordo...@gmail.com wrote: Seems like this just gets the version that you compiled the app on. No, it does not. I think the OP is looking for a runtime version for an app that can run on multiple versions. Use android.os.Build.VERSION:

[android-developers] Re: Forcing locale inside our app.

2010-10-21 Thread sblantipodi
Ciao Riccardo, it worked. Thanks. :) On Oct 20, 5:54 pm, Riccardo Ciovati rciov...@gmail.com wrote: On 20 Ott, 14:53, sblantipodi perini.dav...@dpsoftware.org wrote: How can I change locale only for my app? Did you tried this?

Re: [android-developers] Re: Which Javascript Framework?

2010-10-21 Thread rovi
Miguel/Kumar, Thanks for reply. What is your experience of Jquery/Jquery UI on Android? Mainly the animation and responsiveness (I will only support the current generation of Android phone, not the early ones like g1/ g2) Miguel Morales wrote: I agree with Kumar. It's pretty hard to

[android-developers] best way to play 10 sounds quickly

2010-10-21 Thread ArcDroid
Hello, I am trying to play the same 10 sounds very quickly and wondering what is the best way? 1. make 10 mediaplayers 2. make 1 mediaplayer and set the sound each time 3. use a soundpool? 4. Other ideas Thanks, ArcDroid http://www.arcdroid.com -- You received this message because you are

[android-developers] Estimation go across to GeoPoint !

2010-10-21 Thread MarcoCanali
Someone have a smart tip for get estimated time travel between two GeoPoint from Google Service ?? 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@googlegroups.com To

[android-developers] Re: Tab Icons

2010-10-21 Thread Pikoh
Well, i LOVE them,they are great thank you. I really encourage you to make more icons. I think many developers lack design skills as me, and need some good icons packs for their proyects. Maybe some of them could give you ideas in this post. Great job Jon, and thanks again. On 21 oct,

[android-developers] Listen for key presses on Numeric keypad?

2010-10-21 Thread draf...@gmail.com
I use the following code to listen for the key presses of 0 - 9 from the soft input keyboard on Android: --- @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if(keyCode == KeyEvent.KEYCODE_0)

Re: [android-developers] Re: Camera Preview not working on my G2

2010-10-21 Thread TreKing
On Wed, Oct 20, 2010 at 11:27 PM, Stephen Lebed srle...@gmail.com wrote: 1) The logcat says Runtime exception: Cannot instantiate activity ComponentInfo. I'm not sure what that is supposed to mean. Maybe you could shed some insight on this. Is there any more to the log cat? Post the 5 - 10

Re: [android-developers] Crash report: NoSuchFieldError

2010-10-21 Thread TreKing
On Thu, Oct 21, 2010 at 2:41 AM, Markus markus.wiederk...@gmail.com wrote: Any idea what might be the cause of this? First Google hit: http://download.oracle.com/javase/1.4.2/docs/api/java/lang/ExceptionInInitializerError.html ...thrown to indicate that an exception occurred during evaluation

[android-developers] Samsung Galaxy Tab: AVD add on package

2010-10-21 Thread Paul
Guys I found this today http://innovator.samsungmobile.com/galaxyTab.do and was able to install the package into my avd manager and I now have the Galaxy Tab emulator running. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Estimation go across to GeoPoint !

2010-10-21 Thread TreKing
On Thu, Oct 21, 2010 at 8:45 AM, MarcoCanali marco.can...@gmail.com wrote: Someone have a smart tip for get estimated time travel between two GeoPoint from Google Service ?? http://code.google.com/apis/maps/documentation/directions/

[android-developers] Re: Samsung Galaxy Tab: AVD add on package

2010-10-21 Thread Paul
Now I've found the first problem with the Galaxy Tab Emulator. I tried to run my application on it and got this error, which I don't get running any other emulator or on actual devices: Console: [2010-10-21 11:05:20 - myApp] Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY [2010-10-21

[android-developers] Re: Galaxy Tab SDK missing shared library

2010-10-21 Thread Paul
Got the same problem today. My app runs fine on all other emulators, even tried to install from the web by downloading the version of my app that I sell on the Android Market. Same issue. Now since I had to hunt around to find the link for the Galaxy Add-on maybe its not ready for prime time

Re: [android-developers] Re: Samsung Galaxy Tab: AVD add on package

2010-10-21 Thread Mark Murphy
On Thu, Oct 21, 2010 at 11:13 AM, Paul idi...@gmail.com wrote: Now I've found the first problem with the Galaxy Tab Emulator. I tried to run my application on it and got this error, which I don't get running any other emulator or on actual devices: Console: [2010-10-21 11:05:20 - myApp]

[android-developers] Uploading an app to the Market for testing

2010-10-21 Thread Bret Foreman
I've just added LVL and server-based licensing into my (as-yet unpublished) app. It appears that the license testing requires that the app exist in the Android Market. Is there a way to publish an app to the Market but keep it hidden while I test? -- You received this message because you are

[android-developers] Re: SDK Add-on for Samsung Galaxy Tab

2010-10-21 Thread Paul
Yeah, found that today. I don't see the forum links on that page though. Also there is an issue running apps on the Tab emulator if they use Google Maps APIs. Gets an error about missing shared library even though build target for the app includes the Google APIs. On Oct 11, 3:02 am, Hongik Kim

Re: [android-developers] Uploading an app to the Market for testing

2010-10-21 Thread Kumar Bibek
:) Sorry. You yourself also wouldn't be able to test it if it remains hidden. On Thu, Oct 21, 2010 at 9:19 PM, Bret Foreman bret.fore...@gmail.comwrote: I've just added LVL and server-based licensing into my (as-yet unpublished) app. It appears that the license testing requires that the app

[android-developers] Re: Help!!! Unknown Error - java.lang.NullPointerException :: Android Packaging Problem

2010-10-21 Thread Chris
Finally figured it out. ==Short version My .project file was corrupted and I needed to manually update linked library locations. Since the .project file was pointing to the wrong place, a null pointer exception was thrown. ==Long Version For some reason, the GUI and project settings were

[android-developers] Re: Problem in running test case

2010-10-21 Thread A. Elk
This class looks OK to me, with one possible exception that I'll mention at the end. You didn't post the manifest file for this test package. The problem might be there. You said when I extend this class with InstrumentationTestCase... Can you post exactly what you mean? Which class is this

Re: [android-developers] Uploading an app to the Market for testing

2010-10-21 Thread TreKing
On Thu, Oct 21, 2010 at 10:49 AM, Bret Foreman bret.fore...@gmail.comwrote: Is there a way to publish an app to the Market but keep it hidden while I test? Will it let you un-check all countries?

[android-developers] Re: Android Canvas.getMatrix followed by Canvas.setMatrix(null) raises NullPointerException

2010-10-21 Thread miniondev
I've also tried calling setMatrix with a real matrix instance that is explicitly set to identity, but then I start to get unexpected values from getMatrix. I really think that I should be able to both get the current canvas matrix, and reset it without these kind of problems. Please, if anyone

[android-developers] Re: Listen for key presses on Numeric keypad?

2010-10-21 Thread Donal Rafferty
Anybody have any ideas? On Thu, Oct 21, 2010 at 3:21 PM, draf...@gmail.com draf...@gmail.comwrote: I use the following code to listen for the key presses of 0 - 9 from the soft input keyboard on Android: --- @Override public boolean onKeyDown(int keyCode,

[android-developers] Re: Display a numeric keypad on activity without an input area

2010-10-21 Thread Donal Rafferty
Anybody have any ideas? On Thu, Oct 21, 2010 at 10:16 AM, draf...@gmail.com draf...@gmail.comwrote: I use the following code to pop up the soft input keyboard in my Activity --- InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);

Re: [android-developers] How to get the state of checkbox in a onListItemClick in Listactivity?

2010-10-21 Thread TreKing
On Thu, Oct 21, 2010 at 2:55 AM, LiangLiang Wu geish...@gmail.com wrote: but only when I check the last item's checkbox, it go A correctly. Other items' checkbox are checked they just go B. Who could tell me where I am wrong. Well, you're checking if the argument is the same as the reference

Re: [android-developers] how to change location provider provider...

2010-10-21 Thread TreKing
On Thu, Oct 21, 2010 at 6:40 AM, A N K ! T ankit.awasth...@gmail.comwrote: so should i write locationManager.requestLocationUpdate method there in status change method of listener.with provider to network provider... I have no idea what you just said there. or something else will do the

Re: [android-developers] Re: Listen for key presses on Numeric keypad?

2010-10-21 Thread TreKing
On Thu, Oct 21, 2010 at 11:45 AM, Donal Rafferty draf...@gmail.com wrote: Anybody have any ideas? Check what keycodes you are getting when in the second mode? Maybe they're different for some reason?

Re: [android-developers] Re: Display a numeric keypad on activity without an input area

2010-10-21 Thread TreKing
On Thu, Oct 21, 2010 at 11:45 AM, Donal Rafferty draf...@gmail.com wrote: Anybody have any ideas? Wait more than 8 hours before bumping your own post - especially when you post around 2 - 5 AM US time.

[android-developers] Re: Listen for key presses on Numeric keypad?

2010-10-21 Thread letlite
Take a look at TextView.addTextChangedListener(TextWatcher) On Oct 21, 9:45 am, Donal Rafferty draf...@gmail.com wrote: Anybody have any ideas? On Thu, Oct 21, 2010 at 3:21 PM, draf...@gmail.com draf...@gmail.comwrote: I use the following code to listen for the key presses of 0 - 9 from

Re: [android-developers] ListView OnClickListners Issue

2010-10-21 Thread TreKing
On Thu, Oct 21, 2010 at 5:24 AM, Honey honee...@gmail.com wrote: Please let me know a solution for this issue. I have attached the sample code here: Sorry, but realistically no one is going to download your files, sift through your code, determine your problem, and give you a solution. Post

[android-developers] Creating a listActivity with a button on the bottom

2010-10-21 Thread Gabriel Huie
Hi I wanted to know how to create a listActivity on Droid but on the bottom have a bottom to do whatever i want so like in a section of its own. Recently i tried merging two layouts with one being the row one for list Activity and a button but all i get are a list with buttons next to each line on

Re: [android-developers] Creating a listActivity with a button on the bottom

2010-10-21 Thread TreKing
On Thu, Oct 21, 2010 at 12:46 PM, Gabriel Huie ghui...@gmail.com wrote: how can we do a list with a space on the bottom just for a button? http://developer.android.com/reference/android/widget/ListView.html#addFooterView%28android.view.View%29

Re: [android-developers] ListView OnClickListners Issue

2010-10-21 Thread Julie Andrews
*Can you make a target number 37 by using five 5s? You can use any math operator as you want. There are at least two different ways.* On Thu, Oct 21, 2010 at 3:24 AM, Honey honee...@gmail.com wrote: Hi, I have a list view with few rows which has image, some text and a button in each row of

Re: [android-developers] Creating a listActivity with a button on the bottom

2010-10-21 Thread Julie Andrews
sorry can't help On Thu, Oct 21, 2010 at 10:50 AM, TreKing treking...@gmail.com wrote: On Thu, Oct 21, 2010 at 12:46 PM, Gabriel Huie ghui...@gmail.com wrote: how can we do a list with a space on the bottom just for a button?

Re: [android-developers] Creating a listActivity with a button on the bottom

2010-10-21 Thread Mark Murphy
TreKing's solution works if you want the Button to scroll with the rest of the contents of the ListView. If you want the Button to stay fixed on the bottom of the screen: Step #1: Create a RelativeLayout Step #2: Put the ListView and the Button in the RelativeLayout Step #3: Anchor the Button

[android-developers] Re: how to change location provider provider...

2010-10-21 Thread MarcoCanali
When you declare ... mLocationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, minTime, minDistance , mGPSLocationListner); go to method @Override public void onStatusChanged(String provider, int status, Bundle extras) {

[android-developers] Re: Forcing locale inside our app.

2010-10-21 Thread sblantipodi
is there a way to detect default locale? I need to know what is the default locale of the phone where my app is running, is it possible I haven't finded nothing... Thanks. On Oct 21, 2:31 pm, sblantipodi perini.dav...@dpsoftware.org wrote: Ciao Riccardo, it worked. Thanks. :) On Oct 20,

[android-developers] Re: Forcing locale inside our app.

2010-10-21 Thread sblantipodi
Ok, just founded. Locale myPhoneLocale = Locale.getDefault(); On Oct 21, 8:17 pm, sblantipodi perini.dav...@dpsoftware.org wrote: is there a way to detect default locale? I need to know what is the default locale of the phone where my app is running, is it possible I haven't finded nothing...

[android-developers] Re: Samsung Galaxy Tab: AVD add on package

2010-10-21 Thread Paul
@Mark Murphy- Right, the problem is with the AVD. I just mentioned the Build target at the end as a way of clarification (also not sure if emulators/devices automatically include all libraries in classpath of running application or if they check manifest, etc., but that is another topic of

[android-developers] Re: Creating a listActivity with a button on the bottom

2010-10-21 Thread Gabriel Huie
Hey so i tried the first solution u suggested but i got an error basically all i have is one layout file and i call it using setListAdapter(new ArrayAdapterString(this, R.layout.next, names)); names is already defined then for the layout file and i suppose to delete some stuff for either the

Re: [android-developers] Re: Creating a listActivity with a button on the bottom

2010-10-21 Thread TreKing
On Thu, Oct 21, 2010 at 1:55 PM, Gabriel Huie ghui...@gmail.com wrote: when i ran it, i got a force close? And the exception that caused the force close is what? - TreKing

[android-developers] Re: Uploading an app to the Market for testing

2010-10-21 Thread MB
You would have to quickly publish and then un-publish the app to test LVL in your app. This is the only way I could figure out. If you figure out something better please share it with the group. This is what I had to do for testing LVL even with the sample LVL code. --MB. On Oct 21, 8:49 am,

[android-developers] Re: Creating a listActivity with a button on the bottom

2010-10-21 Thread Gabriel Huie
Ok so Im still kinda of new to developing droid how do u check the exception? it doesnt print anything out on console? and when i run it it just pops up with the screen stating the application stopped? On Oct 21, 11:57 am, TreKing treking...@gmail.com wrote: On Thu, Oct 21, 2010 at 1:55 PM,

Re: [android-developers] Re: Creating a listActivity with a button on the bottom

2010-10-21 Thread TreKing
On Thu, Oct 21, 2010 at 2:12 PM, Gabriel Huie ghui...@gmail.com wrote: Ok so Im still kinda of new to developing droid how do u check the exception? Look at the LogCat view in Eclipse or use DDMS. http://developer.android.com/guide/developing/debug-tasks.html

[android-developers] Re: Creating a listActivity with a button on the bottom

2010-10-21 Thread Gabriel Huie
So i ran the debugger on eclipse so im not sure if this was what u meant but the top stated Thread [1 main] (Suspended (exception IllegalStateException)) ListView.layoutChildren() line: 1662 ListView(AbsListView).onLayout(boolean, int, int, int, int) line: 1147

Re: [android-developers] Re: Creating a listActivity with a button on the bottom

2010-10-21 Thread TreKing
On Thu, Oct 21, 2010 at 2:43 PM, Gabriel Huie ghui...@gmail.com wrote: So i ran the debugger on eclipse so im not sure if this was what u meant Yup. That's the stack of the main thread. You want the exception message from the LogCat window. It will be basically the same, but ideally the

[android-developers] Re: Creating a listActivity with a button on the bottom

2010-10-21 Thread Gabriel Huie
10-22 01:15:38.271: ERROR/ArrayAdapter(316): You must supply a resource ID for a TextView 10-22 01:15:38.312: ERROR/AndroidRuntime(316): FATAL EXCEPTION: main 10-22 01:15:38.312: ERROR/AndroidRuntime(316): java.lang.IllegalStateException: ArrayAdapter requires the resource ID to be a TextView

Re: [android-developers] Re: Creating a listActivity with a button on the bottom

2010-10-21 Thread TreKing
On Thu, Oct 21, 2010 at 3:10 PM, Gabriel Huie ghui...@gmail.com wrote: 10-22 01:15:38.271: ERROR/ArrayAdapter(316): *You must supply a resource ID for a TextView* 10-22 01:15:38.312: ERROR/AndroidRuntime(316): FATAL EXCEPTION: main 10-22 01:15:38.312: ERROR/AndroidRuntime(316):

[android-developers] ResourceNotFound occurs sometimes during layout inflation

2010-10-21 Thread Doug Gordon
My app may launch a sub-activity for a specific purpose. When that activity finishes, I get the results in onActivityResult. These results are then processed in the subsequent onResume. This consists of a setContentView and also starting an AsyncTask that puts up a ProgressDialog. This all

[android-developers] Re: Creating a listActivity with a button on the bottom

2010-10-21 Thread Gabriel Huie
So I'm not really suer what that means I added a TextView and got rid of ListView when i check outlayout it shows Relative Layout TextView Button So i kno i have a textView but im still gettin that same error what does it mean supply a resource ID On Oct 21, 1:14 pm, TreKing

[android-developers] Add a third-party to the emulator ?

2010-10-21 Thread Ferro Francesco
Hi everybody, I'm delevelopping a litle application that use that facebook library http://restfb.com/ it's a .jar that i have added in my project. i have added that line too in the manifest: uses-library android:name=com.restfb / It build everything ok, but the apk fail to install..

[android-developers] opengl ES 2.0 FrameBuffer strange effect

2010-10-21 Thread cybice
Can anybody explain: I have an application which to make some effects uses opengl FrameBuffers Opengl version is GL ES 2.0 hardware is Nexus One In my application one call to draw some texture in FrameBuffer cause FPS decrease from 40 to 30 But 10 calls to 10 FrameBuffers, also cause FPS

[android-developers] Overriding user sms request

2010-10-21 Thread Omer
Is it possible to know when a user tries to send an sms message, and preventing him from doing so? -- 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

[android-developers] android market account still ask for payment...

2010-10-21 Thread ipsilondev
Hi, i signed up a few hours ago to the android market, i paid the 25$ usd and received the receipt from google checkout, but when i try to complete it, still ask me for payment. and when i go to this url: http://market.android.com/publish/receipt it says: Waiting for Google Checkout payment

[android-developers] Re: Stagefright Mediaextractor: how to detect interlaced streams in video files?

2010-10-21 Thread Shashank
Yes Deva, You are right. The information regarding interlace is stored in compressed bit stream. Codec component should be able to provide this information to the application, i.e. OMX Client. In case of Android :: Stagefright, its OMXCodec.cpp. Once this information is retrieved, developer can

[android-developers] Introduce to game Development

2010-10-21 Thread Caio Lima
Hi guys, this is my first post here, and i want to know what programs do use to develop games. I find a engine to 2D games(andEngine), therefore i want to know what program do u use to design TiledsMaps, control Sprites. Thanks in advance -- You received this message because you are subscribed

[android-developers] Streaming MP4 videos in my app??????

2010-10-21 Thread dbmaui2010
Hello All, I hope someone out there can help me with this. I have an app that I designed for Iphone and Ipad, and am now porting it over to android. It streams high quality video files and I am having a great deal of trouble getting the files to stream in android. I have seen the file stream on

[android-developers] Setting Widget Icon Image on Widget Load

2010-10-21 Thread Benaiah
I am writing my first application and am trying to get my widget to load a different image when it is added to the home screen based on the state of the notification volume. It is detecting the notification state fine and the proper Toast messages appear when I add the widget, but I'm not getting

[android-developers] Difference between StageFright and Opencore

2010-10-21 Thread Shashank
Guys, Opencore is a sophisticated multimedia framework developed by Packet video company. Over the years it has matured a lot, but as a side effect its huge in terms of number lines of code. Whereas Stagefright is not a multimedia framework in my opinion. Its a custom library meant for

[android-developers] Re: New OMX component integration into Opencore

2010-10-21 Thread Shashank
Guys, Nagaraj is right. However available options are 1) Register your OMX Component into PV's OMX Core MPEG4, H264 codecs have already been integrated in PV OMX Core. Use them as reference. 2) Define your own OMX Core, implement the core and integrate your OMX Component into your Core.

[android-developers] Distributing free licenses to paid apps

2010-10-21 Thread Brenton
I have an app that contains the License Verification Library (LVL). My Market developer account is my Google Account, but my phone is logged in to my Google Apps account. LVL is issuing a responseCode of 1 and calling callback.disallow() if I try to run my app on my Google Apps phone. I've

[android-developers] jsonarray as spinner source

2010-10-21 Thread ally
how do i bind jsonarray to spinner like what we do in html, we have value and data but in spinner it doesnt have. I have search over the web and came to know we have to subclass the base adapter to be able to do this. Can anyone give me some sample code how to add this value and data into the

[android-developers] Yahoo Mail Setting for your Mobile

2010-10-21 Thread Sazzad Rahman
Steps to configure Yahoo mailbox on your mobile. Its very simple just 5 Minute to configure it. Learn with screen shot. This is tested on N73 and works perfectly. For configuration Go to tools-- Setting Wizard-- Email Setting-- INCOMING E-MAIL 1. User name- (your user name) 2. Password-

[android-developers] Re: Buffering problem while reading an h264 video (using HTTP protocol).

2010-10-21 Thread Shashank
Hi, To check if the issue is with your application, 1) run the same content locally see if buffering status is non zero. 2) run the content over http, and issue pause. This should make buffer status non zero regards Shashank On Oct 13, 2:46 pm, Corentin_ guy_coren...@hotmail.com wrote: Hi,

[android-developers] Switch between profile

2010-10-21 Thread Gaurav Gupta
Hello, I'm new to android and looking into android SDK and framework code. I'm writing an application where I need to switch between profiles( like home/office/meeting/driving/silent/normal ) on a particular event. Can you please help me how to do this using android SDK. It would be great if

[android-developers] Bad sound quality when recording/playing sounds...

2010-10-21 Thread Nick
Hey, I have a problem with andriod programing when I try to record and then play the file that was just recored. I can both record and play the sound but the quality stinks. Its not just bad is really hard to listen to and sound abit like its a computer generated voice... I use the andriod

[android-developers] Re: Bad sound quality when recording/playing sounds...

2010-10-21 Thread niko20
The emulator can only record in 8000hz sample rate, so yes it will always sound like crap. A real device can do higher quality recording. On Oct 16, 2:17 pm, Nick nickel...@gmail.com wrote: Hey, I have a problem with andriod programing when I try to record and then play the file that was just

Re: [android-developers] Setting Widget Icon Image on Widget Load

2010-10-21 Thread YuviDroid
I'm not sure what's wrong with your code and I'm kind of guessing here...but: - onEnabled() is only called when the FIRST widget is created. So, if you try to add a second widget to the homescreen this method will not be called. Also, maybe, when onEnabled() is called the widget actually does not

[android-developers] problem in Importing Packages

2010-10-21 Thread Dliswa
Hi Everyone Brother currently i m new to android and now i developing Gtalk Like Application. but when i import package i.e import com.google.android.gtalkservices.IGTalkService; IDE give me Error like Can not resolve . What should i do. Kindly plz Help me. -- You received this message

[android-developers] RelativeLayout and getTextBounds

2010-10-21 Thread Sharon
Hello, I want to add a RelativeLayout and set its height according to size of a font. I added this code: Rect rect = new Rect(); paint.getTextBounds(A, 0, 1, rect); ViewGroup.LayoutParams params1 = new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FILL_PARENT, rect.right - rect.left);

  1   2   3   4   >