[android-developers] [From Jiang] How to receive Email/Gmail programatically

2009-03-13 Thread Jiang
Hello, Guys, I need to read all Email and Gmail,  then remove the specific one(s). But I found Android doesn't provide APIs to receive Email, and I read Gmail failed as following: ContentResolver resolver = getContentResolver(); Uri uriGmail = Uri.parse(content://gmail/); Cursor cursor =

[android-developers] Re: ADT Layout Editor

2009-03-13 Thread Susan
Could you please tell me when the editor will find all the classes in the project that extend android.view.View and add them to the list? Which ADT version I could expect? I think it is on your schedule, isn't it? Best regards --~--~-~--~~~---~--~~ You received

[android-developers] Null pointer exception in MapActivity

2009-03-13 Thread olko
I am using a procedure described here: http://developer.android.com/guide/tutorials/views/hello-mapview.html http://androidguys.com/?p=1413 http://groups.google.com/group/android-developers/browse_thread/thread/fe23998c189ebcbd/38bab7cdd70598f7?lnk=gstq=getOverlays#38bab7cdd70598f7 to create am

[android-developers] Re: Request to device test the Android Application

2009-03-13 Thread nitichandra ingle
Thank you ill send u a copy too On Thu, Mar 12, 2009 at 8:56 AM, luodali...@gmail.com wrote: you can send me a copy too. On 3月5日, 上午11时43分, nitichandra ingle nitichan...@gmail.com wrote: Thanks I shall contact u by mail soon take care On Wed, Mar 4, 2009 at 2:15 PM,

[android-developers] Re: Text View Size

2009-03-13 Thread Nithin
Hi Muthu, You can use the XML attribute android:textSize = XXpx for setting text size Thanks Nithin On Mar 13, 10:52 am, Muthu Kumar K. muthum...@gmail.com wrote: Hi All, I am looking for setting the text view max text size. Can any one help me how to set that? Thanks in Advance,

[android-developers] Re: Null pointer exception in MapActivity

2009-03-13 Thread Eric Chan
check the Manifest file Best Regards Eric Chan On Fri, Mar 13, 2009 at 3:48 PM, olko y.olkho...@gmail.com wrote: I am using a procedure described here: http://developer.android.com/guide/tutorials/views/hello-mapview.html http://androidguys.com/?p=1413

[android-developers] start an activity with the constructor by Intent Class

2009-03-13 Thread Augustin.CL
Dear all, Recently, I set out to develop some tools I want. But I got stuck in the mechanism of Intent. I would like to make it possible to start an activity with the constructor having the parameters by Intent class, but I don't know how to set or use the method of the Intent to

[android-developers] Re: how can I clear a transparent or translucent canvas

2009-03-13 Thread sebastian
I worked perfectly fine! Thanks :) On 12 mar, 19:46, Romain Guy romain...@google.com wrote: Argh yes, drawColor(0) is for opaqueCanvas, sorry :) On Thu, Mar 12, 2009 at 11:43 AM, Eric webmonke...@gmail.com wrote: Just callCanvas.drawColor(0). That probably won't do much because it

[android-developers] Re: RemoteCallbackList.getBroadcastItem(int) sometimes returns null

2009-03-13 Thread Dianne Hackborn
On Thu, Mar 12, 2009 at 8:08 PM, Streets Of Boston flyingdutc...@gmail.comwrote: I thought that beginBroadcast() would lock the callback-list for modification and finishBroadcast() would unlock it again. This way, N should always be the number of items in this HashMap you were mentioning. Am

[android-developers] alternate of javax.sound in android

2009-03-13 Thread Honest
I am porting one java applet project on android. The java application is using the classes from javax.sound. I came to know that currently android does not support this javax.sound package. Can some one tell me what should be alternate of this ?

[android-developers] How to add SMS to inbox in android programmatically?

2009-03-13 Thread senthil
HI, Iam sending the sms by using the below code, SmsManager smsManager = SmsManager.getDefault(); smsManager.sendTextMessage(destAddr, null, mMessageText, il, null); But, the same SMS message needs to be reflected in the Native sms inbox, Can anyone help me out in achieving this Thanks in

[android-developers] How to display border lines for TableLayout

2009-03-13 Thread neuzou
Hi: everybody, Android developer guide mention TableLayout containers do not display border lines for their rows, columns, or cells. But we have a requirement to display the border on UI, there is no attribute to enable the border in TableLayout. how can I do it, anybody can give me some

[android-developers] Re: Where can I get com.google.googlenav Package

2009-03-13 Thread MrSnowflake
You can't use Google Maps for turn-by-turn navigation. It's supposed to be in the Maps licence. On 11 mrt, 18:07, jenny jenny...@msn.cn wrote: Hi everyone,    I am working on a GPS navigation App. I notice that com.google.googlenav Package is available in Android SDK-m5,but in the source

[android-developers] Re: JUnit and ClassNotFoundException

2009-03-13 Thread Gavin Aiken
Hi Xav, Thanks for the tip, I'm still having trouble setting up the test project; File New Android Project Create new android project Create Project from existing source android/android-sdk-linux_x86-1.1_r1/samples/ApiDemos/tests ! No activity name defined in

[android-developers] parsing xml data

2009-03-13 Thread petunio
Hi everyone I am trying to parse some data (wrapped in a String), that has xml format following is the code that I am using, with no much succes so far :( private void parseXml(String str) { XMLReader myReader=null; System.setProperty

[android-developers] Re: Help using autocomplete in my database.....

2009-03-13 Thread roland
Hi, i made a sample of using a AutoCompleteTextView to showing names which are saved in a database. Here is the link of project: http://0467525716.free.fr/Android/AutocompleteTest.zip I hope it helps. On 10 mar, 04:26, aljo aljochim...@gmail.com wrote: i already saw that thread but i still

[android-developers] Re: List of private / hidden / system APIs?

2009-03-13 Thread brian.schim...@googlemail.com
Hi, MosthiddenAPIs are used by the framework itself and not by applications. Some applications do usehiddenAPIs but we definitely want to fix them to compile with the SDK. Does this mean those APIs, e.g. reading contacts, will be made a public part of the SDK? But I'm afraid there may be

[android-developers] Re: How to intercept SMS without loading SMS to UI?

2009-03-13 Thread Kenny
I didn't know how to get it on top of SDK. Any activity can override BroadcastReceiver::onReceive() or IntentReceiver::onReceiveIntent() to know incoming SMS. I didn't know how to stop Mms activity getting the SMS_RECEIVE intent. Any idea if we use internal JAVA API (not in SDK though)? Kenny

[android-developers] where can i modify ro.kernel.android.gps ?

2009-03-13 Thread Nio
hi all, I can find that build.prop in the direction product/generic/system/ build, and there are some items like ro.build.id=TC3 etc. I want to add my modification here but i see there is a note says #autogenerated by buildinfo.sh. So I wonder where can I modify the string ro.kernel.android.gps

[android-developers] Re: Uninstall built-in app

2009-03-13 Thread sebastian
What if I simply want to uninstall an application that I've installed and I don't remember it's full package name? There is a way to list what files are inside data/app/? On 6 mar, 15:36, Jean-Baptiste Queru j...@android.com wrote: (1) - yes the other app will still receive broadcasts, expose

[android-developers] Re: parsing xml data

2009-03-13 Thread mafro
From the docs: public abstract void parse (String systemId) This method is a shortcut for the common case of reading a document from a system identifier. It is the exact equivalent of the following: parse(new InputSource(systemId)); So the parse() method doesn't accept XML as a String

[android-developers] TextView bug or feature?

2009-03-13 Thread Pd
Just had an odd problem with a TextView. Setting the visibility doesn't seem to work but doing the same on say a ScrollView does. Is this normal? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Launch Application

2009-03-13 Thread bklik
Dianne, Thank you for pointing me in that direction! I found just what I was looking for. For those of you reading this thread, here's the code I used to get it working: PackageManager pm = this.getPackageManager(); Intent mainIntent = new Intent(Intent.ACTION_MAIN, null);

[android-developers] Force close msg for few seconds when application starts, why?

2009-03-13 Thread zeeshan
Hi Android Experts, i am having a force close Dialogue msg for few seconds when i run my application. can anyone tell me why is that and how can i resolve it. do i need to use thread to start my main activity? any solution? --~--~-~--~~~---~--~~ You received this

[android-developers] Re: TextView bug or feature?

2009-03-13 Thread dillirao malipeddi
use yourtextview.setVisibility(View.VISIBLE); //visible yourtextview.setVisibility(View.INVISIBLE); //In visible yourtextview.setVisibility(View.GONE); // removes the view it will work On Fri, Mar 13, 2009 at 4:13 PM, Pd lotusscr...@gmail.com wrote: Just had an odd problem with a TextView.

[android-developers] Re: Force close msg for few seconds when application starts, why?

2009-03-13 Thread dillirao malipeddi
don't do any complex operations like network connection.. etc on main thread for those operations use separate thread if any time taken operations on main thread will cause fource close exception try to keep main thread as simple as possible.. On Fri, Mar 13, 2009 at 5:05 PM, zeeshan

[android-developers] Reg: Camera application

2009-03-13 Thread alok Yadav
Hi Developers' Can you plz tell me ,How to make camera work for the android file system. When am i clicking camera application button ,only square blocks are commming in the LCD screen Please help me really needed. Thanks and regards Alok --~--~-~--~~~---~--~~

[android-developers] Re: TextView bug or feature?

2009-03-13 Thread Pd
I did exactly that but it didn't work. I got around it by wrapping the TextView in a ScrollView for the time being so I can move on. I'll re-visit at a later date. Just wondered. Pd. dillirao malipeddi wrote: use yourtextview.setVisibility(View.VISIBLE); //visible

[android-developers] Re: Merchant account signup down?

2009-03-13 Thread jsdf
50 hours down and counting. Can anyone from Google help here? Romain? Dianne? Anyone else? On Mar 12, 8:35 pm, Jesse McGrew jmcg...@gmail.com wrote: Still down for me too, by the way. This isn't something we're doing wrong, the system is just broken. Jesse On Mar 12, 8:09 am, jsdf

[android-developers] Re: where can i modify ro.kernel.android.gps ?

2009-03-13 Thread Jean-Baptiste Queru
ro stands for read-only. Those can't be modified. JBQ On Fri, Mar 13, 2009 at 3:01 AM, Nio luodali...@gmail.com wrote: hi all, I can find that build.prop in the direction product/generic/system/ build, and there are some items like ro.build.id=TC3 etc. I want to add my modification here

[android-developers] Music player got crashed in android running on beagle

2009-03-13 Thread Harishkumar V
Hi, I have android running on beagle. When i click Music player, i got the following error on screen, The application Music (process com.android.music) has stopped unexpectedly. Please try again in beagle, when i did logcat, I/ActivityManager( 815): Starting activity: Intent {

[android-developers] Re: Music player got crashed in android running on beagle

2009-03-13 Thread Stoyan Damov
E/AndroidRuntime( 1328): Caused by: android.content.res.Resources$NotFoundException: File res/drawable/title_bar_shadow.png9 ^^^ These kinds of questions are more appropriate for the android-begginers list. Cheers On Fri, Mar 13, 2009 at 3:04 PM, Harishkumar V harishpres...@gmail.com wrote:

[android-developers] Re: Merchant account signup down?

2009-03-13 Thread jsdf
Okay, now we are getting somewhere: http://androidcommunity.com/android-market-paid-app-system-blocking-new-merchants-20090313/ On Mar 13, 7:20 am, jsdf jasons...@gmail.com wrote: 50 hours down and counting. Can anyone from Google help here? Romain?  Dianne?  Anyone else? On Mar 12, 8:35 pm

[android-developers] Testing Android Game on real device: please help

2009-03-13 Thread TjerkW
Hello all, I am making an android game, but i do not have the money to buy a developer phone. The game is not finished but i should it is testable.. and if i dont test it know i may have a big problem later... it is playable though. Is there somebody who has a real device and wants to test the

[android-developers] Sharing data across Activities

2009-03-13 Thread Tushar
Hi, I was looking out for ways to share data between various activities that one may need to create for his applications . Using Parcel and Bundle one can do data exchange , but looks like this is a bit cumbersome process specifically if you have to share large array objects with too many

[android-developers] Help needed

2009-03-13 Thread manoj
Hi friends, I have written a video player application. It is somewhat working fine. I have some media files which are playing fine. I have some media files which are not playing at all. Here is a brief description of my problem: (container

[android-developers] Help needed

2009-03-13 Thread manoj
Hi friends, I have written a video player application. It is somewhat working fine. I have some media files which are playing fine. I have some media files which are not playing at all. Here is a brief description of my problem: (container - video - audio - FPS -

[android-developers] Re: Request to device test the Android Application

2009-03-13 Thread nitichandra ingle
We have already done that part by using a KML file but before launching we need a final testing on the device. Any volunteer from US? who can do the testing as the device is ready just review it and we can launch it Thanks Regards, Niti MoFirst Solutions Pvt. Ltd. Email:

[android-developers] Re: Unified Database Populating Solution

2009-03-13 Thread Rev. Johnny Healey
If you ever find yourself in need of a Trie, I've implemented one for lexic and released it under the Apache-2 license: http://code.google.com/p/lexic/source/browse/#svn/trunk/src/net/healeys/trie It's capable of supporting multiple dialects and languages. I've used it to cram about 80,000 US

[android-developers] Re: Where can I get com.google.googlenav Package

2009-03-13 Thread JP
Only if it's guided by a sensor (read: GPS et al) if I remember correctly. The ToS are pretty clear so make a trip back to verify. Then, what's the point. Jenny could go the Open Street Maps route like Nicolas did. On Mar 13, 2:18 am, MrSnowflake mrsnowfl...@gmail.com wrote: You can't use

[android-developers] Re: RemoteCallbackList.getBroadcastItem(int) sometimes returns null

2009-03-13 Thread Streets Of Boston
Ah, thanks. Either way, it means that the number of items in the list accessed by getBroadcastItem is always equal to N. The problem remains: How can getBroadcastItem(int) return null? On Mar 13, 4:53 am, Dianne Hackborn hack...@android.com wrote: On Thu, Mar 12, 2009 at 8:08 PM, Streets Of

[android-developers] Re: Sharing data across Activities

2009-03-13 Thread nagaraj attimani
Content Provider might sortout this issue .. On Fri, Mar 13, 2009 at 7:18 PM, Tushar tusharpatu...@gmail.com wrote: Hi, I was looking out for ways to share data between various activities that one may need to create for his applications . Using Parcel and Bundle one can do data exchange ,

[android-developers] Re: G1 Storage Space

2009-03-13 Thread WebsiteMagazine
Thanks for the info. What is the the recommended folder naming convention for data stored on the user's SD card? On Mar 12, 4:00 pm, Stoyan Damov stoyan.da...@gmail.com wrote: ~70MB for apps, 1GB SD card. I know the 70MB is hilarious, tough luck. Maybe a next release, when Google implement

[android-developers] Re: Unified Database Populating Solution

2009-03-13 Thread Stoyan Damov
Do reply on the list, I'm sure other people are interested as well (I am for example). On Fri, Mar 13, 2009 at 1:15 AM, Mark Murphy mmur...@commonsware.com wrote: Justin Allen Jaynes wrote: How in-depth do you go in your books, especially in demonstrating best-practices of common tasks such

[android-developers] Re: Testing Android Game on real device: please help

2009-03-13 Thread Stoyan Damov
Send it to me, I loved raptor :) On Fri, Mar 13, 2009 at 3:40 PM, TjerkW tje...@gmail.com wrote: Hello all, I am making an android game, but i do not have the money to buy a developer phone. The game is not finished but i should it is testable.. and if i dont test it know i may have a

[android-developers] Re: Testing Android Game on real device: please help

2009-03-13 Thread Andrea Fanfani
On Fri, Mar 13, 2009 at 06:40:52AM -0700, TjerkW wrote: Hello all, I am making an android game, but i do not have the money to buy a developer phone. The game is not finished but i should it is testable.. and if i dont test it know i may have a big problem later... it is playable

[android-developers] Re: Reg: Camera application

2009-03-13 Thread nagaraj attimani
Can u summerize.. is testing going on emulator R device ?? On Fri, Mar 13, 2009 at 5:13 PM, alok Yadav alokkumar.ya...@gdatech.co.inwrote: Hi Developers' Can you plz tell me ,How to make camera work for the android file system. When am i clicking camera application button ,only square blocks

[android-developers] Re: Merchant account signup down?

2009-03-13 Thread Hayden
I entered my bank information on the regular Google Checkout page, so I will post once my information is verified to see if that somehow bypasses setting it up specifically for the Market. On Mar 13, 9:36 am, jsdf jasons...@gmail.com wrote: Okay, now we are getting

[android-developers] Re: Sharing data across Activities

2009-03-13 Thread Tushar
But as per the Android documentation A content provider is only required if you need to share data between multiple applications. --Tushar On Mar 13, 3:31 pm, nagaraj attimani nagaraj.attim...@gmail.com wrote: Content Provider might sortout this issue .. On Fri, Mar 13, 2009 at 7:18 PM,

[android-developers] Re: Sharing data across Activities

2009-03-13 Thread Edward Falk
Are the activities all in the same application? Same task? It seems to me that you could just store the data in a static variable accessible by all of the activities. Am I missing something? public class MainActivity extends Activity { ... static MyDataStructure dataStruct = null; ...

[android-developers] Re: Force close msg for few seconds when application starts, why?

2009-03-13 Thread nagaraj attimani
UI thread should as simple as that.. complex opeartions may lead this kind of issues On Fri, Mar 13, 2009 at 5:05 PM, zeeshan genx...@gmail.com wrote: Hi Android Experts, i am having a force close Dialogue msg for few seconds when i run my application. can anyone tell me why is that and

[android-developers] service start and ui hanging

2009-03-13 Thread Bob
Hi, I have moved some intensive processing from my main thread to a service. My UI is hanging and then crashing when I start the service, even if I put the service start in a new thread started via Thread updateThread = new Thread(null, backgroundRefresh2, new_thread);

[android-developers] Re: Sharing data across Activities

2009-03-13 Thread Tushar
Yes my Activities are all in the same application. I'm not sure about Task. Although I'm not killing my one activity (say activityOne )when launching another activity ( say activityTwo) but are there any chances that Android might simply kill my activityOne and I may loose the data which I'm

[android-developers] Re: How to port AbsoluteLayout to FrameLayout?

2009-03-13 Thread Edward Falk
On Mar 12, 5:03 pm, Romain Guy romain...@google.com wrote: AbsoluteLayout is deprecated in Cupcake. Why? And what do we use in its place? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: Merchant account signup down?

2009-03-13 Thread Jean-Baptiste Queru
I've notified the Android Market team about the situation. JBQ On Tue, Mar 10, 2009 at 6:16 PM, jsdf jasons...@gmail.com wrote: I am trying to sign up for a merchant account but it seems to be down: Sorry, we could not setup your merchant account. Please try again later. Can anyone else

[android-developers] Re: How to port AbsoluteLayout to FrameLayout?

2009-03-13 Thread Streets Of Boston
I'm using the AbsoluteLayout in one of my apps and it can be useful. However, i think it'll be deprecated because the AbsoluteLayout is device(/screen) dependent. E.g., if a new phone comes out with a square screen instead of 320x480, your app starts to look funny. You can mitigate this somewhat

[android-developers] Re: where can i modify ro.kernel.android.gps ?

2009-03-13 Thread Daliang Luo
You mean I can't modify it? But how about add a item like that? I can't not find the place to add this properly. Can you tell me? Thanks. 2009/3/13 Jean-Baptiste Queru j...@android.com ro stands for read-only. Those can't be modified. JBQ On Fri, Mar 13, 2009 at 3:01 AM, Nio

[android-developers] Re: service start and ui hanging

2009-03-13 Thread Streets Of Boston
Hi Bob, Your code snippet is not enough to give you some more info. E.g. how does backgroundRefresh2 looks like (it public void run() implementation). Based on its name 'backgroundRefresh2': does it access View-s and modify these view (e.g. update text-view, images, etc.)? If so, that may

[android-developers] Re: How to port AbsoluteLayout to FrameLayout?

2009-03-13 Thread Romain Guy
There can be good reasons to use the px unit, even though they should be pretty rare. AbsoluteLayout was deprecated to encourage developers to use other layouts and have apps that behave as well as possible at difference resolutions. Also, the dp unit depends on the density of the screen, not

[android-developers] Re: List of private / hidden / system APIs?

2009-03-13 Thread Romain Guy
Does this mean those APIs, e.g. reading contacts, will be made a public part of the SDK? Reading contacts is already part of the public APIs.  * No, there is no such list. No, there is no such list and we won't offer one. Please understand my point of view: I understand that there is a

[android-developers] Re: How to display border lines for TableLayout

2009-03-13 Thread Romain Guy
TableLayout is, as its name suggests, a layout. Nothing more. It's not a table widget. If you want borders, you'll have to draw them with the widgets you put in the tablelayout's cells. On Fri, Mar 13, 2009 at 2:18 AM, neuzou neu...@gmail.com wrote: Hi:   everybody, Android developer guide

[android-developers] Re: ArcMovement on a BitMap - composite Animations

2009-03-13 Thread Romain Guy
Hi, Use an AnimationSet :) On Fri, Mar 13, 2009 at 12:33 AM, Nithin nithin.war...@gmail.com wrote: Hi, I am trying to create a arc movement(means both RotateAnimation and TranslateAnimation required) for a bitmap. I can do either rotate or translate movement, but i cant integrate both.

[android-developers] Re: where can i modify ro.kernel.android.gps ?

2009-03-13 Thread Jean-Baptiste Queru
Those are set in the factory, they're not meant to be modified by applications. JBQ On Fri, Mar 13, 2009 at 8:30 AM, Daliang Luo luodali...@gmail.com wrote: You mean I can't modify it? But how about add a item like that? I can't not find the place to add this properly. Can you tell me?

[android-developers] Re: where can i modify ro.kernel.android.gps ?

2009-03-13 Thread Daliang Luo
I know. But I am not meant to build a application. Now you can think that I am the OEM. I guess i can change or add some thing in the file build.prop. I saw lots of item like that there. 2009/3/13 Jean-Baptiste Queru j...@android.com Those are set in the factory, they're not meant to be

[android-developers] Re: where can i modify ro.kernel.android.gps ?

2009-03-13 Thread Jean-Baptiste Queru
Ah, you just ended up in the wrong group then. Android-porting is the group you're looking for. Sorry about the confusion. Thanks, JBQ On Fri, Mar 13, 2009 at 9:01 AM, Daliang Luo luodali...@gmail.com wrote: I know. But I am not meant to build a application. Now you can think that I am the

[android-developers] Re: where can i modify ro.kernel.android.gps ?

2009-03-13 Thread Daliang Luo
Ah...Then which group i should join in? I thought this group is for developing rather than app... 2009/3/14 Jean-Baptiste Queru j...@android.com Ah, you just ended up in the wrong group then. Android-porting is the group you're looking for. Sorry about the confusion. Thanks, JBQ On

[android-developers] Re: where can i modify ro.kernel.android.gps ?

2009-03-13 Thread Daliang Luo
e... I have found the group. Thanks for your help! : -) 2009/3/14 Daliang Luo luodali...@gmail.com Ah...Then which group i should join in? I thought this group is for developing rather than app... 2009/3/14 Jean-Baptiste Queru j...@android.com Ah, you just ended up in the wrong group

[android-developers] Re: service start and ui hanging

2009-03-13 Thread Bob
Thanks for your quick response. It doesn't access or modify any views. It accesses the context to read in some raw resources and writes to the sqllite database also via context. On Mar 13, 9:32 am, Streets Of Boston flyingdutc...@gmail.com wrote: Hi Bob, Your code snippet is not enough to

[android-developers] documentation

2009-03-13 Thread markz
Hi, Since I've 'rant'ed once or twice I thought I'd do the opposite for once. The new doc for the sdk imho is unbelievably better than the last version. It still has some gaping holes but I'm happy with the progress. Mark --~--~-~--~~~---~--~~ You received this

[android-developers] Re: RemoteCallbackList.getBroadcastItem(int) sometimes returns null

2009-03-13 Thread Dianne Hackborn
On Fri, Mar 13, 2009 at 7:27 AM, Streets Of Boston flyingdutc...@gmail.comwrote: Either way, it means that the number of items in the list accessed by getBroadcastItem is always equal to N. The problem remains: How can getBroadcastItem(int) return null? I'm not sure what you mean by either

[android-developers] Re: service start and ui hanging

2009-03-13 Thread Dianne Hackborn
At the very least, you should include (and look at!) the stack crawl of the crash. That will usually tell you all you need to know about why it crashed. The stack crawl is in the log. On Fri, Mar 13, 2009 at 9:39 AM, Bob bshumsk...@yahoo.com wrote: Thanks for your quick response. It doesn't

[android-developers] Re: asking about previous SDK Versions

2009-03-13 Thread noha mansour
hello,thanks for your interest and help but when i try to extract the Zip file this msg appear: android-sdk_m5-rc15_windows.zip the archive is either in unknown format or damaged can you help me thanks again On 3/13/09, Dan Morrill morri...@google.com wrote: Hello! Thanks for pointing this

[android-developers] Re: Sharing data across Activities

2009-03-13 Thread Dianne Hackborn
Yes this is very dangerous. There is a good chance that if the user hits home, and later returns to your app, the process will have been killed and all static data in it lost. This is very unlikely to happen when just switching from one app to another (the process in that case stays in the

[android-developers] Re: Uninstall built-in app

2009-03-13 Thread Dianne Hackborn
In the DevTools app there is a Package Browser applet. On Fri, Mar 13, 2009 at 3:05 AM, sebastian sdjua...@gmail.com wrote: What if I simply want to uninstall an application that I've installed and I don't remember it's full package name? There is a way to list what files are inside

[android-developers] Re: Uninstall built-in app

2009-03-13 Thread Dianne Hackborn
Oh also adb shell dumpsys package will tell you more than you probably want to know about the installed packages. On Fri, Mar 13, 2009 at 10:07 AM, Dianne Hackborn hack...@android.comwrote: In the DevTools app there is a Package Browser applet. On Fri, Mar 13, 2009 at 3:05 AM, sebastian

[android-developers] Re: asking about previous SDK Versions

2009-03-13 Thread noha mansour
hello,thanks for your interest and help but when i try to extract the Zip file this msg appear: android-sdk_m5-rc15_windows.zip the archive is either in unknown format or damaged can you help me thanks again On 3/13/09, Dan Morrill morri...@google.com wrote: Hello! Thanks for pointing this

[android-developers] Re: asking about previous SDK Versions

2009-03-13 Thread noha mansour
hello,thanks for your interest and help but when i try to extract the Zip file this msg appear: android-sdk_m5-rc15_windows.zip the archive is either in unknown format or damaged can you help me thanks again On 3/13/09, Dan Morrill morri...@google.com wrote: Hello! Thanks for pointing this

[android-developers] Re: Unified Database Populating Solution

2009-03-13 Thread Dianne Hackborn
On Tue, Mar 10, 2009 at 6:36 PM, Justin Allen Jaynes jus...@ragblue.comwrote: 1. Why is there a file size limit on resources in the raw or assets folders (such a small limit, that is)? Assets are normally stored compressed, so currently opening it requires uncompressing into an in-memory

[android-developers] Re: asking about previous SDK Versions

2009-03-13 Thread noha
hello,thanks for your interest and help but when i try to extract the Zip file this msg appear: android-sdk_m5-rc15_windows.zip the archive is either in unknown format or damaged can you help me thanks again --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: Unified Database Populating Solution

2009-03-13 Thread Mark Murphy
Stoyan Damov wrote: Do reply on the list, I'm sure other people are interested as well (I am for example). Well, I'll meet you halfway: I updated the CommonsWare Web site (wow, was *that* ever dusty!) and put the answers to at least some of the questions right on the home page:

[android-developers] Question about TabHost implementation

2009-03-13 Thread Meryl Silverburgh
I have looked at TabHost code and I have a question. Why it expects TabContent to be a FrameLayout? I see it casts mTabContent to be FrameLayout. Why TabContent can't be an instance of ViewGroup, but a FrameLayout? Thank you. --~--~-~--~~~---~--~~ You received

[android-developers] Re: RemoteCallbackList.getBroadcastItem(int) sometimes returns null

2009-03-13 Thread Streets Of Boston
Ah, now i get it! :-) Indeed, sendProgressCallback can be called from multiple threads. And with your earlier explanation that the beginBroadcast does not do locking (only a brief internal lock), it may explain the problem. In other words, RemoteCallbackList is not thread-safe across multiple

[android-developers] Re: Android 1.1_r1 SDK released and developer.android.com launched

2009-03-13 Thread Michael Burton
Don't see a clear response to this, has anyone found the tag for the 1.1 r1 release in the source repository? Cheers, Mike On Feb 14, 2:59 pm, blake blake.me...@gmail.com wrote: Justin,   For those of us following along at home, is there a tag or branch, in the source that corresponds to

[android-developers] KSoap2 SSL Https Webservice

2009-03-13 Thread SeedZero
I'm using KSoap2 J2SE to call on my Webservice and it works fine when I do a normal http call but when I trying to make it secure by doing a https call I get a InvocationException when I run debug mode which I don't know why I'm getting it or what to do about it. I was reading on older forums

[android-developers] Dynamically adding Images to GridView

2009-03-13 Thread Gaurav
I have a Gallery and a GridView in my application. Gallery's adapter is based on thumbnail cursor created through query using MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI. I use this Gallery to choose images to display in GridView. Whenever the user clicks on an image in the Gallery I have

[android-developers] Re: Error on AndroidManifest.xml..

2009-03-13 Thread PeteT
We see this exact same error on a number of systems as well, but interestingly not on all systems. Interestingly, we've found that if we tweak the command line that is generating the error, we can eliminate the error on all systems. E.g. on machines which exhibit the problem, if we run:

[android-developers] Re: Learning JAVA

2009-03-13 Thread RedMac G
Me also uses Eclipse v3.4.1 Do not get step the version of yours back. It'll only confuse you without solving any problem. cheers. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Changing the mouse pointer when using the Emulator

2009-03-13 Thread AndroidDesigners
Since the Emulator displays a larger screen than the actual phone, how about a way to set the mouse from a simple arrow pointer to something larger, like an oval, that would better represent someone's finger? I've seen applications and have experienced it first hand where a layout has too many

[android-developers] Connect through specific APN, is it possible?

2009-03-13 Thread jappit
Hi, I've searched through this board, but without finding an answer to this question: is it possible to perform a network request (e.g.: by using HttpConnection) forcing a specific APN to be used? Thanks! Pit --~--~-~--~~~---~--~~ You received this message

[android-developers] Porting from J2ME to Android

2009-03-13 Thread estibaliz.telefon...@gmail.com
Hi, I'm interesting in the use of J2ME 's applications about Android SDK. I've been reading enought about item. there has some tools for doing it, but I don't get it. For example, by the way I've seen, J2me MIDP RUNNER is one of them. This tools ofers a serious of applications where the user can

[android-developers] Question on listing an app in Featured Apps list at Android Market?

2009-03-13 Thread Victa
Dear fellow Android developers, My company has an app that we are very confident to make it one of the most useful Android apps, and I would really like to know how to make it to the Featured app list at Android Market. Does anyone have such experiences or knowledge, regarding the process or

[android-developers] Re: How to display border lines for TableLayout

2009-03-13 Thread Taenam,Kim
Hi there, How about making a custom ViewGroup that extends TableLayout then override the paint method. In the overrided method 1. you may get all of views in the layout to get view's bounds area 2. draw rectangle to express the border of view I didn't try this, but it makes sense. On

[android-developers] Re: Force close msg for few seconds when application starts, why?

2009-03-13 Thread Nithin Varamballi
Hi Your code contains small error... Like example if an array out of index.. It does't show any error while compile... When u open that application it will give error... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: PackageManager. get size of an installed package?

2009-03-13 Thread IceskYsl
i got the same problem,code like: PackageStats ps = new PackageStats(_packageName); and (cacheSize, codeSize, dataSize) returns always 0 and is this a bug??? On 2月13日, 下午11时32分, Grigory F. g.fishilev...@gmail.com wrote: Know nobody alternative for PackageManager.getpackageSizeInfo()?

[android-developers] Porting from J2ME to Android

2009-03-13 Thread estibaliz.telefon...@gmail.com
Hi, I'm interesting in the use of J2ME 's applications about Android SDK. I've been reading enought about item. there has some tools for doing it, but I don't get it. For example, by the way I've seen, J2me MIDP RUNNER is one of them. This tools ofers a serious of applications where the user can

[android-developers] How to scroll Gallery Widget manually

2009-03-13 Thread alex
Hi, I'm working on a little Player with Playlist and use the Gallery Widget to visualise the Playlist. I tried to scroll the Gallery Widget manual to an active item, but the Widget don't support any functions to do this. There are several methods in the Gallery.java class movePrevious()

[android-developers] Android Debug Bridge (ADB) license

2009-03-13 Thread andycarr
Hi, do you know which license the Android Debug Bridge (ADB) is licensed under? I am unable to find any reference to the ADB license in the SDK documentation. The file NOTICE.TXT, in the tools directory, provides license information for some tools but not ADB. It seems that most tools are

[android-developers] Re: how android connects to a specific AP?

2009-03-13 Thread jappit
Would love to know if this is possible, and how :) Anyone more informed on this topic? Thanks, Pit On Jan 21, 3:20 am, zcj0429 zcj0...@gmail.com wrote: no reply? Anyone knows how to connect to a specificaccesspoint? --~--~-~--~~~---~--~~ You received this

[android-developers] Re: service start and ui hanging

2009-03-13 Thread andrew
Thanks for your quick response. It doesn't access any other views. It does access the context object so as to work with the sqlite dbs. On Mar 13, 10:32 am, Streets Of Boston flyingdutc...@gmail.com wrote: Hi Bob, Your code snippet is not enough to give you some more info. E.g. how does

[android-developers] regarding popup

2009-03-13 Thread kamcad
how to implement popup after selecting a text? is there any selectListener or something?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

  1   2   >