[android-developers] How to update the Android SDK and AVD Manager on Eclipse?

2012-02-29 Thread Terry
When I try to update all installed packages - or see Available packages, I get the following error message: Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list.xml, reason: File not found Any suggestions on how to fix this problem? Regards, Terry -- You received this

Re: [android-developers] onActivityResult never invoked under tab activity

2012-02-29 Thread MOHANAKRISHNAN
main.xml file: http://schemas.android.com/apk/res/android” android:orientation=”vertical” android:layout_width=”fill_parent” android:layout_height=”fill_parent” > 2. Add the following statements in bold to Activity2.java: package net.learn2develop.Activities; import android.app.Activity; impor

Re: [android-developers] onActivityResult never invoked under tab activity

2012-02-29 Thread vani reddy
no On Thu, Mar 1, 2012 at 1:19 PM, MOHANAKRISHNAN wrote: > is it working now? > > > On Thu, Mar 1, 2012 at 1:17 PM, vani reddy > wrote: > > yes i have given the request code > > > > On Thu, Mar 1, 2012 at 1:13 PM, MOHANAKRISHNAN > wrote: > >> > >> import android.app.Activity; > >> import andro

Re: [android-developers] Re: View height changes when image set as background by 1.25 times of the image height

2012-02-29 Thread MOHANAKRISHNAN
hi do this , first drag a txtview , then in properties go background and select icon from drawable. then remove txt from the text view On Thu, Mar 1, 2012 at 12:21 PM, moktarul anam wrote: > Reddy, > hmm... do this way.. > in textview setbackground .. one xml file .. that file will be in drawable

Re: [android-developers] onActivityResult never invoked under tab activity

2012-02-29 Thread MOHANAKRISHNAN
is it working now? On Thu, Mar 1, 2012 at 1:17 PM, vani reddy wrote: > yes i have given the request code > > On Thu, Mar 1, 2012 at 1:13 PM, MOHANAKRISHNAN wrote: >> >> import android.app.Activity; >> import android.os.Bundle; >> import android.util.Log; >> import android.view.Window; >> import

Re: [android-developers] onActivityResult never invoked under tab activity

2012-02-29 Thread vani reddy
yes i have given the request code On Thu, Mar 1, 2012 at 1:13 PM, MOHANAKRISHNAN wrote: > import android.app.Activity; > import android.os.Bundle; > import android.util.Log; > import android.view.Window; > import android.view.KeyEvent; > import android.widget.Toast; > import android.content.Inte

Re: [android-developers] onActivityResult never invoked under tab activity

2012-02-29 Thread MOHANAKRISHNAN
import android.app.Activity; import android.os.Bundle; import android.util.Log; import android.view.Window; import android.view.KeyEvent; import android.widget.Toast; import android.content.Intent; public class MainActivity extends Activity { String tag = “Events”; int request_Code = 1; /** Called

[android-developers] Re: sip demo

2012-02-29 Thread Jagruti Sangani
Hello, I am using sip demo its work perfectly in Emulator but its not work in mobile.That means in mobile application will load but user registation not occure.There is internet is on in mobile although the reigistarion is not done?So what can i do for that plz reply me on jagruti.sang...@inextrix

[android-developers]

2012-02-29 Thread moutaz al-azab
Hi Everyone, I am trying to install Android online banking application in the Emulator. unfortunately I couldn't find any apps, can anyone help to find online applications? 2-Also How can I install application from the Android market in the Emulator. Is it possible to install application from the

Re: [android-developers] onActivityResult never invoked under tab activity

2012-02-29 Thread MOHANAKRISHNAN
did u gave the request code? On Thu, Mar 1, 2012 at 12:25 PM, vani reddy wrote: > Hi friends,, > In my tabactiviy i am doing a startActivityForResult from ActivityA which is > under activity group to a new class ActivityB which is not under > Tabactivity, > From ActivityB when i do setResult(RES

Re: [android-developers] switching between api level targets in eclipse (solved)

2012-02-29 Thread Ray Tayek
At 06:56 PM 2/29/2012, you wrote: At 06:03 PM 2/29/2012, you wrote: On Wed, Feb 29, 2012 at 7:05 PM, Ray Tayek <rta...@ca.rr.com> wrote: sorry, my bad. it is uses the 2.3.3 avd even though the 4.0.3 target is checked in eclipse. so it seems to be stuck using the 2.3.3 t

[android-developers] onActivityResult never invoked under tab activity

2012-02-29 Thread vani reddy
Hi friends,, In my tabactiviy i am doing a startActivityForResult from ActivityA which is under activity group to a new class ActivityB which is not under Tabactivity, >From ActivityB when i do setResult(RESULT_OK,intent); finish(); onActivityResult is never invoked in ActivityA. It is not working.

[android-developers] Re: View height changes when image set as background by 1.25 times of the image height

2012-02-29 Thread moktarul anam
Reddy, hmm... do this way.. in textview setbackground .. one xml file .. that file will be in drawable file and there u set background. Basically u add set background drawable xml Moktarul On Wednesday, 29 February 2012 17:21:40 UTC+5:30, Reddy wrote: > > Hi Moktarul, > > Still i am fac

[android-developers] Re: Can you give me the answer...about 'Unable to stop activity'...

2012-02-29 Thread moktarul anam
Hi This issue is coming because of media player if ur see 02-29 21:19:31.765: E/AndroidRuntime(5374): Caused by: *java.lang.**IllegalStateException* 02-29 21:19:31.765: E/AndroidRuntime(5374): at *android.media.MediaPlayer*._stop(Native Method) 02-29 21:19:31.765: E/AndroidRuntim

[android-developers] Re: Re : DOMParser

2012-02-29 Thread moktarul anam
Hi i.putExtra(name,name); this will me i.putExtra("name",name); Enjoy Moktarul anam On Thursday, 1 March 2012 10:08:17 UTC+5:30, vivek elangovan wrote: > > Hi members, > Using DOMParser i m able to retrieve XML data from my > database.Now i need to pass the "name"

[android-developers] Re: Android widget: dinamically list from own combiled string (as template)

2012-02-29 Thread moktarul anam
hi Stan, its not clear... can u send me ur sample template ir images ? or can u clearly explain Moktarul On Wednesday, 29 February 2012 18:10:03 UTC+5:30, Stan Prihodko wrote: > > HI, > > I'm now develop my first widget (not application) and I want to generate > dynamically strings, there e

[android-developers] Sip Demo run problem on samsung galaxy Y 2.3.6

2012-02-29 Thread Jagruti Sangani
Hello, I am using the SIP demo example from the link "developer.android.com/ resources/samples/SipDemo/index.html".It is work perfectly on emulator but when i plugin the samsung galaxy Y 2.3.6 with pc and try to run on mobile then user not registered in that and also the manager is come as null.In

Re: [android-developers] Re: How to send DTMF?

2012-02-29 Thread Jagruti Sangani
Thanks but it is now working, no need to use this class.just i need to dtmf coed like for * 10 and for # 11. On Wed, Feb 29, 2012 at 8:34 PM, santhosh b wrote: > Hi, > > use below int Constants ToneGenerator class in android api > > TONE_DTMF_P

Re: [android-developers] Re: Mute button in call

2012-02-29 Thread Jagruti Sangani
Ok, now you had mute the call and whenever you want to comeback from mute that means not mute at that time you do just reverse process of this.That means first check is it mute if yes then make mAudioManager. > > setMicrophoneMute(false); I have not tried but it might be working. On Wed, Feb 29

[android-developers] How to "flick" using monkeryrunner? not just "drag".

2012-02-29 Thread mQdg
I am trying to automatically scroll the browser by "flicking". So far, I can do scrolling by using "drag" event. I appreciate if you can give me hints to accomplish this. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group

[android-developers] Application Licensing for 7 days trial period in Android

2012-02-29 Thread Prince Kumar
Where i have to change in the Server Managed Policy class so that it works only for 7 days trial and after that user have to buy the app from android market place? Thanks & Regards, Prince -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] Re : DOMParser

2012-02-29 Thread vivek elangovan
Hi members, Using DOMParser i m able to retrieve XML data from my database.Now i need to pass the "name" which i retrieved to other class using intenet,but i m not able to read it here is my code : void parseByDOM(String response) throws ParserConfigurationException, SAXEx

Re: [android-developers] switching between api level targets in eclipse

2012-02-29 Thread TreKing
On Wed, Feb 29, 2012 at 8:56 PM, Ray Tayek wrote: > how do i tell eclipse to use the 4.0.3 one? The Debug tool bar icon has a dropdown, at the bottom is an entry for "Debug Configurations". Open that, select your application, the select the Target tab, and change "Automatic" to "Manual". Or, l

Re: [android-developers] Can you give me the answer...about 'Unable to stop activity'...

2012-02-29 Thread TreKing
On Wed, Feb 29, 2012 at 6:38 AM, Jae-young Yun wrote: > i don't know why this happen,,, > Step 1, read your stack track "Cause by" line. > 02-29 21:19:31.765: E/AndroidRuntime(5374): Caused by: > java.lang.IllegalStateException > 02-29 21:19:31.765: E/AndroidRuntime(5374): at > android.med

Re: [android-developers] Android widget: dinamically list from own combiled string (as template)

2012-02-29 Thread TreKing
On Wed, Feb 29, 2012 at 6:40 AM, Stan Prihodko wrote: > Could you please explain how do correct my idea? Your idea is not very clear. You should try to clarify. - TreKing

Re: [android-developers] switching between api level targets in eclipse

2012-02-29 Thread Ray Tayek
At 06:03 PM 2/29/2012, you wrote: On Wed, Feb 29, 2012 at 7:05 PM, Ray Tayek <rta...@ca.rr.com> wrote: sorry, my bad. it is uses the 2.3.3 avd even though the 4.0.3 target is checked in eclipse. so it seems to be stuck using the 2.3.3 target. Your build target and AVD

[android-developers] Disable window or screen resize when soft keyboard is displayed

2012-02-29 Thread tsukishiro yamazaki
Hi, I am working on a customized IME. Basically, I want to create a transparent keyboard (similar to Tranparent Keyboard app on the market). I want my IME to be on top of the UI or application behind it. So I really don't want the window or screen to resize when the keyboard is displayed. Does any

Re: [android-developers] Android Market - Test Marketing

2012-02-29 Thread TreKing
2012/2/29 JJ B > please clarify if this also works with the full paid versions if you know) Paid apps will show that an update is available, but the user will not be able to update it if they have not paid for it via the Android Market. This is easily evidenced by getting an app on the Amazon

Re: [android-developers] switching between api level targets in eclipse

2012-02-29 Thread TreKing
On Wed, Feb 29, 2012 at 7:05 PM, Ray Tayek wrote: > sorry, my bad. it is uses the 2.3.3 avd even though the 4.0.3 target is > checked in eclipse. so it seems to be stuck using the 2.3.3 target. Your build target and AVDs are two separate things. The build target specifies which version of the p

[android-developers] How to change default HIPRI connection expiry?

2012-02-29 Thread flumby
In my project, I need to access an IP Address through mobile connection --irrespective of whether it is connected to mobile or WIFI network. My code is similar to below: connMan = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); int res = con

[android-developers] Re: No TOUCHABLE_INSETS_REGION constant field under InputMethodService.Insets class in SDK

2012-02-29 Thread tsukishiro yamazaki
Sorry if this sounds annoyingly persistent but what is the use of TOUCHABLE_INSETS_REGION constant in the first place? I thought it's supposed to limit the touchable regions in the input view of the soft keyboard. Is this wrong? On Feb 17, 3:32 pm, Jim Andresakis wrote: > I think she means that a

[android-developers] How to prevent window from adjusting when soft keyboard is displayed

2012-02-29 Thread tsukishiro yamazaki
Hello all, I came upon an IME called Transparent Keyboard.apk It's an onscreen keyboard that keeps everything behind it in tack. In other words, it doesn't resize or pan the contents behind to make room for the keyboard. Does anyone know how this was done? I want my own IME to do this as well and

Re: [android-developers] OEM USB Driver for Pantech

2012-02-29 Thread John Lussmyer
On another thread, someone pointed me to the Pantech PC Suite, which also installs the USB drivers. That worked for me. On Sun, Feb 26, 2012 at 10:16 AM, moon do seo wrote: > what is the your device model #? i might start with IM- > > thx > > On Sun, Feb 26, 2012 at 11:35 AM, John Lussmyer > wr

Re: [android-developers] Android Market - Test Marketing

2012-02-29 Thread JJ B
Great, Thanks (and please clarify if this also works with the full paid versions if you know) 2012/2/29 Kostya Vasilyev > Just email them the apk files (or links), then bump the version code in > the manifest before publishing so Market picks up the update (I know this > works for free apps). >

Re: [android-developers] Android Project

2012-02-29 Thread TreKing
On Tue, Feb 28, 2012 at 3:13 PM, Ahmed Mahmoud wrote: > so i hope to find anyone here to help me to choise a good idea Anyone here with a "good" idea is probably already working on it and keeping it to themselves. Ask yourself: "What do I need?" "What would I pay for?" "What is not already avai

Re: [android-developers] switching between api level targets in eclipse

2012-02-29 Thread Ray Tayek
At 04:36 PM 2/29/2012, you wrote: On Wed, Feb 29, 2012 at 5:05 PM, Ray Tayek <rta...@ca.rr.com> wrote: i wanted to switch back to 4.0.3, but eclipse seems to be stuck on the 4.0.3 target. That's not very clear. Like, what is "seems to be stuck"? sorry, my bad. it is

[android-developers] Re: Performance issue executing native code on ICS

2012-02-29 Thread Chris Stratton
On Wednesday, February 22, 2012 7:28:59 AM UTC-5, Michael wrote: > > When comparing method traces on this test project, we noticed a > difference. On ICS we see lots of gaps in the execution of the native > function call (i.e. in the JNI function call). On Gingerbread, these > gaps are not prese

Re: [android-developers] Re: How to make this complex view

2012-02-29 Thread TreKing
On Wed, Feb 29, 2012 at 7:49 AM, Farhan Tariq wrote: > just can't figure out how to get only those values from the listView that > the box is covering. Any suggestions? So, basically what you need is a simple intersection test: does this View (your draggable box) intersect with these views in t

Re: [android-developers] Why explicit need for Permissions to be specified in Manifest File

2012-02-29 Thread Kristopher Micinski
> As for the various static analysis comments in the thread, in the denial > role its quite weak as self-modifying code will hide possibilities from it. >  As a granting mechanism in the context of the present "everything not > explicitly granted is denied" model, it could work in the sense of bein

Re: [android-developers] switching between api level targets in eclipse

2012-02-29 Thread TreKing
On Wed, Feb 29, 2012 at 5:05 PM, Ray Tayek wrote: > i wanted to switch back to 4.0.3, but eclipse seems to be stuck on the > 4.0.3 target. That's not very clear. Like, what is "seems to be stuck"? -

Re: [android-developers] Why explicit need for Permissions to be specified in Manifest File

2012-02-29 Thread Mark Murphy
On Wed, Feb 29, 2012 at 7:06 PM, Chris Stratton wrote: > Yes, but the downside is that a fixed, install-time request requires that > all users of the app grant blanket permission for something which the app > may want to do rarely, only if optional feature are enabled, etc.  Consider > an app whic

Re: [android-developers] Why explicit need for Permissions to be specified in Manifest File

2012-02-29 Thread Chris Stratton
On Thursday, February 23, 2012 8:23:38 AM UTC-5, Mark Murphy (a Commons Guy) wrote: > > > Basically looking for why android is designed for explicit permissions > > declaration.. when it can be automatically discovered at compiler time > > or at run time.. > > While the need for permissions could

Re: [android-developers] want to add some more buttons to the android default keyboard

2012-02-29 Thread Mark Murphy
You can create your own input method editor (IME) that implements your own keyboard. You can use the open source implementation of Android's "default keyboard" as a starting point, if you wish. Users can then elect to install your IME and elect to use it if they so choose. You cannot, however, actu

[android-developers] Mutual authentication using X.509 certificate

2012-02-29 Thread Pankaj
I want to consume WCF web-service which uses X.509 certificate for mutual authentication. I had imported certificates using keytools in BKS keystore & able to use in android code. Now for mutual authentication i need to create web-request which have message digest & signature in it I am using KSOA

[android-developers] Re: Good OpenGL ES Tutorials

2012-02-29 Thread Catherine Darrow
Last time I looked, I found I needed different sources to cover the Android/Java/ES specific things and to cover OpenGL itself. Putting Android and OpenGL into Google should turn up the sort of tutorial that will let you successfully draw a triangle to the screen. For going farther with OpenGL it

[android-developers] Re: MediaPlayer setDisplay

2012-02-29 Thread Pierre Souchay
Hi Cliffus, I have exactly the same issue here. A service handing the MediaPlayer, and I would like to disconnect/reconnect the video when activities are launched/stopped. I tried several strategies : - creatig a "false" Surface Holder that would hide the surface destroyed and delegating to the r

[android-developers] Re: Confusion over Services / Singletons / Static data

2012-02-29 Thread John Sheehy
Thanks for the reply. For my 4th question I had read somewhere (perhaps stackoverflow) that after android (ActivityManager?) unloads Application, Activities, Services etc., it doesn't kill the actual kernel process but instead somehow keeps it around in a pool to avoid the overhead of new linux pr

[android-developers] Application Licensing for 7 days trial period in Android

2012-02-29 Thread Prince Kumar
Where i have to change in the Server Managed Policy class so that it works only for 7 days trial and after that user have to buy the app from android market place? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Routing TTS to SCO bluetooth headset

2012-02-29 Thread RedBullet
I am trying to get my android app to use the TTS engine to send the audio to my old BT headset. I have tried starting SCO, then setting it to on. Nothing. Audio still comes out the speakers... Anyone ever done this? I am sure there is just something I am missing... -- You received this message

Re: [android-developers] Re: USB Webcam

2012-02-29 Thread Bhasker Raj
Perumal I am interested in buying Novo 7 Advanced or ELF Tablet. Did you buy from any Indian selling company or from abroad? Please send the source and the contacts. Where are you staying? Waiting for your reply Best Wishes A. S. Bhasker Raj Secunderabad Mobile: +919247332574 On Wed, Feb 29

Re: [android-developers] WMV Easter Egg?

2012-02-29 Thread Riley Porter
File re-named to wmv? Perhaps it is a mp4 really? Riley On Wed, Feb 29, 2012 at 4:33 PM, bob wrote: > I tried playing back a WMV file on my VIZIO Tablet in a VideoView, and it > worked. Any ideas why it works? > > As far as I can tell, Android only supports MP4 and 3GP according to the > docs.

[android-developers] .JPEG to .MP4 Conversion

2012-02-29 Thread NAVI NEW
Hello Android Developers, I having pictures .JPEG file, I want to convert it in video format .mp4. There is ffmpeg command for .mp4 typecast ffmpeg -r 30 -i foo-%03d.jpeg -r 30 -b 8973kb -minrate 8973kb -maxrate 8973kb -bufsize 1kb foo2.mp4 Please help me how to convert images in form of

[android-developers] Can you give me the answer...about 'Unable to stop activity'...

2012-02-29 Thread Jae-young Yun
Logcat 02-29 21:19:31.765: E/AndroidRuntime(5374): java.lang.RuntimeException: Unable to stop activity {com.android.sinsunby/com.android.sinsunby.SevenActivity}: java.lang.IllegalStateException 02-29 21:19:31.765: E/AndroidRuntime(5374): at android.app.ActivityThread.performDestroyActivity(A

[android-developers] Migrate Android Code error

2012-02-29 Thread Atif Farrukh
I am making a menu for my menu... i am using the following code.. switch(item.getItemId()){ case R.id.aboutUs break; case R.id.feedback: break; } gave an error, "Migrate Android Code" , eclipse converted it into if else statment as below, from the android site, still getting the same error

[android-developers] Re: ActionBar and Tabs question:

2012-02-29 Thread Craig Smith
Just put the modes in drop down beside the category in the Action Bar. It still looks good that way, even with another set of clicks. -Craig On Feb 29, 9:07 am, Mark Winchester wrote: > I'm having trouble with the ActionBar and tabs, trying to get the look and > feel that I've got in mind.  I w

[android-developers] Re: View height changes when image set as background by 1.25 times of the image height

2012-02-29 Thread emil10001
It may be easier to do this programmatically. You can build your bitmap image first, figure out the dimensions of that and resize it if needed. Then, change the dimensions of the TextView, if necessary, to match the size of the image, probably using LayoutParams. Finally, you can set it as the

[android-developers] want to add some more buttons to the android default keyboard

2012-02-29 Thread chalavadi sagar
Can anybody please explain me is there any procedure for adding few more buttons to the android default keyboard and changing the button position from one place to another place -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

[android-developers] Re: ActionBar and Tabs question:

2012-02-29 Thread emil10001
I just posted a sample project on my github that demos how to do this: https://github.com/emil10001/SimpleActionBarTabs -John On Wednesday, February 29, 2012 10:07:42 AM UTC-5, Mark Winchester wrote: > > I'm having trouble with the ActionBar and tabs, trying to get the look and > feel that I've

[android-developers] Android widget: dinamically list from own combiled string (as template)

2012-02-29 Thread Stan Prihodko
HI, I'm now develop my first widget (not application) and I want to generate dynamically strings, there each string should be as: "image(left)+text(left)+text(right)". I has been prepared this string in layout, and I want to use my template-string as "template" to generate all strings a few ti

[android-developers] wonder of face lock: The code is open and complete?

2012-02-29 Thread cnisme
hi,all I have got android 4.0 has face lock, when I search the android code, I just have found the code of face lock in application layer, but I did not get any code in "frameworks" or others paths, and it needs "com.android.facelock". Then I ask engineer in QCOM, They said it't part of GMS whic

Re: [android-developers] Re: conversion to dalvik format failed error 1

2012-02-29 Thread Chalavadi Sagar
right click on project and then select the JavaBuildPath in that select the libraries tab and check whether there are two android jar files .If yes delete one of them and then save the project and clean it after that your error may get disappeared. Kind Regards. Ch.B.Sagar On Wed, Feb 29, 2012 a

[android-developers] Livestreams on Android 2.2 and above

2012-02-29 Thread Patrick Gregorio
There are 2 types of videos that I want to be able to play on a project I've been working on. One is live streams and the other one is video on demand. I was able to make the video on demand fully functional using WebView. My problem now is with the live streams. I couldn't make the WebView and e

[android-developers] Arduino ADK

2012-02-29 Thread lazer
I am trying to use a button on an arduino board to reload a webview. Unfortunately I am having a very hard time understanding how Android parses the data from the arduino board. Can anyone clarify how I would go about using a button on an arduino board to reload a webview? Thanks -- You recei

[android-developers] monkeyrunner device.type() dropping characters

2012-02-29 Thread John
trying to write a simple demo monkeyrunner python script device.startActivity( component='com.android.calculator2/.Calculator' ) time.sleep(1) device.type( '2*3=' ) this works as I expect, starts the calculator and it displays the correct result, having some difficulty with the browser

[android-developers] Focus problem

2012-02-29 Thread Markus Lindner
Hello, In my small application I have 2 EditTexts and a Button. If something is entered in EditText1 and confirmed by "Enter", the focus should be set to EditText-Field2. Therefore I use an OnKeyListener on the first EditText. The method requestFocus is called in onKey on the second EditText. But

[android-developers] Re: ActionBar and Tabs question:

2012-02-29 Thread emil10001
Take a look at the demos available for ActionBarSherlock. It may not be exactly the same if you aren't using that lib, but he tries to get very close to the normal experience. Anyway, from what I've seen (I'm using a Nav List in my ActionBar), you get

[android-developers] Drawing 2D

2012-02-29 Thread Анастасия Сергеевна
Hello. I want creates shapes(rectangle, oval, square, etc) in runtime. Also I want drag and drop shapes that I create. My question is: may I for my goals create one class named, for example, Shape extended View and simply provide different constructors for each kind of shape or I must create

[android-developers] How do I speeding up a click notification from GridView inside a Fragment to an Activity Listener?

2012-02-29 Thread emil10001
For prettier formatting of this message, this question has been posted on StackOverflow - http://stackoverflow.com/q/9490558/974800 . I am posting here due to a lack of response there. I am writing an app that has a couple of fragment views managed by an activity. The fragments are basically a Gri

[android-developers] Error : Security Exception : android.permission.CALL_PHONE. INSTRUMENTATION_CODE: 0

2012-02-29 Thread sangam
Hi, I just wrote a instrumentation test case for the Contacts app, my test app is just to make a phone call, i used the ITelephony API,s to make a call , code : private void doITelephonyCall() { log("doITelephonyCall()..."); // Get a phone number from the EditText widget St

[android-developers] hola

2012-02-29 Thread federico federico
diculpe mi telefono no me quiere aceptar la cuenta google en es el u20a -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to a

[android-developers] Re: How to Intercept Post request in Android WebView?

2012-02-29 Thread Chris Stratton
If you don't figure out anything at the java level, you could probably build a proxy into your app and configure the webview to work through it On Thursday, February 23, 2012 3:58:21 AM UTC-5, xu xuzhuo wrote: > > Hi guys, > > I am trying to use WebView to intercept post request. > I found in t

[android-developers] Android Project

2012-02-29 Thread Ahmed Mahmoud
Hi guys i'm CS student and on my way to start the graduation project but i dont hava an idea yet so i hope to find anyone here to help me to choise a good idea -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send e

[android-developers] Importing source code from book

2012-02-29 Thread BiPoLar
Hi I'm completely new to Android game development and tried to search within the group to find an answer to my question without any luck. My problem is I bought the book "Beginning Android Games" and I'm trying to use the source code they provide here http://www.apress.com/9781430230427 in their

[android-developers] monkeyrunner device.type() dropping characters

2012-02-29 Thread John
trying to learn how to write monkeyrunner scripts in python: device.startActivity( component='com.android.calculator2/.Calculator' ) time.sleep(1) device.type( '2*3=' ) starts the calculator, accepts the input and displays the proper result. However device.startActivity( component='

[android-developers] Re: USB serial with D2XXSamplefrom FTDI doesn't detect my device.

2012-02-29 Thread Flavien Aubelle
This is a question I myself have !! I'd like to get an answer on that as well. On 27 fév, 22:28, Gett wrote: > Hello, > > I'm trying to use anFTDIUSB chip on Android following the > instructions at: > > http://www.ftdichip.com/Android.htmhttp://www.ftdichip.com/Support/Documents/TechnicalNotes/TN

[android-developers] Android 4.x issue: Notification disappear when some time has elapsed, each of all

2012-02-29 Thread Miguel del Amor
Only occurs in Android 4.x. We raise one notification with app in background when some time has elapsed, notification disappear; when this ocurrs the logcat looks this: 02-28 18:12:27.711: I/RegisteredComponentCache(464): ComponentInfo: ResolveInfo{41884668 com.android.apps.tag.TagViewer p=0 o=0

Re: [android-developers] Android Market - Test Marketing

2012-02-29 Thread Kostya Vasilyev
Just email them the apk files (or links), then bump the version code in the manifest before publishing so Market picks up the update (I know this works for free apps). 01.03.2012 3:29 пользователь "JJ B" написал: > Hello, > > Is it allowable (or possible) to test market apps by sending out to a f

[android-developers] Android Market - Test Marketing

2012-02-29 Thread JJ B
Hello, Is it allowable (or possible) to test market apps by sending out to a few colleagues prior to full publication. I understand that Google allows Beta publication on Android Market but, to me, that may be less useful than controlling the test market population. Thanks in Advance, JJ -- Yo

[android-developers] Re: Ethernet jack?

2012-02-29 Thread Chris Stratton
On Wednesday, February 22, 2012 1:04:16 PM UTC-5, bob wrote: > > Anyone know if there's a way to hook a tablet PC up to an Ethernet > jack? > Buy whichever wireless router is on sale this week? -- You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] Re: File Explorer

2012-02-29 Thread Chris Stratton
On Thursday, February 23, 2012 7:49:45 AM UTC-5, bob wrote: > > If I create a file like so, is there a way for me to access this thru > the File Explorer? > > FileOutputStream fos = openFileOutput("notes.txt", 0); > If you set the permissions on the file (and any parent folders) to be world re

[android-developers] Re: ADB over WiFi

2012-02-29 Thread Chris Stratton
On Wednesday, February 22, 2012 5:12:21 PM UTC-5, Bret Foreman wrote: > > I'm considering running ADB over a WiFi connection rather than via the > USB cable. I've read a lot of blog posts about it but I want to verify > a few things: > > 1) Is it true that the phone must be rooted? If so, is Sup

[android-developers] switching between api level targets in eclipse

2012-02-29 Thread Ray Tayek
hi, i have an app that i was developing in 4.0.3. works fine. i need to target a note, so i made a 2.3.3 target and selected it in eclipse|prject properties|android. works fine. i wanted to switch back to 4.0.3, but eclipse seems to be stuck on the 4.0.3 target. rebooting doesn't help. i a

Re: [android-developers] Re: How to get the DB File from real android device

2012-02-29 Thread Chris Stratton
On Friday, February 24, 2012 5:52:51 AM UTC-5, Sridhar Reddy wrote: >Hi.. Only in emulator we can able to access the db files, but it is not possible on Real devices? How to access the db file on real device? If you have non-root ADB but your app is debug-able you have to use the run-as command

[android-developers] Re: USB serial with D2XXSamplefrom FTDI doesn't detect my device.

2012-02-29 Thread Chris Stratton
> > On Monday, February 27, 2012 4:28:46 PM UTC-5, Gett wrote: >> >> I'm trying to use an FTDI USB chip on Android following the >> instructions at: >> >> http://www.ftdichip.com/Android.htm >> >> http://www.ftdichip.com/Support/Documents/TechnicalNotes/TN_134_FTDI_Android_D2XX_Driver.pdf >>

[android-developers] Re: USB serial with D2XXSamplefrom FTDI doesn't detect my device.

2012-02-29 Thread Chris Stratton
On Monday, February 27, 2012 4:28:46 PM UTC-5, Gett wrote: > > I'm trying to use an FTDI USB chip on Android following the > instructions at: > > http://www.ftdichip.com/Android.htm > > http://www.ftdichip.com/Support/Documents/TechnicalNotes/TN_134_FTDI_Android_D2XX_Driver.pdf > > > The pr

[android-developers] Re: Differences in USB Host support between Embedded Linux and Android phone

2012-02-29 Thread Chris Stratton
On Tuesday, February 28, 2012 1:40:18 AM UTC-5, David Henning wrote: > > I'm looking for some help understanding the current USB Host capabilities > of the latest Android smartphones versus an embedded processor running a > standard Linux build. I've done quite a bit of driver-level Linux > dev

Re: [android-developers] BrowserFrame Class

2012-02-29 Thread Mark Murphy
On Wed, Feb 29, 2012 at 4:12 PM, JoeyZee wrote: > What is the purpose of BrowserFrame.java in the webkit code within > frameworks/base? Questions regarding the Android source code belong on a list hosted at http://source.android.com. This list is for developing apps with the Android SDK. -- Mar

Re: [android-developers] WMV Easter Egg?

2012-02-29 Thread Mark Murphy
On Wed, Feb 29, 2012 at 4:33 PM, bob wrote: > I tried playing back a WMV file on my VIZIO Tablet in a VideoView, and it > worked.  Any ideas why it works? Because they licensed codecs for it. > As far as I can tell, Android only supports MP4 and 3GP according to the > docs. That is simply what

[android-developers] Re: fragment transactions in onLoadFinished()

2012-02-29 Thread Nadeem Hasan
I have this in my base Activity: protected View createContentView( int id ) { View view = inflate( id ); return createContentView( view ); } public View createContentView( View view ) { FrameLayout root = new FrameLayout( this ); root.setLayoutParams(ne

[android-developers] WMV Easter Egg?

2012-02-29 Thread bob
I tried playing back a WMV file on my VIZIO Tablet in a VideoView, and it worked. Any ideas why it works? As far as I can tell, Android only supports MP4 and 3GP according to the docs. -- You received this message because you are subscribed to the Google Groups "Android Developers" group

[android-developers] BrowserFrame Class

2012-02-29 Thread JoeyZee
What is the purpose of BrowserFrame.java in the webkit code within frameworks/base? I see that it is instantiated by WebViewCore and seems to handle the frame related functions of webview, but what exactly is its purpose ? What is meant by a frame in this context? Is it equivalent to a tab in the

[android-developers] Re: EditText input into array

2012-02-29 Thread minnie me
got it..i put it after the button click now..and i don't have tiime to learn java first..i need to do both. thanks On Feb 29, 8:27 am, TreKing wrote: > On Wed, Feb 29, 2012 at 12:53 AM, minnie me wrote: > > This is my new updated code, it prints out blank input in the > > array...so why is it no

Re: [android-developers] What happend on 02/14 on Verizon?

2012-02-29 Thread Mark Ayers
No news articles I can find. On Wed, Feb 29, 2012 at 1:35 AM, Mirko Schenk wrote: > Hi, > > maybe it's just some strange coincidence, but thanks to the improved > statistics I noticed that according to those stats, about 10,000 users > uninstalled my app on 02/14 - almost all of them being Veriz

[android-developers] Re: Losing memory on tablet but not phone

2012-02-29 Thread Mark Ayers
I've noticed a LOT of memory management issues with Honeycomb on my ASUS Transformer. I think there might be a defect in Honeycomb, because after my ICS OTA got pushed, all of those issues are gone. On Monday, February 27, 2012 8:53:30 PM UTC-8, Yan wrote: > > The following eats away the heap on

Re: [android-developers] I want to learn the android os ,have any suggestion?

2012-02-29 Thread Mark Ayers
Agreed. Android uses a lot of defaults and it's nice to have access to the source. It's worth more to have the source than 2 or 3 extra AVDs. On Wed, Feb 29, 2012 at 10:24 AM, Kristopher Micinski < krismicin...@gmail.com> wrote: > Not for this list: you want to check out > > source.android.com >

[android-developers] Re: is there a way to know the length of an streaming audio file?

2012-02-29 Thread IS SOA
anybody? On Wednesday, February 29, 2012 12:02:55 AM UTC-5, IS SOA wrote: > > i am streaming the audio files and wondering is there a way in the > code can find out the length (time) of the song for displaying purpose > > something like this: > > Song Name 05.20 > -- You received this messag

Re: [android-developers] I want to learn the android os ,have any suggestion?

2012-02-29 Thread Kristopher Micinski
Not for this list: you want to check out source.android.com There are a few things: the vm, the framework, and the OS. The OS is linux, kernel development isn't that easy, so hopefully you've got some C experience. The vm is nontrivial, though not that bad. However, reading the frameworks are p

Re: [android-developers] Google Map API usage

2012-02-29 Thread Krishna Kumaar Natarajan
I started my basic application. Followed this video lecture. http://www.youtube.com/watch?v=vgr4l1nsFdU&feature=g-hist&context=G2d64a1fAHT05jLwADAA 3 chapters. At the end, he was using R.id attribute but no such attribute available in my R.java file. Any solution for this ? On Mon, Feb 20, 2012

Re: [android-developers] Notification area remains open on ICS

2012-02-29 Thread TreKing
On Wed, Feb 29, 2012 at 7:52 AM, bt wrote: > Is there any solution to close it automatically after click? You have this flag set? http://developer.android.com/reference/android/app/Notification.html#FLAG_AUTO_CANCEL -

Re: [android-developers] I want to learn the android os ,have any suggestion?

2012-02-29 Thread luciofm
Read the documentation maybe? Lúcio Maciel luci...@gmail.com On Wed, Feb 29, 2012 at 12:05, ttgdz wrote: > I have seen some applications in android ,and I know something about > the upper development,now I want to learn deeper in the native,any > suggestion? > > -- > You received this message

  1   2   >