[android-developers] Does the AndroidManifest.xml file is mandatory to make changes to apk with aapt tool ???

2009-04-21 Thread Vikram Android
Hi, I would like to make some configuration changes to the apk, Does the AndroidManifest.xml is a mandatory file required from the source ( since the AndroidManifest.xml in APK cannot be reused) to make the changes to the apk using the aapt tool. Br, Vikram Dattu --~--~-~--~~

[android-developers] Re: AppWidgetProvider question on 1.5 SDK

2009-04-21 Thread Jeff Sharkey
There is a list of pre-approved Views that are allowed through RemoteViews, mostly for security reasons, and right now WebView isn't one of those. If push updates are really important, you could write the comet code in a Service that pushes widget updates to the surface as needed. As long as you

[android-developers] Has 3GPP PSS Release 6 been fully supported in cupcake

2009-04-21 Thread caijing
Hi, Has 3GPP PSS Release 6 been fully supported in cupcake? If not, which version has been supported? Thanks Cai Jing --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this grou

[android-developers] Re: SharedPreferences got deleted! - What could be the problem?

2009-04-21 Thread Chander Pechetty
Sorry, I was referring to the settings created using PreferenceActivity screen using xml. Your actual preference values do not help much in diagnosing the issue. Example snippet from loading preferences from xml: For preferences created programatically, you can use Preferenc

[android-developers] "Android Developers Group for Singapore and South East Asia" IRC channel is up

2009-04-21 Thread Zi Yong Chua
Dear developers from Singapore and from our neighboring countries, We have set up our IRC channel at #CodeAndroid on irc.freenode.net where our developers can discuss and help each other out in development. Please do join us in our discussion. We will also be offering support for the upcoming ITS

[android-developers] Re: ConditionVariable Usage

2009-04-21 Thread Ask
Please help on this. Thanks On Apr 21, 5:45 pm, Asif k wrote: > Hi, > > I'm trying to use a ConditionVariable to control the execution > sequence of two threads. I can create a ConditionVariable in one > thread and block on it. But I would like to be able to access it from > another Thread  and

[android-developers] Re: 1.5 SDK Media Question: why doesn't android.media.AudioFormat have option for AMR-NB?

2009-04-21 Thread j
Thanks. One more question. Doesn't the bundled Android phone/dialer app uses OpenCORE to encode and stream audio when user places a normal phone call? How is that handled? On Apr 21, 5:24 pm, Dave Sparks wrote: > That is correct. The encoders are only available through the OpenCORE > author e

[android-developers] Re: question about tabs at the bottom

2009-04-21 Thread Android Users
How do we display the tabs at the bottom? On Wed, Apr 22, 2009 at 8:44 AM, Videoguy wrote: > > I have tabbed activity with tabs at the bottom. The labels of each tab > are getting clipped unless I set the TabWidget too high (~60dip). My > tabs don't have any icons. > > What is the trick to get

[android-developers] ANN: using PMD static analyzer on Android projects

2009-04-21 Thread Xavier Le Vourch
I've just added a new post on my blog, http://blog.xlv-labs.com/, detailing the steps needed to run the PMD static analyzer on Android projects. There are a few rules in the PMD distribution specific for the Android platform (calling super in onCreate, onResume, ..., protecting calls to Log.d an

[android-developers] problem in drawaing square using open GL

2009-04-21 Thread Honest
Hello, I am facing problem in drawing square in open gl. The following is my code so please let me know if any thing wrong in it. /* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the

[android-developers] Re: How to config G1 to make both browser and MMS work?

2009-04-21 Thread shimsim
yep, have tired a few different sites, with no luck. basically the browser just does not get anywhere, it looks like its found the page and is loading it, but nothing, the loading bar never moves. On Apr 22, 10:49 am, Anonymous Anonymous wrote: > have u tried differnt urls with cmnet? saywww.cn

[android-developers] Re: Emulator (SDK 1.1_r1 for widndows XP) crash using emulator -data

2009-04-21 Thread Alan Paraguassú Dayer
Just for reference: I was using -data, instead -datadir to specify where the img files should be placed. Still, i think the reasonable behavior should be a error message (something like "the path passed as argument is a dir. Use -datadir to specify filesystem directories"), not a crash. On Mon, A

[android-developers] Re: Bus error when running 1.5 emulator

2009-04-21 Thread Peter
Thanks Evan! Your binary worked great. On Apr 21, 5:35 am, Evan JIANG wrote: > I've submitted a patch for this > bughttps://review.source.android.com/Gerrit#change,9597 > > If you'd like, I can mail you the binaray file I built. > > Best regards, > > > > On Tue, Apr 21, 2009 at 7:58 AM, Peter

[android-developers] Re: Encrypting application data file that is bundled with apk !

2009-04-21 Thread strazzere
Yusuf makes good suggestions. My personal suggestion would be to include it in a class file of your java program, then obfuscate your code. If your attempting to prevent compilation this is your best bet. On Apr 21, 5:32 pm, "Yusuf T. Mobile" wrote: > From what I understand, your requirements a

[android-developers] Re: Which components does CALL_STATE_RINGING block?

2009-04-21 Thread John Doe
any answer ? On Apr 20, 10:32 pm, John Doe wrote: > Let me be more specific. I am trying to record voice when somebody > calls. ( When the phone is ringing! ) When I call to somebody it > records. But when somebody calls me it doesnt :( How can I record > voice when somebody calls me? > > On Apr

[android-developers] question about tabs at the bottom

2009-04-21 Thread Videoguy
I have tabbed activity with tabs at the bottom. The labels of each tab are getting clipped unless I set the TabWidget too high (~60dip). My tabs don't have any icons. What is the trick to get the labels centered in TabWidget? Thanks Videoguy --~--~-~--~~~---~--~~

[android-developers] TabHost question

2009-04-21 Thread Videoguy
Hi I have tabbed interface based activity. 2 of the tabs invoke activities in my application. I am wondering whether it is possible to embed one of the standard Android activities (say recent calls tab of Dialer application) in my tab. If yes, what is the intent I need to use? Thanks Videoguy --~

[android-developers] Re: How to config G1 to make both browser and MMS work?

2009-04-21 Thread Anonymous Anonymous
have u tried differnt urls with cmnet? say www.cnn.com etc, soemthing the "home" configured may not work On Wed, Apr 22, 2009 at 7:30 AM, shimsim wrote: > > if i change from cmnet to cmwap i dont even get a data connection (no > edge icon in the notification bar) > > On Apr 22, 9:16 am, Anonymou

[android-developers] Re: Android theme inheritance relation implied by name?

2009-04-21 Thread jking
Hi Dianne, Thanks for your answer. Further more, I wonder if the explicit 'parent' attribute is assigned, the implicit inheritance will be overrided, for example:

[android-developers] Re: Geocoder not returning results in 1.5 preview

2009-04-21 Thread Xav
Hello, This is a packaging bug. Something is missing from the emulator image to enable this. We're fixing it for the final 1.5 SDK Thanks for the feedback! Xav On Apr 20, 9:33 pm, z wrote: > +1 > > On Apr 20, 5:25 pm, Olivier wrote: > > > Same problem except I seem to have an exception as if

[android-developers] Re: How to config G1 to make both browser and MMS work?

2009-04-21 Thread shimsim
if i change from cmnet to cmwap i dont even get a data connection (no edge icon in the notification bar) On Apr 22, 9:16 am, Anonymous Anonymous wrote: > give a try with "cmwap" as apn > > > > On Wed, Apr 22, 2009 at 6:41 AM, shimsim wrote: > > > Just tried the settings above and get exactly th

[android-developers] Re: Of Progress Bars and Wait Dialogs

2009-04-21 Thread Brian Conrad
Mark Murphy wrote: > Brian Conrad wrote: > >> To be even more precise it is one string with carriage returns. The >> data is calculated by the program. The layout is in XML and handling >> the interface programmatically won't make a difference. This only takes >> 4-5 seconds but I still w

[android-developers] Re: Problem Sending/Receiving data using startActivityForResult

2009-04-21 Thread Mark Murphy
Hayden wrote: > Ok, I have 2 Activities I want to send data between...activity A and > B. My problem is that some random code of mine seems to be called > between startActivityForResult() and onActivityResult() in Activity > A. This doesn't make any sense because there is no code after > startAc

[android-developers] Re: Screen/Pattern Lock application invocation

2009-04-21 Thread dilit
Apologize for the confusion. I meant to ask how I can UNLOCK the phone from inside a program after it is locked with a screen lock? Is there interface to Pattern/Screen lock? What is KeyguardManager for? Thanks! D --~--~-~--~~~---~--~~ You received this message be

[android-developers] Problem Sending/Receiving data using startActivityForResult

2009-04-21 Thread Hayden
Ok, I have 2 Activities I want to send data between...activity A and B. My problem is that some random code of mine seems to be called between startActivityForResult() and onActivityResult() in Activity A. This doesn't make any sense because there is no code after startActivityForResult() is cal

[android-developers] Re: uninstall vs. upgrade

2009-04-21 Thread JP
On Apr 21, 5:29 pm, Marco Nelissen wrote: > Which is really a bug in the application. If an application updates its > database schema, it should include code to migrate old versions of the > database to the new schema. Correct, and OP is on the right track to ask the question he or she asks ab

[android-developers] UNLOCK Screen lock programatically

2009-04-21 Thread dilit
We are writing an app to substitute screen/pattern lock on G1. Unfortunately, it is impossible to substitute the original screen lock app with a 3rd party one. The only option left is if we can UNLOCK the phone from a service running in the background when G1 is locked. Is it possible? Is there i

[android-developers] Re: How to config G1 to make both browser and MMS work?

2009-04-21 Thread Anonymous Anonymous
give a try with "cmwap" as apn On Wed, Apr 22, 2009 at 6:41 AM, shimsim wrote: > > Just tried the settings above and get exactly the same results, email > works, maps work, etc ... but not the browser > > What else could it be? > > thanks > > On Apr 22, 8:08 am, Anonymous Anonymous > wrote: > >

[android-developers] Re: How to config G1 to make both browser and MMS work?

2009-04-21 Thread shimsim
Just tried the settings above and get exactly the same results, email works, maps work, etc ... but not the browser What else could it be? thanks On Apr 22, 8:08 am, Anonymous Anonymous wrote: > Settings seems to be correct,please keep only the below information and see > the browser works > >

[android-developers] AppWidgetProvider question on 1.5 SDK

2009-04-21 Thread j
Jeff, Thanks for the Wkionary sample code on the Android blog. I have a general question. Is it possible to set the RemoteView of the widget to a WebView? My goal is to push real time updates to the WebView via the comet technique (HTTP long polling), similar to how Google Talk does it on the

[android-developers] Re: Of Progress Bars and Wait Dialogs

2009-04-21 Thread Mark Murphy
Brian Conrad wrote: > To be even more precise it is one string with carriage returns. The > data is calculated by the program. The layout is in XML and handling > the interface programmatically won't make a difference. This only takes > 4-5 seconds but I still want a some kind of indicator o

[android-developers] Re: Of Progress Bars and Wait Dialogs

2009-04-21 Thread Brian Conrad
Mark Murphy wrote: > Brian Conrad wrote: > >> I have an application that initializes a bunch of strings on startup. >> > > Hopefully, in a background thread. > > >> Apparently none of these things will work until the >> layout is displayed? >> > > More precisely, none of these

[android-developers] Re: uninstall vs. upgrade

2009-04-21 Thread Marco Nelissen
Which is really a bug in the application. If an application updates its database schema, it should include code to migrate old versions of the database to the new schema. On Tue, Apr 21, 2009 at 5:26 PM, Dan Pou wrote: > As a side note, the SQLite db seems to be a frequent source of install > p

[android-developers] Re: Question about rtsp streaming support on cupcake

2009-04-21 Thread Dave Sparks
There have been no changes in RTSP support for Cupcake other than a couple of minor bug fixes. On Apr 21, 2:46 am, caijing wrote: > Hi, > > I am doing development on RSTP streaming on cupcake. I want know more > clear about it, so my question is, which version of 3GPP PSS has been > support on c

[android-developers] Re: uninstall vs. upgrade

2009-04-21 Thread Dan Pou
As a side note, the SQLite db seems to be a frequent source of install problems for apps. Often developers change the layout and require the user to uninstall and re-install apps. On Tue, Apr 21, 2009 at 7:11 PM, JP wrote: > > > > An uninstall/install cycle will wipe the SQLite db and the > pre

[android-developers] Re: 1.5 SDK Media Question: why doesn't android.media.AudioFormat have option for AMR-NB?

2009-04-21 Thread Dave Sparks
That is correct. The encoders are only available through the OpenCORE author engine which does not currently supporting a streaming interface. On Apr 21, 1:53 pm, j wrote: > I would like to use the new AudioRecord class to record in AMR-NB > format.  But android.media.AudioFormat provides only 8

[android-developers] Thumbnails query ok but how to get thumb?

2009-04-21 Thread barbapapaz
Hello I use ImageGallery2 of application camera to select an image. The result is an uri of image. The last segment of path is the image id in database. baseImageId in query is the last segment of previous uri I execute this query to get thumb of my image (and query is sucess) private static fi

[android-developers] Re: How to config G1 to make both browser and MMS work?

2009-04-21 Thread Anonymous Anonymous
Settings seems to be correct,please keep only the below information and see the browser works apn: cmnet proxy: 10.0.0.172 port:80 username: blank password: blank server: blank mmsc:blank mms proxy: blank mms port: blank mcc: 460 mnc:02 apn type: default and i think Pinyin input is not supported

[android-developers] Re: Of Progress Bars and Wait Dialogs

2009-04-21 Thread Mark Murphy
Brian Conrad wrote: > I have an application that initializes a bunch of strings on startup. Hopefully, in a background thread. > Apparently none of these things will work until the > layout is displayed? More precisely, none of these things will display if you are hogging the UI thread. >

[android-developers] Re: uninstall vs. upgrade

2009-04-21 Thread JP
An uninstall/install cycle will wipe the SQLite db and the preferences. The only (reasonable) way to keep user data is through an upgrade. You can test an upgrade by posting the new version (new apk file) on a web site of yours and install it as a non-market app through Android's browser. Once t

[android-developers] Re: Bluetooth and Serial Port Profile

2009-04-21 Thread Nick Pelly
On Tue, Apr 21, 2009 at 12:42 PM, Alin wrote: > > Hello > > I realize that the Bluetooth API is subject to change over time and > that the only available profiles are A2DP and AVCRP, but I am really > interested about the options I have to develop an application using > the Serial Port Profile. I

[android-developers] Of Progress Bars and Wait Dialogs

2009-04-21 Thread Brian Conrad
I have an application that initializes a bunch of strings on startup. This takes a few seconds and I need either a progress bar or wait dialog. On other platforms this is usually not problem to pop something up. But Android needs to work on either how the progress bar (maybe in the title ba

[android-developers] Re: How to change the fading color in scrollview?

2009-04-21 Thread Romain Guy
It's the same API/XML attribute for both. On Wed, Apr 22, 2009 at 8:51 AM, havexz wrote: > > I want to change the fading color for scrollview. One can change the > fading color for listview but how about scrollview? > > > -- Romain Guy Android framework engineer romain...@android.com Note:

[android-developers] How to change the fading color in scrollview?

2009-04-21 Thread havexz
I want to change the fading color for scrollview. One can change the fading color for listview but how about scrollview? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group

[android-developers] Re: uninstall vs. upgrade

2009-04-21 Thread havexz
Hi Well i dont know is there a way of testing the upgrade without putting it on the market, but I can clarify few of the issues. The database wont be delete when the market is upgrading. It keeps the user data intact only the application binary is deleted and new installed. On Apr 21, 4:52 pm,

[android-developers] Early Look Android 1.5 SDK

2009-04-21 Thread Jason Proctor
>But will the official release will work on the ADP1? One more question >after 1.5 is released officially, do we still have to support for the >older versions or all gphone owners will have this update available on >their phones? fwiw, i'm running Haykuro's 5.0.1Gr3-signed.zip build on my ADP1 r

[android-developers] Custom AutocompletionTextView

2009-04-21 Thread Ovuca
Hello, I have changed the background image of an AutocompletionTextView. Is there any way to change the appearance of the list view, the default one looks pretty ugly ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Early Look Android 1.5 SDK

2009-04-21 Thread havexz
> It's not going to run on ADP1 as it lacks the proprietary files that > are needed for that. > > JBQ But will the official release will work on the ADP1? One more question after 1.5 is released officially, do we still have to support for the older versions or all gphone owners will have this upd

[android-developers] Re: SDK 1.5, Unable to load XML wizard

2009-04-21 Thread Diego Torres Milano
I think that the problem is related with the menu New->Other...- >Android->Android XML File which gives the "unable to load class..." message but not with the new Android XML wizard button in the toolbar which works, at least in my case. On Apr 20, 9:48 am, iceberg wrote: > I dont know why my pr

[android-developers] Re: memory leak when closing and restarting appliction several times

2009-04-21 Thread Richard Cook
You need a tearDown() method, and for each activity you start, keep a handle to it.. which depends on which Test package you are using. Looks like you are using a single activity, in which case you can use getActivity() for your current activity. So an example would be: @Override protected void t

[android-developers] Re: Pre-Loading apps from SD Card? Possible?

2009-04-21 Thread Mark Murphy
Pete wrote: > Is is possible to load/install apps by simply putting the APK file on > a SD Card? There is no file-browser program in Android, so you would still need to install one application off the Market or over the Web that would let you browse the SD card and choose to install those apps.

[android-developers] uninstall vs. upgrade

2009-04-21 Thread yves...@gmail.com
I have an application which stores data in preference (to save initial settings) and sqllite database. So, if uninstall the application (through market), will the preference and database be deleted? how about upgrade? Is there a way for me to test this before I upload my upgrade to the market? I d

[android-developers] Re: Encrypting application data file that is bundled with apk !

2009-04-21 Thread Yusuf T. Mobile
>From what I understand, your requirements are: - your app uses data that it puts in a database during setup - the end user should not be able to access this data, except through your app's UI Possible cracks would then be Marco's decompilation idea, or inspecting the database. Without knowing mo

[android-developers] Re: Getting the ID of a ListView row item from a button click

2009-04-21 Thread Marco Nelissen
Why are you wrapping each checkbox in its own linearlayout? On Tue, Apr 7, 2009 at 10:35 AM, e-satis wrote: > > Hello, > > Each row of my view look like that : > > http://schemas.android.com/apk/res/ > android" >android:id="@+id/row_layout" > > > > > > > > > > > >

[android-developers] Re: Elan sues Apple for multitouch patent infringment... and guess what....

2009-04-21 Thread Marco Nelissen
On Tue, Apr 21, 2009 at 12:43 PM, Stoyan Damov wrote: > > On Tue, Apr 21, 2009 at 10:27 PM, Marco Nelissen > wrote: > > On Tue, Apr 21, 2009 at 12:19 PM, Stoyan Damov > > wrote: > >> > >> On Wed, Apr 15, 2009 at 5:11 PM, Jean-Baptiste Queru > >> wrote: > >> > > >> > Second, more importantly, ma

[android-developers] Camera preview different from captured image

2009-04-21 Thread Jon Webb
Has anyone noticed that the camera preview image field of view is slightly smaller than the captured image? That is, if, using the capture application I align the top of the camera preview with some object in the scene, and then capture, the captured image will extend noticeably outside the previe

[android-developers] Re: Getting the ID of a ListView row item from a button click

2009-04-21 Thread e-satis
Solved it the same way than in http://groups.google.com/group/android-developers/browse_thread/thread/16e2f50d9a46823a/fc448b80b6ae29cc?lnk=gst&q=e-satis, adding the id to the view manually. On Apr 7, 7:35 pm, e-satis wrote: > Hello, > > Each row of my view look like that : > > http://schemas.an

[android-developers] 1.5 SDK Media Question: why doesn't android.media.AudioFormat have option for AMR-NB?

2009-04-21 Thread j
I would like to use the new AudioRecord class to record in AMR-NB format. But android.media.AudioFormat provides only 8-bit PCM and 16- bit PCM options, no AMR-NB option for some reason. I have also looked into MediaRecorder class. My understanding is that while MediaRecorder supprots recording

[android-developers] Re: Null pointer exception while using setOnClickListener

2009-04-21 Thread e-satis
I solved the problem building a custom view list adapter. I post the code here with some comments so it can help any body else : import android.content.Context; import android.database.Cursor; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import and

[android-developers] Re: WebView and Button in layout, only one of them can be clicked.

2009-04-21 Thread kevin
This problem only happens in 1.0 but not 1.1. Anyone knows how to solve this in 1.0? Kevin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-devel

[android-developers] Re: pictures and buttons

2009-04-21 Thread Jeff Sharkey
ImageButton? j On Tue, Apr 21, 2009 at 12:56 PM, petunio wrote: > > Hi > > Does anybody knows how can I put a Bitmap on top of a button, but > without taking the whole surface? > > at the moment, what I am doing is: > > > BitmapDrawable bd=new BitmapDrawable(myBitmap); > Button myButton.setBack

[android-developers] Re: SharedPreferences got deleted! - What could be the problem?

2009-04-21 Thread scanning_it
Well here are the things that can be as a maximum in my settings file: http://paste.pocoo.org/show/lqqABv2lblNz1Bkh9XNs/ It would be nice if you could tell me if this is ok. Where should I use this one "use android:persistent="true"" ? Regards. On Apr 21, 5:39 pm, Chander Pechetty wrote: > A

[android-developers] pictures and buttons

2009-04-21 Thread petunio
Hi Does anybody knows how can I put a Bitmap on top of a button, but without taking the whole surface? at the moment, what I am doing is: BitmapDrawable bd=new BitmapDrawable(myBitmap); Button myButton.setBackgroundDrawable(bd); and the picture occupies the whole button... is there any way to

[android-developers] Pre-Loading apps from SD Card? Possible?

2009-04-21 Thread Pete
Is is possible to load/install apps by simply putting the APK file on a SD Card? I'm trying to figure out a way to preinstall apps (prior to handing them out i mean) in a large corporate environment without the need of going though Marketyplace. I know I can point the device to an APK file on th

[android-developers] Pre-Loading apps from SD Card? Possible?

2009-04-21 Thread Pete
Is is possible to load/install apps by simply putting the APK file on a SD Card? I'm trying to figure out a way to preinstall apps (prior to handing them out i mean) in a large corporate environment without the need of going though Marketyplace. I know I can point the device to an APK file on th

[android-developers] Re: Picture supported in Android

2009-04-21 Thread mathiastck
Note that ImageView does not animate animated GIFs. On Apr 20, 7:34 pm, Anonymous Anonymous wrote: > http://developer.android.com/guide/appendix/media-formats.html > > On Tue, Apr 21, 2009 at 8:02 AM, guishenl...@gmail.com < > > guishenl...@gmail.com> wrote: > > > Hi all, > >    I'm doing an app

[android-developers] Re: Elan sues Apple for multitouch patent infringment... and guess what....

2009-04-21 Thread Stoyan Damov
On Tue, Apr 21, 2009 at 10:27 PM, Marco Nelissen wrote: > On Tue, Apr 21, 2009 at 12:19 PM, Stoyan Damov > wrote: >> >> On Wed, Apr 15, 2009 at 5:11 PM, Jean-Baptiste Queru >> wrote: >> > >> > Second, more importantly, many people who read and participate in this >> > group and other official A

[android-developers] Bluetooth and Serial Port Profile

2009-04-21 Thread Alin
Hello I realize that the Bluetooth API is subject to change over time and that the only available profiles are A2DP and AVCRP, but I am really interested about the options I have to develop an application using the Serial Port Profile. I don't really care if the API will later change, this applic

[android-developers] Re: Screen/Pattern Lock application invocation

2009-04-21 Thread dilit
Mark, Calling System.Settings.putInt(getContentResolver(), System.Settings.LOCK_PATTERN_ENABLED, 1); System.Settings.putInt(getContentResolver(), System.Settings.LOCK_PATTERN_VISIBLE, 1); on emulator does not seem to activate the pattern, even after having configured the lock pattern. Later I cal

[android-developers] coarse grained vs fine grained location -- when to use?

2009-04-21 Thread pawpaw17
Hi, I was thinking of using just coarse grained location control for a location app I'm working on. My thinking was that this service would "always" be available -- as opposed to GPS. Is there any documenation on the typical accuracy differences? Is network lookup (coarse grained) available on a

[android-developers] Is there a way to drop a collection of apps into a folder on the homepage programmatically?

2009-04-21 Thread Satya Komatineni
If I want to take 3 apps that I write and target them for a folder called "my corporation" folder is there a way to do this programmatically? Will live folders help here in such a case? Thanks Satya --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Elan sues Apple for multitouch patent infringment... and guess what....

2009-04-21 Thread Marco Nelissen
On Tue, Apr 21, 2009 at 12:19 PM, Stoyan Damov wrote: > > On Wed, Apr 15, 2009 at 5:11 PM, Jean-Baptiste Queru > wrote: > > > > Second, more importantly, many people who read and participate in this > > group and other official Android discussion groups work for companies > > where company policy

[android-developers] Re: Encrypting application data file that is bundled with apk !

2009-04-21 Thread Marco Nelissen
On Tue, Apr 21, 2009 at 12:04 PM, Slater wrote: > > Hi, > > I plan to bundle an xml data file that has all the metadata > required by the application. When my app loads for the first time, the > xml data file is read and local database is created and populated. > This xml file is a crucial

[android-developers] Re: Elan sues Apple for multitouch patent infringment... and guess what....

2009-04-21 Thread Stoyan Damov
On Wed, Apr 15, 2009 at 5:11 PM, Jean-Baptiste Queru wrote: > > Second, more importantly, many people who read and participate in this > group and other official Android discussion groups work for companies > where company policy is to avoid reading or learning about any > patent-related subject,

[android-developers] Re: App widgets and remote views

2009-04-21 Thread Tom Gibara
It's an intentional limitation. Only views that are implemented by the framework can be used, and only those that are annotated as safe for remoting. I don't know if there is a list provided in the SDK docs, but as of 1.5 the supported Views are: AbsoluteLayout AnalogClock Button Chronometer Frame

[android-developers] Re: Encrypting application data file that is bundled with apk !

2009-04-21 Thread Kirk - Actual Metrics
Hi Slater, You could write a Java util to encrypt the file, then use the same algorithm and key to decrypt it in your android app before reading. Kirk On Apr 21, 12:04 pm, Slater wrote: > Hi, > >        I plan to bundle an xml data file that has all the metadata > required by the application.

[android-developers] Encrypting application data file that is bundled with apk !

2009-04-21 Thread Slater
Hi, I plan to bundle an xml data file that has all the metadata required by the application. When my app loads for the first time, the xml data file is read and local database is created and populated. This xml file is a crucial part of my app and it holds at least 100k entries. I don't wa

[android-developers] Re: Map view not displaying tiles in 1.5 but it's fine in 1.1

2009-04-21 Thread Xavier Ducrohet
Wayne, You could also have moved your old debug.keystore in the new location, instead of generating a new map key. But either way is fine. > 2. Regenerate the key:   I used the html file that comes with the 1.5 > documentation rather than the going to the google website and using > that one vers

[android-developers] Development versions of proprietary Google applications

2009-04-21 Thread Sander
Hi, I was wondering if there's any chance that you will release development versions of the proprietary Google applications. I'm guessing that the 'trunk' or 'main' version of them will be stable enough for people to use them in their personal builds. I've been diving into the source code of the

[android-developers] creating a dialog that slides in

2009-04-21 Thread dashman
how would one create a dialog box that slides in and out when done. thx. --~--~-~--~~~---~--~~ 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@googlegrou

[android-developers] Can I close automatically the browser when I use it to start another activity ?

2009-04-21 Thread Karima
Hi, I want start a video stream and I have a link with http:. With a redirection or other the android's browser can find the link rtsp:. My problem is when I stop the video, the browser is again there and empty. In the LOG: I/ActivityManager( 54): Starting activity: Intent { action=android.in

[android-developers] Re: App widgets and remote views

2009-04-21 Thread Joel
I'm excited about the app widget functionality, and I've been playing with it for a bit. I love the idea that downloadable apps can customize the home screen with arbitrary data. Is it possible to create my own custom views and use them inside of an app widget? For instance, if I wanted to have

[android-developers] Problem with tabs and focus

2009-04-21 Thread khose
Hello all. I've got another little issue using tabs. I've created a new TabHost handling 4 Tabs. Each tab has an Intent as content. The first tab launches a new Activity that creates a new Options Menu. When i change the tab and then come back to the first one, that menu wont show at first. I ha

[android-developers] Re: How to instrument code to find an OutOfMemory error (in WebView?)

2009-04-21 Thread Richard Cook
Look at ActivityManager, it has access to memory info. I bet you could use that to manage/find memory leaks and other things. Let me know if that helps at all! On Tue, Apr 21, 2009 at 8:57 AM, Richard Cook wrote: > This is a good question, a proper testing method for unit power/memory > consumpt

[android-developers] Disable XSL transforms in HTTPClient

2009-04-21 Thread Magnus
Does anyone know how to avoid the XSL transforming that is taking place in the HTTPClient? I just want the raw xml. thanks /Magnus --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to

[android-developers] does cupcake recognise (anti)clockwise rotatiions of the device

2009-04-21 Thread devi prasad
hi I was told that Cupcake distinguishes both clockwise and anti-clockwise rotations of the device and that it sets UI layouts accordingly. Is this true? Or have I misunderstood something? Also, what happens when the device is flipped upside down? Does cupcake deal with it at all? thanks --~--~

[android-developers] Re: maps api and 1.5

2009-04-21 Thread André Charles Legendre
Hi Finally, my error was to left maps.jar in the classpath Now, this very simple Map app with 1.5 SDK launch good Thank for all the responses. It helps a lot. Andre --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: where can i get the source code of the command monkey?

2009-04-21 Thread a druid
Hi Dianne, In fact my goal is to write my own Monkey-service(initial version only for key presses). What I need is a much more controlled randomness of key presses and key timings. I can create and start a service. I can create a key event: KeyEvent = kevent = new KeyEvent (KeyEvent.ACTION_DOWN

[android-developers] Re: Map view not displaying tiles in 1.5 but it's fine in 1.1

2009-04-21 Thread wayne mcfadden- Red Droid
Thanks a bunch Xavier. That worked I now can see the map in the 1.5 toolkit. A few notes on what I did: 1. Regenerate the certificate using the new location for the 1.5 environment. 2. Regenerate the key: I used the html file that comes with the 1.5 documentation rather than the going to the g

[android-developers] using the ARM toolchain on FreeBSD to compile a .so for Android

2009-04-21 Thread rohit
Hello, I'd like to compile C code on FreeBSD as a .so to be linked with a Java front-end using JNI. I have available to me the arm-rtems-gcc-4.2.3 toolchain from ports. Can I expect to compile for Android using this toolchain? Is there anything unique about the cross-compiler from CodeSourcery?

[android-developers] Re: Problem installation Android Development Tools

2009-04-21 Thread AlphaBeta
I had similar problem. You may need to update and install latest fixes to eclipse. Eclipse->Preferences->Install/Updates->Automatic Updates Click 'Automatically find new updates and notify me', select 'Look for updates each time platform is started' Restart eclipse. You should see at the botto

[android-developers] Re: Problem installation Android Development Tools

2009-04-21 Thread AlphaBeta
Hey All, I had the same problem. The fix: Turn on automatic update for eclipse. You can get to automatic updates one of the two ways: 1. As you are in the Software Updates and Add-ons screen, at the very bottom there is a blurb about Automatic Update. Click on it. 2. Eclipse -> Preferences

[android-developers] Re: where can i get the source code of the command monkey?

2009-04-21 Thread a druid
Hi Dianne, Just for fun I wanted to write a Service, which can display the current activityManager, the current Window Manager and the current Service Manager, in Monkey.java this is done by Monkey.getSystemInterfaces() with mAm = ActivityManagerNative.getDefault(); How can I get the same funct

[android-developers] SQLiteCursor.class Breakpoint

2009-04-21 Thread Kirk
Whenever I'm debugging, my code randomly breaks in SQLiteCursor.class as if there was a breakpoint in that class. Of course, it tells me that the source is not found, so I have no idea what's going on. Has anyone else encountered this? Any solutions? Thanks! Kirk --~--~-~--~~---

[android-developers] Re: What is the permission required to toggle the phone GPS setting?

2009-04-21 Thread Bonifaz
Use should this one. --~--~-~--~~~---~--~~ 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: how to get driving direction info from maps application?

2009-04-21 Thread Jeff Sharkey
Depending on your accuracy needs, you could wave your hands and calculate the distance as-the-bird-flies. Timing might be harder, but assuming 55MPH might be enough for a very rough estimate. j On Tue, Apr 21, 2009 at 8:32 AM, Neil wrote: > > And he then abandoned the whole idea because it goe

[android-developers] How to create this fancy Map-Item-Navigation?

2009-04-21 Thread androidcrew
Hi, can some tell my how i can create this very fancy item-navigation like google did it in thier app google maps for android? here is a screen: http://img16.imageshack.us/img16/3649/device122.png --~--~-~--~~~---~--~~ You received this message because you are sub

[android-developers] Re: How to instrument code to find an OutOfMemory error (in WebView?)

2009-04-21 Thread Richard Cook
This is a good question, a proper testing method for unit power/memory consumption. I believe there is one through instrumentation that allows you to access the free memory (I can't find it right now). But I'd like to know this as well. On Tue, Apr 21, 2009 at 3:18 AM, Mariano Kamp wrote: > Hi,

[android-developers] In case anyone wants to launch sync settings activity...

2009-04-21 Thread Hans
You need to specify the target package/class for the intent as it doesn't appear to be registered for it explicitly (probably a reason for that.) Intent l_oIntent = new Intent(); l_oIntent.setAction( "android.settings.SYNC_SETTINGS" ); l_oIntent.setClassName( "com.android.settings", "com.android

[android-developers] Re: Listview row layout dependent on remote data

2009-04-21 Thread Nmix
What I've done in the past is use a single layout that has all the possible views, which I set visible, invisible or gone depending on context. That should work well with ListView since you can customize the row, including visibility of widgets, in your getView() or bindView () method. On Apr 20,

  1   2   >