[android-developers] Re: Location for common/shared libraries?

2008-10-13 Thread Stoyan Damov
That's OK but I'd expect (maybe we should do something about it) that there would be a public repository of reusable code, very much like ruby gems, and a way for your Android app to state its dependencies, and then at installation time the dependencies are either satisfied by preinstalled librari

[android-developers] Re: Location for common/shared libraries?

2008-10-13 Thread Stoyan Damov
Thanks. It's a shame though - Android is built around reusability - services, content providers, etc. The thing with services is that you're at the grace of the service developer - if he exposed features X and Y from the library, but not Z you're out of luck :( Cheers On Tue, Oct 14, 2008 at 2:2

[android-developers] write_sms and send_sms permissions

2008-10-13 Thread j
Why does Android need to have 2 distinct permissions? write_sms and send_sms --~--~-~--~~~---~--~~ 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@googlegr

[android-developers] Re: HttpClient thread safety?

2008-10-13 Thread Allan Hsu
This sample code should give you enough information to do it in the 1.0r1 SDK: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientMultiThreadedExecution.java -Allan -- Allan Hsu On Oct 8, 2008, at 12:04 PM,

[android-developers] Re: Confused by Android testing framework

2008-10-13 Thread Mark Murphy
Andrew Stadler wrote: > Yes, you've also figured out that the name "packages" has been > overloaded here. In the context of the package manager, as well as > the way that Instrumentation is applied, we are referring here to > Android packages, which are mostly typically found in .apk files. >

[android-developers] Re: Location for common/shared libraries?

2008-10-13 Thread Nikkelitous
In fact, there is already a FreeTTS service set up and available in the Android Market. Once the user downloads it any app can use it. On Oct 13, 3:13 pm, "Stoyan Damov" <[EMAIL PROTECTED]> wrote: > Hi, > > I see that many devs are porting FreeTTS to Android. It's like 5 MB or > so w/ Kevin's vo

[android-developers] Re: Confused by Android testing framework

2008-10-13 Thread Andrew Stadler
As you've figured out, both of your problems are related to having one but not both packages installed. Interestingly, it appears to be the opposite condition: It sounds as if your ApiDemos *tests* are not loaded, but your own app is also not loaded. Yes, you've also figured out that the name "

[android-developers] Re: Confused by Android testing framework

2008-10-13 Thread Shane Isbell
If you know Maven, you can check out: http://code.google.com/p/masa/wiki/GettingStarted The instrumentation plugin will run the api demo tests. Shane On Mon, Oct 13, 2008 at 5:21 PM, Mark Murphy <[EMAIL PROTECTED]>wrote: > > Andrew Stadler wrote: > > To look under the covers, use this command:

[android-developers] Re: Confused by Android testing framework

2008-10-13 Thread Mark Murphy
Andrew Stadler wrote: > To look under the covers, use this command: $ adb shell pm list > packages | grep example > > And you should see (among other things) both of the packages I > mentioned. If you don't see both packages, then fix that first (no > point in launching the instrumentation yet

[android-developers] Re: Confused by Android testing framework

2008-10-13 Thread Andrew Stadler
Mark- I think it would make sense to start with the ApiDemos tests, so that you can (at a minimum) start with a known good quantity. The structure of these is that there are two packages - the Api Demos package itself (com.example.android.apis), and the package of tests that goes with it (com.ex

[android-developers] Re: OnTouchListener

2008-10-13 Thread skink
On 13 Paź, 23:15, Rishi > > I still don't understand why it acts differently for button. Either > way, what appears to have been happening is it does not reach to > ACTION_MOVE or ACTION_UP unless ACTION_DOWN is consumed by listener. it's not documented (i think) but in my opinion google design

[android-developers] Re: Replacing Dialer, IM, and SMS Apps

2008-10-13 Thread Rohit Mordani
What I meant is - if I were to ship a device with the replacement app as the default (out of the box), rather than confusing the user. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] Re: Sticky Broadcasts and Concurrency

2008-10-13 Thread Tsunami
Why should this be something most apps shouldn't use? Within an application the only alternatives are listeners with memory, which also have to take care of concurrency constraints. I found it much easier to use the sticky intent system than writing it all out myself. And of course, if you want ou

[android-developers] Confused by Android testing framework

2008-10-13 Thread Mark Murphy
I'm attempting to use the JUnit-based testing framework supplied with Android 1.0r1...and I'm baffled. I found the tests associated with the ApiDemos in the SDK. In the AllTests class, it says to run: adb shell am instrument -w \ com.example.android.apis.tests/android.test.InstrumentationTestR

[android-developers] Re: Draw children manually in custom ViewGroup

2008-10-13 Thread Cheryl Sedota
Thanks, Romain. On Oct 13, 5:57 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote: > Note that this is a mistake from us. The flag (actually a setter > method) will be back in the next version of Android. I already made > sure of that. > > Without this flag, unfortunately, you need to override ViewGroup

[android-developers] Re: Location for common/shared libraries?

2008-10-13 Thread hackbod
There is no support for third party shared libraries in 1.0. One approach you can take is to implement it as a Service that others can use. On Oct 13, 2:13 pm, "Stoyan Damov" <[EMAIL PROTECTED]> wrote: > Hi, > > I see that many devs are porting FreeTTS to Android. It's like 5 MB or > so w/ Kevin

[android-developers] Re: Sticky Broadcasts and Concurrency

2008-10-13 Thread hackbod
Yeah the doc for that function should be better, it is a low priority because this is really not something that most apps should use (in fact it was made available pretty late in development). On Oct 13, 4:07 pm, Tsunami <[EMAIL PROTECTED]> wrote: > Great, and thanks! If I might advise, the docum

[android-developers] Re: Sticky Broadcasts and Concurrency

2008-10-13 Thread Tsunami
Great, and thanks! If I might advise, the documentation for sticky broadcasts doesn't make it very clear that Intents with the same action, type, data, and categories will replace each other, and could be updated. On Oct 13, 6:49 pm, hackbod <[EMAIL PROTECTED]> wrote: > When you send a sticky bro

[android-developers] Re: Draw children manually in custom ViewGroup

2008-10-13 Thread Romain Guy
Note that this is a mistake from us. The flag (actually a setter method) will be back in the next version of Android. I already made sure of that. Without this flag, unfortunately, you need to override ViewGroup's drawChild()/onLayout() manually and apply the transformation yourself. On Mon, Oct

[android-developers] Re: Android License

2008-10-13 Thread Mark Murphy
Dread_Locks wrote: > If I want to make a phone from scratch (hardware included) where the > software part is Android from Google. Do I need to sign any license > agreement or pay some kind of licensing fee to Google first before I > can use Android? Once it is released as open source, you shouldn

[android-developers] Re: Sticky Broadcasts and Concurrency

2008-10-13 Thread hackbod
When you send a sticky broadcast, that broadcast will replace any other existing one with the same action, type, data, and categories. No need to remove it. Just be sure that all of your changing state is in the extras part of the Intent, not in the main fields. On Oct 13, 3:35 pm, Soonil Nagark

[android-developers] Android License

2008-10-13 Thread Dread_Locks
Hello, New guy here, sorry to ask stupid questions but. If I want to make a phone from scratch (hardware included) where the software part is Android from Google. Do I need to sign any license agreement or pay some kind of licensing fee to Google first before I can use Android? Or, do I jus

[android-developers] Saving a Serialized Object

2008-10-13 Thread aclelland
Hello, I've been asked to save a Serialized Object to the sqllite database so it can be loaded next time the application launches. AFAIK I will need to save it as a blob in the database but I've only used Strings and int before :/ Could anyone give me a pointer on the best way to save the object

[android-developers] Re: Draw children manually in custom ViewGroup

2008-10-13 Thread Cheryl Sedota
Romain, Now that the FLAG_SUPPORT_STATIC_TRANSFORMATIONS flag is gone in the 1.0 SDK, what do you recommend for such a scenario? Thanks, Cheryl On Aug 21, 10:30 am, Erik Calissendorff <[EMAIL PROTECTED]> wrote: > Thanks, that was a much easier way to modify the views at drawing. > > Some tips w

[android-developers] Re: OutOfMemoryError when switching orientation

2008-10-13 Thread songs
I think we might be talking about a couple of different things. I've got a handle on the leak. What I'm saying is that there seem to be side-effects that change the assumptions of how the think about the lifecycle. From the perspective of the lifecycle and side-effects, I would have expected hi

[android-developers] Sticky Broadcasts and Concurrency

2008-10-13 Thread Soonil Nagarkar
I have a component that uses sticky broadcasts to send out state information about itself along the lines of enabled/disabled. By using sticky broadcasts, anybody that needs to check the state of the component (which can be changed at any time by other threads) can stay up to date rather than usin

[android-developers] Re: OnTouchListener

2008-10-13 Thread Rishi
You are right! It works fine after returning true in that method. The return statement was generated by eclipse, and I did not pay attention to it. I still don't understand why it acts differently for button. Either way, what appears to have been happening is it does not reach to ACTION_MOVE or

[android-developers] Re: OutOfMemoryError when switching orientation

2008-10-13 Thread hackbod
You need to make sure you have cleaned up everything by the time you return from onDestroy(). If you do that, there will not be a leak. On Oct 13, 1:46 pm, songs <[EMAIL PROTECTED]> wrote: > This is a little confusing then, though.  The animation thread dies as > expected when I stop the applica

[android-developers] Re: Replacing Dialer, IM, and SMS Apps

2008-10-13 Thread hackbod
On Oct 13, 2:37 pm, Rohit Mordani <[EMAIL PROTECTED]> wrote: > Thanks - I figured out that the "original app" co-exists with the > "replacing app" and the user has a choice to select either (kinda like > windows). I like that, though it would be awesome if there was a > setting to select the defau

[android-developers] Re: OnTouchListener

2008-10-13 Thread skink
On 13 Paź, 21:33, Rishi < >                 @Override >                 public boolean onTouch(View arg0, MotionEvent arg1) { >                         // TODO Auto-generated method stub > >                         Log.i(tag, arg0 + " " + arg1.getAction()); >                         return fa

[android-developers] Re: Replacing Dialer, IM, and SMS Apps

2008-10-13 Thread Rohit Mordani
Thanks - I figured out that the "original app" co-exists with the "replacing app" and the user has a choice to select either (kinda like windows). I like that, though it would be awesome if there was a setting to select the default app. The follow up to the previous question that I have is - how

[android-developers] Re: OnTouchListener

2008-10-13 Thread Rishi
Thanks Hackbod! At this point I don't have OnTouchListener set any where other than top layout. So it's pretty simple. My question was more on why OnTouchListener works differently on layout as compared to other widget (say Button). On button, when you try to drag it, you would receive ACTION_DO

[android-developers] OnTouchListener

2008-10-13 Thread Rishi
I was trying to implement OnTouch Event in my application, where user could touch (move fingers) anywhere in the screen. I thought the best way to do that would be, to set OnTouchListener on topmost layout. But it appears, layouts does not receive all the motion events. Here is a sample code - m

[android-developers] Location for common/shared libraries?

2008-10-13 Thread Stoyan Damov
Hi, I see that many devs are porting FreeTTS to Android. It's like 5 MB or so w/ Kevin's voice. Is every TTS-enabled application going to include the library as part of its package (thus unnecessarily bloating the device/card's storage) or there is a special location, where shared/common librarie

[android-developers] interpolators

2008-10-13 Thread skink
hi, i've created 3 interpolators based on Robert Penner easing classes. you can download sources with small vizualization app from: http://code.google.com/p/android-easing-interpolators/downloads/list only implemented Elastic, Back & Bounce interpolators - other will be done soon ;) will be gla

[android-developers] Re: Writing file to a shared directory on Android

2008-10-13 Thread Peli
You could use the sdcard that is accessible by all applications... Peli On Oct 13, 10:27 pm, Anshul <[EMAIL PROTECTED]> wrote: > Hello everyone, > > I have three small android applications that read and write data to > the same file. Is there a directory on Android file system that is > shareabl

[android-developers] Google Visualization doesn't show?

2008-10-13 Thread songs
Hi, It seems like only image-based graphs will show up in the browser. Going to: http://code.google.com/apis/visualization/documentation/gallery/linechart.html doesn't work, but going to the image based one at: http://code.google.com/apis/visualization/documentation/gallery/imagelinechart.html

[android-developers] Re: OutOfMemoryError when switching orientation

2008-10-13 Thread songs
This is a little confusing then, though. The animation thread dies as expected when I stop the application using the back arrow, but does not die (without being explicitly killed) when I flip the orientation. So some extra cleaning up must be happening for one that isn't happening for the other.

[android-developers] Re: OnTouchListener

2008-10-13 Thread hackbod
Touch events are delivered first to the inner-most view that is under the finger and then, if that view doesn't handle them, up to parents until either someone handles it or we reach the top of the hierarchy. If you want to intercept all touch events then you can override Activity.dispatchTouchEve

[android-developers] Writing file to a shared directory on Android

2008-10-13 Thread Anshul
Hello everyone, I have three small android applications that read and write data to the same file. Is there a directory on Android file system that is shareable across multiple applications? I tried creating a file in "/ system/usr/share" but getting aorent directory nit writable error. I can wr

[android-developers] Re: Program Finished - Now What?

2008-10-13 Thread Al Sutton
Hi Ewan, You can list it up at http://andappstore.com/ if you have an .apk available. The site is getting a fair number of hits which would indicate people are looking at it, and new releases get fed into an RSS feed and twitter. If you're looking for a way to get into Googles Marketplace, at

[android-developers] Program Finished - Now What?

2008-10-13 Thread Ewan Grantham
OK, I have completed coding for the first version of my game (basically it's as complete as I can get it before launch). I gather I need to do something to "sign" the package (there's a link for that, right?). But then how do I get it to someone so it will be in the Market on launch day? TIA! --~

[android-developers] Re: Program Finished - Now What?

2008-10-13 Thread Shane Isbell
On Mon, Oct 13, 2008 at 12:14 PM, Ewan Grantham <[EMAIL PROTECTED]>wrote: > OK, I have completed coding for the first version of my game (basically > it's as complete as I can get it before launch). I gather I need to do > something to "sign" the package (there's a link for that, right?). But then

[android-developers] Re: Hiring Developer... Have Some Free Time?

2008-10-13 Thread Ewan Grantham
Rob, so that the group doesn't get flooded with resumes (possibly including mine), how would you like us to contact you? Email address or through your website or... ? On Mon, Oct 13, 2008 at 12:31 PM, phandroid <[EMAIL PROTECTED]> wrote: > > I'm interested in hiring a developer to put together an

[android-developers] Re: Replacing Dialer, IM, and SMS Apps

2008-10-13 Thread hackbod
Sure, the contacts provider is public, and you can handle the action that is broadcast by the phone button. Note that in -any- situation where you are "replacing an app," the original application will still be there in the launcher for the user to see, what it means to replace an app is that you

[android-developers] Re: Replacing Dialer, IM, and SMS Apps

2008-10-13 Thread Rohit Mordani
How about replacing the contacts app with your own - Is there any way to do that? Rohit On Sep 29, 8:00 pm, Xolotl Loki <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > > > 2) Hidden Content Providers. The open access guarantees don't > > necessarily grant acce

[android-developers] Re: Is Theme.Light supported in 1.0?

2008-10-13 Thread hackbod
Unfortunately the light theme is not completely implemented in 1.0. If it is enough for your needs, that is great, but if not then you will either need to build your own theme from it that modifies the problematic parts or just not use it. Sorry. On Oct 13, 7:16 am, qvark <[EMAIL PROTECTED]> wro

[android-developers] Re: ListView Issue in Notepad Application

2008-10-13 Thread JavaAndroid
Peli Thanks a million for your timely help. Logcat was really helpful in identifying the issue, and i got my application working.thanks again JavaAndroid On Oct 13, 6:15 pm, Peli <[EMAIL PROTECTED]> wrote: > The answer is in the last post > here:http://groups.google.com/group/android-beginn

[android-developers] Re: Uninstall packages API

2008-10-13 Thread hackbod
Sorry, I don't think this is supported in 1.0. On Oct 13, 3:51 am, denismo <[EMAIL PROTECTED]> wrote: > Hi, > > I know there is a way to uninstall applications on emulator, using > ADB, but that is not available on the phone.  My application needs to > provide a way to uninstall itself, initiated

[android-developers] Re: How switch or bring an activities to top?

2008-10-13 Thread hackbod
Sorry, activities in an app are in a stack. On Oct 13, 4:54 am, Wesley Sagittarius <[EMAIL PROTECTED]> wrote: > Hi > let say i start an activities A then follow by activities B. So B sure > is at front or on top of A. Now can i bring A to run at front or on > top of B? Any one have any idea? > >

[android-developers] ThreadSafe HTTP Connection

2008-10-13 Thread Rishi
Is there something in android that can be used for thread safe http requests? As I understand ThreadSafeClientConnManager, which is used in apache http client for this purpose, is NOT part of Android SDK. Is there something else in android instead? Thanks, Rishi --~--~-~--~~---

[android-developers] Hiring Developer... Have Some Free Time?

2008-10-13 Thread phandroid
I'm interested in hiring a developer to put together an application. Based on concept alone, it should be relatively simple. That being said, I'm not exactly sure how long it would take. Depending on the size of the project, I'd love to work on part-cash part-equity payment terms, but I'm flexible

[android-developers] Re: Issue with Calendar APIs

2008-10-13 Thread Mark Murphy
vworld4u wrote: > I am facing an issue with Android's Calendar API. When I get a > Calendar instance with Calendar.getInstance(TimeZone) method with a > Timezone other than the default time zone of the emulator/device, the > returned calendar still has the default timezone. For example, my > defau

[android-developers] R.layout.dialog_activity cannot be resolved

2008-10-13 Thread mushimi
Hi, I follow sample "Dialog Activity" and have one error as this message's title. Can someone help me to have a look? My dialog_activity.java, main.xml and R.java as below: My dialog_activity.java: package com.iqq.adc.dialog_activity; import android.app.Activity; import android.os.Bundle; impor

[android-developers] Compile error v.1

2008-10-13 Thread absulation
Error generating final archive: Debug certificate expired on 13/10/2495, 11:32 น.! is in windows delete debug.keystore --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

[android-developers] help !!!! the problem for can't start the emulator

2008-10-13 Thread sky
HI ,all i can't the emulator with the error msg :"NAND: could not write file D:\ProgramFiles\android-sdk-windows-1.0_r1\tools/lib/images/ \system.img, No space left on device". i have searh it with google .but any used msg is found . who know this problem ? if someone know the method to sol

[android-developers] Issue with Calendar APIs

2008-10-13 Thread vworld4u
Hi all, I am facing an issue with Android's Calendar API. When I get a Calendar instance with Calendar.getInstance(TimeZone) method with a Timezone other than the default time zone of the emulator/device, the returned calendar still has the default timezone. For example, my default timezone of In

[android-developers] Re: Intent's Extra transfer

2008-10-13 Thread hackbod
The size limit is: keep it as small as possible. Definitely don't put a bitmap in there unless it is no larger than an icon (32x32 or whatever). Regardless of the size limit, having a lot of data in there is going to have a pretty big performance impact, since it needs to first go to the activit

[android-developers] Re: AliasActivity: Two Questions

2008-10-13 Thread hackbod
You may need to give more information on what you are doing. If the flicker you are seeing is happening when you launch your app from the home screen, this is not atually your app but a preview of it based on its theme and such in the manifest. If you can't make this match what will ultimately r

[android-developers] Re: Intent's Extra transfer

2008-10-13 Thread Jake Maui
Here's a site that discusses the pass by value thing ... http://code.google.com/android/reference/aidl.html#parcelable I don't know what the upper limit is but when I was passing bitmaps in a bundle, I could pass a ~250K bitmap. It was a tremendous performance hit though. On Mon, Oct 13, 200

[android-developers] save file with byte[] argument

2008-10-13 Thread dai
Hi, could you anybody know how to save data using FileoutputStream like below with byte[] argument? Upon standard java platform, I could save data as zip using FileOutputStream with byte[] argument however on Android platform, the method does not have wirte(byte[]) but it does have write(byte[]).

[android-developers] nullPointer/thread error when reading contacts

2008-10-13 Thread vallis
Hi all, I've been trying to read the contacts list so that I can compare phone numbers in it against the number on an incomming SMS message. I've been getting an error that I just can't fix. The method is: public String checkContacts(String telNo) { String[] projection = new String[]

[android-developers] UUID.randomUUID().toString() always give the same uuid?

2008-10-13 Thread zl25drexel
I am using UUID().randomUUID() to generate an unique key, but on the emulator it always give the same id.. Can someone confirm this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

[android-developers] Web-view is not loading external URLs

2008-10-13 Thread Tahir Akhtar
I am just starting with Android. I was trying following example but with external URLs: http://android-developers.blogspot.com/2008/09/using-webviews.html The example shows how to load an HTML file from assets folder (file:// url) and display it in a webview. But when I try it with external UR

[android-developers] Re: AuthenticationException when accessing Google Spreadsheets

2008-10-13 Thread androidian
Great stuff Mark, thank you very much. As a first step I'll try recompiling the gdata stuff and see what happens. cheers, Ian On Oct 13, 10:14 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > androidian wrote: > > I imported gdata-core-1.0.jar and gdata-spreadsheet-1.0.jar into my > > project and th

[android-developers] Is Theme.Light supported in 1.0?

2008-10-13 Thread qvark
Hi all, our application is based on a custom style that inherits from the Theme.Light theme. >From 0.9 version some colors don't look right (the list background is white instead of transparent, the font in the submenus has the same color than the background, etc) Is Theme.Light supported in 1.0

[android-developers] Re: AuthenticationException when accessing Google Spreadsheets

2008-10-13 Thread Mark Murphy
androidian wrote: > I imported gdata-core-1.0.jar and gdata-spreadsheet-1.0.jar into my > project and the SpreadsheetService class comes from the latter. The > HTTP requests must be being done in the setUserCredentials method (all > inside those two jars). Perhaps one of those jars is not compat

[android-developers] Re: Doubt in Notepad Application

2008-10-13 Thread Peli
> 1. What is the exact purpose of Intent class? Here's a good overview: http://code.google.com/android/reference/android/content/Intent.html There's a good discussion on intents and notepad here: http://groups.google.com/group/android-beginners/browse_frm/thread/31e6ecd386b29cbe > 2. Why do we

[android-developers] Re: AuthenticationException when accessing Google Spreadsheets

2008-10-13 Thread androidian
Hi Mark, thanks very much for your reply. I imported gdata-core-1.0.jar and gdata-spreadsheet-1.0.jar into my project and the SpreadsheetService class comes from the latter. The HTTP requests must be being done in the setUserCredentials method (all inside those two jars). Perhaps one of those j

[android-developers] Re: AliasActivity: Two Questions

2008-10-13 Thread Anm
Hmmm.. I tested it again and the startActivity()/finish() seems to be working now. It may have been an issue with an exception that was thrown in the child activity during initialization. I would launch the app, briefly see the entry-point activity, get a first draw of the child, and then a erro

[android-developers] Re: Intent's Extra transfer

2008-10-13 Thread Peli
Also, intent extras could be passed between different applications, living in separate processes, in which case there is no way to transfer them by reference. But I'd be also interested in the question if there exists a hard limit on intent extras size. Peli www.openintents.org On Oct 13, 1:46 

[android-developers] Re: ListView Issue in Notepad Application

2008-10-13 Thread Peli
The answer is in the last post here: http://groups.google.com/group/android-beginners/browse_thread/thread/affc088e8843feb5 Since there can be several emulators open at a time, you also have to open the "devices" list, and click on your emulator to activate the logcat output. Peli On Oct 13, 10

[android-developers] Re: Capturing outgoing SMS?

2008-10-13 Thread e
yes..plz tell me On Oct 13, 1:53 pm, denismo <[EMAIL PROTECTED]> wrote: > I know it is possible to get an incoming SMS, using intent > android.provider.Telephony.SMS_RECEIVED. > > On SDK 1.0_r1, is it possible to capture an outgoing SMS (text, phone > number)? > > Thanks. > > Denis --~--~

[android-developers] get sms from inbox

2008-10-13 Thread e
hi everyone, plz help me out... how to get sms from inbox and how to delete it.. could u plz help me out --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send emai

[android-developers] Doubt in Notepad Application

2008-10-13 Thread JavaAndroid
Hi All, I m a neebie with Android. Jus went through the Notepad application. I have several of doubts regarding the application. 1. What is the exact purpose of Intent class? 2. Why do we pass this Intent object to startActivityForResult(i, ACTIVITY_CREATE); method. 3. What happens at the end of s

[android-developers] How switch or bring an activities to top?

2008-10-13 Thread Wesley Sagittarius
Hi let say i start an activities A then follow by activities B. So B sure is at front or on top of A. Now can i bring A to run at front or on top of B? Any one have any idea? Wesley --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

[android-developers] Re: Intent's Extra transfer

2008-10-13 Thread Jake Maui
I believe I read somewhere that it's passed by value. This makes sense because I tried to pass a bitmap and it was extremely slow and there seemed to be a size limit beyond which, it would not work. If I come across the site that discussed that it was by value, I'll post it. On Mon, Oct 13, 200

[android-developers] Re: AuthenticationException when accessing Google Spreadsheets

2008-10-13 Thread Mark Murphy
androidian wrote: > By the way, I'm running android NOT from behind a proxy ( I have > direct internet access). Also, the built in browser works fine, so > it's definitely something with my app which is at fault. > > Anyone got any ideas on this one? Can you post your manifest? >> This is just

[android-developers] Uninstall packages API

2008-10-13 Thread denismo
Hi, I know there is a way to uninstall applications on emulator, using ADB, but that is not available on the phone. My application needs to provide a way to uninstall itself, initiated automatically or by user's request through UI, with user's permission of course - it doesn't need to be uncontr

[android-developers] Re: Prevent uninstall of application in Android

2008-10-13 Thread denismo
Hi, I like this idea. I have similar situation as Brad, corporate requirement, and such a solution would fit nicely with application. IT can install it and maintain its lifetime, checking regularly that people don't do hard reset or do any other thing of that kind. This is possible on other plat

[android-developers] Announcement: yet another Android GUI prototyping tool

2008-10-13 Thread AlexK
Hi, Today I found one more GUI prototyping tools for Android, and I found it more promising and professional in compare to DroidDraw. Android GUI Prototyping Stencil for Microsoft Visio: http://www.artfulbits.com/Android/Stencil.aspx For downloading required registration... I'm now playing with

[android-developers] Re: Junit BasicHttpParam Exception

2008-10-13 Thread Ludwig
The answer to your question can be found at http://code.google.com/android/kb/troubleshooting.html#addjunit Unfortunately, this is a bit unsatisfying. The way I understand this is that while you can get JUnit to run on your host machine with this, it will not have any access to any of the Android

[android-developers] Capturing outgoing SMS?

2008-10-13 Thread denismo
I know it is possible to get an incoming SMS, using intent android.provider.Telephony.SMS_RECEIVED. On SDK 1.0_r1, is it possible to capture an outgoing SMS (text, phone number)? Thanks. Denis --~--~-~--~~~---~--~~ You received this message because you are subscr

[android-developers] Intent's Extra transfer

2008-10-13 Thread Ernest
Hi, Anyone knows the way that Intent's extra transfer between different activities?I mean the extra is transfered by value or by reference.And is there a limit for the extra size?Thank you very much. Best Regards --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: ListView Issue in Notepad Application

2008-10-13 Thread JavaAndroid
Hi Peli, Thanks for ur Valuable response. I m not aware of this logcat tab in eclipse. Is that present in any Window?? Thanks JavaAndroid On Oct 13, 12:42 pm, Peli <[EMAIL PROTECTED]> wrote: > You have to use logcat to see the debugging statements. > > Either from Eclipse open the logcat tab an

[android-developers] Re: repackaging .apk

2008-10-13 Thread legerb
Great! Thanks :) Just what I needed. On Oct 12, 8:07 pm, hackbod <[EMAIL PROTECTED]> wrote: > An .apk is really just a zip file, so you can manipulate it with > standard tools.  Note that you will also need to re-sign any .apk you > generate. > > On Oct 12, 7:57 am, legerb <[EMAIL PROTECTED]> wro

[android-developers] Re: MediaRecorder question

2008-10-13 Thread Peli
Unfortunately, I think this is not possible. The closest would be to record to a file in pieces and read out from those files. The easiest would be to just start the built-in sound recorder: http://www.openintents.org/en/node/114 but of course this is an "offline" solution. Peli www.openintents

[android-developers] Re: ListView Issue in Notepad Application

2008-10-13 Thread Peli
You have to use logcat to see the debugging statements. Either from Eclipse open the logcat tab and choose the device from the devices list. Or in a shell enter "adb logcat". Peli www.openintents.org On Oct 13, 2:49 am, JavaAndroid <[EMAIL PROTECTED]> wrote: > Hi All, > I m a novice in Google A