[android-developers] going to the metal

2008-10-03 Thread Vinegar Tasters
I can understand the Android tries to be one operating system on multiple mobile devices (and their associated chips and CPUs) using java as an intermediate compatibility layer. However, as many people found out wish java, javascript ecmascript, python, and other interpreted languages, they are s

[android-developers] Re: format for progressbar drawable xml?

2008-10-03 Thread Jason Parekh
Hi Allan, Here's an example XML drawable for the horizontal progress bar. You could set the ProgressBar.setProgressDrawable to this. http://schemas.android.com/apk/res/android";>

[android-developers] Re: Is Runnable no longer supported by android.view.Menu?

2008-10-03 Thread Jason Parekh
Yup, it has been removed. The preferred approach is override onOptionsItemSelected, and do a 'switch' on the MenuItem's id. If you really want to create an anonymous inner class (similar to how many people used the Runnable previously), you can do so with the MenuItem.setOnMenuItemClickListener.

[android-developers] Re: PNG issue with 1.0 Release 1

2008-10-03 Thread Nemat
Hi, I m also getting this error What is the reason behind.My code is: public Bitmap getFromServer(String url) { Bitmap bitmap = null; InputStream in = null; OutputStream out = null; int IO_BUFFER_SIZE=1*1024*1024; ImageView i = new Im

[android-developers] Connecting SSL and submitting an XML using 1.0 SDK

2008-10-03 Thread AnuR
Hi all, how can I connect an SSL (htps://) using the SDK 1.0 and submit and an XML file to that https link. I did it using the org.apache.commons.httpclient (commons-httpclient ) library in m5 versions. Now those are not in the new releases. how can I connect it in new version. --~--~-~-

[android-developers] Re: ADT plugin in SDK 0.9

2008-10-03 Thread eric
I was having the same problem, checked the eclipse log as recommended and saw the following java.lang.UnsupportedClassVersionError: Bad version number in .class file I changed my project to compile to jdk1.5 and the problem is resolved. On Oct 3, 4:35 am, bala <[EMAIL PROTECTED]> wrote: > For m

[android-developers] Re: switch between activities

2008-10-03 Thread Joa
hackbod, Thank you for your angle on this. I am using the described technique to open a web browser window from within an Activity without stopping it. After user closes the web browser, he or she returns to the main app without missing a beat. A Dialog does not cover this use case, and OP might h

[android-developers] Re: Decoding Reverse Geocoding HTTP Response

2008-10-03 Thread Megha Joshi
Okay...now I understand what you are trying to do...sorry I can't be of much help...you may want to post your question the android-internals forum. 2008/10/3 vern <[EMAIL PROTECTED]> > > Hello, > > The code is simply and works perfectly: > > Geocoder g = new Geocoder(this); > List la =

[android-developers] Is Runnable no longer supported by android.view.Menu?

2008-10-03 Thread Satya Komatineni
I see it in the description of of some menu methods as if a Runnable is going to be called if one exists. However I don't see an "add" method adding a runnable to the menu item. Any thoughts Thanks Satya --~--~-~--~~~---~--~~ You received this message because yo

[android-developers] Re: mail.jar activation.jar problem in android

2008-10-03 Thread mpredosin
I am having the same problem. The activation.jar can't find the required classes in the android jar. It occurs with both Android 1.0 & 0.9 sdks. 10-03 23:24:49.891: DEBUG/SSLSocketFactory(378): Using factory [EMAIL PROTECTED] 10-03 23:24:49.979: DEBUG/OpenSSLSocketImpl(378): SSL_OP_NO_SSLv3 is

[android-developers] format for progressbar drawable xml?

2008-10-03 Thread Allan Hsu
Does anybody know the proper format for declaring custom horizontal progressbar drawables in xml? I've searched and searched, but the only documentation/discussions I can find are for custom button graphics, which seem to work via a different system. -Allan -- Allan Hsu --~--~---

[android-developers] Re: Best practice - buttons or menu items?

2008-10-03 Thread jtaylor
A button is fundamentally attached to the UI. A "Go" search button is attached to a textbox, or a "start" and "stop" in a stopwatch defines the UI. Otherwise it's a menu item. - Juan T. On Oct 3, 3:12 pm, Charlie Collins <[EMAIL PROTECTED]> wrote: > Every time I make a new screen I find myse

[android-developers] making temporary files

2008-10-03 Thread Jason Proctor
hi justin, thanks for the response. supposing i'm running on a real device and the user doesn't have an SD card. then what? thanks, j >You should put temporary files somewhere in /sdcard, as generally this >will have more available space than a device's internal storage. For >this to work

[android-developers] Re: How many threads can be created or how to avoid thread leak

2008-10-03 Thread Justin (Google Employee)
Someone pointed out that the runThread member should be declared as volatile or the behavior of this code is unpredictable. Cheers, Justin Android Team @ Google On Oct 3, 4:58 pm, "Justin (Google Employee)" <[EMAIL PROTECTED]> wrote: > Jo, > > Sounds like HandlerThread is almost certainly the wa

[android-developers] Re: How many threads can be created or how to avoid thread leak

2008-10-03 Thread Justin (Google Employee)
Jo, Sounds like HandlerThread is almost certainly the way you want to go here, but you can do a similar thing with a regular thread, using a public member to control it. You should stop the the thread in onPause or onStop depending on what its doing. public class DummyActivity extends Activity {

[android-developers] making temporary files

2008-10-03 Thread Jason Proctor
is there a good spot in the filesystem to park temporary files? i notice from rummaging around that there is no /tmp on this Linux box, and File.getTempFile() fails, with the error "can't create /sdcard/$filename". (and android error messages should be more informative in general, IMHO.) --~

[android-developers] Re: Best practice - buttons or menu items?

2008-10-03 Thread Charlie Collins
Thanks for the tips Nikkelitous, all that advice sounds quite reasonable. I hadn't really thought of the button and tap vs tap thing, great point. And I totally agree about consistency. I am basically using high level actions as menu items (create, save, edit, delete, next page, last page), and

[android-developers] Re: How many threads can be created or how to avoid thread leak

2008-10-03 Thread Jo
OK Hackbod you are taking about quitting handlerThread. Got it. I thought it was normal java.lang.thread. Thanks, --Jyothsna On Oct 3, 3:32 pm, Jo <[EMAIL PROTECTED]> wrote: > HI Hackbod, > > 1) Thanks about the suggestion. I never used HandlerThread. Maybe I > can take a look. > > 2)coming to t

[android-developers] Re: PNG issue with 1.0 Release 1

2008-10-03 Thread Megha Joshi
Could you attach a test image and the code that you are using to load this image? 2008/10/3 tberthel <[EMAIL PROTECTED]> > > I get the following error loading some images that loaded in .9 Beta: > > D/skia( 226): xxx jpeg error 53 Not a JPEG file: starts > with 0x%02x 0x%02x > > Is t

[android-developers] tutorial for Android NooB

2008-10-03 Thread easan
i wonder if an Android developer in Silicon Valley area would be willing to give a brief tutorial on tips, shortcuts, etc using Eclipse and the Android SDK. Have programmed in C# with .net in past, and find i learn much more quickly simply watching someone else 'show me around'.I live in Sant

[android-developers] Re: How many threads can be created or how to avoid thread leak

2008-10-03 Thread Jo
HI Hackbod, 1) Thanks about the suggestion. I never used HandlerThread. Maybe I can take a look. 2)coming to the other suggestion.How can I quit a thread. I mean which method should I use because thread.resume/suspend/stop are all deprecated. HI Joe, I am using a separate daemon thread for rece

[android-developers] Re: Decoding Reverse Geocoding HTTP Response

2008-10-03 Thread vern
Hello, The code is simply and works perfectly: Geocoder g = new Geocoder(this); List la = g.getFromLocation(-25.809 , -49.153, 1); When I run it with the Wireshark (or tcpdump) turned on, I can see an HTTP Request to http://www.google.com/loc/m/api The Content Type is Binar

[android-developers] PNG issue with 1.0 Release 1

2008-10-03 Thread tberthel
I get the following error loading some images that loaded in .9 Beta: D/skia( 226): xxx jpeg error 53 Not a JPEG file: starts with 0x%02x 0x%02x Is this a bug or something that will stay in the next release? --~--~-~--~~~---~--~~ You received this mes

[android-developers] Re: Poll : .apk MIME Type

2008-10-03 Thread Al Sutton
The mime type should work, but theres a bug in the current emulator which means you can't install non-marketplace apps (See http://www.mail-archive.com/[EMAIL PROTECTED]/msg01263.html). Al. Mark Hansen wrote: > I'd dug around in the past, but never could find the mime type. I > assumed we wer

[android-developers] Plans for Variable Recording Level in MediaRecorder?

2008-10-03 Thread Stephen L
Hello All- >From looking at the MediaRecorder API reference, it appears there is currently no way to adjust the audio recording level. Does anyone know if there are any plans to make the recording level adjustable in the future or if there are any technical (or other) reasons why this cannot happ

[android-developers] Re: Default the Spinner Selection

2008-10-03 Thread Megha Joshi
You could use Spinner's setSelection(int position) method. 2008/10/3 Lonzo1968 <[EMAIL PROTECTED]> > > I feel almost embarrassed to ask this.. But how do you default the > selection in a Spinner Widget? I have a Spinner that uses an > ArrayAdapter to fill the Selections. I get the value of the >

[android-developers] Re: Decoding Reverse Geocoding HTTP Response

2008-10-03 Thread Megha Joshi
Could you post a link to your blog...and some code..so that I can get an idea of what you are doing :) 2008/10/3 vern <[EMAIL PROTECTED]> > > As I posted at my blog, I'm trying to decode the Google site response > to an Android's reverse geocoding request. But as I don't know how to > decompile t

[android-developers] Re: mail.jar activation.jar problem in android

2008-10-03 Thread Megha Joshi
Could you give some more details on what you are trying to do... 2008/10/3 [EMAIL PROTECTED] <[EMAIL PROTECTED]> > > Hi Everybody, > I have problem in getting gmail folder in android for using > mail.jar(1.4.1 version) and activition.jar(1.1 version). Following is > the exception. Does some

[android-developers] Re: weird socket error

2008-10-03 Thread Jason Proctor
well, i switched to using HttpClient and the problem went away. this isn't really a fix, though, URLConnection etc should work IMHO. >under some circumstances i'm getting the following log entry in ddms -- > >SOCKETLOG add_recv_stats 0 > >-- which appears in red, indicating an error. and when

[android-developers] Default the Spinner Selection

2008-10-03 Thread Lonzo1968
I feel almost embarrassed to ask this.. But how do you default the selection in a Spinner Widget? I have a Spinner that uses an ArrayAdapter to fill the Selections. I get the value of the Spinner from a database, and now I want to set the Spinner to that selection when the user creates the Activit

[android-developers] Re: IDE Netbeans

2008-10-03 Thread luyen
You can read this: Introducing Android Development with NetBeans : http://wiki.netbeans.org/IntroAndroidDevNetBeans On Oct 2, 7:58 pm, "Roberto Aguirre" <[EMAIL PROTECTED]> wrote: > How can i develop an app using Netbeans 6.5?? --~--~-~--~~~---~--~~ You receive

[android-developers] Re: ListView setTextFilterEnabled showing semi transparent overlay

2008-10-03 Thread Romain Guy
By calling setTextFilterEnabled() you do request this popup. If you don't want it, disable text filtering. This is an interactive feature for the user. It is not meant to be used programatically. If you want to programatically filter your adapter, call getFilter() on your adapter directly (if your

[android-developers] Re: Application

2008-10-03 Thread rakesh mehta
lets see.. i like your idea... On 10/3/08, hackbod <[EMAIL PROTECTED]> wrote: > > Nope. That is not a nice thing to do to the user. :) > > On Oct 2, 10:50 am, barrie <[EMAIL PROTECTED]> wrote: >> Is there any way to make our own android application unremovable or >> undeleted? >> >> That means o

[android-developers] Re: android

2008-10-03 Thread rakesh mehta
hi... To get all the basic... just prefer this PDF i am send u a link... http://commonsware.com/Android/Android.pdf hope u like it... On 10/3/08, Shraddha <[EMAIL PROTECTED]> wrote: > > Hi Satheesh, > > To get all the basics systematically .. best is you go throught each > of the topics from "ge

[android-developers] Re: android

2008-10-03 Thread luyen
Hello, To know how to use the elements (button, checkbox, imagebutton ...) of android, please read this tutorial: A Visual Guide to Android GUI Widgets : http://whyandroid.com/android/tutorial/88-a-visual-guide-to-android-gui-widgets.html On Oct 3, 6:05 am, "satheesh kumar" <[EMAIL PROTECTED]

[android-developers] Re: Contact Phones numbers

2008-10-03 Thread rakesh mehta
hi.. just visit the http://www.anddev.org in forum.. there is one example of your problem... see it... On 10/3/08, Alexandru Mos <[EMAIL PROTECTED]> wrote: > > I have two questions. Can anyone help me please. > How can I Update an contact phone number? > How can I see IM (Instant message) account

[android-developers] Re: constructor AssetManager() is not visible???

2008-10-03 Thread Big Xav
You can't instantiate this class. The way to get an AssetManager object is by AssetManager assetManager = activity.getResources().getAssets(); Hope this would help. Xavier. On Sep 24, 8:18 am, Wesley Sagittarius <[EMAIL PROTECTED]> wrote: > hi, > > AssetManager assetManager = new AssetManager

[android-developers] Decoding Reverse Geocoding HTTP Response

2008-10-03 Thread vern
As I posted at my blog, I'm trying to decode the Google site response to an Android's reverse geocoding request. But as I don't know how to decompile the Android libraries to see how it's done, I'm stuck. Anyone can help me? --~--~-~--~~~---~--~~ You received this

[android-developers] Re: ListView setTextFilterEnabled showing semi transparent overlay

2008-10-03 Thread Nik Bhattacharya
After much searching, I found what is the culprit...its a PopupWindow. AbsListView always shows this PopupWindow when the filter text is set. It is translucent, but completely blocks any touch events going to views behind it. There is currently NO way to turn this off. There is no xml attribut

[android-developers] Best practice - buttons or menu items?

2008-10-03 Thread Charlie Collins
Every time I make a new screen I find myself debating which buttons should be on screen buttons, and which should be menu items, and or which should be both. I was wondering what others thing about this. Are there general guidelines or logical approaches that people are using? I apologize up front

[android-developers] Re: OpenGL ES documentation/tutorial suggestions

2008-10-03 Thread Nikkelitous
Thank you. I went and grabbed a copy and it definitely seems to meet all my requirements quite well. It covers everything from history of OpenGL ES and M3G (a competing API) to the math behind the 3d environment. It's an incredible resource and I'm shocked I wasn't referred to it earlier. I'd

[android-developers] weird socket error

2008-10-03 Thread Jason Proctor
under some circumstances i'm getting the following log entry in ddms -- SOCKETLOG add_recv_stats 0 -- which appears in red, indicating an error. and when that appears, that's it for that connection, it seems. i've googled for this and a few people have seen it, but nobody has an explanation f

[android-developers] Re: WebView loadData limitations

2008-10-03 Thread schmielson
Thanks a ton for your comments, Mark. I've filed a bug: http://code.google.com/p/android/issues/detail?id=929. Best, Dave On Oct 1, 5:29 am, Mark Murphy <[EMAIL PROTECTED]> wrote: > schmielson wrote: > > As it turns out, the android:layout_height="wrap_content" used along > > with android:layou

[android-developers] Re: Poll : .apk MIME Type

2008-10-03 Thread Mark Hansen
I'd dug around in the past, but never could find the mime type. I assumed we were going to get some sort of post eventually regarding the app store and how and if we could host our own stuff. On Oct 3, 1:21 pm, Al Sutton <[EMAIL PROTECTED]> wrote: > I've been trawling the web for some .apks to a

[android-developers] Poll : .apk MIME Type

2008-10-03 Thread Al Sutton
I've been trawling the web for some .apks to add into andappstore.com and noticed that a lot of people aren't using the MIME type which is necessary to automatically start the installer (application/vnd.android.package-archive). I would like to know from anyone hosting an .apk if this is becau

[android-developers] Re: IDE Netbeans

2008-10-03 Thread Randolpho
Yes. Uninstall Netbeans and install Eclipse instead. :p On Oct 2, 12:58 pm, "Roberto Aguirre" <[EMAIL PROTECTED]> wrote: > How can i develop an app using Netbeans 6.5?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

[android-developers] Re: How to enable getChildStaticTransformation in 1.0_r1

2008-10-03 Thread Romain Guy
Hi, This is something we changed at the last minute and we unfortunately forgot to add a public API to enable this. I'm really sorry about this but I definitely plan on fixing this in a (hopefully the) next update. On Fri, Oct 3, 2008 at 9:13 AM, Erik Calissendorff <[EMAIL PROTECTED]> wrote: > >

[android-developers] Re: Bash, C, or Korn Shell?

2008-10-03 Thread Shane Isbell
+1 for shell access, not sure why security should be an issue if its sandboxed. I bought two SL-5000D at J1 back in 2002 and the first thing people started talking about was the bash shell prompt, 2nd as I recall was the wifi card. Shane On Thu, Oct 2, 2008 at 11:53 AM, Bill Zimmerly <[EMAIL PROT

[android-developers] Re: How to make an application icon & its name invisible in emulator/device menu list.

2008-10-03 Thread hackbod
Removing all intent filters makes the activity non-exported by default. You can change this with android:exported="true" in your activity tag. To not have your activity in recents, use android:excludeFromRecents="true". There is lots of valuable information on how you can set up your manifests

[android-developers] Re: How I can add LinearLayout to LinearLayout programicly?

2008-10-03 Thread hackbod
You need to add it with a LinearLayout.LayoutParams as the second argument. On Oct 3, 8:38 am, Ramunas <[EMAIL PROTECTED]> wrote: > Hello, > > I have a class: => class ListAdapterView extends LinearLayout > In this class need to add new LinearLayout. When I use this belove > code my application c

[android-developers] How to enable getChildStaticTransformation in 1.0_r1

2008-10-03 Thread Erik Calissendorff
In 0.9 I used "this.mGroupFlags |= FLAG_SUPPORT_STATIC_TRANSFORMATIONS;" in a custom ViewGroup to enable my own implementation of getChildStaticTransformation(...) but since this.mGroupFlags is depreciated in the new release (1.0_r1) I wounder how I should enable getChildStaticTransformation(...)

[android-developers] Re: skia : error in decode file

2008-10-03 Thread Mike Reed
Can you include more of the code snippet? On Oct 3, 2008, at 12:09 PM, Sudha wrote: Hi I had a strange problem I am reading the images from the sdcard which are taken using the camera in a for loop . 1st image is coming fine and from second image onwards I am getting skia fialure reada

[android-developers] skia : error in decode file

2008-10-03 Thread Sudha
Hi I had a strange problem I am reading the images from the sdcard which are taken using the camera in a for loop . 1st image is coming fine and from second image onwards I am getting skia fialure readaeing skia jpeg setjump exit I am reading the image as imageShow = BitmapFactor

[android-developers] Re: android

2008-10-03 Thread scorpio
Hi Satheesh, You can get the basics from code.google.com/android and lot of websites for android are there like anddev.org androidguys.com helloandroid.com etc.. in all these lot of examples are there and try API demos too.. by doing all these you will get a fair amount of knowledge.. Thanks

[android-developers] app_thumbnails in data folder

2008-10-03 Thread Zach Hobbs
Anyone know what the app_thumbnails folder is in my app's data folder (/data/data//app_thumbnails)it's just collecting files...and really starting to add up (multiple MB's). Here's the 'ls' from that folder, each one about 20k: 1129283424_pic.save 1128769904_pic.save 1128486208_pic.save 112

[android-developers] Re: Getting Value from Spinner

2008-10-03 Thread Lonzo1968
Just putting this back out there. Anyone doing something similar?? On Oct 1, 9:15 am, Lonzo1968 <[EMAIL PROTECTED]> wrote: > How do I get the displayed value from a Spinner that is bound to a > Cursor. I created and Populated a Spinner using the following, Now I > can't figure out how to get the

[android-developers] How I can add LinearLayout to LinearLayout programicly?

2008-10-03 Thread Ramunas
Hello, I have a class: => class ListAdapterView extends LinearLayout In this class need to add new LinearLayout. When I use this belove code my application crash. LinearLayout ll=new LinearLayout(context); this.addView(ll); How I can add LinearLayout to LinearLayout programicly?

[android-developers] Re: Registering and Handling of ContentObserver for Contacts database - handlers first invokation ???

2008-10-03 Thread Yalcin
Why the handler of a ContentObserver called before the changes completed to contacts database? I can’t find any workaround. Is it desired behaviour or bug? I hope to get an answer. On Oct 2, 1:53 pm, Yalcin <[EMAIL PROTECTED]> wrote: > Hi, > I want to check new entries, that made to contacts dat

[android-developers] Android Application for salesforce.com

2008-10-03 Thread dai
Ciao, gentlemen. I've started Android open-source project targeting Salesforce (http://www.salesforce.com/) using Apex API (http:// www.salesforce.com/developer/). This app is to connect to salesforce thru soap base web serivce (really really fandamental part :)), and now I'm planing to open the

[android-developers] Re: How to enable getChildStaticTransformation in 1.0_r1

2008-10-03 Thread Romain Guy
Unfortunately, you can't. It was a last minute change and I am deeply sorry to admit we forgot to add a setter method to let you enable it. This will be fixed in a (hopefully the) next update. On Fri, Oct 3, 2008 at 7:32 AM, Erik Calissendorff <[EMAIL PROTECTED]> wrote: > > In 0.9 I used "this.mG

[android-developers] AndAppStore.com more updates...

2008-10-03 Thread Al Sutton
I've just added the following; * Social bookmarking of applications * Use of a download icon instead of written text * A "View all" link from an applications main page. and fixed a small bug in the veecheck integration. Please keep the ideas coming and feel free to register apps. Al. -- Al S

[android-developers] How to enable getChildStaticTransformation in 1.0_r1

2008-10-03 Thread Erik Calissendorff
In 0.9 I used "this.mGroupFlags |= FLAG_SUPPORT_STATIC_TRANSFORMATIONS;" in a custom ViewGroup to enable my own implementation of getChildStaticTransformation(...) but since this.mGroupFlags is depreciated in the new release (1.0_r1) I wounder how I should enable getChildStaticTransformation(...)

[android-developers] Re: Activity Lifecycle

2008-10-03 Thread Guillaume Perrot
hackbod, with the finishOnTaskLaunch flag set to true, pressing HOME will finish the activity, calling onDestroy. On Oct 3, 2:59 am, hackbod <[EMAIL PROTECTED]> wrote: > Um...  you should fix your program. :) > > You can't really rely on onDestroy() for this.  For example, if the > user presses h

[android-developers] Re: Certification <= 6 months?

2008-10-03 Thread Mark Hansen
Add -validity 3650 to the keytool command... something like: keytool -genkey -alias myalias -keystore c:\outputpath -validity 3650 On Oct 3, 7:06 am, Teo <[EMAIL PROTECTED]> wrote: > Hi, > > i just signed my app (hopefully in a correct way..) and i saw that the > certificate is available for

[android-developers] Re: Testers Needed - Community App Store

2008-10-03 Thread Al Sutton
AndAppStore.com now generates version information which can be used by the veecheck updating library. More information is available from http://andappstore.com/AndroidPhoneApplications/veecheck.jsp plusminus wrote: > Will you provide a auto-updating feature for apps? > > On 2 Okt., 15:27, Al S

[android-developers] Re: call WebService

2008-10-03 Thread Yash Patel
Thank you very much for you response. On Thu, Oct 2, 2008 at 8:51 PM, Charlie Collins <[EMAIL PROTECTED]>wrote: > > If you search this forum you find a lot of info on this topic. It > depends what you mean by "webservice," but if you mean SOAP over > HTTP, the typical path is to use kSOAP on And

[android-developers] Re: How to query for my current location?

2008-10-03 Thread Mark Murphy
Nemat wrote: > Will you please provide any running example? There are probably some tutorials out on anddev.org, though a quick search on "requestLocationUpdates" didn't come up with any... You can also download the source code to my book from the Version 1.3 tab's Source Code link on: http:

[android-developers]

2008-10-03 Thread Alexandru Mos
This is a code, for example, that does not work. ContentValues values = new ContentValues(); values.put(Contacts.Phones.TYPE, Phones.TYPE_MOBILE); values.put(Contacts.Phones.NUMBER, ""); getContentResolver().update(Contacts.Phones.CONTENT_URI, values, Conta

[android-developers] Re: How many threads can be created or how to avoid thread leak

2008-10-03 Thread Joe Erickson
This almost sounds like it should be a Service. The thread will only run when you're Activity is running (basically) and isn't guaranteed to be kept around once the Activity is cleaned up. You may want a Service running that can handle this and then you'll have much more control over it. Will y

[android-developers] Re: How to query for my current location?

2008-10-03 Thread Nemat
Will you please provide any running example? On Oct 2, 7:34 pm, Ludwig <[EMAIL PROTECTED]> wrote: > The getLastKnownLocation() only returns in my experience valid locations if > there is elsewhere something that has subscribed to location updates, with > something like this: > > public void subsc

[android-developers] Re: PreferenceActivity Refresh Problem

2008-10-03 Thread Jason Parekh
Unfortunately, there isn't a clean way to force the preference activity to refresh values. This hack is probably as good as any for 1.0. jason On Thu, Oct 2, 2008 at 10:41 AM, Ludwig <[EMAIL PROTECTED]> wrote: > I have an ugly solution to this.There should be somewhere to force it to > reload

[android-developers] Re: Contact Phones numbers

2008-10-03 Thread Nemat
Thanks Romain I've applied your way.It worked fine one or two times.Then it gaing started giving error. The error is:jpeg error 20 Improper call to JPEG library in state. How can this error be resolved?? On Oct 3, 2:41 pm, Alexandru Mos <[EMAIL PROTECTED]> wrote: > I have two questions. Can a

[android-developers] List Field Problem while porting from 0.5 to 0.9 and to 1.0 SDK

2008-10-03 Thread Yogesh
Hii guys I m having problem with my list field.Whenever i tried to run my code in 0.9 SDK or now in 1.0 SDK it runs fine but whenever i tries to select any row the entire list get selected so in my code call to myLIst.getSelectedItemPosition() returns me -1 (means no row is selected) now since m

[android-developers] Re: Testers Needed - Community App Store

2008-10-03 Thread Al Sutton
Because it's available and because I don't impose certification requirements :). There seems to be a lot of uncertainty over what will be required for the Google and/or T-Mobile app stores, so I'm attempting to put something together which will be open to all and leave the user to decide what

[android-developers] Certification <= 6 months?

2008-10-03 Thread Teo
Hi, i just signed my app (hopefully in a correct way..) and i saw that the certificate is available for only 6 months. Is there any way we could change this time period? Should it stay like this? Thanks, Teo --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: Rotating an image using Drawable

2008-10-03 Thread Steve Oldmeadow
Try rotating the canvas. --~--~-~--~~~---~--~~ 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 t

[android-developers] Re: Testers Needed - Community App Store

2008-10-03 Thread Shraddha
naah... You can use self-signed certificates to sign your applications. No certificate authority is needed. http://code.google.com/android/intro/develop-and-debug.html#signing On Oct 3, 1:23 pm, Yalcin <[EMAIL PROTECTED]> wrote: > self-signed certification for .apk? > > how to do it? do we need

[android-developers] Re: onCreateOptionsMenu not called

2008-10-03 Thread Teo
I found the problem. It was because i used onKeyDown in the same class and returned true in it :) On Fri, Oct 3, 2008 at 7:59 AM, Jason Parekh <[EMAIL PROTECTED]> wrote: > Are you overriding either onCreatePanelView or onCreatePanelMenu? > > If so, try commenting that out and seeing the behavior.

[android-developers] AndAppStore.com Updates

2008-10-03 Thread Al Sutton
After some very useful feedback I've added the following features; * Application icons - You can now specify a URL to 32x32 image which will be shown by the app. * Download counts - The system now tracks the number of downloads an application version gets. * Editable application information - Y

[android-developers] Contact Phones numbers

2008-10-03 Thread Alexandru Mos
I have two questions. Can anyone help me please. How can I Update an contact phone number? How can I see IM (Instant message) accounts of a contact. I hope you will come with an answer. Thank you. -- Ing. Alexandru Mos --~--~-~--~~~---~--~~ You received this me

[android-developers] Re: android

2008-10-03 Thread Shraddha
Hi Satheesh, To get all the basics systematically .. best is you go throught each of the topics from "getting started" and "developing Applcations" sections on the android docs: http://code.google.com/android/intro/index.html Getting started will be good for basics like anatomy of android.. app

[android-developers] eclipse failed to load the framework information and the layout library!

2008-10-03 Thread bala
I have opened the layout/main.xml file using android layout editor in eclipse It opens a view with xml, layout views. The layout view has all green tick marks. there is a create button in the top. But that is greyed out(disabled) and below it shows that eclipse failed to load the framework informa

[android-developers] Re: ADT plugin in SDK 0.9

2008-10-03 Thread bala
For me still it is not working.. I am using eclipse 3.4 classic - Ganymede and i don't have no luck getting resovled. Regards, Bala Lekkala,Jyothsna wrote: > HI, > > I have installed the new android SDK now and eclipse 3.4 classic - > Ganymede instead of eclipse 3.4 java ee. > > Now its working

[android-developers] Re: Testers Needed - Community App Store

2008-10-03 Thread Yalcin
self-signed certification for .apk? how to do it? do we need a certification authority like Thawte or others and pay for them 200-300 $. On Oct 3, 10:06 am, hackbod <[EMAIL PROTECTED]> wrote: > On Oct 3, 12:09 am, Al Sutton <[EMAIL PROTECTED]> wrote: > > > Because it's available and because I d

[android-developers] Re: Testers Needed - Community App Store

2008-10-03 Thread hackbod
On Oct 3, 12:09 am, Al Sutton <[EMAIL PROTECTED]> wrote: > Because it's available and because I don't impose certification > requirements :). The Android Market won't impose certification requirements, any more than the normal self-signed certification that is required for any .apk to be installe

[android-developers] Re: Really need help: Services, Intents

2008-10-03 Thread hackbod
There are a number of examples in ApiDemos of using Service components in various ways. On Oct 2, 7:33 pm, Mast3rpyr0 <[EMAIL PROTECTED]> wrote: > I have a appname.java file in a project, got the layouts and > everything. After a user presses a button i need the window to close > (finish()?) and

[android-developers] Re: How many threads can be created or how to avoid thread leak

2008-10-03 Thread hackbod
Just use HandlerThread to have a single thread sitting there processing messages that you send to it. Even better, create the thread in onStart() and quit it in onStop(). On Oct 2, 9:49 pm, Jo <[EMAIL PROTECTED]> wrote: > HI, > > I am developing a chat application. Everytime a user clicks a butt

[android-developers] Re: How to use findViewById(int id) out of onCreate() ?

2008-10-03 Thread erkenbrandroid
Oh yes you're right. I just had made a little mistake in my program! :- p But I didn't think about the fact that keeping it into the oncreate would speed up my app! Thanks for the info Mr Snowflake! On Oct 2, 7:00 pm, MrSnowflake <[EMAIL PROTECTED]> wrote: > Indeed seems to no problem at all. > O

[android-developers] android

2008-10-03 Thread satheesh kumar
create image using the bitmap then use the Matrix and its preScle func.. and paasing this as a parameter u can create another bitmap.. like createBitmap(image,0,0,imahewidth,height,matrix,false) based on the prescale value it will give the transformed image --~--~-~--~~~-

[android-developers] Re: unable to open AndroidManifest.xml

2008-10-03 Thread Brandon Long
I had an odd "unable to load editor" when double clicking to open the layout and manifest to edit, but when I went and did a right click on the files and did "open with" and chose the correct android editor from the list, it worked fine. It would be helpful if this FAQ: http://code.google.com/an

[android-developers] android

2008-10-03 Thread satheesh kumar
hi now nly i m starting android... i want all basics in android ie., all views, layouts, how to use that... etc... pls sent that to my email... thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Develo

[android-developers] Re: Testers Needed - Community App Store

2008-10-03 Thread Al Sutton
I'm going to start a conversation with the author of http://www.tomgibara.com/android/veecheck/ to see if andappstore.com can generate data that his library can use. Until the emulator gets the unknown source installation fixed I can't see an easy way of testing updates. plusminus wrote: > Wi