[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:

[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

[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:

[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. On

[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 button a

[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 a

[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 installed

[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 don't

[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 fine.

[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

[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] 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

[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 -

[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 a

[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] 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 to

[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

[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: 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

[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 the

[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

[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

[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,

[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 Android.

[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

[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 home

[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] 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: 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

[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: 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] 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/package/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

[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] 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 =

[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

[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: 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 crash.  

[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: 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

[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: In

[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 Groups

[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

[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-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

[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] 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

[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] 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 getting

[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 ArrayAdapterString 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

[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 were

[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

[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); ListAddress 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

[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

[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

[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 this a

[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 the

[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] 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: 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] 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 way you

[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: 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 myself

[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 allan at

[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 you

[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); ListAddress la =

[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

[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.