[android-developers] Re: Binding with service lost after calling unbindService()

2009-01-15 Thread Abraham
HI Once Again, I have tried to start the LocalService in APIDEMOS on bootup complete from a broadcast receiver then tried to run the Local service Binding example code(which calls bindService() unbindService() apis). As observed in my app(case 2 listed by me) here again after the first

[android-developers] Re: Dependency injection into Activity

2009-01-15 Thread Freepine
I agree that performance is vital to embedded system, but testability is also important for quality, productivity, etc... At least it's not detrimental:) I know it's nontrivial to have this kind of dependency injection based on current implementation, but it would be very nice if we could.

[android-developers] Strange and interesting problem (For Really ANDROID Lovers)

2009-01-15 Thread ipeg . student
Hi developers... First of all thanks for the greate replies. Now i have a very strange problem. Now i can access all the sms those have hello in their body. I want to send the content of each sms to another program. But the problem is i can able to

[android-developers] Re: Dependency injection into Activity

2009-01-15 Thread Al Sutton
Given some of the call overheads that are introduced with dependency inject I wouldn't like to see it made a core principal for development work. I'm a firm believer that in development priorities a feature which makes developers lives easier should be way below feature that make user

[android-developers] Re: Binding with service lost after calling unbindService()

2009-01-15 Thread Abraham
HI, Logs showing memory leak when unbindService is not called. 01-15 14:14:30.904: ERROR/ActivityThread(209): Activity com.android.mobilink.MobiLinkMenu has leaked ServiceConnection com.android.mobilink.mobilinkmen...@43390770 that was originally bound here 01-15 14:14:30.904:

[android-developers] Re: what is absolute path name of file on SDCard

2009-01-15 Thread Randy McEoin
See post http://groups.google.com/group/android-developers/browse_thread/thread/8240dc2d14848a85/d7994d8ed5b53645 Essentially: File sdpath = Environment.getExternalStorageDirectory(); Log.d(sdpath = , sdpath.toString()); On Jan 14, 10:16 pm, jalandar jagtap...@gmail.com wrote: Hello , every

[android-developers] software button for Camera and view control?

2009-01-15 Thread Developer
I have two questions about android's hardware camera API. 1) Is there a way to create a button that control camera snapshot? i.e, when I push the button on the screen, the camera takes photo in the same way as when I push the hardware button. 2) Can I make the preview-window showing how the

[android-developers] Capturing the PictureWasTaken event

2009-01-15 Thread GiladH
Hey, I want to be able to capture the above system event in a _global_ manner. That is - even if my app is currently not running, I want the system to start it, so it can handle a new-picture-just-taken event by the user. I tries to do by creating a BOOT_COMPLETED BroadcastReceiver that

[android-developers] Re: How many different fonts are available to WebView in android

2009-01-15 Thread Fred Grott(shareme)
In my xspot app I am using html/css to choose the fonts used: http://www.youtube.com/watch?v=7NCZLYBqe8Qfeature=channel_page In short most fonts form the css2 spec that webkit supports. On Jan 14, 10:41 pm, S Plissken plisske...@gmail.com wrote: Hi, Can you please tell me how many

[android-developers] Re: gps checksum never used, validity of message not verified

2009-01-15 Thread David Turner
please note that gps_qemu.c is only used for GPL emulation within the Android emulation (i.e. it is never used on a real device). that's why there is little point in checking the checksum here, since all the messages sent to it are normally generated by the emulator program (for details, see the

[android-developers] Re: Is Android going to use the LGPL'ed Qt 4.5?

2009-01-15 Thread David Turner
short answer: no On Wed, Jan 14, 2009 at 9:05 PM, Alexander Orlov alexander.or...@loxal.netwrote: Today Nokia have announced that it will relicense the Qt Framework under LGPL http://www.qtsoftware.com/about/news/lgpl-license-option-

[android-developers] android.database.sqlite.SQLiteConstraintException: error code 19

2009-01-15 Thread mobilek...@googlemail.com
Hi, Has anyone come across this one: android.database.sqlite.SQLiteConstraintException: error code 19. It gets thrown on 'insert', 'update' and 'delete' statements. What is it supposed to mean? At the moment the documentation lacks a signle word about SQL Exceptions and the error codes they

[android-developers] keeping persistent state of single choice list item.

2009-01-15 Thread jalandar
keeping persistent state of single choice list item. When I select single choice list Item and exit activity, the selected state not remain persistent, next launch an activity the previously (last exit of activity) selected item not get highlighted, what the reason behind this, is anybody have

[android-developers] Delete SMS from Inbox

2009-01-15 Thread Kamal Hasan
Hi, Anybody knows how to delete sms from inbox. I have tried using the following format but its giving Illegal argument Exception : Unknown URL getContentResolver().delete(Uri.parse(content://sms/ inbox),null,null); Anybody knows the format to delete sms ? Thanks a lot Kamal

[android-developers] Audio in the emulator...

2009-01-15 Thread Andrei Craciun
Hi All, As reported on this blog: http://blog.roychowdhury.org/2008/04/29/sip-ua-for-android-stack-rtp-released/there are some problems in recording audio on the emulator, but everything works fine on the real phone. Does anyone has a workaround for recording audio on the emulator? Thanks in

[android-developers] Re: Audio in the emulator...

2009-01-15 Thread David Turner
the emulator now supports audio recording. If you have problems with it, you should report mode detailed information about it here On Thu, Jan 15, 2009 at 11:05 AM, Andrei Craciun avcrac...@gmail.comwrote: Hi All, As reported on this blog:

[android-developers] Re: Streaming MP4s on Android

2009-01-15 Thread Qchan
Thank you so much for your reply! That's just the answer I was looking for. Thanks so much!! On Jan 15, 1:51 am, Dave Sparks davidspa...@android.com wrote: If it won't play from the SD card, it isn't going to stream either. I read the thread you referenced in your original message and it

[android-developers] Re: Are you localizing an app? Do you want to be?

2009-01-15 Thread Teo
I have a question.. Currently i have values, values-en and values-fr for my strings. Basically, my question is: do i need values if it's only a copy of values-en? If there is no values folder will the values- en become the default no matter what language the user has (except fr of course)?

[android-developers] Re: Audio in the emulator...

2009-01-15 Thread Andrei Craciun
Thanks David... 2009/1/15 David Turner di...@android.com the emulator now supports audio recording. If you have problems with it, you should report mode detailed information about it here On Thu, Jan 15, 2009 at 11:05 AM, Andrei Craciun avcrac...@gmail.comwrote: Hi All, As reported on

[android-developers] Re: difference in android SDK version 0.9beta and 1.0

2009-01-15 Thread for android
http://code.google.com/android/migrating/0.9-1.0/changes.html On Thu, Jan 15, 2009 at 1:04 AM, noworyz nowo...@gmail.com wrote: hi all. I am a newbie to the android platform. I wanted to know whats the difference between android SDK0.9beta and 1.0??

[android-developers] how to get storage path for photos, videos, tones, graphics, music and recording from the android handse

2009-01-15 Thread sudha
Hello, i wanted Storage Path for photos, videos, tones, graphics, music and recording from the android handset. In j2me I have used following perameters J2me to access path values:- System.getProperty(fileconn.dir.photos); System.getProperty(fileconn.dir.photos.name);

[android-developers] How to synchronously release an object referenced by wp?

2009-01-15 Thread Hank And
Folks, When we use a wp to referenced some object, for ex. , wp SomeClass a; we can call a.clear() when we no longer need it. However, I found the destructor of this object might not be invoked right away. Is there any way to release the object synchronously? Thanks! Hank

[android-developers] Re: How to uninstall calculator package from emulator

2009-01-15 Thread Jean-Baptiste Queru
That's not possible. Recompile calculator with a different android package name and you'll be able to install it alongside the original one. JBQ On Wed, Jan 14, 2009 at 10:47 PM, Anil Yadav anil.andr...@gmail.com wrote: Hi All I'm trying to uninstall calculator package (pre installed

[android-developers] Re: make failed

2009-01-15 Thread Jean-Baptiste Queru
Discussions about working with the android source code should be held on the android-platform mailing list, thanks. JBQ On Wed, Jan 14, 2009 at 9:31 PM, Caspar caspar@gmail.com wrote: The make system post these messages: target Dex: core-tests make: ***

[android-developers] DNS Caching

2009-01-15 Thread Greg White
All, I've recently been bit by some DNS caching issues and am wondering if there is some way around them. The source seems to say 'no', but perhaps I'm missing something. I'm trying to resolve hostnames using a couple of different methods: new InetSocketAddress(host, port) // The 'normal '

[android-developers] problems implementing bitmap.recycle for improving performance

2009-01-15 Thread Claudio Veas
hello group: I was trying to implement the recycle method for a class that we use a lot in the company that I work for. The thing is that for what I read in some posts, it was a good practice to recycle the bitmaps that were no longer needed and since I dont know where that

[android-developers] Display multiple videos at the same time in Android r1.

2009-01-15 Thread sush
Hi, I am trying to play two videos simultaneously in the Android Emulator of version r1. But its crashing all the time. Can anyone please tell me if this version of emulator supports playing multiple videos. Thanks in advance. Regards, Susama

[android-developers] Re: Dependency injection into Activity

2009-01-15 Thread Freepine
I am not suggesting a strict conformance here. And I even don't think it's practicable or worthwhile at this stage:) My point is that if we can increase its testability to some extent, the lives of us developers will certainly be easier. For example, maybe we can introduce DI on some selected root

[android-developers] Re: Android Bug/Architectural Issue: How do I handle multiple versions of my own Content Provider?

2009-01-15 Thread whitemice
Solution The simplest solution (not using intents) is to instruct each user of my component to define a new content provider: content://myComponentNamespace.theirApplicaitonNamespace Android lets me search through all available content providers, which can be string matched to my own component

[android-developers] Content Provider for Drafts

2009-01-15 Thread Miguel Paraz
Hi, On the G1, do the SMS and email inbox make draft messages accessible through a content provider? I would like to write an app to review the drafts for resending. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: difference in android SDK version 0.9beta and 1.0

2009-01-15 Thread Mark Murphy
noworyz wrote: hi all. I am a newbie to the android platform. I wanted to know whats the difference between android SDK0.9beta and 1.0?? There were some minor changes, plus some more substantial changes to the location tracking service. Overall, though, 0.9 and 1.0 are very similar, more so

[android-developers] Re: Dependency injection into Activity

2009-01-15 Thread Mark Murphy
Freepine wrote: For example, maybe we can introduce DI on some selected root entities of aggregates, which I don't believe it will be at the expense of a considerable performance hit. Sorry I couldn't give more specific hints on concrete classes for I am not very familiar with view or

[android-developers] Re: android.database.sqlite.SQLiteConstraintException: error code 19

2009-01-15 Thread Mark Murphy
mobilek...@googlemail.com wrote: Hi, Has anyone come across this one: android.database.sqlite.SQLiteConstraintException: error code 19. It gets thrown on 'insert', 'update' and 'delete' statements. What is it supposed to mean? At the moment the documentation lacks a signle word about

[android-developers] Re: android.database.sqlite.SQLiteConstraintException: error code 19

2009-01-15 Thread Mark Murphy
Mark Murphy wrote: mobilek...@googlemail.com wrote: Hi, Has anyone come across this one: android.database.sqlite.SQLiteConstraintException: error code 19. It gets thrown on 'insert', 'update' and 'delete' statements. What is it supposed to mean? At the moment the documentation lacks a

[android-developers] Re: Dependency injection into Activity

2009-01-15 Thread Freepine
I am not trying to convince you or someone else. I am just trying to explain here why I think it's beneficial.Ok, I don't want to bump this endless discussion, I'll just stop here. BTW, it's not an open attitude for an open source project if someone gives a different opinion, he'll be required

[android-developers] Re: Dependency injection into Activity

2009-01-15 Thread Al Sutton
If there was some more support for your idea then others would help you build it, but there isn't, hence why the idea was suggested. Part of an open attitude is being able to accept that fact that your idea isn't seen as a good one by others. Al. Freepine wrote: I am not trying to convince

[android-developers] Query about Content Provider queries

2009-01-15 Thread somecs
I have one quick question and one maybe not-as-quick question: 1. Will we be able to employ more robust SQL(ite) queries on content providers with future releases? For instance: joins, distinct, count, max, etc? 2. Why isn't this possible now? I understand the concept of DB table abstraction

[android-developers] Re: Dependency injection into Activity

2009-01-15 Thread Mark Murphy
Freepine wrote: I am not trying to convince you or someone else. I am just trying to explain here why I think it's beneficial. It may be. The concerns voiced on this thread, though, cannot be addressed by words, only by code, as they seem to mostly pertain to performance considerations. BTW,

[android-developers] Re: How to catch global events?

2009-01-15 Thread madcoder
Nothing quite like giving full internet access permission, then having a special service like this running in the background... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: If your hosting your own .apk

2009-01-15 Thread Tom
I bit the bullet and released my app to the Market. When it settles down a bit I'll add it to other app stores. Thanks to all for their help and support! Tom On Jan 14, 10:35 am, Al Sutton a...@funkyandroid.com wrote: I still think Amazon S3 is your best bet (help using S3 for apks is

[android-developers] Re: Problem in Viewing table - sdk1.0

2009-01-15 Thread loty
Best way to deal with SQLite that I found is to download and install Firefox SQLite Addon module. Then use adb pull command to download your batabase from the emulator to your desktop and view/manipulate it in Firefox SQLite app. You can put your db back with adb push command. Saved me a lot of

[android-developers] Re: Saving/Loading dynamic Bitmaps

2009-01-15 Thread Mike Reed
Can you call Bitmap.compress() and just stored the resulting png-stream in your file? On Wed, Jan 14, 2009 at 9:37 PM, Patrick bpatm...@gmail.com wrote: Ok, I have to post again, because what appears to have worked before only did if the alpha channel of the bitmap was mostly opaque. All I

[android-developers] Re: Can Intents contains Rich Java Objects?

2009-01-15 Thread Inderjeet Singh
Thanks, this is perfect for our use-case! Just to confirm: if you put an IBinder object in a bundle and it is shared across processes, any changes to the object state through proxy will be communicated back to the process owning the object. Is that correct? I dont know of another operating

[android-developers] Aligning title of a dialog to be in center

2009-01-15 Thread Inderjeet Singh
Hi, I have a custom dialog box extending android.app.Dialog. I would like make sure that its title is aligned to center. Can someone help me figure out how to get that done? Thanks Inder --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: Android Bug/Architectural Issue: How do I handle multiple versions of my own Content Provider?

2009-01-15 Thread Peli
Nice solution. However, one point of critique: I can then pass around Synchronisation information (validity, compatibility, version, status, etc) using any of the ContentProvider class methods (I used getType ()). Probably you should not mis-use getType(), even if all ContentProviders act

[android-developers] Re: Why is Ringtone.play() sometimes silent when the screen is off ?

2009-01-15 Thread jarkman
Apparently I'm an idiot. The problem is not with the ringtone, but with our activity, which (when the screen is off) gets an onPause immediately after starting up. I guess the system is pausing the activity because the user can' see it, and it doesn't want to waste effort running it. Does that

[android-developers] Query about Content Provider queries...

2009-01-15 Thread A T
I have one quick question and one maybe not-as-quick question: 1. Will we be able to employ more robust SQL(ite) queries on content providers with future releases? For instance: joins, distinct, count, max, etc? 2. Why isn't this possible now? I understand the concept of DB table abstraction and

[android-developers] Seeking Developers

2009-01-15 Thread lincolnsand
Hello, I would like to thank you for taking the time to read my posting. First let's clear up a couple of things. This is not a big corporate job offer. On the other hand it is an amazing opportunity to work on some awesome very viable applications. Applications that I believe can win the next

[android-developers] Re: debuggerd committing suicide to free the zombie?

2009-01-15 Thread madcoder
It could be secret code implanted by the Umbrella Corporation... --~--~-~--~~~---~--~~ 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

[android-developers] Shell access in Dev Phone

2009-01-15 Thread howa
Is this possible in the Dev Phone? It will be much usable since many guy like me only know how to write scripts, not Java Program. :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Is Android going to use the LGPL'ed Qt 4.5?

2009-01-15 Thread FranckLefevre
Oh ! Thanks David ! Thanks ! Let's keep Android clean, young ...unpolluted. ;-) Franck On Jan 15, 10:29 am, David Turner di...@android.com wrote: short answer: no On Wed, Jan 14, 2009 at 9:05 PM, Alexander Orlov alexander.or...@loxal.netwrote: Today Nokia have announced

[android-developers] Re: DNS Caching

2009-01-15 Thread David Turner
It simply is not possible to disable the cache from Java. The fixes/enhancements you mention are already planned for a future release, but didn't happen yet for various reasons. sorry about that. On Thu, Jan 15, 2009 at 12:43 PM, Greg White debauchedsl...@gmail.comwrote: All, I've recently

[android-developers] Re: Display multiple videos at the same time in Android r1.

2009-01-15 Thread David Turner
I suspect that this has nothing to do with the emulator per se. you do not describe exactly what you're doing nor what the crash really is, so offering you a helpful answer is a bit tough. On Thu, Jan 15, 2009 at 1:08 PM, sush susama.choudh...@gmail.com wrote: Hi, I am trying to play two

[android-developers] Re: DNS Caching

2009-01-15 Thread Greg White
On Thu, Jan 15, 2009 at 11:08 AM, David Turner di...@android.com wrote: It simply is not possible to disable the cache from Java. The fixes/enhancements you mention are already planned for a future release, but didn't happen yet for various reasons. Thanks. Any timeframe on this?

[android-developers] Re: Android Bug/Architectural Issue: How do I handle multiple versions of my own Content Provider?

2009-01-15 Thread Peli
Hm... I assume, getType() is also called by the system whenever it wants to resolve an intent that contains the data (so that it can look up the Manifest file for the appropriate intent filter that contains that MIME type). So I guess if the argument of getType(..) is not a content URI that you

[android-developers] Re: Shell access in Dev Phone

2009-01-15 Thread Sundog
I'm pretty sure the short answer is no. On Jan 15, 9:01 am, howa howac...@gmail.com wrote: Is this possible in the Dev Phone? It will be much usable since many guy like me only know how to write scripts, not Java Program. :) --~--~-~--~~~---~--~~ You

[android-developers] Re: Shell access in Dev Phone

2009-01-15 Thread David Turner
you can use adb shell to get a shell prompt on the phone. Beware that this runs a version of ash so you'll be missing a *lot*of shell features. Moreover, the system doesn't come by default with typical shell programs like find, cp, etc... and no Perl / Python / etc... (the terminal app also allows

[android-developers] Re: how to get storage path for photos, videos, tones, graphics, music and recording from the android handse

2009-01-15 Thread alan
have a look at http://code.google.com/android/reference/android/os/Environment.html and http://code.google.com/android/reference/android/content/Context.html#getFilesDir() On Jan 15, 11:11 am, sudha sudhagupta2...@gmail.com wrote: Hello, i wanted Storage Path for  photos, videos, tones,

[android-developers] Re: Question on the BlogPost of ListView posted by Romanian Guy

2009-01-15 Thread Romain Guy
Hi, There is a bug with dividers and solid colors in Android 1.0. This bug has been fixed in Cupcake. In the meantime, you should use a 9-patch. On Thu, Jan 15, 2009 at 12:50 AM, for android forandr...@gmail.com wrote: Hello, I understand the posting on the blog of android-developers I was

[android-developers] Re: comining/merging two images

2009-01-15 Thread Romain Guy
Hi, You can create a new Bitmap with the same size as your source images (300x300.) Then create a Canvas to draw on this Bitmap. Finally, all you have to do is first draw your image filled with color onto the Canvas, then draw your image with the hole. You can get fancier with the use of the

[android-developers] Re: Android Bug/Architectural Issue: How do I handle multiple versions of my own Content Provider?

2009-01-15 Thread Dianne Hackborn
Generally I would recommend against hacky solutions that redefine the semantics of very well-defined calls. It would be much better to just define a standard structure of the content provider where this information can be found be regular queries. Along those same lines, looking for your own

[android-developers] Re: Query about Content Provider queries...

2009-01-15 Thread Dianne Hackborn
No, that would expose the implementation behind the content provider more than we want. For your own content provider you can fairly easily define your own URI schemes that allow arbitrary joins or such across tables or other things, but we don't plan on this becoming a general facility that all

[android-developers] Re: Can Intents contains Rich Java Objects?

2009-01-15 Thread Dianne Hackborn
But please read what I wrote, do NOT put this in to Intents or usually any Bundle object. This is primarily for communication with services. On Thu, Jan 15, 2009 at 6:49 AM, Inderjeet Singh inder...@gmail.com wrote: Thanks, this is perfect for our use-case! Just to confirm: if you put an

[android-developers] Re: Android Dev Phone 1

2009-01-15 Thread Jinwoo Min
There is a solution without SIM card. Check this site first. http://www.android-unleashed.com/2008/11/howto-install-non-market-apk-apps-on.html then, if adb is enabled, go to the folder that is installed adb, type like below. adb shell echo app.setupwizard.disable=1 /data/local.prop adb shell

[android-developers] The link for the developer phone doesnt work, new phone to emerge?

2009-01-15 Thread mobila...@gmail.com
Hello. I noticed that the link for purchasing the developer G1 doesnt seem to work. It simply reloads the page. Is it just an error or are they releasing some new phone? Have anyone else experienced this? --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: Strange and interesting problem (For Really ANDROID Lovers)

2009-01-15 Thread Ronald Krijgsheld
Hi, MyMsg is a global string. so it is overwritten. instead declare the string inside the for like: final string MyMsg = str[Myi] ; - ronald On Thu, Jan 15, 2009 at 9:47 AM, ipeg.stud...@gmail.com wrote: Hi developers... First of all thanks

[android-developers] Re: android.database.sqlite.SQLiteConstraintException: error code 19

2009-01-15 Thread Ronald Krijgsheld
hi, you can check the documentation of sqlite itself. as i understand it, it is a thrown when a constraint in the database is violated. e.g. a foreign key constraint or delete constraint. a google let me to the following issue: http://code.google.com/p/android/issues/detail?id=1221 - ronald

[android-developers] Re: android.database.sqlite.SQLiteConstraintException: error code 19

2009-01-15 Thread jmagic
Perhaps this will help you: http://www.sqlite.org/c3ref/c_abort.html #define SQLITE_CONSTRAINT 19 /* Abort due to constraint violation */ On Jan 15, 11:43 am, mobilek...@googlemail.com mobilek...@googlemail.com wrote: Hi, Has anyone come across this one:

[android-developers] transparency issue..

2009-01-15 Thread basu
hi, i am new to android facing some issues in transparency. My intention is to 1)in my test activity i have a text hello world 2)my test activity intern call Preview of camera code. when this is happened, i am not able to see the below hello world how can i make that visible? i also want to

[android-developers] AutoCompleteTextView: Need help.

2009-01-15 Thread Don Rules
I have written an application to show the contacts in the AutoCompleteTextView. while the user types the alphabets, it fetches the matching contacts to display. For this I have used a CursorAdapter Now I have to get the Contact name when the contact is clicked. How do i use

[android-developers] emulator

2009-01-15 Thread Diemison Carlos
Hello everybody, I am a brazilian student of Computer Engineering and I am learning about Android. Now I need a emulator for to text my programs, but I don't know where i can find. Can you help me? -- Carlos Mello --~--~-~--~~~---~--~~ You received this

[android-developers] Trigger functionality from outside Android

2009-01-15 Thread SGAdrian
Hi, is there a way to trigger functionality from an application living outside Android? If I for example want to setup a voicecall from an application running on windows is that possible? This has always been possible with AT-commands(ATD, ATH etc.) on other platforms. One other nice feature

[android-developers] Re: No onTrackballEvent in ItemizedOverlayOverlayItem?

2009-01-15 Thread lgonc...@gmail.com
I have the same problem. Did you find anything to solve this?? On Dec 23 2008, 1:48 pm, J.C. Wren jcw...@gmail.com wrote: Any ideas here? Thanks, --jc On Dec 19, 11:17 pm, J.C. Wren jcw...@gmail.com wrote: I've provided aonTrackballEventin a ItemizedOverlayOverlayItem that I've

[android-developers] static member data issue in arm-eabi-ld

2009-01-15 Thread simon
hi all, i'm trying to compile simple native application under Android platform and got problem with linker (looks like linker or linker scripts bug) my simple program: class C { static int m; public: static void f() { m = 0; } }; int main(int, char**) { C::f(); return 0; }

[android-developers] my downloads in Android Market

2009-01-15 Thread daim
My downloads is a pain ... with all the apps you ever installed, even if you uninstalled them afterwards. And: there is no difference between installed apps that can be updated and uninstalled apps. I get crazy with 5 sorts of torch apps, I had installed. I decided to keep only one and when I

[android-developers] How to have two different fonts within the same ListView item?

2009-01-15 Thread Akash Dongre
Hi, I am trying to have two fonts in a same ListView item, like shown in the following link in the first Image. http://phandroid.com/2008/12/10/visa-launches-android-mobile-application/ I am using two TextView to have different fonts, but don't know how to get them together, in a ListView.

[android-developers] Re: emulator

2009-01-15 Thread rktb
http://code.google.com/android/ On Jan 15, 8:16 pm, Diemison Carlos dcarlo...@gmail.com wrote: Hello everybody, I am a brazilian student of Computer Engineering and I am learning about Android. Now I need a emulator for to text my programs, but I don't know where i can find. Can you help

[android-developers] application removal notification

2009-01-15 Thread CJ
my application is a client running on the android. i need to know some infomation about the installation or the removal of my application. to be more specific, the server needs to be informed upon the application removal. is it possible? thanks in advance

[android-developers] Re: Scaling objects within an AbsoluteLayout

2009-01-15 Thread Pachu
Okay, I got a working version of scaling the view but there is one major problem. Let me start by describing the situation. The top level view is a ScrollView. This ScrollView contains an AbsoluteLayout. The AbsoluteLayout contains text/image widgets that go beyond the bounds of the display.

[android-developers] Re: Scaling objects within an AbsoluteLayout

2009-01-15 Thread Romain Guy
This is because ScrollView does not support horizontal scrolling. On Thu, Jan 15, 2009 at 11:36 AM, Pachu pach...@gmail.com wrote: Okay, I got a working version of scaling the view but there is one major problem. Let me start by describing the situation. The top level view is a ScrollView.

[android-developers] Re: static member data issue in arm-eabi-ld

2009-01-15 Thread Michael MacDonald
This is a problem with your c++ program, not with android. m is declared but not defined. You need to add int c::m; to your source file. simon wrote: hi all, i'm trying to compile simple native application under Android platform and got problem with linker (looks like linker or linker

[android-developers] Re: Scaling objects within an AbsoluteLayout

2009-01-15 Thread Pachu
Right, but shouldn't the AbsoluteLayout still return its own full width? On Jan 15, 2:39 pm, Romain Guy romain...@google.com wrote: This is because ScrollView does not support horizontal scrolling. On Thu, Jan 15, 2009 at 11:36 AM,Pachupach...@gmail.com wrote: Okay, I got a working

[android-developers] Re: Scaling objects within an AbsoluteLayout

2009-01-15 Thread Romain Guy
No because the ScrollView is responsible for the layout of AbsoluteLayout. That means the width of AbsoluteLayout is decided by ScrollView. On Thu, Jan 15, 2009 at 11:54 AM, Pachu pach...@gmail.com wrote: Right, but shouldn't the AbsoluteLayout still return its own full width? On Jan 15,

[android-developers] Re: Saving/Loading dynamic Bitmaps

2009-01-15 Thread Patrick
That was the first thing I tried, but it failed to be able to load it back. I posted about that, but got no reply :) http://groups.google.com/group/android-developers/browse_thread/thread/4026b41eff9126a8/8017db2289f82456#8017db2289f82456 --~--~-~--~~~---~--~~

[android-developers] Re: Query about Content Provider queries...

2009-01-15 Thread A T
Thanks for your response. I really don't mean to push the issue, I'm just afraid that you misunderstood my question. In terms of existing providers, if I need to do, say, a DISTINCT query, I would have to either load the table into my own provider/SQLite DB and do it there by executing an

[android-developers] Re: Scaling objects within an AbsoluteLayout

2009-01-15 Thread Pachu
Ah, I see, so the only possibility is to rewrite the ScrollView class? I was hoping there would be a quick solution, because the AbsoluteLayout still seems to render the data that is past the ScrollView area, because if I manually scroll using the scrollTo and overriding the keyListener I can

[android-developers] Two different views with CursorAdapter

2009-01-15 Thread chouman82
I am not sure if you can do this, but essentially what I am trying to do is to use a CursorAdapter with a list that has two different views. To be more specific, I am trying to have a different view for an item in the list that's selected than the rest of the items in the list that's not

[android-developers] Re: Query about Content Provider queries...

2009-01-15 Thread Mark Murphy
In terms of existing providers, if I need to do, say, a DISTINCT query, I would have to either load the table into my own provider/SQLite DB and do it there by executing an arbitrary SQLite query, or use a content provider query and operate on the cursor manually. Generally speaking, the

[android-developers] Re: JPF : Java plugin framework on Android

2009-01-15 Thread myDroid
Nobody really ? Can not imagine that anyone had never imagine to implement a plugin based app in Android !?! I will have to find by myself. Regards, On 12 jan, 18:23, myDroid vantoi...@gmail.com wrote: Hello, I was wondering if it is possible to include this framework (JPF

[android-developers] Re: Query about Content Provider queries...

2009-01-15 Thread A T
Ok, I did not realize that. I had made the assumption that they were all DB-based. My real goal here was to just figure out the best (i.e. quickest) way to do some operations that are not possible with the given content provider methods, but at the same time avoid localizing them and then

[android-developers] Re: JPF : Java plugin framework on Android

2009-01-15 Thread Mark Murphy
Nobody really ? JPF probably uses dynamic JAR loading, which I don't think is possible in Android, since JARs are packaged in unmodifiable APKs and are not shared between applications. Can not imagine that anyone had never imagine to implement a plugin based app in Android !?! There are

[android-developers] Re: Query about Content Provider queries...

2009-01-15 Thread Mark Murphy
Ok, I did not realize that. I had made the assumption that they were all DB-based. Some will be, but I'm under the impression that ContentProvider was specifically designed not to force it. For example, some people are using ContentProvider to serve static Web content to a WebView, which IMHO

[android-developers] Re: emulator

2009-01-15 Thread Fred Grott(shareme)
Carlos, welcome to Android programming On Jan 15, 9:16 am, Diemison Carlos dcarlo...@gmail.com wrote: Hello everybody, I am a brazilian student of Computer Engineering and I am learning about Android. Now I need a emulator for to text my programs, but I don't know where i can find. Can

[android-developers] Re: Scaling objects within an AbsoluteLayout

2009-01-15 Thread Pachu
Also I have tried creating my own ScrollView class but, there are several member variables that I see being used in the source code on GIT namely mScrollX and mScrollY, but as far as I know these have been removed from View going from 0.9 to 1.0, and they are critical to the functionality of

[android-developers] Re: Scaling objects within an AbsoluteLayout

2009-01-15 Thread Romain Guy
They're not, you can use getScrollX/Y instead. On Thu, Jan 15, 2009 at 1:46 PM, Pachu pach...@gmail.com wrote: Also I have tried creating my own ScrollView class but, there are several member variables that I see being used in the source code on GIT namely mScrollX and mScrollY, but as far

[android-developers] Re: Seeking Developers

2009-01-15 Thread Fred Grott(shareme)
Ben it seems that everyone is somewhat ahead of you in that they are already completing apps And please with more than 1 billion programmers world wide its not the idea its the execution On Jan 15, 9:46 am, lincolnsand lincolns...@gmail.com wrote: Hello, I would like to thank you for

[android-developers] reduce height of a button

2009-01-15 Thread info.sktechnol...@gmail.com
What is the preferred way to reduce the height of a button and maintain the label in the center? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: static member data issue in arm-eabi-ld

2009-01-15 Thread Andrew Stadler
Sorry to keep repeating this, but native development is *not* currently supported by the SDK. This mailing list is for discussion of application development using the SDK. You may want to try android-platform or android-discuss. See http://source.android.com/discuss for more information.

[android-developers] Re: How to build Android.jar from the source code

2009-01-15 Thread Andrew Stadler
Although there is a long-term goal to move in that direction, not all of the platform applications can be built in the SDK. Sorry Andy On Wed, Jan 14, 2009 at 8:48 PM, Android malapati.raghaven...@gmail.com wrote: hi all , Thanks for your help and valuable comments. here one quick

[android-developers] Re: Perl on Android Emulator

2009-01-15 Thread Michael
Puneet Bhatia wrote: I want to run Perl script on Android Emulator but when I tried to do that, I got error, Perl : command not found. Can you please guide me how I can use Perl on emulator. You would have to port perl yourself to the Android platform, it's currently not supported.

  1   2   >