[android-developers] Re: Does Google supply an interface?

2010-05-12 Thread EboMike
Can you elaborate? You're trying to prevent activity B from being accessed before the password check in activity A has been successful? I assume that activity B is any arbitrary activity? -Mike On May 12, 11:41 pm, gujian wrote: > Hello,everyone.Recently I'm doing an application (A) about passw

[android-developers] How to tell if phone lock screen is up?

2010-05-12 Thread tomei.ninge...@gmail.com
I want to do something kind of disruptive to the user experience :-) so I want to do it only when the phone is locked. Is there a way to tell this? Thanks -- 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: Any tools for analyzing API level compatibility in my Android code?

2010-05-12 Thread Zsolt Vasvari
Doesn't just compiling against the Level 4 libraries and see what kind of errors you are getting sufficient? On May 13, 1:12 pm, CliveW wrote: > I have developed an app for my customer at API level 5 (2.0) and > above, and set my minSDKVersion as 5. Now my customer would like to > know if it can

[android-developers] Does Google supply an interface?

2010-05-12 Thread gujian
Hello,everyone.Recently I'm doing an application (A) about password verification.I don't want to add some code to the protected application (B).That is , befor B's activity starts I want to switch to A'activity.Does Google supply that interface for developers? -- You received this message becaus

[android-developers] Re: Any tools for analyzing API level compatibility in my Android code?

2010-05-12 Thread EboMike
Why don't you simply compile your app against API 4? (It's a setting in the project properties). If you use any methods or classes that don't exist yet, you will get compile errors. Unless you're using reflection or hard-code flags, this should be a good enough test. SHOULD, just off the top of my

[android-developers] Re: How to detect orientation change in home screen widget?

2010-05-12 Thread Kamal Hasan
Hi , Did you get idea about the orientation change in widgets ? Kamal On Mar 16, 2:32 am, kknight wrote: > I am writing a home screenwidgetand want to update (modify) the home > screenwidgetwhen the deviceorientationchanges from portrait to > landscape or the other way. How can I make it? > > C

[android-developers] Re: Displaying the ProgressDialog from the OpenGL thread.

2010-05-12 Thread Lance Nanek
Create an android.os.Handler subclass on the UI thread and pass that to the renderer instead of a Runnable. It has methods for sending messages and handling them. The renderer would send a message. The subclass would handle it to show a dialog on the UI thread. On May 9, 6:25 am, Dmitriy Shilonoso

[android-developers] Re: Neighbouring Cell info - Clarification needed

2010-05-12 Thread Vinay S
Hi Kelly, How about the case, there are multiple operators using the same tower? Will I be able to get the info from them? Regards, vinay On May 12, 9:26 pm, Kelly wrote: > LAC (Local Area Code) is specific to area, like mine is 415 (San > Francisco). > The Cell ID is the ID of the cell tower.

[android-developers] Re: Getting and Sending Data From the Web (URLConnection via http)

2010-05-12 Thread Vinay S
Hi, Did you try sending the data back using the same HTTP connection? Try opening a new HTTP connection and send the data back.. This might give you some clue, is this the problem of HTTP.. Regards, Vinay On May 10, 10:27 pm, strog wrote: > Hi Guys, > I wanted to create a an android applicati

[android-developers] Re: Communicating between an app and a widget

2010-05-12 Thread James W
If you are talking about home screen AppWidgets, then yes it is possible. The place to get started is: http://developer.android.com/guide/topics/appwidgets/index.html Then have a look at some examples: http://www.helloandroid.com/tutorials/days-xmas-widget-tutorial http://nm-blog.sanid.com/2009

[android-developers] Any tools for analyzing API level compatibility in my Android code?

2010-05-12 Thread CliveW
I have developed an app for my customer at API level 5 (2.0) and above, and set my minSDKVersion as 5. Now my customer would like to know if it can be made backward compatible with API level 4 (1.6). I have a vague idea which areas might not immediately be compatible without doing some conditional

[android-developers] Re: Ensure GPS has fix before proceeding..

2010-05-12 Thread gjs
Hi, Compare the timestamp from getLastKnownLocation with clock timestamp, if greater than a few seconds ( maybe up to 15 seconds ) then display (post) a Toast message. This may not work well if clock is not auto synchronzed from network provider. Regards On May 12, 8:56 am, mcvetyty wrote: > H

[android-developers] Android 2.1 WebKit and applicationCache

2010-05-12 Thread hansamann
Hi all, I am trying to use the Android 2.1 WebKit applicationCache but I notice several differences to the iPhone 3/4(beta) implementation. Can anyone tell me what the current status is and if it is in a usable state? Here are my observations that I can share: - initial caching works, but inste

[android-developers] samsung app store

2010-05-12 Thread schwiz
I have been receiving some emails from someone claiming to be a rep for samsung and they are opening a new app store selling android apps. They have asked that I publish one of my apps they found on the android market on their store. Just wondering if anyone else has been getting emails like that

[android-developers] Re: Twitter app's popup aligned with ListView item - how did they do it?

2010-05-12 Thread Adam
Is there a way to get that same popup layout like they have on twitter or in the quick contacts popup? Do we just combine the top, middle, bottom image resources as backgrounds in some sort of layout, or is there a simpler way? On May 10, 5:16 pm, skink wrote: > Mark Murphy wrote: > > westmeadboy

[android-developers] nexus one auto shutdown after i make a call

2010-05-12 Thread Ryan, Nguyen
Hi all, My Nexus One always shutdown automatically when I finish a call (incoming/outcoming call). Anyone knows about this error. Please help me fix. Thanks a lot. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, sen

[android-developers] Re: Looking for advice into best way to store images within app

2010-05-12 Thread r...@thelogicbox
Jimmy In our case we handled the User Management of the photo's by creating a custom gallery view within our app. Hence no need for a content provider, but yes they are viewable by the stock gallery viewer (as effectively they're just JPG's in a folder on the SDcard like any others). Regards Rich

[android-developers] Re: OpenCore / Possible Issue w/ Streaming MP3 over HTTP?

2010-05-12 Thread rktb
Hi, I was actually able to see the content length in the http response. Here is a snippet from my log: PVLOG:TID(0xe9bf8):Time=830:HttpParsingBasicObject::parseResponse() file size = 5346201 But, yes, the auto-pause/auto-resume does indeed depend on whether or not the content length is present in

Re: [android-developers] Could not upload a new application

2010-05-12 Thread TreKing
On Wed, May 12, 2010 at 5:10 PM, AndyDev wrote: > It always says "The upgraded apk's package name (com.testini) must be the > same as the one it is replacing (null)." > Are you using Microsoft Internet Explorer? If so try Firefox. --

[android-developers] Re: Changing text color of a substring drawed in a text view.

2010-05-12 Thread ArgBat
Well, actually what i did is: Get the text "Hello this is a text in black color and (COLOR_RED_BEGIN)this is a text in red color. (COLOR_RED_END)" and replace the (COLOR_RED_BEGIN) by and the (COLOR_RED_END) by . Then call the text view setText like this: setText(Html.fromHtml(convertedString)).

[android-developers] Re: OpenCore / Possible Issue w/ Streaming MP3 over HTTP?

2010-05-12 Thread SDS
Hi Ravi, Thank you kindly for your responses. I've tried MP3 streams without ID3v2, but I should point out a difference that may or may not be significant in the context of this defect. The HTTP headers for the MP3 streams were without a Content- Length header. In terms of the initial observati

[android-developers] Re: OpenCore / Possible Issue w/ Streaming MP3 over HTTP?

2010-05-12 Thread rktb
One thing to try is to encode a clip without Id3v2, and see the behavior. That would reduce the probability of "insufficient data" by a bit. -Ravi On May 12, 5:02 pm, rktb wrote: > Hi, > > I was able to reproduce the problem, and it is definitely timing > dependent. For the eclair codebase, I fo

Re: [android-developers] Finishing Browser

2010-05-12 Thread TreKing
On Wed, May 12, 2010 at 2:50 PM, Serkan Ozel wrote: > is there a way to close the Browser and the user back to the application > programatically? > There's probably no way to do this. Once you open it the browser is a new, standalone app you have no control over. Why can't you use WebView? ---

[android-developers] Re: How can I know if OpenGl has drawn something?

2010-05-12 Thread Alfonso
Unreached limits, dear Robert. You were right, the problem was in the modelview matrix. Thanks you very much. On 11 mayo, 08:37, Robert Green wrote: > Hmm.. I'm sorry but this has reached the limit of what Iknowoff- > hand.  I'd have to get into debugging your code to be able to help > more. > >

[android-developers] Re: Contribute to Android

2010-05-12 Thread EboMike
I'm afraid this is the wrong mailing list. You may want to check out android-platform, that's where all the cool kids are who can help you getting repo and git to work. That said, you may want to re-read the instructions on source.android.com - typically, everything should work once you follow the

[android-developers] Re: Upgrading 2009 I/O device from Donut (1.6) to Eclair (2.0/2.1)?

2010-05-12 Thread Maps.Huge.Info (Maps API Guru)
I think you're out of luck for now. Hopefully, an update will be forthcoming however, it may be the device doesn't have enough memory or CPU to handle 2.1, perhaps 2.2 is skinnier and that one will be able to be ported to the MyTouch/ION. I have that device as well (got it at IO 2009). Since I have

[android-developers] Re: Android Browser debug question

2010-05-12 Thread Maps.Huge.Info (Maps API Guru)
What I would do first is try loading the page on a desktop with Firefox and Firebug to make sure you have no obvious errors. If it passes this test then try the next suggestion on your device. I believe JavaScript errors from the browser will still show up in the log. All you need is to dump your

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-05-12 Thread bera
My friend's address was wrong, the phone was returned by Fedex, Google does not respond to my mail, I am very very sad... On 5月11日, 下午6时11分, Mark Gjøl wrote: > Fed-ex came, and delivered. For some reason they had been trying to > deliver the phone to 21, 5B instead of 215B on the same road, > res

Re: [android-developers] Re: Auto-Process Email Attachments

2010-05-12 Thread Mark Murphy
seguetester wrote: >> So, how can I build the functionality to monitor all incoming mail and >> if I receive a message with a specifically named attachment that has >> the expected MIME type, automatically save the attachment so that my >> app can process it? That's not possible, for patently obvi

[android-developers] Re: Auto-Process Email Attachments

2010-05-12 Thread seguetester
To be a little more clear, I would actually like 1 of the following features: 1) Ideally, I would like every email scanned and the attachments automatically picked up when they arrive if the meet the name and MIME conditions 2) As a backup option, when reading an email I would like a menu item tha

Re: [android-developers] Redirect User to HomeScreen after Activity Finishes

2010-05-12 Thread Mark Murphy
robl2e wrote: > Hi, > I'm trying to implement similar behavior as the native phone app. > When a User is in the applications menu/drawer (place that lists all > applications) and receives and incoming call, after the call has ended > the User is returned to the Android Homescreen. That is not wh

[android-developers] Contribute to Android

2010-05-12 Thread rehab mohamed
hi i am trying to contribute some changes to the Android source tree i did all the steps to upload the code changes but when i typed the command “repo upload”, i am asking for the password and when i type it i get: Permission denied, please try again. i hope you have a solution for me Thanks in adv

[android-developers] Saving State of Media Player

2010-05-12 Thread Andrew
I wish to make an mp3 file play and loop. This works fine, but when people hit home or back, after it finishes playing, it stops. I do have setLooping(true). My other problem is that when I run the app again while the music is still playing, a new instance of the app is opened and it overlaps the m

[android-developers] Working on a Mobile or Embedded Device/System? Tell VDC about your experiences for a chance to WIN!

2010-05-12 Thread OnTargetEmbedded
VDC is conducting its annual survey of mobile and embedded engineers so if you are involved in the engineering of mobile or embedded systems/software, this is your chance to influence key solution suppliers. The research covers embedded software, hardware, tools, and development practices. Your th

[android-developers] Could not upload a new application

2010-05-12 Thread AndyDev
Hi, I have an application, and am trying to upload a new application from Developer console. It always says "The upgraded apk's package name (com.testini) must be the same as the one it is replacing (null)." I even tried created just a HelloWorld apk file, and still the same error. Can anyone s

[android-developers] Redirect User to HomeScreen after Activity Finishes

2010-05-12 Thread robl2e
Hi, I'm trying to implement similar behavior as the native phone app. When a User is in the applications menu/drawer (place that lists all applications) and receives and incoming call, after the call has ended the User is returned to the Android Homescreen. How do I redirect activity to the androi

[android-developers] Re: How to fix hit area after scaling

2010-05-12 Thread Jonathan
Just in case anybody else wants to accomplish this, all you have to do is override your child view's getHitRect method to account for your parent view's scale transformation. I'm not sure why the base view class doesn't do this automatically, but I'm sure there is a reason. On May 12, 2:03 pm, Jo

[android-developers] Re: Sqllite database join query

2010-05-12 Thread brucko
Have a look at the SQLite website. SQLite does have support for joining separate databases, but I am not sure how it is done. -- 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@googlegro

[android-developers] Contribute to Android

2010-05-12 Thread rehab mohamed
Hi all I am trying to contribute some changes to the Android source tree I did all steps but when i typed the command repo upload and typed the password i get the error message: Permission denied, please try again. any suggestions? Thanks in advance Rehab -- You received this message b

[android-developers] Re: Using same sqlite database from multiple Activities and Services

2010-05-12 Thread brucko
This all sounds like a local Service to me. Open the db in onBind if its not open. Let the service take care of how many Activities/ Services are bound and close the db in onUnbind. Easy, simple everything you need is already there. Or you can complicate things and reinvent singletons and countin

[android-developers] Re: method.getAnnotation( ) or method.isAnnotationPresent( ) not working

2010-05-12 Thread Nehal
Just wanted to add that I get false for following line even if I have annotation added. if (methodList[i].isAnnotationPresent(MethodInfo.class)) On May 12, 5:05 pm, Nehal wrote: > Hello, > I am trying to use annotation - method.getAnnotation( ) or > method.isAnnotationPresent( ) and it is not wor

[android-developers] method.getAnnotation( ) or method.isAnnotationPresent( ) not working

2010-05-12 Thread Nehal
Hello, I am trying to use annotation - method.getAnnotation( ) or method.isAnnotationPresent( ) and it is not working. I am using eclipse emulator for 2.1 OS version with JDK 1.6. Following is information about what I did. Please advise if I am doing something wrong. 1) Added annotation type publ

[android-developers] Re: OpenCore / Possible Issue w/ Streaming MP3 over HTTP?

2010-05-12 Thread rktb
Hi, I was able to reproduce the problem, and it is definitely timing dependent. For the eclair codebase, I found a problem in OpenCORE's mp3 parser node. That, however, has been fixed on the latest codebase available at kernel.org. Now, for applications that are being written for existing Android

[android-developers] Re: Android Browser debug question

2010-05-12 Thread ຄຳ
hi Thanks for answer > > How can I debug that? > > Turn on USB debugging on the phone, set it to allow external apps, plug it > in via USB, install the proper drivers, the run your app from Elipse - your > phone should be a target. Deploy it to your phone and debug as usual. I don't use Eclipse

[android-developers] new interpreter for Android

2010-05-12 Thread Andrei
I am writing pure Java interpreter for Android The language itself looks similar to JavaScript The goal is to be able to write majority of apps on the Market using scripts It is in Alpha stage The interpreter jar right now is 62 Kb If you are interested to see how it works, install apk from link be

[android-developers] Re: Hebrew Fonts on Android 2.1

2010-05-12 Thread HanWriting
Rooting isn't practical for many ordinary users. Google have to provide us an easy way to do this without rooting. - H漢W書ing (CJK+English Handwriting Recognition) On May 12, 4:08 pm, alexk-il wrote: > Hi Ilan, > > You may trying installing Hebrew fonts by yourself. > 1. You need to get root acc

[android-developers] Credential Permission Error with HTC Sense

2010-05-12 Thread polyclefsoftware
I've released an app that uses the new AccountManager API to handle authentication to Google App Engine as described in this thread: http://groups.google.com/group/android-developers/browse_thread/thread/be16e3903442931b/63f01206f719effd The first time the user attempts to log in, Android prompts

[android-developers] Re: Upgrading 2009 I/O device from Donut (1.6) to Eclair (2.0/2.1)?

2010-05-12 Thread tatlar
Hi John, Thanks for the information. I am aware of this, and have my Droid device already (thanks Google!). However, my 2009 I/O device is my main smartphone, and I wish to update the OS on it to Eclair. My comment about the 2010 conference app was just a minor sideline irritation. Best regards.

[android-developers] Re: accessing sqlite db

2010-05-12 Thread Christine
1. where you open and close depends on your app. You can keep the db open, and close and re-open in onResume and onPause, or you can open and close before and after you access the db. 3. just retrieve the data that you need in the getView of your list adapter, don't retrieve complete tables if you

[android-developers] Re: Finishing Browser

2010-05-12 Thread Serkan Ozel
Setting the FLAG_ACTIVITY_CLEAR_TOP flag didn't work, Gyan. I'm looking at other flags see if they work, an/or change the behavior of the back button. Back button does take me back to my application and ends the browser only if I have one page to show but the reality is that I do have few html pa

[android-developers] Re: how can i set up my Nexus one as external device to develop under Debian 5.0?

2010-05-12 Thread Christine
Did you update your rules.d file? dit you put in the right vendor code? The vendor code is different from the one for other HTC devices. On May 11, 1:33 pm, Luis Clemente Morera wrote: > Hello, > > I'm trying to set up my Nexus One under Debian 5.0 to use it as > testing device but I can't. I fol

[android-developers] Re: Finishing Browser

2010-05-12 Thread Serkan Ozel
Hello Kostya, Yes I tried the same thing, javascript to close the browser, I thought it would at least ask me if I want to close it - and that didn't work. On May 12, 3:58 pm, Kostya Vasilyev wrote: > 12.05.2010 23:50, Serkan Ozel ?:> I hopped that a button in the HTML > displayed would clo

[android-developers] Re: how can i set up my Nexus one as external device to develop under Debian 5.0?

2010-05-12 Thread Christine
Did you update your rules.d file? dit you put in the right vendor code? The vendor code is different from the one for other HTC devices. On May 11, 1:33 pm, Luis Clemente Morera wrote: > Hello, > > I'm trying to set up my Nexus One under Debian 5.0 to use it as > testing device but I can't. I fol

Re: [android-developers] auto stop of app when capture the picture with camera

2010-05-12 Thread TreKing
On Wed, May 12, 2010 at 2:52 PM, Wenjing wrote: > does anyone know why? Not based on what you posted - it could be any of 1,000 different things. And I doubt anyone's going to sift through that much unformatted code to find your answer for you. At the very least post the stack trace of the pro

[android-developers] Re: Any body have an idea???

2010-05-12 Thread Yahel
First, please don't hijack other posts and change their subject. As for your problem, it is probably very slow because of the size of the image you are using(ie a photo from the gallery (2-5mpx) ) Since you are on a mobile device with a limited screen, you could scale down the image to the display

[android-developers] Re: Hebrew Fonts on Android 2.1

2010-05-12 Thread alexk-il
Hi Ilan, You may trying installing Hebrew fonts by yourself. 1. You need to get root access on your phone 2. Install Hebrew fonts Should be easy to find relevant instructions on Google search. Good luck Alex On May 10, 10:36 am, Lanpazi wrote: > I love my new HTC Incredible, but it is frustr

Re: [android-developers] How to communicate from Javascript back to an app?

2010-05-12 Thread James Moore
On Wed, May 12, 2010 at 11:54 AM, Mark Murphy wrote: >> But what's the right way to get data from Javascript back to the >> application?  It's simple to have javascript call app methods, but any >> parameters specified in the call on the javascript side don't survive >> the trip (I just get null i

[android-developers] Slow connection with Java NIO

2010-05-12 Thread Kostya Vasilyev
Hi, I am experiencing slowness connecting to a Java NIO server running in my Android app. The server code is fairly boilerplate: - Create a listening server socket like this: ServerSocketChannel channel = ServerSocketChannel.open(); channel.configureBlocking(false); ServerSocket soc

Re: [android-developers] ImageView selection in Custom ListView?

2010-05-12 Thread social hub
ImageView myImage = findViewById(r.id.image) myimage.setOnClickListener() setOnClickListener is what you need On Wed, May 12, 2010 at 2:20 AM, Narendar wrote: > Hi, > I have developed a Custom ListView with following pattern > > Name |-| > Age | My Tiny Ima

Re: [android-developers] Finishing Browser

2010-05-12 Thread Gyan
I think back button would work depends on how you launch the intent. must be part of the current task... FLAG_ACTIVITY_CLEAR_TOP would do the trick I hope... If not, check on other flags, I'm not sure about the flag - but I'm pretty sure you can make use of back button to come back to ur app f

Re: [android-developers] Finishing Browser

2010-05-12 Thread Kostya Vasilyev
12.05.2010 23:50, Serkan Ozel ?: I hopped that a button in the HTML displayed would close the browser but it seems like the Android seems to ignore that. You mean you've tried something like: |Close this Window | -- Kostya Vasilyev ~ WiFi Manager + pretty widget ~ http://kmansoft.word

[android-developers] auto stop of app when capture the picture with camera

2010-05-12 Thread Wenjing
Dear everyone: I am facing a problem; when I try to save the picture, the app will auto stop. but it does not happen everytime. does anyone know why? Thank you so much. next is the sourcecode /** * Copyright (c) 2007, Google Inc. * * Licensed under the Apache License, Version 2.0 (the "Licen

[android-developers] How to determine current screen brightness?

2010-05-12 Thread Markus
I try to find a way to determine the current screen brightness. Currently I use Settings.System.getInt(getContentResolver(), Settings.System.SCREEN_BRIGHTNESS) but unfortunately the result is not accurate when the phone is set to automatic brightness. Thanks, Markus -- You received this message

[android-developers] Finishing Browser

2010-05-12 Thread Serkan Ozel
Hello Guys, I need to launch the Browser from my application (cannot do the WebView - it has to be browser), and once I'm done with the browser, is there a way to close the Browser and the user back to the application programatically? The problem is that user will probably press back or home keys

[android-developers] JetPlayer help

2010-05-12 Thread Justin
I've just started looking at JetPlayer and have (I think) created the appropriate files needed in JetCreator (*.zip and *.jet files). When I test an implementation out, I get the following error in the logcat: E/JET_JNI ( 1869): android_media_JetPlayer_queueSegment(): failed with EAS error code -

Re: [android-developers] Re: Gallery elasticity at the ends

2010-05-12 Thread Gyan
Hey Nik... I got what you are trying to implement. If I'm not wrong its called inertial scrolling. You can see google scoreboard app in the market which has this already not exactly though. When that app came out first I tried implementing the feel through layout animation. The pag

[android-developers] Re: Gallery elasticity at the ends

2010-05-12 Thread Nik Bhattacharya
I don't think I understand your suggestion Gyan. I think you are guiding me towards a Layout Animation which is not really what my requirement is. I am trying to signal to the user that they have reached the end of the gallery via the fact that they try to drag past the first or last item and ins

Re: [android-developers] Re: How to get selected items in a ListView (multi selection check boxes)? - URGENT PLZ

2010-05-12 Thread Gyan
Have experienced this myself. implement a ListAdapter for the same and handle ur items from there... Additionally u can use onDataSetChanged to check for the multiple check and uncheck options.i mean to say you can actually debug this at this overridden method! Gyan -- You received

Re: [android-developers] Re: Getting contact photos from Facebook only contacts

2010-05-12 Thread Gyan
Not sure if google exposes this... but you can very well use ur facebook account and implement this urself and expose the name/photo/other data as a content and use it... wont be any different; just that you will be using your own sqlite DB for this and entropy will be less as its the contact book

Re: [android-developers] Android Browser debug question

2010-05-12 Thread TreKing
2010/5/12 ຄຳ > How can I debug that? Turn on USB debugging on the phone, set it to allow external apps, plug it in via USB, install the proper drivers, the run your app from Elipse - your phone should be a target. Deploy it to your phone and debug as usual.

[android-developers] Re: Getting contact photos from Facebook only contacts

2010-05-12 Thread Nik Bhattacharya
I can't find the thread, but I read somewhere that the Facebook photos and info are only available to Google apps and are not exposed via the SDK. Can anybody from Google comment on this? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] Re: How to get selected items in a ListView (multi selection check boxes)? - URGENT PLZ

2010-05-12 Thread dillipk
I do not get correct selected items... One more thing, being on the screen, when I select one item and then deselect, it still gives me that the item as selected... On May 11, 5:34 pm, TreKing wrote: > On Mon, May 10, 2010 at 5:34 PM, dillipk wrote: > > The following code doesn't work correc

Re: [android-developers] How to communicate from Javascript back to an app?

2010-05-12 Thread Mark Murphy
James Moore wrote: > I'm loading up a webview with some locally generated html and > javascript. It makes calls to app methods just fine. > > But what's the right way to get data from Javascript back to the > application? It's simple to have javascript call app methods, but any > parameters spec

[android-developers] How to communicate from Javascript back to an app?

2010-05-12 Thread James Moore
I'm loading up a webview with some locally generated html and javascript. It makes calls to app methods just fine. But what's the right way to get data from Javascript back to the application? It's simple to have javascript call app methods, but any parameters specified in the call on the javasc

Re: [android-developers] Get URL from Android Browser

2010-05-12 Thread TreKing
On Wed, May 12, 2010 at 2:26 AM, Narendar Singh Saini < narendardisco...@gmail.com> wrote: > Call your browser activity with startActivityForResult() method for getting > back results Um ... unless the browser is programmed to put it's current URL in a result and send it back, this isn't going t

[android-developers] Re: Is SPP supported by Android BT API?

2010-05-12 Thread DonFrench
Yes, SPP is supported. In the BluetoothChat example, change to the UUID to 1101--1000-8000-00805F9B34FB and it communicates with devices using SPP. On May 10, 6:57 am, Pobudzio wrote: > Hello, > > I'm a little bit confused about supporting SPP by Android API(from > level 5). > > As I und

[android-developers] Re: (Bug?) Back button triggers several times in different tasks

2010-05-12 Thread Streets Of Boston
Read this on the blog of developer.android.com: http://android-developers.blogspot.com/2009/12/back-and-other-hard-keys-three-stories.html It'll tell you how to custom-handle back-key presses (and such) on 1.6 and have them compatible with 1.5 and earlier as well. On May 5, 11:48 am, inbrain w

Re: [android-developers] how can I get the complete android documentation?

2010-05-12 Thread Xavier Ducrohet
You can also download the SDK and install the docs component to have an offline version. It's the same as the online version minus the download pages I think. Xav On Wed, May 12, 2010 at 10:25 AM, Mark Murphy wrote: > Psyhclo wrote: >> Hi, I am Graduating in Computing Science, and my final proje

[android-developers] accessing sqlite db

2010-05-12 Thread EboMike
Leigh, you can't just hijack an existing discussion thread and post a completely unrelated question. Please open a new thread with your question. On May 12, 11:04 am, Leigh McRae wrote: > Hello, > > I am having a problem with what some of the triangles in my static > meshes not being drawn.  The

[android-developers] How to access/call IBinder interface from ASE?

2010-05-12 Thread Saravanan Bala
I’m in the process of developing Lua/Python based Test harness automation test suite for testing IBinder based message interaction. How to achieve this? Is there any Lua/Python or any scripting sample or examples provided? Any help or pointers would be appreciated. Regards Saravanan -- Yo

[android-developers] Auto-Process Email Attachments

2010-05-12 Thread seguetester
I have an Android app that I am working on that needs to get regular data updates. However, the only way that I will ever be able to receive the data is via csv files arriving as email attachments. I wish that I could use a web service or something else more reliable; however, this is the constra

[android-developers] Re: Complete Newbie - Looking for some help :)

2010-05-12 Thread kamiseq
read this http://developer.android.com/guide/topics/fundamentals.html hello and notepad tutorial http://developer.android.com/resources/samples/index.html -- 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] OpenGL drops triangles

2010-05-12 Thread Leigh McRae
Hello, I am having a problem with what some of the triangles in my static meshes not being drawn. The static meshes are created once and never touched again. The class and all the data are marked final. The triangles disappear based on view point. The code all works on the BlackBerry and

[android-developers] Re: How to fix hit area after scaling

2010-05-12 Thread Jonathan
Right, thats what I am trying to figure out how to do. I currently don't know how to separate a hit area from an actual view. It would make sense to me if there was some function needed to be called that would then figure out the new bounds of the views and change their hit areas appropriately. I

[android-developers] Re: How to create uses-library

2010-05-12 Thread wurp
On May 11, 1:44 am, Vinay S wrote: > Hi Karteek, > > As Mr. Mark Murphy has suggested create a new project for your > reusable set of code. > > Export the same as Jar and include where ever you need them. > > Regards, > Vinay I prefer instead something I saw recommended earlier on this list: Crea

[android-developers] Re: Android 2.1 & MS SQL Server

2010-05-12 Thread Brion Emde
Many people have asked the very same question that you're asking. Did you try searching for SQL Server in the Search box? It works and there are answers here about the very thing that you are asking. This very same question was asked just last week. On May 10, 10:07 am, Mark wrote: > Hello every

Re: [android-developers] how can i set up my Nexus one as external device to develop under Debian 5.0?

2010-05-12 Thread TreKing
On Tue, May 11, 2010 at 6:33 AM, Luis Clemente Morera < luisclementemor...@gmail.com> wrote: > Can you help me? Can you explain what "it doesn't work" means? - TreKing - Chicago transit tracking app

Re: [android-developers] Questions about is_restricted.

2010-05-12 Thread Dmitri Plotnikov
Hi Nthalk, Restricted contacts are created by the Facebook sync adapter. These contacts are accessible to a whitelist of applications, which is specified and enforced by Facebook. The restricted contact API is private and I haven't heard of any plans to open it up, which means that nobody (with

[android-developers] Re: accessing sqlite db

2010-05-12 Thread kamiseq
blup On 9 Maj, 16:22, kamiseq wrote: > hi, > Im starting with android and have few questions about database access. > > 1. Every tutorial I ve read (ie Notepad) that uses sqlite creates and > opens connection via SQLiteOpenHelper in onCreate callback. but I > really have never seen that the conne

[android-developers] OpenCore / Possible Issue w/ Streaming MP3 over HTTP?

2010-05-12 Thread SDS
I’m experiencing an intermittent and very frustrating issue with MediaPlayer on Android when streaming MP3 over HTTP. I’ve done as much research and debugging as I possibly can to try and find a solution, but am coming up short. I can’t find reference to this issue anywhere, including b.android.c

[android-developers] Synchronous Display Calls

2010-05-12 Thread karthik r
Hi, I'm new to android development. I'm developing an graphics application and want to see the performance. I have a few questions in this regard - 1) Is invalidate() called on a View after regular intervals by the system itself? I mean does the display get updated on its own? Or are we explicitl

[android-developers] How to delete a SMS before being sent

2010-05-12 Thread blackbitshi...@googlemail.com
Hi! I want to integrate a SMS application in android into the OS so that sends them through data connections (HTTP) instead of the standard GSM, but without remaking all the client stuff. I need to stop from being sent the SMS messages. ¿ How do I do it ? Thanks in advance, Ricardo -- You rece

[android-developers] Re: APKTool - decoding our apps

2010-05-12 Thread wurp
On May 11, 11:00 am, Nathan wrote: > I don't know, but I find the summary of it interesting. . > > > Baloney. Reengineering itself is an illegal use. There is no GOOD > purpose it should be used for. It is a piracy tool pure and simple. > > Nathan I disagree. Reverse engineering could let me im

[android-developers] Re: Getting contact photos from Facebook only contacts

2010-05-12 Thread TAKEphONE
Hi, Facing the same problem. What do you see in the debug log ? On Apr 14, 9:57 pm, RogerL wrote: > The standard way of getting contact photos/uris from > ContactsContracts.Contacts.CONTENT_URI does not work for any photo > that is not of GOOGLE descent! meaning, if the contact does not have a

Re: [android-developers] how get notified for Date changed in android

2010-05-12 Thread Mark Murphy
V S Balaji wrote: > Do any have idea about how do i get notification when the day changes > from 23:59:50 to 00 . Use AlarmManager and schedule an alarm for midnight. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter

Re: [android-developers] how can I get the complete android documentation?

2010-05-12 Thread Mark Murphy
Psyhclo wrote: > Hi, I am Graduating in Computing Science, and my final project is a > complete research in Android's Platform, with a development of an > application. I would like to know how can I get the complete > documentation, beacause my research is very thorough, and I relly on > books and

Re: [android-developers] Re: (Bug?) Back button triggers several times in different tasks

2010-05-12 Thread Mark Murphy
顾健 wrote: > Android v1.6 hasn't the method of onKeyDown() and onBackPressed() . onKeyDown() has existed for over two years, the same length of time as the onKeyUp() that your re presently using. onKeyDown() exists in Android 1.6. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://git

[android-developers] Re: How to activate Droid received from Google w/ my own number

2010-05-12 Thread EboMike
Haha... I went through the same process, and it took the Verizon guys over an hour to figure it out! They need to give you a phone number for the Verizon employee number services (you need a number based on which part of the US you're in). Basically, the phone number you have is the kind that Veri

[android-developers] how can I get the complete android documentation?

2010-05-12 Thread Psyhclo
Hi, I am Graduating in Computing Science, and my final project is a complete research in Android's Platform, with a development of an application. I would like to know how can I get the complete documentation, beacause my research is very thorough, and I relly on books and documentation. The curren

[android-developers] how get notified for Date changed in android

2010-05-12 Thread V S Balaji
Do any have idea about how do i get notification when the day changes from 23:59:50 to 00 . There in intent broad casted as DATE_CHANGED by android but this intent is to get notified only if the date is changed by user it seems. I have basically have my function to run on the event. -- You re

  1   2   3   >