[android-developers] Re: ListView setOnTouchListener

2010-10-20 Thread Kumar Bibek
You should use the selectors for a list item and whenever you want to set a selection, call the listview's method for that. Doing it on touch, has a few bad effects, which are difficult to handle, or atleast you would need a few lines of code to handle specific gestures. On Oct 20, 10:41 am,

[android-developers] Re: can C2DM running on Eclair

2010-10-20 Thread Kumar Bibek
No it wont. On Oct 20, 9:47 am, Zhihong GUO gzhh...@gmail.com wrote: Hi all, It seems that the Android market on Eclari can search, download and install the c2dm-based applications. It seems that if the C2DM support code is imported in the application source code direclty, the application

Re: [android-developers] Re: ListView setOnTouchListener

2010-10-20 Thread Hendrik Greving
Hmm. I tried ListView... lv.setOnItemSelectedListener(AdapterView.OnItemSelectedListener() It seems the callback isn't even called for my ListView. I've also experimented with selection .xml file and setting this as a background for a View to bind to the SimpleCursorAdapter. I don't know

[android-developers] Delivery report implementation

2010-10-20 Thread kishor
Hi All, i am trying to implement Delivery Report for android. I am forming the proper PDU with Reply option sub-param in RIL layer and send the same. But when i check OTA LOG, reply option is missing in OTA LOG in data burst message. Only 2 subparam [Message identifiera nd User data seen in log

Re: [android-developers] Re: ListView setOnTouchListener

2010-10-20 Thread Kumar Bibek
http://github.com/coomar2841/PTracker/blob/master/res/drawable-mdpi/list_view_selector.xml Set this selector as the background for your item layouts. On Wed, Oct 20, 2010 at 11:51 AM, Hendrik Greving fourhend...@gmail.comwrote: Hmm. I tried ListView...

[android-developers] Re: Please pay attention to the Android porting issues.

2010-10-20 Thread Zsolt Vasvari
Stop spreading FUD and besides, why are you posting this here? There is a porting Google group. -- 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] Re: Display of HIndi Characters क्ष, त्र in the text editing area

2010-10-20 Thread Rocks
Thankyou for the suggestion. Can you please provide more info on the same ? My current implementation is : I am using InputConnection class to set the hindi characters typed. For eg : InputConnection ic = getCurrentInputConnection(); if (ic != null) {

Re: [android-developers] Re: ListView setOnTouchListener

2010-10-20 Thread Hendrik Greving
Ok lv.setDrawSelectorOnTop(true); lv.setSelector(R.drawable.list_selected); does draw a drawable, but it wipes out the rest. I would only like to -of course - the background of the View which was the list item inthe unselected state. How would you do this? - Original

[android-developers] Re: isUserAMonkey throws exception

2010-10-20 Thread George
Dianne, There seems to be a bug in ActivityManagerNative.java. The return of value of 1 (when monkey is running) is being treated as an exception. Looks like the order of reading/writing the exception is mixed-up in the parcel. On Oct 17, 11:39 pm, Dianne Hackborn hack...@android.com wrote:

[android-developers] Re: stopping the GC from kicking in

2010-10-20 Thread Peter Webb
 The first thing I recommend watching is this google presentation:http://www.google.com/events/io/2009/sessions/WritingRealTimeGamesAnd... I think the advice given in this video is basically wrong. It is a presentation done by a C++ programmer who has just written his first Java program. His

Re: [android-developers] Re: ListView setOnTouchListener

2010-10-20 Thread Kumar Bibek
drawSelector on top, don't set it and try On Wed, Oct 20, 2010 at 12:13 PM, Hendrik Greving fourhend...@gmail.comwrote: Ok lv.setDrawSelectorOnTop(true); lv.setSelector(R.drawable.list_selected); does draw a drawable, but it wipes out the rest. I would only like to -of course

Re: [android-developers] Re: ListView setOnTouchListener

2010-10-20 Thread Hendrik Greving
If I don't set drawSelectorOnTop, it does nothing. I've also tried getting the TextView and call tv.bringToFront(); within onItemClick of the AdapterView.OnItemClickListener. This doesn't do anything, too. Maybe it's called before the selection drawable is drawn :/ What's the standard way to do

Re: [android-developers] Re: ListView setOnTouchListener

2010-10-20 Thread Kumar Bibek
Set the selector xml to the item layout and not the listView. That should work. Your approach should also work. Can you post a screenshot of how it looks now? On Wed, Oct 20, 2010 at 12:29 PM, Hendrik Greving fourhend...@gmail.comwrote: If I don't set drawSelectorOnTop, it does nothing. I've

Re: [android-developers] Re: ListView setOnTouchListener

2010-10-20 Thread fourhend...@gmail.com
How can I set the selector to the ListView? If I make a seperate xml with a selector tag, how would I set this as a background drawable for every item? My approach, the one with bringing the text to the front, didn't work :/ On Oct 20, 2010 12:03 AM, Kumar Bibek coomar@gmail.com wrote: Set

Re: [android-developers] Re: stopping the GC from kicking in

2010-10-20 Thread Miguel Morales
No, it's not wrong. It's just the best way of avoiding GC runs in your code. A game is not like most software out there. A lot of the time modern design patterns have to be thrown out the window just for performance and usability. Sure it would be nice if the GC were faster and more efficient

[android-developers] Get the touch direction on Android

2010-10-20 Thread filiz_gokce
Hi, I want to ask that is that possible do in android catch the in the touch mode catch the scrolling direction ? When user touch on the screen left to right, can I catch the change ? If it is possible which listener can ı use ? I found some of the methods and listeners but I 'm not sure that

Re: [android-developers] Get the touch direction on Android

2010-10-20 Thread Kumar Bibek
Yes you can. http://techdroid.kbeanie.com/2009/10/gesture-detection-on-android.html On Wed, Oct 20, 2010 at 12:51 PM, filiz_gokce sonsuzlu...@gmail.com wrote: Hi, I want to ask that is that possible do in android catch the in the touch mode catch the scrolling direction ? When user touch on

Re: [android-developers] Memory Leaks with a ListView

2010-10-20 Thread Kostya Vasilyev
John, I've seen something similar causing memory leaks, preventing GC from working, although not in Android: public class Item { static HashtablegHash = new Hashtable(); private String key; public Item(String key) { this.key = key; gHash.put(key, this); } public void finalize() {

[android-developers] Re: Android Geocoder Issues

2010-10-20 Thread James Elsey
You could try to use the Yahoo APIs for geocoding I wrote a quick tutorial here : http://www.jameselsey.co.uk/blogs/techblog/tutorial-how-to-call-yahoo-rest-web-services-the-easy-way/ On Oct 19, 10:36 pm, Tommy droi...@gmail.com wrote: Hi everyone, I am using the

[android-developers] Re: How to send data from one activity to another?

2010-10-20 Thread James Elsey
You can either create a class which is available across the entire application and put any data on there and grab it from anywhere (I wrote a tutorial here : http://www.jameselsey.co.uk/blogs/techblog/android-implementing-global-state-share-data-between-activities-and-across-your-application/)

[android-developers] Re: Please pay attention to the Android porting issues.

2010-10-20 Thread jeffo
This will get fleshed out by 2020 In the meantime don't stress over it. Most apps work on most phones. It would be nice if they could block non compliant device owners from rating apps.But then nobody would be left. -- You received this message because you are subscribed to the

[android-developers] Re: what is wrong with AppWidgetManager.getAppWidgetIds()?

2010-10-20 Thread Jerome Deng
Hi Kostva, Long time no access. The widgetprovider name is right. Refer to which widget coming, I meant that if the same widget provider has different widget instances on Home Screen, then we can not know what is the ID of the current widget that the user interacts with. Through getAppWidgetIds()

Re: [android-developers] Re: can C2DM running on Eclair

2010-10-20 Thread Zhihong GUO
Hi Bibek, Thank you for your quickly answer. Can you tell me what module added in the platform of Froyo to support C2DM? Thanks 2010/10/20 Kumar Bibek coomar@gmail.com No it wont. On Oct 20, 9:47 am, Zhihong GUO gzhh...@gmail.com wrote: Hi all, It seems that the Android market on

[android-developers] Re: Animated background drawable

2010-10-20 Thread Moss
So just make some sprites move around in a 2D canvas. It's not too hard to be done :P On Oct 20, 5:31 am, Dianne Hackborn hack...@android.com wrote: On Tue, Oct 19, 2010 at 3:08 PM, Streets Of Boston flyingdutc...@gmail.comwrote: If i remember correctly, Twitter used to draw its animated

[android-developers] Re: Android devices supporting OpenGL ES 2.0 (at least through NDK) as of September 2010

2010-10-20 Thread RS
A good compilation by Ellis Markov: http://stackoverflow.com/questions/3881197/opengl-es-2-0-extensions-on-android-devices And now more than 75% devices in use (sold in the last two years) have OpenGL ES 2.0 support at least through NDK. On Sep 23, 9:12 am, RS rajeshs...@gmail.com wrote: Dan,

Re: [android-developers] Re: what is wrong with AppWidgetManager.getAppWidgetIds()?

2010-10-20 Thread Kostya Vasilyev
Jerome, Right, you can't tell which widget is which by using just AppWidgetManager. If you need to do this, and by the current widget that the user interacts with you mean the widget the user clicks on I suggest you use PendingIntent's that you can differentiate in the receiver. Using

Re: [android-developers] Cannot install on app on 1.6 device confusion

2010-10-20 Thread Marcin Orlowski
On 19 October 2010 16:13, JimmyHoffa photos.d...@gmail.com wrote: My minimum SDK version is 4, I created it with the 1.6 SDK specified so not sure why he can't see it or install it.  He has a 1.6 Magic handset. Show your manifest file -- You received this message because you are subscribed

[android-developers] Intercepting / blocking all hardware buttons from working

2010-10-20 Thread Marcin Orlowski
Hi, I'd love to prevent hardware buttons from working while user runs my app. Perfectly all of them, but any number would help :) I am not sure it's doable but maybe I miss something, hence my question. For those wondering - why? - we got an app that does full screen colorful animation and users

[android-developers] Regarding NetworkLocationProvider.

2010-10-20 Thread Desu Vinod Kumar
HI All, Does any one knows about Is Network Location Provider is supported for 4g for GPS Navigation. Is any problem you are facing when device connected with 4g navigation has any problems . If any body knows abt this information please let me know,it will be helpful for me. TIA -- Regards

[android-developers] Problem in running test case

2010-10-20 Thread Siddharth Choudhary
Hello , I am working on android automation ,and i am new to this field , i went through the test example available at developer site and i am getting 11-05 14:43:14.509: WARN/TestGrouping(1485): Invalid Package: '' could not be found or has no tests as error on running this code . package

[android-developers] How to get the SharedPreferences name managed by PreferenceActivity outside of the PreferenceActivity class?

2010-10-20 Thread Agus
Within the PreferenceActivity class, I can obtain the sharedpreference name by calling: getPreferenceManager().getSharedPreferencesName(); How to get the SharedPreferences name managed by PreferenceActivity outside of the PreferenceActivity class? -- You received this message because you are

[android-developers] Re: Cannot install on app on 1.6 device confusion

2010-10-20 Thread JimmyHoffa
Sure.. ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; android:versionCode=1 android:versionName=1.0 package=net.dbws.bocnwallpaper application android:icon=@drawable/launcher_icon android:label=@string/app_name

Re: [android-developers] ListView inside ScrollView (re-hash/best practices)

2010-10-20 Thread Richard Leggett
Hi Mark, Thanks for your advice. I'd really like to do that as I know that will simplify things, unfortunately the scrolling nature of the background behind the 3 UI widgets is integral to the design (a port of an iPhone app, that had the same challenge as it turns out). Looks like for now

[android-developers] Re: How to get the SharedPreferences name managed by PreferenceActivity outside of the PreferenceActivity class?

2010-10-20 Thread Agus
Turns out that there is no API method for solving my problem, below is a 4-line solution. public static String getSharedPreferenceName(Context ctx, int prefResId){ String packageName = ctx.getApplicationContext().getPackageName(); Resources res =

[android-developers] Re: stopping the GC from kicking in

2010-10-20 Thread DanH
I didn't view the video, but it sounds like he was on target. Modern programming techniques is often a euphemism for sloppy programming techniques, and one sloppy technique is not adjusting your style to the environment and environmental limitations. In this case, on a slow box with a clunky GC

[android-developers] Android Activity stack

2010-10-20 Thread Donald
hi guys, Assume i have two activities Activity A and B Activity B will display a list which will display a 25 result list. this also contains a pagination logic. if user select next it will display the next 25 result list. so assume that user is in the third page. from the third page if user

Re: [android-developers] Re: Android Geocoder Issues

2010-10-20 Thread damodhar meshran
I am used this code for get all details from Geo coding : Geocoder gcd = new Geocoder(this, Locale.getDefault()); // 37.775,-122.19 ListAddress addresses = gcd.getFromLocation(currentLatitude, currentLongitude, 100); if (addresses.size() 0) { StringBuilder result = new StringBuilder(); for (int

Re: [android-developers] Android Activity stack

2010-10-20 Thread Richard Leggett
Are you saying when you press back from Activity A you are somehow going back to Activity B? If so it sounds like you have multiple instances of Activity B already on the stack, when starting Activity B you can add the intent flag Intent.FLAG_ACTIVITY_CLEAR_TOP to make sure you only ever have

[android-developers] What buttons does every Android phone have to have?

2010-10-20 Thread A Curious Developer
Is there a specification that describes the basic user interface requirements for every Android phone? For example, which buttons can an application developer expect on every android phone? Does every Android phone have a Menu button? Does it have to be called Menu, for english versions? If I tell

[android-developers] Problem passing Parcelable to remote service

2010-10-20 Thread Riccardo Ciovati
In my application i need to call a method of a remote service passing my custom object. As explained in http://developer.android.com/guide/developing/tools/aidl.html i have implemented the Parcelable interface and the result code is the following: http://pastebin.com/83e3FqMV The problem is when

Re: [android-developers] What buttons does every Android phone have to have?

2010-10-20 Thread Mark Murphy
On Wed, Oct 20, 2010 at 7:46 AM, A Curious Developer imdb...@yahoo.com wrote: Is there a specification that describes the basic user interface requirements for every Android phone? This is covered in the Compatibility Definition Document (CDD):

Re: [android-developers] Intercepting / blocking all hardware buttons from working

2010-10-20 Thread Mark Murphy
On Wed, Oct 20, 2010 at 5:20 AM, Marcin Orlowski webnet.andr...@gmail.com wrote: I'd love to prevent hardware buttons from working while user runs my app. Perfectly all of them, but any number would help :) I am not sure it's doable but maybe I miss something, hence my question.  For those

[android-developers] Re: Android Activity stack

2010-10-20 Thread whitemice
You don’t need to page your lists. The Android ListView is very efficient at displaying long lists (recycling views, fast scrolling, etc), assuming you are showing data derived from a database (there are other examples if you are dynamically downloading your data) The world of ListView

[android-developers] Re: Android Geocoder Issues

2010-10-20 Thread Spiral123
Yes, getFromLocation does sometimes return no results for no visible reason. I put the command within a TryCatch and throw an exception if I get 0 results returned. The whole thing is then wrapped in a countdown loop and I allow up to 3 exceptions before giving up. It's not pretty but it

Re: [android-developers] Re: Android Geocoder Issues

2010-10-20 Thread damodhar meshran
ok fine i think u not get lat long first check lat long On Wed, Oct 20, 2010 at 5:53 PM, Spiral123 cumis...@gmail.com wrote: Yes, getFromLocation does sometimes return no results for no visible reason. I put the command within a TryCatch and throw an exception if I get 0 results

Re: [android-developers] ListView inside ScrollView (re-hash/best practices)

2010-10-20 Thread Richard Leggett
I've opened a feature request related to this: http://code.google.com/p/android/issues/detail?id=12007 Again I completely appreciate ListView was designed for efficient scrolling through large amounts of data and not for what I need, but we do not yet have a good alternative for short (static)

Re: [android-developers] ListView inside ScrollView (re-hash/best practices)

2010-10-20 Thread Mark Murphy
There is no particular reason why Google needs to write this. Anybody can write this and make it a reusable component. A knee-jerk reaction of if it's lime green, Google must write it is a sad statement. On Wed, Oct 20, 2010 at 8:26 AM, Richard Leggett richard.legg...@gmail.com wrote: I've

Re: [android-developers] ListView inside ScrollView (re-hash/best practices)

2010-10-20 Thread Richard Leggett
There's no reason for them to write anything but they are hopefully looking to create the best developer platform. I am working on this myself, but the whole purpose of the public bug/feature database (and this list) is to make suggestions that may help others in future. On 20 Oct 2010, at

Re: [android-developers] ListView inside ScrollView (re-hash/best practices)

2010-10-20 Thread Richard Leggett
Apologies to Stakka the original poster, looks like I hijacked a thread unintentionally (replying to an email and changing subject rather than creating a new email doesn't create a new Thread on this group). On 20 Oct 2010, at 13:39, Richard Leggett wrote: There's no reason for them to write

[android-developers] Forcing locale inside our app.

2010-10-20 Thread sblantipodi
Hi all, I have setup different string.xml for different language. Calling R.string.string I can use the localized string respectively the locale present on the phone. How can I force my app to use a different locale? Suppose that a user is using english locale on the phone but want to use my app

[android-developers] How can my service change values of variables and UI textfields of my activities?

2010-10-20 Thread saex
Hi I have an application that get/send data from/to a remote DB on internet. I need to get my application working in background mode, then i supose that i have to put all the send/get remote data in a service. but How can this service change values of variables and UI textfields of my

[android-developers] Detecting area code

2010-10-20 Thread Denis Souza
Hi I'm trying to find out if the user is still within range of his own area code. Detecting roaming doesn't solve the problem since the user may still be in the same network with a different area code. I thought about getting the user's coarse location to find the city he's is in but this

[android-developers] Re: TextView visibility problem

2010-10-20 Thread sisko
You are right. When I move the TextView up it is squashed but visible. Can you advice on how I can make it visible beneath the relative layout On 20 Oct, 03:22, metal mikey coref...@gmail.com wrote: It might be because the TextView is positioned offscreen. Try putting it prior to the

[android-developers] Re: TextView visibility problem

2010-10-20 Thread sisko
I had began with the layout_width set to wrap_content but it did not have the desired effect. I'll admit I don't fully understand the layout concepts so I'm experienting alot. Any good material that can bring me up to speed is welcome, please! On 19 Oct, 15:50, letlite letl...@gmail.com wrote:

[android-developers] Help regarding reading the Sim HPLMN data on phone bootup on Android.

2010-10-20 Thread Tushar
Hi All, I want to read the sim HPLM data on phone bootup by writing a service which is started in the init.rc as a pre-zygote class. Could someone please help me on providing some inputs if this is possible ? If possible how do I read the SIM HPLMN number from my process, as the android framework

[android-developers] Re: stopping the GC from kicking in

2010-10-20 Thread Lance Nanek
Unfortunately, you do have to avoid garbage collection during play when writing real-time games on Android right now. The garbage collector usually stops the world for hundreds of milliseconds. For a smooth experience you need to get a frame out every 33 milliseconds, preferably every 16ms. Maybe

[android-developers] Re: How can my service change values of variables and UI textfields of my activities?

2010-10-20 Thread saex
no one knows it? On 20 oct, 14:56, saex elpablos...@gmail.com wrote: Hi I have an application that get/send data from/to a remote DB on internet. I need to get my application working in background mode, then i supose that i have to put all the send/get remote data in a service.

Re: [android-developers] Re: How can my service change values of variables and UI textfields of my activities?

2010-10-20 Thread Julie Andrews
At least I dont On Wed, Oct 20, 2010 at 7:47 PM, saex elpablos...@gmail.com wrote: no one knows it? On 20 oct, 14:56, saex elpablos...@gmail.com wrote: Hi I have an application that get/send data from/to a remote DB on internet. I need to get my application working in background

Re: [android-developers] stopping the GC from kicking in

2010-10-20 Thread Julie Andrews
CAn somebody tell me a link to a nice ebook on android On Wed, Oct 20, 2010 at 2:41 AM, kk kkostia...@gmail.com wrote: Hi all, When the GC kicks in during my game I sometimes get a noticeable framerate drop, which is to be expected. In logcat I get the usual: D/dalvikvm( 85): GC freed

Re: [android-developers] Re: TextView visibility problem

2010-10-20 Thread Julie Andrews
On Wed, Oct 20, 2010 at 6:37 PM, sisko adeod...@gmail.com wrote: I had began with the layout_width set to wrap_content but it did not have the desired effect. I'll admit I don't fully understand the layout concepts so I'm experienting alot. Any good material that can bring me up to speed is

Re: [android-developers] Re: TextView visibility problem

2010-10-20 Thread Julie Andrews
This group is so helpful On Wed, Oct 20, 2010 at 6:30 PM, sisko adeod...@gmail.com wrote: You are right. When I move the TextView up it is squashed but visible. Can you advice on how I can make it visible beneath the relative layout On 20 Oct, 03:22, metal mikey coref...@gmail.com wrote:

Re: [android-developers] Detecting area code

2010-10-20 Thread Julie Andrews
Is that really possible? On Wed, Oct 20, 2010 at 6:29 PM, Denis Souza denis.so...@gmail.com wrote: Hi I'm trying to find out if the user is still within range of his own area code. Detecting roaming doesn't solve the problem since the user may still be in the same network with a different

[android-developers] Re: Which Javascript Framework?

2010-10-20 Thread rovi
I did look at it, it seems too heavy compare to others but I never use it. What is your experience of it running on Android? Thanks, Rovi Pragati Ogal Rai wrote: Did you look into Appcelerator's Titanium? On Oct 18, 8:34 am, rovi rovix...@gmail.com wrote: I am going to develop an app runs

[android-developers] Triangle shape in XML file

2010-10-20 Thread Kwisatz
Is there any way of defining a triangle in a shape item though a XML definition? It seems there is only rectangle, oval, line and ring. Why not a triangle? -- 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: Which Javascript Framework?

2010-10-20 Thread Kumar Bibek
You can have a look at jQuery UI. There's a mobile version also which was released recently. But, I strongly think that you should have different UI for desktop and mobile. If you go for a single solution, you might compromise with features/performance. On Wed, Oct 20, 2010 at 8:12 PM, rovi

[android-developers] Listview not supporting if list extends screen size

2010-10-20 Thread saikiran n
Hi, I created a list view in an activity and the list shows some fields. When we click a list item a custom dialog should pop up and the user can enter some new value to this field. The custom dialog contains one edit text and two buttons ok and cancel. It is working fine. But when my list is more

Re: [android-developers] Triangle shape in XML file

2010-10-20 Thread Kumar Bibek
May be becoz those have lines of symmetry in X and Y-axis, and so, it was simple to implement. If someone asks for a triangle, then one can also ask for a pentagon or hexagon as well. May be in th future we can have those, but I don't have an answer to your WHY. :) On Wed, Oct 20, 2010 at 8:14

[android-developers] ListView divider

2010-10-20 Thread oriharel
I have this code: ListView android:layout_width=wrap_content android:layout_height=wrap_content android:id=@+id/cashItemsList android:cacheColorHint=# android:divider=@drawable/list_divider/ListView where @drawable/list_divide is: shape

Re: [android-developers] icon wont push to the right

2010-10-20 Thread TreKing
On Tue, Oct 19, 2010 at 5:40 PM, Varun Khanduja varunkhand...@gmail.comwrote: Can anyone help me identify the problem. My guess is that the parent ListView has it's width set to wrap_content. Use the Hierarchy Viewer tool to get a better picture of how things are laid out.

Re: [android-developers] ListView divider

2010-10-20 Thread Mark Murphy
Try adding android:dividerHeight=..., where ... is whatever thickness you want. On Wed, Oct 20, 2010 at 10:53 AM, oriharel ori.ha...@gmail.com wrote: I have this code: ListView      android:layout_width=wrap_content      android:layout_height=wrap_content      android:id=@+id/cashItemsList

[android-developers] Re: Triangle shape in XML file

2010-10-20 Thread Kwisatz
Well, it sucks for doing things like dialog balloons. It could be very easy with a few lines in two simple shapes and a couple of minutes coding, instead of designing a bitmap for the same effect, and adapting it to every screen format that exists out there in a 9 patch format and finding the

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

2010-10-20 Thread Nathan
Customer says that he can't download my free app and gets the message. Cannot download to this device Is this yet another glitch in the Android Market for which he needs to go to Android Market Support and be ignored? Or is there something I, or the customer can do about it? Nathan -- You

Re: [android-developers] Re: Triangle shape in XML file

2010-10-20 Thread Kumar Bibek
Yup agree, but things like baloons are better done as images. If you know photoshop, then I don't think it's much of a work. On Wed, Oct 20, 2010 at 8:34 PM, Kwisatz rui.mtd.ro...@gmail.com wrote: Well, it sucks for doing things like dialog balloons. It could be very easy with a few lines in

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

2010-10-20 Thread Kumar Bibek
Ah!! Thats' new. Never seen that. On Wed, Oct 20, 2010 at 8:37 PM, Nathan critter...@crittermap.com wrote: Customer says that he can't download my free app and gets the message. Cannot download to this device Is this yet another glitch in the Android Market for which he needs to go to

[android-developers] Re: Droidcon uk

2010-10-20 Thread Federico Paolinelli
Is anybody else coming? On Sep 20, 11:09 pm, String sterling.ud...@googlemail.com wrote: I'm going... Via train rather than plane, but my travel time from rural Wales might well equal yours from Italy. ;^) String On Sep 20, 9:49 pm, Federico Paolinelli fedep...@gmail.com wrote: Who's

[android-developers] Re: MotionEvent HistorySize and multiple Pointers

2010-10-20 Thread Julio Suarez
So, I carried out a little experiment to prove to myself that historical data is lost because you can only get historical data on MOVE_ACTION. Here's what I did: I used the debug logging to log all touch positions and also historical positions. Let's say you have the following sequence of events

Re: [android-developers] Re: Droidcon uk

2010-10-20 Thread Mark Murphy
On Wed, Oct 20, 2010 at 11:10 AM, Federico Paolinelli fedep...@gmail.com wrote: Is anybody else coming? http://lanyrd.com/2010/droidcon/ 65 attendees listed there, including yours truly. And that's counting SonyEricsson as just one attendee... :-) -- Mark Murphy (a Commons Guy)

[android-developers] Re: how to telnet in Eclipse

2010-10-20 Thread cellurl
Ok, I got cygwin and telnet. Not sure if this is related, but when I start the emulator I see: Application Settings (in process com.android.settings) is not responding. Application OpenWnn (in process jp.co.omronsoft.openwnn) is not responding. Process system is not responding. Then on the

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

2010-10-20 Thread TreKing
On Wed, Oct 20, 2010 at 12:15 AM, Stephen Lebed srle...@gmail.com wrote: The error I'm getting in logcat is FATAL EXCEPTION: main Class Not Found Exception in dalvik.system.pathclassloader... Does it not tell you which class was not found? That would be helpful :-)

RE: [android-developers] Re: Android Geocoder Issues

2010-10-20 Thread Tommy
Hm, I like your idea of putting it in a try catchYeah I only did 10 as a test to see if it would return something more often. If I still have issues I'll give the Yahoo API a try. Thanks to EVERYONE for your input/advice! Tommy Android Mobile Phone Application Developer Database

Re: [android-developers] Re: Droidcon uk

2010-10-20 Thread Federico Paolinelli
On Wed, Oct 20, 2010 at 5:17 PM, Mark Murphy mmur...@commonsware.com wrote: On Wed, Oct 20, 2010 at 11:10 AM, Federico Paolinelli fedep...@gmail.com wrote: Is anybody else coming? http://lanyrd.com/2010/droidcon/ 65 attendees listed there, including yours truly. And that's counting

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

2010-10-20 Thread TreKing
On Wed, Oct 20, 2010 at 10:07 AM, Nathan critter...@crittermap.com wrote: Customer says that he can't download my free app and gets the message. Cannot download to this device Is that what the customer told you? Is (s)he sure about that message? I wouldn't be surprised if that's their

[android-developers] Alarm manager using date and time picker

2010-10-20 Thread dilu
Hi, I want to set the alarm from the selected date and time from date and time picker in android. But I am not able to do.My code is as follows: mHour,mDay,mMinute etc are values from date and time picker. Calender ca; ca=Calendar.getInstance(); ca.clear();

Re: [android-developers] Re: How to get the SharedPreferences name managed by PreferenceActivity outside of the PreferenceActivity class?

2010-10-20 Thread TreKing
On Wed, Oct 20, 2010 at 4:46 AM, Agus agus.sant...@gmail.com wrote: ctx.getApplicationContext() This is completely redundant. Also, why do you need the name anyway? - TreKing

[android-developers] Locale and Orientation Problem

2010-10-20 Thread Goutham P N
Hi All, In my application I am supposed to use two languages and the two orientations(landscape and protrait). I want your suggestions to solve this problem. The thing is should I use 2 different User Interfaces for the 2 languages, So that i'll have 4 UIs for 2 languages. Is this the correct way

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

2010-10-20 Thread Nathan
On Oct 20, 8:24 am, TreKing treking...@gmail.com wrote: On Wed, Oct 20, 2010 at 10:07 AM, Nathan critter...@crittermap.com wrote: Customer says that he can't download my free app and gets the message. Cannot download to this device Is that what the customer told you? Is (s)he sure about

Re: [android-developers] Locale and Orientation Problem

2010-10-20 Thread Carlos Silva
You just need *one* UI, or *two* if you want to make the app look different when in landscape. The text should be dynamic using the res/values/strings.xml file (one file for each language). See here: http://developer.android.com/intl/fr/guide/topics/resources/localization.html On Wed, Oct 20,

[android-developers] Re: What buttons does every Android phone have to have?

2010-10-20 Thread Bret Foreman
As Android makes its way into automotive console applications, don't be surprised if some of these rules change. There are regulatory restrictions about what buttons are allowed to function when the vehicle is moving at speed. Of course, app developers will respond by replacing many of the

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

2010-10-20 Thread Riccardo Ciovati
On 20 Ott, 14:53, sblantipodi perini.dav...@dpsoftware.org wrote: How can I change locale only for my app? Did you tried this? http://www.tutorialforandroid.com/2009/01/force-localize-application-on-android.html -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] How can my service change values of variables and UI textfields of my activities?

2010-10-20 Thread TreKing
On Wed, Oct 20, 2010 at 7:56 AM, saex elpablos...@gmail.com wrote: can someone explain me how to do it please? You probably want your activity to bind to the service. I haven't done this, but you should be able to find plenty of information on it. On Wed, Oct 20, 2010 at 9:19 AM, Julie

Re: [android-developers] Re: How to get the SharedPreferences name managed by PreferenceActivity outside of the PreferenceActivity class?

2010-10-20 Thread Agus
You are right, should be this: String packageName = ctx.getPackageName(); On Wed, Oct 20, 2010 at 8:40 AM, TreKing treking...@gmail.com wrote: On Wed, Oct 20, 2010 at 4:46 AM, Agus agus.sant...@gmail.com wrote: ctx.getApplicationContext() This is completely redundant. Also, why do you

[android-developers] Orientation of Camera in my Camera app

2010-10-20 Thread Stephen Pengilley
Hi all, I am trying to build a simple camera view as part of my application. I want it to work just like the built in camera What you see is what you get. It doesn't auto correct rotation and the resultant photo is in the right orientation. What is happening in my Cameraview is that when i hold

[android-developers] Android Application Cache

2010-10-20 Thread Tommy
Hi everyone, I'm trying to understand the way android handles my application cache dataSome times i'll go in there and the cache directory is 6-7mb. What type of data is stored there? Is there a way in the mainifest I can say don't use cache or clear cache at Xmb ? Thank you for your time

Re: [android-developers] Android Application Cache

2010-10-20 Thread TreKing
On Wed, Oct 20, 2010 at 11:48 AM, Tommy droi...@gmail.com wrote: What type of data is stored there? Whatever you put in there using getCacheDir(). Also, I think I've read that WebView throws stuff in there, so maybe if you're using one, that's the problem? Is there a way in the mainifest I

Re: [android-developers] How can my service change values of variables and UI textfields of my activities?

2010-10-20 Thread Agus
you send an intent from the service and have a broadcastreceiver in the activities On Wed, Oct 20, 2010 at 5:56 AM, saex elpablos...@gmail.com wrote: Hi I have an application that get/send data from/to a remote DB on internet. I need to get my application working in background mode, then i

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

2010-10-20 Thread MB
Nathan, why don't you publish your free app outside the market place as well? Its always better to have direct relationship with the users of your product. On Oct 20, 8:07 am, Nathan critter...@crittermap.com wrote: Customer says that he can't download my free app and gets the message. Cannot

Re: [android-developers] How can my service change values of variables and UI textfields of my activities?

2010-10-20 Thread Kostya Vasilyev
If the service is driven by intents sent from the Activity (e.g. IntentService), you could use this: http://developer.android.com/reference/android/os/ResultReceiver.html If the service is local (used only by your application), then you could have a static in your activity that you set every

Re: [android-developers] How can my service change values of variables and UI textfields of my activities?

2010-10-20 Thread Mark Murphy
Or use createPendingResult(). Or pass a Message (from Handler#obtainMessage()), if this is a local service. On Wed, Oct 20, 2010 at 1:24 PM, Kostya Vasilyev kmans...@gmail.com wrote:  If the service is driven by intents sent from the Activity (e.g. IntentService), you could use this:

[android-developers] Re: What buttons does every Android phone have to have?

2010-10-20 Thread A Curious Developer
This is covered in the Compatibility Definition Document (CDD): Excellent, thanks. That is exactly what I was looking for. -- 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: TextView visibility problem

2010-10-20 Thread DanH
Ah, how do you handle a problem like Maria?? On Oct 20, 9:40 am, Julie Andrews julieonli...@gmail.com wrote: This group is so helpful On Wed, Oct 20, 2010 at 6:30 PM, sisko adeod...@gmail.com wrote: You are right. When I move the TextView up it is squashed but visible. Can you advice

  1   2   >