[android-developers] How to fix the image size(28 x 29 png file) in the grouptIndicator of the ExpandableListview ???

2010-04-30 Thread nyuri
how to fix the image size(28 x 29 png file) in the grouptIndicator of the ExpandableListview ??? I use expandableListview and android:groupIndicator in the attribute. The png image size is 28x29. But The Imgae is stretched. Does anyone Know this? Any answer is useful for me . thanks -- You

Re: [android-developers] Re: Extracting colors from Themes?

2010-04-30 Thread Mariano Kamp
Hey Nick, that's the thing. It's not that easy. Checkout what I wrote in my initial post: item name=colorBackground@android:color/background_dark/item item name=textColorPrimary@android:color/primary_text_dark/item They basically look the same right? And they are both public,

Re: [android-developers] Re: Option Menu Customization

2010-04-30 Thread D.Y
Hi Rob Mazur, I don't agree with your point, I test on the device with a long enough width for the 3rd option, but we get three rows, each option takes a line. Anyway, thanks for your advice. Best Regards, D.Y -邮件原件- 发件人: android-developers@googlegroups.com

[android-developers] Re: Process Crash whilst using JUnit

2010-04-30 Thread Bob Kerns
A couple of thoughts. If it's not consistent when and where it crashes, you may have some type of memory corruption, possibly even a GC bug, though in my experience those are rare beasts. If you have JNI code, (and you do, even if it's not yours), it's more likely in there. Since you've been

[android-developers] Input method recreated many times

2010-04-30 Thread yagnasri
hi all, I am trying to create an input method which has some heavy initialization to do in OnCreate(). The problem is whenever i am switching to my Ime from another ime, it is taking 2-3 seconds to initialize and in mean time if i press edit text repeatedly, OnCreate() and OnDestroy() of my IME

[android-developers] scroll view and TableLayout

2010-04-30 Thread rahulp
Hi I have a Scrollview Table Layout. In which i have a header column and another header row. I want to scroll the table without scrolling the headers. Ie i want to selectively stop scrolling of the top row and first column. Can anyone please hel[p me out.. PLEASE i need this to work -- You

[android-developers] Alarm Clock Localization query

2010-04-30 Thread Uander
Hi All , I am bit confused about location stuff in Alarm clock application in Eclair 2.1 . I want to confirm if its a feature or a bug . 1 . Click on Main Menu - Alarm Clock -(Any Set Alarm)-Repeat . This pops up list of all weekdays from Monday to Sunday along with check button so as to enable

[android-developers] long HOME KEY press in android 1.6

2010-04-30 Thread tstanly
hi all, normally, when we press long key on HOME KEY, there will show the recently used app list, now if I want to let this long press behavior do nothing, is it possiable? thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: How to see all the applicat ions in the Google Market?

2010-04-30 Thread Bob Kerns
There's also http://www.appbrain.com You can link directly to your apps, e.g.: http://www.appbrain.com/app/com.sfsmart.volume.free On Apr 29, 2:07 am, tobias429 ecker...@gmx.de wrote: Try those web-sites:

[android-developers] Android ANT build

2010-04-30 Thread veradis
Hi all, Is there any tool in eclipse to generate build.xml for my android project. I couldn't get solution to write build.xml. Is it possible to generate APK file and install it on emulator using ANT. Please help. Thanks Veradis -- You received this message because you are subscribed to the

[android-developers] Re: Developing a C++ static library for use with Java on the Android

2010-04-30 Thread FrankG
Hello Ravi, Thanks for the example .. but it is an example for a dynamic linked lib ( *.so ) not for using any existing code as a static lib ( *.a ). Nevertheless thanks for your efforts and to everybody who provides examples,details and comments. Frank On 29 Apr., 19:32, ravindra singhai

[android-developers] Re: [OpenGL] change coodinate system

2010-04-30 Thread Bob Kerns
Sorry, I didn't really mean it to be that sarcastic -- more educational with a humorous note. But I was a bit rushed, so I kind of skipped over the explanation part, and the humor, well, my humor is of a hit-or-miss variety...but usually I have the good sense to not apply it in online discussions

[android-developers] Re: Android ANT compilation

2010-04-30 Thread Bob Kerns
Start by reading the documentation here: http://developer.android.com/intl/de/guide/developing/other-ide.html There's no tool actually within Eclipse to do this, but you could define it as an external tool if you want. On Apr 28, 9:12 pm, veradis tech veradism...@gmail.com wrote: I am using

[android-developers] Re: Android ANT compilation

2010-04-30 Thread Bob Kerns
I didn't even mention Eclipse. Use the android tool to set up your ant project -- it knows how to set up for the android Ant tasks. They will, of course, need the SDK, but they will NOT need Eclipse. I do not build (nor do I recommend building) my product for distribution with Eclipse. On Apr

[android-developers] Re: Android ANT build

2010-04-30 Thread Bob Kerns
Already answered for you, in the thread you asked it earlier. Start by reading the documentation here: http://developer.android.com/intl/de/guide/developing/other-ide.html There's no tool actually within Eclipse to do this, but you could define it as an external tool if you want. Really, I

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-30 Thread Ginda
Munich - Germany - here it is! I got mine today from FedEx here in Munich Sent from FedEx Netherlands Great. Many many thanks Google! I think i sent Google my response on the 4th of March so 7 weeks ago or so ?! -- You received this message because you are subscribed to the Google Groups

[android-developers] System design consult

2010-04-30 Thread Idan
Hi, in my system i have component dispatcher, which in one side listen to a server and get messages, and from the other side dispatch the meassage to the right component. now about the components in the system let's say component: A which doing some operation(and finish) and component B(which

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-30 Thread Ilya Shinkarenko
Got mine in Stuttgart today. Thank you Google! On 30 April 2010 10:03, Ginda guentherhaslb...@gmail.com wrote: Munich - Germany - here it is! I got mine today from FedEx here in Munich Sent from FedEx Netherlands Great. Many many thanks Google! I think i sent Google my response on the

[android-developers] Retrieving the Json data into a list view...

2010-04-30 Thread Rahul
Hi, I want to retrieve the data from the url(http://www.sumasoftware.com/ alerts/GetAlerts.php) and parse the data. The data should be inserted to a list view showing alert text and the corresponding date. I have done this using a text view. But cant figure out how to display using list view...

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-30 Thread Vaervarsel
Arrived in Oslo, Norway 2010/4/30 Ilya Shinkarenko shin...@gmail.com Got mine in Stuttgart today. Thank you Google! On 30 April 2010 10:03, Ginda guentherhaslb...@gmail.com wrote: Munich - Germany - here it is! I got mine today from FedEx here in Munich Sent from FedEx Netherlands

[android-developers] Re: droidfanz.com -- what does it take to get them taken down?

2010-04-30 Thread mot12
Put a version of your own app there. With a timebomb so that the app stops working after a month and displays you are a pirate. -- 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: Device Seeding Program for Top Android Market Developers

2010-04-30 Thread Richard
Just got mine in York, UK Took a long time but, I guess it's worth it :) Thanks Google! :) On Apr 30, 11:17 am, Vaervarsel vaervar...@gmail.com wrote: Arrived in Oslo, Norway 2010/4/30 Ilya Shinkarenko shin...@gmail.com Got mine in Stuttgart today. Thank you Google! On 30 April

Re: [android-developers] long HOME KEY press in android 1.6

2010-04-30 Thread Mark Murphy
tstanly wrote: hi all, normally, when we press long key on HOME KEY, there will show the recently used app list, now if I want to let this long press behavior do nothing, is it possiable? You can change that if you write your own firmware and create your own phone. You cannot change that

Re: [android-developers] can change the search/query key behavior?

2010-04-30 Thread Mark Murphy
tstanly wrote: hi all, I want to change the search/query key on phone by application code, so I use the keyevent, the code is: === public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_SEARCH) {

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-30 Thread huberuto
N1 recived in Poland. Thanks again Google! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] How to query information of my APP?

2010-04-30 Thread Alger, Lin
I find some web site can display comments and download number of my application. Does anyone knows how to query market information about my application? -- 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] Not calling OnStop when an incoming call is received

2010-04-30 Thread Mark Murphy
Ned Fox wrote: I have an application that is silencing the ringer while it is open, then when it closes it unsilences it. Currently I am doing these two things in OnStart and OnStop. The only problem (and it's a big one) is that when a phone call comes in, it stops my application (calling

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-30 Thread Greg Donald
On Thu, Apr 29, 2010 at 8:25 PM, Jon jbcam...@gmail.com wrote: to those who received a droid in US... i got a text message regarding a number to call to switch an actual verizon line to the phone. i accidentally deleted that 800# and was wondering if anyone else got it. thanks! I used #228 to

Re: [android-developers] Location of launcher icons on Android home screen

2010-04-30 Thread Mark Murphy
akshay wrote: Is there any way to get the location or (x,y) coordinates of the launcher icons on home screen. How do you know the home screen the user is using even *has* the concept of launcher icons? Please remember that there is no single home screen: Google Experience devices have two (1.x,

Re: [android-developers] Read Gmail from my app

2010-04-30 Thread Mark Murphy
ling chiao wrote: Hi: I got exception trying to read email Uri uri = Uri.parse(content://com.android.provider/EmailProvider/); Intent intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent); No Activity found to handle Intent {

Re: [android-developers] USB programming SDK?

2010-04-30 Thread Mark Murphy
hakuthedog wrote: Hello android developers, I am new in Android development, and I want to write a server/client program with which phone and pc communicates via USB (or whichever wired) interface. The reason for that is that the amount I want to transfer is pretty big and also I want to

[android-developers] Problem in SimpleDateFormat MMM return month number

2010-04-30 Thread Sasikumar.S
Hi,, when we are using simpledateformat MMM it should return month abbrevation. Example :- If it is a june month it should return jun. But in my program it returns 6 . That is month number. I created my program 3 days before. Till today morning i did not got any error in that. Today morning only

[android-developers] Re: Retrieving the Json data into a list view...

2010-04-30 Thread Rahul
I have done the following. But still i cant get the result... Can anyone help me determine what the error is...Pl help me out... public class AlertsAdd { public ArrayListJSONObject retrieveJSONArray(String urlString) { String result = queryRESTurl(urlString);

[android-developers] Re: Problem in SimpleDateFormat MMM return month number

2010-04-30 Thread Kumar Bibek
You would have changed your code. Do have a look. Thanks and Regards, Kumar Bibek On Apr 30, 4:40 pm, Sasikumar.S sasikumar.it1...@gmail.com wrote: Hi,, when we are using simpledateformat MMM it should return month abbrevation. Example :- If it is a june month it should return jun. But in

[android-developers] Re: USB programming SDK?

2010-04-30 Thread Tim
On Apr 29, 8:00 pm, hakuthedog fjk89...@gmail.com wrote: Hello android developers, I am new in Android development, and I want to write a server/client program with which phone and pc communicates via USB (or whichever wired) interface. You can forward a TCP port to the phone using adb and

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-30 Thread Trygve
@Vaervarsel: Did you get it delivered to the door by FedEx, or did you get it by Posten (local mail)? On Apr 30, 12:17 pm, Vaervarsel vaervar...@gmail.com wrote: Arrived in Oslo, Norway 2010/4/30 Ilya Shinkarenko shin...@gmail.com Got mine in Stuttgart today. Thank you Google! On

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-30 Thread Vaervarsel
2010/4/30 Trygve trygv...@gmail.com @Vaervarsel: Did you get it delivered to the door by FedEx, or did you get it by Posten (local mail)? http://groups.google.com/group/android-developers?hl=en To the door by FedEx. Call FedEx Oslo and ask them to search for the package sent from

[android-developers] Re: Can custom read/write permissions effect user acceptance of an application?

2010-04-30 Thread Brion Emde
Yes, I have a paid version with bells whistles and a free version with the basic functionality. My demonstration video of the of paid version, so perhaps the free version is too big a step down once they see it. Thanks for the information. On Apr 29, 3:31 pm, TreKing treking...@gmail.com

[android-developers] Re: Can custom read/write permissions effect user acceptance of an application?

2010-04-30 Thread Brion Emde
Thanks for the information. 250K installs! Wow! Nice work. On Apr 29, 4:25 pm, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: My main app (Radar Now!) has over 250,000 installs. I've received questions, comments and numerous other contacts from users but never once has anyone even

[android-developers] Re: Alarm Clock Localization query

2010-04-30 Thread Uander
Hi All , Issue I mentioned here works fine in cupcake android 1.5 . it refers to a OHA issue 3985: http://code.google.com/p/android/issues/detail?id=3985 Please suggest how to fix it . in Alarms.java file , I used DateFormatSymbols(Locale.getDefault()) instead of simple DateFormatSymbols()

[android-developers] Re: Retrieving the Json data into a list view...

2010-04-30 Thread Brion Emde
I don't see a problem. You should look at your log file or post it. Have you traced through your code via the debugger? That is a good way to see what is happening. On Apr 30, 6:16 am, Rahul rahulvarma.kalidindi0...@gmail.com wrote: I have done the following. But still i cant get the result...

Re: [android-developers] Re: Retrieving the Json data into a list view...

2010-04-30 Thread Jose Gomez
Rahul, This should solve your problem if you get stuck let me know. I just wrote this specifically to address your problem and for my own reference http://www.josecgomez.com/2010/04/30/android-accessing-restfull-web-services-using-json/ Sincerely Jose C Gomez http://www.josecgomez.com On

[android-developers] Re: Retrieving the Json data into a list view...

2010-04-30 Thread Rahul
Here's how the errors in the log looks like... Tried different ways to fix the problem. but of no use... 04-30 13:09:46.656: INFO/ActivityManager(584): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x1000 cmp=com.WorldToyota/.Alerts }

[android-developers] Feedback Experiment: Freeze/Crash Reporting

2010-04-30 Thread polyclefsoftware
Are you guys all seeing this new feedback feature in the Android Developer Console? At first I thought it was an extension of the Android Market commenting system, but no...looks like error reporting! From what I've seen of it so far, this feature looks awesome. I'd had to implement my own

Re: [android-developers] Feedback Experiment: Freeze/Crash Reporting

2010-04-30 Thread Mark Murphy
polyclefsoftware wrote: Are you guys all seeing this new feedback feature in the Android Developer Console? At first I thought it was an extension of the Android Market commenting system, but no...looks like error reporting! From what I've seen of it so far, this feature looks awesome.

Re: [android-developers] How to custom option menu to arrange four menu items at the one line??

2010-04-30 Thread TreKing
On Fri, Apr 30, 2010 at 12:24 AM, nyuri hanyou...@gmail.com wrote: I just want to custom option menu like that, any suggestion will be grateful. http://groups.google.com/group/android-developers/browse_thread/thread/f0e82fb265c1be80/3adc59d8ad22a2fd

[android-developers] OpenID for Android?

2010-04-30 Thread Eurig Jones
I want to get rid of my app registration and embrace OpenID, but is it possible to do this type of thing with an Android Application? Regards, Eurig -- 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] How to custom option menu to arrange three menu items where 2 menu items are displayed at the top and the third below it.

2010-04-30 Thread TreKing
2010/4/29 D.Y android.and...@gmail.com Our UI Team has some professional idea that the menu layout like I told is more friendly to the customer in my application, I would argue that adhering to the standard conventions that the user is accustomed to is more friendly to the customer. But then

[android-developers] Re: Feedback Experiment: Freeze/Crash Reporting

2010-04-30 Thread Streets Of Boston
It's still very 'beta' like. I can't see the feedback of any app but my own. At least in IE8, when i choose to see the feedback of com.android.browser (or another that's not mine), my browser keeps refreshing until eternity (although haven't waited *that* long :-)). I now can remove my

Re: [android-developers] Re: Android ANT compilation

2010-04-30 Thread Leigh McRae
What do you debug with? I would love to leave Eclipse behind. Leigh On 4/30/2010 3:37 AM, Bob Kerns wrote: I didn't evenmention Eclipse. Use the android tool to set up your ant project -- it knows how to set up for the android Ant tasks. They will, of course, need the SDK, but they will

[android-developers] Re: Retrieving the Json data into a list view...

2010-04-30 Thread Rahul
Really thank you Jose for posting the code. I'll definitely try it out and let you know if there are any further issues. Regarding the logcat, Hey Brion,I have posted wrong log cat in the above posts. Sorry for that... Below you can see the exact log cat errors... 04-30 13:09:46.656:

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-30 Thread Mariano Kamp
The package is waiting for me at my home too, Frankfurt, Germany. Thanks Google! On Fri, Apr 30, 2010 at 3:00 PM, Vaervarsel vaervar...@gmail.com wrote: 2010/4/30 Trygve trygv...@gmail.com @Vaervarsel: Did you get it delivered to the door by FedEx, or did you get it by Posten (local mail)?

[android-developers] Which Intent Flags when setting PendingIntents in multiple app widget scenario?

2010-04-30 Thread westmeadboy
I have one WidgetProvider but expect the user to have multiple instances of the widget on the home screen. When the user clicks on the widget, an intent is fired to start an activity A passing a String extra (which is specific to that instance of the app widget). Everything works fine unless the

Re: [android-developers] Which Intent Flags when setting PendingIntents in multiple app widget scenario?

2010-04-30 Thread Mark Murphy
westmeadboy wrote: I have one WidgetProvider but expect the user to have multiple instances of the widget on the home screen. When the user clicks on the widget, an intent is fired to start an activity A passing a String extra (which is specific to that instance of the app widget).

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-30 Thread Ottavio Vanini
Hi all, I just received mine @ Marino (Rome) Italy Many Thanks GOOGLE !!! -- 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

[android-developers] Re: Which Intent Flags when setting PendingIntents in multiple app widget scenario?

2010-04-30 Thread westmeadboy
Excellent, that works. Thanks Mark. On Apr 30, 4:09 pm, Mark Murphy mmur...@commonsware.com wrote: westmeadboy wrote: I have one WidgetProvider but expect the user to have multiple instances of the widget on the home screen. When the user clicks on the widget, an intent is fired to start

Re: [android-developers] Drillable ListView Example

2010-04-30 Thread TreKing
On Thu, Apr 29, 2010 at 10:28 PM, AndroidGoose fel...@gmail.com wrote: Does anyone know of a good example of a ListView that is drillable to other ListViews where the 2nd list populates based off of the click on the first list? Example? No, I don't. But having two list view activities where

[android-developers] onLocationChanged Not Calling

2010-04-30 Thread Nithin
Hi, I write a class which implements LocationListener. Its just listeneing to the location. I tried the code in Tatoo, but its not working. The code is.. public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); lm = (LocationManager)

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-30 Thread TonyDoc
Arrived, Scotland. Thanks google -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-30 Thread feilfly
finally, I received it. But the charger is EU standard not UK standard :-( On Apr 30, 3:09 pm, Ottavio Vanini ottavio.van...@gmail.com wrote: Hi all, I just received mine @ Marino (Rome) Italy Many Thanks GOOGLE !!! -- You received this message because you are subscribed to the Google

[android-developers] Re: droidfanz.com -- what does it take to get them taken down?

2010-04-30 Thread Robert Green
Heh, what could possibly go wrong? On Apr 30, 5:18 am, mot12 martin.hu...@gmail.com wrote: Put a version of your own app there. With a timebomb so that the app stops working after a month and displays you are a pirate. -- You received this message because you are subscribed to the Google

[android-developers] Drawing of location accuracy in Google Maps app

2010-04-30 Thread michael
Hi folks, I'm working on a mapping application which uses the Projection.metersToEquatorPixels method to convert distances in meters to distances in screen pixels. Here is what the documentation says about this method: Converts a distance in meters (along the equator) to one in (horizontal)

[android-developers] Re: PendingIntent getBroadcast Can't use FLAG_RECEIVER_BOOT_UPGRADE here

2010-04-30 Thread cnich
The actual intents being provided to the functions are flagged with FLAG_ACTIVITY_NEW_TASK. The intent is started and then passed to the code above. When creating the pending intent with FLAG_CANCEL_CURRENT I receive the error message Can't use FLAG_RECEIVER_BOOT_UPGRADE here. This only occurs

[android-developers] Can anyone with a Moto Droid run a quick test on my app please?

2010-04-30 Thread Geefer
Hi, My app is working fine on G1, N1, Hero etc but crashes on Droid. If anyone can quickly run a test for me on a Motorola Droid and email me the logcat output it would be very helpful. Please email me if you can spare the time and I will send a link to download the apk. -- You received this

[android-developers] Re: Stopping or Killing a Thread

2010-04-30 Thread Cameron.M.Johnson
Thank you for the fast reply, I will try this out! Cameron On Apr 29, 10:51 pm, Anurag Singh anusingh...@gmail.com wrote: You can use Interrupt to strop a thread. http://java.sun.com/docs/books/tutorial/essential/concurrency/interru... - Anurag Singh -- You received this message because

[android-developers] One clicklistener for many buttons.

2010-04-30 Thread angushir...@googlemail.com
Dear all, I'm implementing an app that has 12 buttons placed in a grid. When one is pressed, the number that the button displays (through button.getText()) has to be retrieved and passed to a common method. I've gone down the route of implementing OnClickListener e.g. public class

[android-developers] Re: Not calling OnStop when an incoming call is received

2010-04-30 Thread Bob Kerns
Just to emphasize Mark's point: Thousands of people have downloaded my app to *prevent* accidental changes to volume controls, primarily the ringer volume. And many thousands more have downloaded quite a number of other applications that also perform this function. Can you imagine the comment

Re: [android-developers] How to fix the image size(28 x 29 png file) in the grouptIndicator of the ExpandableListview ???

2010-04-30 Thread TreKing
On Fri, Apr 30, 2010 at 1:04 AM, nyuri hanyou...@gmail.com wrote: But The Imgae is stretched. Does anyone Know this? Try the indicatorLeft and indicatorRight properties? - TreKing - Chicago

[android-developers] Open Browser with full screen

2010-04-30 Thread CMF
String url = http://xx;; Intent i = new Intent(Intent.ACTION_VIEW); i.setData(Uri.parse(url)); startActivity(i); I want this activity ( browser) to be opened with full screen, is it possible? -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] How to fix the image size(28 x 29 png file) in the grouptIndicator of the ExpandableListview ???

2010-04-30 Thread TreKing
On Fri, Apr 30, 2010 at 10:46 AM, TreKing treking...@gmail.com wrote: Try the indicatorLeft and indicatorRight properties? Sorry, posted too soon. I think what you want is to make a PNG.9 image for your drawable. Take a look at the resources provided with the SDK that has the default image

[android-developers] How to get information about my application from market

2010-04-30 Thread Alger, Lin
I find some web site can show information about my application, such as user comment and download count. Does anybody could tell me, how to retrieve those information from Google? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: uploading image + optional tags via HTTP POST

2010-04-30 Thread shaun
I found this bit of code. Not put it to use yet, but looks good to go. The data object is the byte[] representing the image. PostMethod method; try { HttpClient client = new HttpClient();

[android-developers] Re: uploading image + optional tags via HTTP POST

2010-04-30 Thread shaun
If Android does not have all the classes necessary to compile that, try include commons-httpclient in your classpath (http://hc.apache.org/ downloads.cgi) On Apr 30, 11:54 am, shaun shashepp...@gmail.com wrote: I found this bit of code.  Not put it to use yet, but looks good to go.  The data

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-30 Thread Teo
Received it in Romania! Thanks Google! On Thu, Apr 29, 2010 at 12:15 PM, Martin Adamek martin.ada...@gmail.comwrote: Not in Germany, but YES in Prague! FedEx has just delivered my shiny new Nexus One 10 minutes ago.

[android-developers] Re: HTC Incredible no default external storage?

2010-04-30 Thread webmonkey
My guess is that both External and Internal are mounted and unmounted at the same time. Another question is the WRITE_EXTERNAL_STORAGE permission. Does it also apply to the internal storage, or is there a new separate permission for this. On Apr 30, 4:51 am, Streets Of Boston

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-30 Thread TreKing
OK, we get it, the phones are rolling into the rest of the world, finally. Congratulations to all of you. I'm sure you're all very excited and I'm sure the rest of us are quite happy for you, but there's really no need for every single person to confirm they've received their phone and update

[android-developers] Re: How to get information about my application from market

2010-04-30 Thread Maps.Huge.Info (Maps API Guru)
The sites you're seeing this on (like cyrket.com, androlib.com et al) have broken the market API, which requires some clever work on their part. It's not terribly difficult but you risk getting cut off by Google. Hopefully, Google will open up the market API to our use soon, I think we're seeing

[android-developers] How to reflect the settings changed in the web to the device

2010-04-30 Thread subrat kumar panda
Hello all, In my Gps app there is a Setting page. user can make changes to the setting page from device and from web , like others(register , login etc). so when the user make some changes in the settings page form the web how could it get reflected in the device setting page. i am not finding a

[android-developers] Sending programmatic email with attachment

2010-04-30 Thread Jay-andro
Background: I have a voice messaging app that needs to send an email with the audio file attached when user records and presses send. I dont want to have the user see a mail client and press Send in it. He's already aware my app is going to send an email and has pressed a send button in the app.

[android-developers] Change text size and color of listview

2010-04-30 Thread pawan nimje
Hi all, I am adding listview programmatically. My code is as follow. --- start LinearLayout llIn2 = new LinearLayout(this); llIn2.setOrientation(LinearLayout.VERTICAL); llIn2.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT)); ListView lv = new

Re: [android-developers] Change text size and color of listview

2010-04-30 Thread Mark Murphy
pawan nimje wrote: Hi all, I am adding listview programmatically. My code is as follow. --- start LinearLayout llIn2 = new LinearLayout(this); llIn2.setOrientation(LinearLayout.VERTICAL); llIn2.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT,

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-30 Thread DKIT Android
In Norway. Still no N1. :-( -- 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

Re: [android-developers] Change text size and color of listview

2010-04-30 Thread pawan nimje
hey thanks pal it worked On Fri, Apr 30, 2010 at 11:22 PM, Mark Murphy mmur...@commonsware.comwrote: pawan nimje wrote: Hi all, I am adding listview programmatically. My code is as follow. --- start LinearLayout llIn2 = new LinearLayout(this);

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-30 Thread MrChaz
You just need a 2pin to 3pin converter and the charger will work just fine in the UK :D On Apr 30, 4:15 pm, feilfly feil...@gmail.com wrote: finally, I received it. But the charger is EU standard not UK standard :-( On Apr 30, 3:09 pm, Ottavio Vanini ottavio.van...@gmail.com wrote: Hi all,

[android-developers] Re: Retrieving the Json data into a list view...

2010-04-30 Thread Brion Emde
That first logcat you posted was pretty interesting. It was telling you that what you are getting back from you webservice is a JSONArray, not a JSONObject, as you are assuming it is. They aren't the same thing. You need to get clear on what you are expecting with what they are sending or you are

[android-developers] Help With Drawable.getPadding ?

2010-04-30 Thread Christopher
I am trying to use getPadding() to get the padding information for a Drawable and then use that padding information to position an ImageView above the Drawable. Here's what I'm trying, but obviously this code is wrong. Rect paddingInfo = theDrawable.getPadding();

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

2010-04-30 Thread DonFrench
I am not sure if it is the same issue but it sounds related. My app was eventually able to connect to the device I was having trouble with but only after I manually unpaired it. I never deliberately paired it in the first place and I was never asked for a pin during the time it was failing to

[android-developers] Re: Stopping or Killing a Thread

2010-04-30 Thread Cameron.M.Johnson
The problem I am continuing to have is that SurfaceCreated gets called instead of onCreate when the app restarts. I was using the join() method which I thought terminates the thread but SurfaceCreated still gets called first. Is there a way to call onCreate from SurfaceCreated? Another

[android-developers] onLocationChanged - differences between emulator 1.5 and emulator 2.1

2010-04-30 Thread MB
Hi, I would really appreciate if an experienced Android developer could provide their insights regarding the following. I am testing requestLocationUpdates/onLocationChanged on emulator using Eclipse emulator control in Debug perspective. Everything works as expected when I test on emulator

[android-developers] Re: onLocationChanged Not Calling

2010-04-30 Thread MB
I am facing a similar issue on emulator running 1.5. It does not happen on emulator running 2.1 You can find more details regarding these difference in the following thread (A few comments are conflicting). http://code.google.com/p/android/issues/detail?id=2545 Perhaps this bug exists even on

[android-developers] Re: Activity receiving messages after onDestroy

2010-04-30 Thread davidj
use removeCallbacksAndMessages(null) Thanks. Where is this documented? There's no mention in the Handler documentation about passing a null Object to this method. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Easiest way to communicate between two activities in two different Applications

2010-04-30 Thread sebastian23
Hi together. I have an application A and a application B that both have an activity. Now i want to send Data from activity A1 to activity B1 and back. Whats the easiest way to to dis? I tried to use Remote Service via AIDL, but this doesn't work very well in both directions because I only can

Re: [android-developers] Easiest way to communicate between two activities in two different Applications

2010-04-30 Thread TreKing
On Fri, Apr 30, 2010 at 3:03 PM, sebastian23 sebastia...@gmail.com wrote: So what can i do to solve this problem? Any help is really appreciated. Thanks! I think is what BroadcastReceivers are for ...

[android-developers] Re: Android ANT compilation

2010-04-30 Thread Bob Kerns
I debug with Eclipse. You should be able to use any Java debugger, but there are none that come close to Eclipse, and the SDK provides all this nice Eclipse integration you won't get anywhere else. Why do you want to leave Eclipse behind? I mean, besides the inherent shortcomings of using an IDE

[android-developers] trying to write to file and failing

2010-04-30 Thread emada.adame
hi im just trying to save some text to a file on android and while it works fine on the emulator dont crash, when i try it on my phone it crashes, what am i doing wrong? heres the code: try{ File root = Environment.getExternalStorageDirectory(); if

Re: [android-developers] trying to write to file and failing

2010-04-30 Thread Mark Murphy
emada.adame wrote: hi im just trying to save some text to a file on android and while it works fine on the emulator dont crash, when i try it on my phone it crashes, what am i doing wrong? heres the code: try{ File root = Environment.getExternalStorageDirectory();

[android-developers] How to debug SIGSEV?

2010-04-30 Thread Mariano Kamp
Hi, I am wondering if there is any way to debug a SIGSEV? I have not much experience with those native crashs. This issue only seems to happen with the HTC Incredible and I would at least guess that my Java code cannot be the actual cause, but maybe there is something I can do to avoid triggering

[android-developers] Re: Different screen sizes x different layouts

2010-04-30 Thread Gabriel Simões
One other interesting thing My FWQVGA avd (android 2.1 + skin WQVGA432) seems to work only for one session. If I close and run it again the resolution changes, icons appear a lot bigger and it displays the UI componentes totally misplaced. I don´t know if I made a huge mess with last posts

[android-developers] Re: trying to write to file and failing

2010-04-30 Thread emada.adame
Hi Mark thanks for the reply, and yes i WRITE_EXTERNAL_STORAGE set like so: uses-permission android:name=android.permission.WRITE_EXTERNAL_STORAGE/uses- permission and i load the app onto my phone then disconnect the phone from my pc and then try my save function, still crashes. any ideas? On

Re: [android-developers] Re: trying to write to file and failing

2010-04-30 Thread Mark Murphy
emada.adame wrote: Hi Mark thanks for the reply, and yes i WRITE_EXTERNAL_STORAGE set like so: uses-permission android:name=android.permission.WRITE_EXTERNAL_STORAGE/uses- permission and i load the app onto my phone then disconnect the phone from my pc and then try my save function,

  1   2   >