Re: [android-developers] Re: SQLite Implementation

2010-12-17 Thread Kostya Vasilyev
It looks like a problem in your JavaScriptInterface.insertValues. There should be more in the logcat below what you posted, starting with Caused by:. -- Kostya 17.12.2010 10:31, cuil yahoo ?: I went through some online material both blogs and videos, and managed to rectify the code.

Re: [android-developers] Re: Samsung Fascinate AVD definition

2010-12-17 Thread Kostya Vasilyev
17.12.2010 10:37, Bob Kerns пишет: 800 pixels / 4 inches = 200 pixels/inch. Um, no, this calculation is wrong. 4 inches is the diagonal size, whereas 800 pixels is along the long size of the screen. Applying Pythagorean theorem gives screen size of 2,05 by 3,41 inches, or 234 pixels per

Re: [android-developers] Re: SQLite Implementation

2010-12-17 Thread cuil yahoo
This thing has started to irritate me, I have copied the code below, this is test.java, the main class of my program. package android.test; import android.app.Activity; import android.content.ContentValues; import android.database.sqlite.*; import android.os.Bundle; import android.util.*;

[android-developers] Re: Upgrade dev phone 1 from 1.6 to 2.2

2010-12-17 Thread swarup
as per JBQ (http://android-developers.blogspot.com/2010/06/froyo-code- drop.html), yes it can be done. but can't confirm how it would be with such limited internal storage. you need follow the build procedure mentioned at source.android.com HTC stopped releasing official ADP1 images after 1.6

[android-developers] Re: how to connect gps in android emulator

2010-12-17 Thread Ali Chousein
1. Open a command line prompt (e.g. open a terminal under Linux) 2. Use telnet to connect to your emulator. e.g. telnet localhost port number. Normally the emulator is connectd to port 5554. You can see which port your emulator is connected to on the top left corner of the emulator window. 3.

Re: [android-developers] Re: how to change child list color in ExpandableList

2010-12-17 Thread Kostya Vasilyev
Pramod, As far as I can remember, you are using SimpleCursorTreeAdapter. If so, you shouldn't have to override anything. The constructor takes layout ids, different ones for collapsed group, expanded group, non-last child, and last child. Check what you're using for these parameters.

Re: [android-developers] Re: SQLite Implementation

2010-12-17 Thread Kostya Vasilyev
What is the output of logcat under Caused by: ? And don't extend your JavaScript callback from test. Activities represent UI screens and are managed by Android. Defining and instantiating one yourself, bypassing the framework, is a recipe for disaster. -- Kostya 17.12.2010 11:14, cuil

[android-developers] How to simulate a (missing) DPAD

2010-12-17 Thread blindfold
For Android phones that lack a physical d-pad or trackball (e.g. Alcatel OT-980, Motorola Droid Pro), I am trying to remap the physical up and down volume keys to simulated up and down d-pad keys using code like @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if

Re: [android-developers] Re: SQLite Implementation

2010-12-17 Thread cuil yahoo
Thanks for replying so quickly. On Fri, Dec 17, 2010 at 1:59 PM, Kostya Vasilyev kmans...@gmail.com wrote: What is the output of logcat under Caused by: ? I see no Caused by in the logcat output, here is the complete output http://pastebin.com/VMsrK0Db And don't extend your JavaScript

Re: [android-developers] Re: Reducing 1 star ratings for IM; strategies

2010-12-17 Thread Kostya Vasilyev
17.12.2010 2:24, YuviDroid ?: What I was thinking of trying was to create a little app that has an icon so the user would have something to click on. from there I could tell them what they need to know. Actually, this helps me not get these comments for a silly little

[android-developers] Re: Customizing a RelativeLayout

2010-12-17 Thread Paolo
any ideas? On 16 Dic, 13:40, Paolo brand...@gmail.com wrote: Thanks a lot for your answer ;) Before to use my own nine-patch, I'd like to understand what I'm wrong extending the RelativeLayout. So, in other topics I found that Roman Guy suggested to use setWillNotDraw(false).  Using this

[android-developers] Import monkeyrunner methods in my java application

2010-12-17 Thread Miguel Pellón
Hi all, I have developed a Java API to interact with some apps I developed using adb commands. Since now monkeyrunner is out there, I would like to use monkeyrunner methods in my java class. Do you know if this is possible? If it is, how can this be done? Thanks! Regards, Miguel -- You

[android-developers] Unit testing framework with monkeyrunner

2010-12-17 Thread Miguel Pellón
I would like to use some unit testing for python combined with the monkeyrunner, but I have seen monkeyrunner is called via command line, so I dont see the way of integrating it into a unit testing framework (similar to junit). Any idea on how to do it? Thanks! Regards, Miguel -- You received

Re: [android-developers] Re: SQLite Implementation

2010-12-17 Thread Kostya Vasilyev
Wow. What a crash. Ok, let's see. Your JavaScript callback needs a reference to Activity, to use with database stuff (actually, a reference to Context, which is a base class of Activity). Do not extend JS callback from test. Pass a reference to your activity into the JS callback

Re: [android-developers] Re: Customizing a RelativeLayout

2010-12-17 Thread Kostya Vasilyev
I don't know what setWillNotDraw does, but the XML error looks suspicious. -- Kostya 17.12.2010 11:49, Paolo пишет: any ideas? On 16 Dic, 13:40, Paolobrand...@gmail.com wrote: Thanks a lot for your answer ;) Before to use my own nine-patch, I'd like to understand what I'm wrong extending

[android-developers] Re: how to change child list color in ExpandableList

2010-12-17 Thread pramod.deore
Hi Kostya, Thanks for your suggestion but still I am not understand what you mean. It is possible to you make change in my code it is posted above. Or if don't have time then please explain bit more.Thanks On Dec 17, 1:23 pm, Kostya Vasilyev kmans...@gmail.com wrote: Pramod, As far as I can

[android-developers] Re: Customizing a RelativeLayout

2010-12-17 Thread Paolo
Thanks for your help anyway ;) I hope someone can answer at my question. On 17 Dic, 09:58, Kostya Vasilyev kmans...@gmail.com wrote: I don't know what setWillNotDraw does, but the XML error looks suspicious. -- Kostya 17.12.2010 11:49, Paolo пишет: any ideas? On 16 Dic, 13:40,

Re: [android-developers] How to simulate a (missing) DPAD

2010-12-17 Thread Dianne Hackborn
I doubt you will get this to work correctly, because you are doing this after parts of the framework that deal with things like going in and out of touch mode have seen the events. Why are you doing this? If a device doesn't have a DPAD, the user isn't going to think to use the volume keys to

[android-developers] Pinch Zoom on Image

2010-12-17 Thread Ajmer Singh
Hi All I need to implement the pinch zoom on an image,could anybody please let me know how one can implement this,Is there any tutorials etc ?. -- Thanks and Regards Ajmer Singh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Fm Radio

2010-12-17 Thread wolf
thank you mr bob On Dec 16, 1:58 pm, Bob Kerns r...@acm.org wrote: Well, I doubt HTC is going to tell you, so your best approach, I think, would either to see what the people who integrated it on to Nexus One did, or to reverse engineer the com.htc.fm app yourself. I suspect that's more

Re: [android-developers] Re: how to change child list color in ExpandableList

2010-12-17 Thread Kostya Vasilyev
Edit layout_simple_..._1 and set a background. Leave layout 2 as is. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 17.12.2010 12:02 пользователь pramod.deore deore.pramo...@gmail.com написал: Hi Kostya, Thanks for your suggestion but still I am not understand what you mean. It is possible

[android-developers] Re: How to simulate a (missing) DPAD

2010-12-17 Thread blindfold
Thanks Dianne! Good to know, even though it presents a setback. Why are you doing this? For accessibility purposes. One of my blind users just bought an Alcatel OT-980 running Android 2.1. This phone does have a physical QWERTY keyboard but no d-pad or equivalent (BTW, the same applies to

[android-developers] Have to create a ExpandableList with different types of childs

2010-12-17 Thread Raju
Hi I need to develop a ExpandableList with different types of child, like combination of textview , and radio buttons etc. Is that possible to do, if yes please provide the information. Thanks in advance... -- Thanks and Regards Raju .G -- You received this message because you are

[android-developers] Data is not displaying in line

2010-12-17 Thread pramod.deore
Hi I am reading data from database and show it in table layout format with 3 columns. But data is not show neatly, if suppose first column value is very small for row 1 and large for row 2 then second column of row 1 start early and second column of 2 nd row start very late. Therefore outout look

Re: [android-developers] Re: How to simulate a (missing) DPAD

2010-12-17 Thread Mark Murphy
On Fri, Dec 17, 2010 at 4:31 AM, blindfold seeingwithso...@gmail.com wrote: This currently requires physical keys, because Android still lacks the kind of touch event model of the iPhone where (blind) users can explore the screen by touch and hear GUI elements spoken without immediately

[android-developers] Re: How to simulate a (missing) DPAD

2010-12-17 Thread blindfold
Thanks Mark. I can easily detect touch events by their coordinates, but not so easily identify what UI elements lie underneath - unless I define and layout each of these UI elements graphically myself in terms of screen coordinates. I think your proposed TalkBackOverlayView would require that too,

Re: [android-developers] Re: How to simulate a (missing) DPAD

2010-12-17 Thread Mark Murphy
On Fri, Dec 17, 2010 at 6:52 AM, blindfold seeingwithso...@gmail.com wrote: Thanks Mark. I can easily detect touch events by their coordinates, but not so easily identify what UI elements lie underneath - unless I define and layout each of these UI elements graphically myself in terms of

[android-developers] i am new to android

2010-12-17 Thread vivek
i have downloaded the android source code and build it. my emulator works fine. i want to know whether bluetooth works in the emulator ? i want to switch it on using adb commands or C code. second i want to know is there any adb command by which i can format the sdcard. umount unmounts it but i

[android-developers] Reflection / backward compatibility question

2010-12-17 Thread Neilz
Hi all. The examples at... http://android-developers.blogspot.com/2009/04/backward-compatibility-for-android.html ...show some good ideas of testing methods against incompatible versions. But the method I want to call is DisplayMetrics.densityDpi(); (since level 4) which returns an int value.

[android-developers] Ringtone playing just once.

2010-12-17 Thread Rutton
Hello there, I am working on a little Service that plays ringtones/alarm-tones and such. What I want is to play a certain pattern with pauses and therefore I need to play such a tone once. At the moment I tried RingtoneManager/Ringtone and MediaPlayer. But both of them loop normal ringtones.

[android-developers] Re: Google Maps API - Getting GPS data ??

2010-12-17 Thread CJ
Thanks for your answer, GPS Breadcrumbing seems to be really interesting but unfortunatelly that's not what I'm working on. The key to my project is to compare every point of a route (maybe all points of the showed Google Maps API Polyline) and its GPS data to a certain fixed location. That means

Re: [android-developers] Reflection / backward compatibility question

2010-12-17 Thread Mark Murphy
On Fri, Dec 17, 2010 at 7:10 AM, Neilz neilhorn...@gmail.com wrote: Hi all. The examples at... http://android-developers.blogspot.com/2009/04/backward-compatibility-for-android.html ...show some good ideas of testing methods against incompatible versions. But the method I want to call is

[android-developers] Wrong Position when using Big Images

2010-12-17 Thread mac-systems
Hallo, i just stumpled over this: In want to place an Image on the Bottom of the Screen, so i used an RelativeLayout placed an ImageView in it: ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=wrap_content

[android-developers] New maps app features and mapview

2010-12-17 Thread Federico Paolinelli
Will new map app features be available in mapview as well? I'd really love to see rotation in it. Thanks Federico -- 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: Reflection / backward compatibility question

2010-12-17 Thread Neilz
Thanks Mark... I've had a quick stab but I'm missing something... Class clazz=Class.forName(android.util.DisplayMetrics); screenDensity = (Integer)clazz.getField(densityDpi).get(clazz); object is not an instance of the class The error makes sense but I'm not sure how to correct it... On Dec

Re: [android-developers] Re: Reflection / backward compatibility question

2010-12-17 Thread Mark Murphy
On Fri, Dec 17, 2010 at 7:38 AM, Neilz neilhorn...@gmail.com wrote: Thanks Mark... I've had a quick stab but I'm missing something... Class clazz=Class.forName(android.util.DisplayMetrics); screenDensity = (Integer)clazz.getField(densityDpi).get(clazz); object is not an instance of the class

[android-developers] List view selector states

2010-12-17 Thread Roman Mazur
Hi. Is there some place where possible states of list view selector and items are described? -- Best regards, Roman Mazur Tech Lead at Stanfy (http://stanfy.com.ua) Skype: roman.mazur.f LinkedIn: http://ua.linkedin.com/in/romanmazur Twitter: http://twitter.com/roman_mazur -- You received

[android-developers] Re: Reflection / backward compatibility question

2010-12-17 Thread Neilz
Er, surely in my code snippet, the parameter passed to get *is* my display metrics instance? On Dec 17, 12:42 pm, Mark Murphy mmur...@commonsware.com wrote: On Fri, Dec 17, 2010 at 7:38 AM, Neilz neilhorn...@gmail.com wrote: Thanks Mark... I've had a quick stab but I'm missing something...

Re: [android-developers] Re: Reflection / backward compatibility question

2010-12-17 Thread Mark Murphy
On Fri, Dec 17, 2010 at 8:06 AM, Neilz neilhorn...@gmail.com wrote: Er, surely in my code snippet, the parameter passed to get *is* my display metrics instance? No, get(clazz) is passing the DisplayMetrics class. clazz is of type Class, as you can see in your preceding line. The DisplayMetrics

Re: [android-developers] Re: Reflection / backward compatibility question

2010-12-17 Thread Mark Murphy
Here is more information on field-level Java reflection: http://tutorials.jenkov.com/java-reflection/fields.html On Fri, Dec 17, 2010 at 8:06 AM, Neilz neilhorn...@gmail.com wrote: Er, surely in my code snippet, the parameter passed to get *is* my display metrics instance? -- Mark Murphy (a

[android-developers] Orientation specific layout

2010-12-17 Thread vnv
Hi, is it possible to assing layout #1 for vertical and layout #2 for horizontal orientation. -- 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

Re: [android-developers] Orientation specific layout

2010-12-17 Thread Kostya Vasilyev
Sure. Put xml files into layout-land and layout-port, make sure to use the same name for both, so Android knows these are two variations of the same layout. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 17.12.2010 16:24 пользователь vnv nikola1...@gmail.com написал: Hi, is it possible to

[android-developers] Ticker issue....

2010-12-17 Thread Abhilash baddam
Hi friends, I am new Android. I want to show ticker in my code. Can anyone send me the code snippet for ticker. Thanks in advance. Regards, Abhilash.B -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Orientation specific layout

2010-12-17 Thread Nikola
2010/12/17 Kostya Vasilyev kmans...@gmail.com Sure. Put xml files into layout-land and layout-port, make sure to use the same name for both, so Android knows these are two variations of the same layout. Do I need to create both land and port, or I can use land, and default will be used for

[android-developers] Re: Reflection / backward compatibility question

2010-12-17 Thread Neilz
Ah, of course, sorry. I was almost there, just had to substitute 'clazz' for 'dm'! Many thanks Mark. On Dec 17, 1:11 pm, Mark Murphy mmur...@commonsware.com wrote: On Fri, Dec 17, 2010 at 8:06 AM, Neilz neilhorn...@gmail.com wrote: Er, surely in my code snippet, the parameter passed to get

Re: [android-developers] Orientation specific layout

2010-12-17 Thread Brill Pappin
It would be a good idea I think to make sure there is something in the default, just in case some implementation doesn't actually look for it. I don't know if there are cases of that happening but you never know and you never want noting to show up, or the system to get an exception. - Brill

[android-developers] Re: i am new to android

2010-12-17 Thread Brill Pappin
I don't know if bluetooth works in the emulator, but you can make a good guess that it doesn't if your physical computer doesn't have bluetooth. My guess is that it doesn't, seeing as that is no hookup for the camera. - Brill -- You received this message because you are subscribed to the

[android-developers] How to upgrade OS version

2010-12-17 Thread Tsolmon Narantsogt
Hello list. I've HTC My touch . It currently has android 1.6 version. So i wanna upgrade os version. Is it possible ? Thank you. -- 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] Re: How to simulate a (missing) DPAD

2010-12-17 Thread Brill Pappin
I'm not sure that is going to work all that well for you, but instead of emulating the DPAD, can you simply listen for the keys you are trying to remap instead of remapping them? I think its great that you are trying to solve a problem for a user that is having trouble with your app because of

Re: [android-developers] Re: How to simulate a (missing) DPAD

2010-12-17 Thread Brill Pappin
Hmm... yah, that might work, you could use audible tones and or vibration to help the user know what they are touching. - Brill -- 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: Fm Radio

2010-12-17 Thread Brill Pappin
If you mean streaming radio, then you need to be looking up streaming audio in Android. Those apps will use some sort of converter to encode the audio and send it out via socket to the app. the app will simply connect and play. If you are looking for a streaming server, try Red5. - Brill --

[android-developers] Re: How to upgrade OS version

2010-12-17 Thread Brill Pappin
I had to do my first OS update on my N1 manually, but I don't know anything about an HTC My Touch. I seem to remember that you have to put the phone in a special mode and read the update from the sdcard. There are resources out there that talk about hacking these phones, I suggest you take a

Re: [android-developers] Re: Reducing 1 star ratings for IM; strategies

2010-12-17 Thread Brill Pappin
Thanks Kostya, I think this is the way to go. I spend far too much time slapping my forehead wondering how some people understand enough to even use their phones. - Brill -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Orientation specific layout

2010-12-17 Thread Kostya Vasilyev
Up until 2.3 there were only two orientations (port / land). Android 2.3 added reverse land and port orientations, but this reference: http://developer.android.com/guide/topics/resources/providing-resources.html#AlternativeResources only lists port and land. I *guess* this means that the same

Re: [android-developers] Re: How to upgrade OS version

2010-12-17 Thread Kostya Vasilyev
Try asking HTC: http://www.htc.com/us/support/t-mobile-mytouch-3g/help/ http://community.htc.com/na/htc-forums/android/f/18/t/1477.aspx -- Kostya 17.12.2010 17:11, Brill Pappin пишет: I had to do my first OS update on my N1 manually, but I don't know anything about an HTC My Touch. I seem

Re: [android-developers] Re: Samsung Fascinate AVD definition

2010-12-17 Thread Greg Pasquariello
I posted a single message to the group. A short one. Because i had a crap connection. It was hours later that I posted a response. This group is a resource. Where I was, I was unable to do much more than that short post, hoping for an answer. I know how to Google, I'm not retarded. Yet instead

Re: [android-developers] List view selector states

2010-12-17 Thread Kostya Vasilyev
If the resources provided with the SDK are any indication, they are: disabled focus longpress pressed ( look in android-sdk-windows\platforms\android-8\data\res\drawable-hdpi ) -- Kostya 17.12.2010 15:48, Roman Mazur пишет: Hi. Is there some place where possible states of list view selector

[android-developers] App crashes when the keyboard is slided

2010-12-17 Thread Eyvind Almqvist
X10 Mini pro has a sliding QUERTY keyboard. I got a report from SonyEricsson, which says that my app crashes when this keyboard is slided. This only happens on X10 Mini pro. I don't understand why this is happening, because the app is locked to portrait mode. I pasted the log that I got from them

Re: [android-developers] Orientation specific layout

2010-12-17 Thread Nikola
On Fri, Dec 17, 2010 at 3:19 PM, Kostya Vasilyev kmans...@gmail.com wrote: Up until 2.3 there were only two orientations (port / land). Android 2.3 added reverse land and port orientations, but this reference:

[android-developers] Re: App crashes when the keyboard is slided

2010-12-17 Thread Brill Pappin
I don't see a stack trace there. Are you sure this is your app? it looks more like an issue in the OS impl. - Brill -- 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: SQLite Implementation

2010-12-17 Thread Bob Kerns
A couple of general Java points unrelated to your problem: 1) Don't put your code in any android.* package. Use your own package, using the standard reverse-domain-name convention, e.g. com.example.myfrotz. A side benefit is that it will make the stack traces much easier for you to scan for your

[android-developers] TableLayout two column?

2010-12-17 Thread Nikola
Hi, I would like to have two column layout. In first column I would put 4 textview elements and in the second one I would put big picture. What would be the best approach for this? tnx. -- God is Real, unless declared Integer. J. Allan Toogood, FORTRAN programmer -- You received this

[android-developers] Re: Samsung Fascinate AVD definition

2010-12-17 Thread Bob Kerns
Imprecise is the word I'd use. :=) I had some text in there I appear to have dropped in simplifying my response, about marketing dimensions vs reality, and quick estimation. OVERSIMPLIFICATION FAIL! It should have occurred to me to use the aspect ratio to allocate the four inches between

Re: [android-developers] TableLayout two column?

2010-12-17 Thread Kostya Vasilyev
Don't use TableLayout here, as its strength is in the other dimension (aligning views one below another). You can use a horizontal LinearLayout, with two children: a vertical LinearLayout for your text views, and an image view. Or you can do this with one RelativeLayout: position the image

Re: [android-developers] Re: Samsung Fascinate AVD definition

2010-12-17 Thread Kostya Vasilyev
17.12.2010 17:49, Bob Kerns пишет: Imprecise is the word I'd use. :=) I had some text in there I appear to have dropped in simplifying my response, about marketing dimensions vs reality, and quick estimation. OVERSIMPLIFICATION FAIL! I have a ruler with inch marks (a rarity here in Russia, we

Re: [android-developers] TableLayout two column?

2010-12-17 Thread Nikola
On Fri, Dec 17, 2010 at 3:50 PM, Kostya Vasilyev kmans...@gmail.com wrote: Don't use TableLayout here, as its strength is in the other dimension (aligning views one below another). You can use a horizontal LinearLayout, with two children: a vertical LinearLayout for your text views, and an

Re: [android-developers] Re: Samsung Fascinate AVD definition

2010-12-17 Thread Greg Pasquariello
The value I used is the 240 AVD value, which is reasonably close to reality. The app is cool, it's a remote robot controller for one of the large toy companies. I needed the pixel densities so that I could get correct scaling on the control buttons in the simulator. On Dec 17, 2010, at

[android-developers] Re: Fm Radio

2010-12-17 Thread Bob Kerns
By the way, I got my build with the FM Radio app here: http://tinyurl.com/modoco-kitchen-with-fm (that's a shortened link to android.modoco.com). On Dec 17, 1:26 am, wolf wolfy1...@gmail.com wrote: thank you mr bob On Dec 16, 1:58 pm, Bob Kerns r...@acm.org wrote: Well, I doubt

Re: [android-developers] TableLayout two column?

2010-12-17 Thread Nikola
Got it ! layout_weight=1 for children solved the problem. Tnx once again Kostya. -- God is Real, unless declared Integer. J. Allan Toogood, FORTRAN programmer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Re: Samsung Fascinate AVD definition

2010-12-17 Thread Greg Pasquariello
On Dec 17, 2010, at 12:37 AM, Bob Kerns wrote: And no, I don't think it's reasonable to ask the list to do a google search for you just because you don't have a good internet connection at the moment. It's not a big deal, but I'm not buying your excuse. I didn't. I asked if anyone knew.

Re: [android-developers] TableLayout two column?

2010-12-17 Thread Kostya Vasilyev
Too many LinearLayouts - you only need one for all the text views (with orientation=vertical and width=wrap_content). And it's not necessary to declare an XML namespace on each tag (the xmlns:android stuff), although it does no harm. -- Kostya 17.12.2010 18:03, Nikola ?: On Fri, Dec

[android-developers] Re: In-App payment options

2010-12-17 Thread JP
Also check out Rovio. They're building their own in-app payment system they call Bad Piggy Bank. I read somewhere they wanted to make this available to third parties, but that'll take them some time to take the market I'm sure. On Dec 16, 7:47 am, Xavier xpl...@gmail.com wrote: Thanks JP, never

Re: [android-developers] Re: Samsung Fascinate AVD definition

2010-12-17 Thread TreKing
Damn, quite a trip this thread took since I went to bed =P On Fri, Dec 17, 2010 at 8:29 AM, Greg Pasquariello g...@pasq.net wrote: Where I was, I was unable to do much more than that short post, hoping for an answer. If you could connect to send an email to this group or connect to the the

[android-developers] Re: Google Maps API - Getting GPS data ??

2010-12-17 Thread JP
The Google Maps API does not offer the structured data that you are looking for (that I am aware of). This is not stashed away somewhere on the device, it isn't available. The data exchange between the client and the Maps server side is based on rastered (bitmap) map tiles. You'll have to find

Re: [android-developers] Re: how to change child list color in ExpandableList

2010-12-17 Thread TreKing
On Thu, Dec 16, 2010 at 10:43 PM, pramod.deore deore.pramo...@gmail.comwrote: But when I call super as View v = super.getChildView(groupPosition, childPosition, isLastChild, convertView, parent); But here ExpandableListActivity doesn't have this method. Therefore it gives syntax error.

Re: [android-developers] Re: Samsung Fascinate AVD definition

2010-12-17 Thread Greg Pasquariello
Well then, let's disagree. If someone knew the actual answer, that would have been helpful to me. Telling me to google it was not. Regardless, I was able to get it later and all is well. On Dec 17, 2010, at 8:45 AM, TreKing wrote: Damn, quite a trip this thread took since I went to bed =P

[android-developers] Re: Import monkeyrunner methods in my java application

2010-12-17 Thread A. Elk
As far as I can tell, the monkeyrunner methods aren't designed to be called outside of Python. Monkeyrunner is a Python API for functional and integration tests. You can put your API in a jar file and use it from Python. The 2.3 SDK has documentation for Monkeyrunner, including the procedure for

[android-developers] Re: How to simulate a (missing) DPAD

2010-12-17 Thread blindfold
Hi Mark, walking the View tree with getLocationOnScreen() while retrieving element labels might be possible, and is a good idea in itself, but this is more the kind of thing that one would try for a generic accessibility layer, such as for a screen reader that works across all apps (currently

Re: [android-developers] Have to create a ExpandableList with different types of childs

2010-12-17 Thread TreKing
On Fri, Dec 17, 2010 at 3:57 AM, Raju rajuma...@gmail.com wrote: Is that possible to do, if yes please provide the information. http://developer.android.com/reference/android/widget/BaseExpandableListAdapter.html

[android-developers] Re: How to simulate a (missing) DPAD

2010-12-17 Thread blindfold
Hi Brill, you may be right in hindsight, but key remapping seemed like such a simple and effective countermeasure that I expected it to work, and it would have made more Android phone types accessible to blind users. Alas... On Dec 17, 3:04 pm, Brill Pappin br...@pappin.ca wrote: I'm not sure

[android-developers] MotionEvent not firing as expected

2010-12-17 Thread stanchat
I am creating a drag and drop application and the core features of the app are wokring. One issue I am having is that the sequence of events for the MotionEvent class was not what I was expecting. For example in my application I can have up to 100 image views on a layout and you can drag these

[android-developers] Re: Unit testing framework with monkeyrunner

2010-12-17 Thread A. Elk
Your question is vague, to me. If you're asking how to run Android unit tests (classes in android.test.*) using MonkeyRunner: Set up your Android tests, then call them from MonkeyRunner. You can, for example, write a single Python program using the MonkeyRunner API that goes through a set of

[android-developers] Re: LVL and 2.3 Emulator

2010-12-17 Thread Nick
I still can't get it working. jstoolsdev, Did you change anything to get it to start working? On Dec 15, 8:55 pm, jtoolsdev brianjto...@gmail.com wrote: Today it worked when I ran an emulator in Eclipse from SDK and AVD manager. On Dec 15, 1:03 pm, jtoolsdev brianjto...@gmail.com wrote:

[android-developers] Re: How to get Icon of user defined default application

2010-12-17 Thread neuromit
thanks, that was exactly what I was looking for. I can't believe I missed it. Now in the case where the user doesn't have a 3rd party SMS app installed there isn't a need to set a preferred application in which case I can't get the icon by looking for the preferred app. I've been messing around

[android-developers] Re: Google Maps API - Getting GPS data ??

2010-12-17 Thread CJ
Thanks a lot. That is really helpful for me and gives me a lot of safety for my project. But I just stumbled over the following: http://code.google.com/intl/en/apis/maps/documentation/directions/ At Directions Responses -- JSON overview_polyline: { points: There I could get an code, in

Re: [android-developers] Data is not displaying in line

2010-12-17 Thread TreKing
On Fri, Dec 17, 2010 at 4:06 AM, pramod.deore deore.pramo...@gmail.comwrote: But data is not show neatly, if suppose first column value is very small for row 1 and large for row 2 then second column of row 1 start early and second column of 2 nd row start very late. What you expect is the

[android-developers] how to change background of a widget

2010-12-17 Thread james pruett
I want to change the background of a widget. This is from the wiki word of the day widget example code: Thanks for any leads! -cellurl I have tried:         /**          * Build a widget update to show the current Wiktionary          * Word of the day. Will block until the online API returns.   

Re: [android-developers] Listening to Home key Intent

2010-12-17 Thread Stephen Lau
The only way to catch it is to define an activity in your AndroidManifest and have it handle the following intent filter: intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter Note that the user will be prompted

[android-developers] List of phone names?

2010-12-17 Thread BobG
Anyone ever seen a list of the HTC phone name followed by the Tmobile, Sprint, Verizon and ??? name? That and the screen res of each one would be Real Useful. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] Re: How to get Icon of user defined default application

2010-12-17 Thread TreKing
On Fri, Dec 17, 2010 at 10:55 AM, neuromit stuart.lay...@gmail.com wrote: Now in the case where the user doesn't have a 3rd party SMS app installed there isn't a need to set a preferred application in which case I can't get the icon by looking for the preferred app. I would expect that in

Re: [android-developers] New maps app features and mapview

2010-12-17 Thread TreKing
On Fri, Dec 17, 2010 at 6:31 AM, Federico Paolinelli fedep...@gmail.comwrote: Will new map app features be available in mapview as well? The people qualified to answer that question are not going to answer you, but don't count on it.

Re: [android-developers] Ticker issue....

2010-12-17 Thread TreKing
On Fri, Dec 17, 2010 at 7:39 AM, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: I want to show ticker in my code. Can anyone send me the code snippet for ticker. Care to explain what ticker means in your mind?

[android-developers] Secure love one’s life with e conomic support

2010-12-17 Thread khushitiwari2...@rediff.com
Insurance is Need to support in critical situation http://www.insuranceworlds1.com/canadainsurance.htm http://www.insuranceworlds1.com/index.htm -- 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: New maps app features and mapview

2010-12-17 Thread JP
I was wondering for quite some time now about the apparent detachment of the Maps API from the underlying system that the Google Maps app enjoys. Having loosely followed the updates to the Google Maps app on Android, it appears the Maps API is stuck in 2007 (save pinch-zoom). The biggest issue to

[android-developers] Re: How to get Icon of user defined default application

2010-12-17 Thread neuromit
No it is unfortunately not the case. If you only have a single SMS app installed then there is no SMS app listed under the preferred applications. On Dec 17, 12:46 pm, TreKing treking...@gmail.com wrote: On Fri, Dec 17, 2010 at 10:55 AM, neuromit stuart.lay...@gmail.com wrote: Now in the

Re: [android-developers] Re: How to get Icon of user defined default application

2010-12-17 Thread TreKing
On Fri, Dec 17, 2010 at 12:31 PM, neuromit stuart.lay...@gmail.com wrote: No it is unfortunately not the case. If you only have a single SMS app installed then there is no SMS app listed under the preferred applications. Have you tried this:

[android-developers] NullPointerException when creating an activity.

2010-12-17 Thread cuil yahoo
Hello, I am making an application consisting of 5 views, I get a NullPointerException when trying to call the next activity from the main class. I would appreciate it if someone could please have a look at it. Main class, public class UIPlay extends Activity { /** Called when the activity

Re: [android-developers] NullPointerException when creating an activity.

2010-12-17 Thread TreKing
On Fri, Dec 17, 2010 at 12:36 PM, cuil yahoo cuilya...@gmail.com wrote: I get a null pointer exception on the onCreate method of the second class. And the stack trace is? - TreKing

[android-developers] Layout Designer in 2.3 doesn't recognize Gallery.

2010-12-17 Thread Nathan
The following classes could not be found: - Gallery Am I doing something wrong is this just the way it is? -- 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

Re: [android-developers] Ticker issue....

2010-12-17 Thread Marcin Orlowski
On 17 December 2010 18:50, TreKing treking...@gmail.com wrote: On Fri, Dec 17, 2010 at 7:39 AM, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: I want to show ticker in my code. Can anyone send me the code snippet for ticker. Care to explain what ticker means in your mind? I bet

  1   2   >