[android-developers] Is there a master list of all devices + operating systems to test?

2015-11-30 Thread Shannon Fox
We're planning our beta release, and are hoping to have a few people with reach device, running several operating systems. Is there a quick list we can refer to when planning this? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

[android-developers] Re: google-api-java-client android calendar setup problem

2012-02-14 Thread FOX ELE
All right .. I made a very silly mistake. bug fixed. 2012/2/14 FOX ELE xuya...@gmail.com I read the instruction in this page http://samples.google-api-java-client.googlecode.com/hg/calendar-android-sample/instructions.html?r=default to setup the project. But after I did as said in the page

[android-developers] google-api-java-client android calendar setup problem

2012-02-14 Thread FOX ELE
I read the instruction in this page http://samples.google-api-java-client.googlecode.com/hg/calendar-android-sample/instructions.html?r=default to setup the project. But after I did as said in the page , eclipse still can't find the packages below .It seemed no help information online .Any one can

[android-developers] how to build lodable kernel module in android

2011-07-14 Thread fox liu
Hi, my Question is how to build lodable kernel module in android? I have a little LKM exp. in PC, now I would like to try LKM in android . And I have followed the instruction of source.android.com, the repo sync, and make -j4 are all done succesfully. What about next step? Can I start writing

[android-developers] Info about android

2011-07-11 Thread fox
I'm a SW developper and I'm very interesting to upgrade my knoledgement about Android. I have experence in GSM developper application and GSM Protocol stack. Please Could you indicate me where I can find information (document and code) about Android and Telephony GSM services. THX -- You

[android-developers] Re: Honeycomb Preview SDK: HTTP Live Streaming support validation

2011-04-13 Thread Fox Mulder
Hi If you tried your URL from the emulator this is normal, I just have a try and got the same result. 04-13 17:49:58.547: INFO/StagefrightPlayer(33): setDataSource('httplive://wealthtv.apple-vod-geo.adaptive.level3.net/ sample/samsung/sample4/playlist.m3u8') 04-13 17:49:58.707:

[android-developers] Emulator won't quit

2011-04-13 Thread Fox
I'm using the emulator from the latest Android SDK on Linux 64 Bit (openSUSE 11.4). It runs without problems, but when I try to quit the emulator, it seems the emualtor stops working but the window stays and the process don't quit. I also can't kill the emulator process. Only a restart helps. Any

[android-developers] Text will not draw properly

2011-03-18 Thread Little Coding Fox
I'm drawing text to a canvas, but the text is not rendered properly into the bitmap. I create a GL Texture and render it to the screen with a full-screen quad. This is the result: http://i56.tinypic.com/259lthw.png Here's the code I'm using: Bitmap me = Bitmap.createBitmap(320, 80,

[android-developers] Re: Honeycomb Preview SDK: HTTP Live Streaming support validation

2011-02-24 Thread Fox Mulder
Hi Samuh Yes and that was because I posted at first time. Apple stream works and I was testing with a private stream that did not work and have exactly the same behaviour you described Here it that was reported in the preview (same error as you) 02-23 10:14:03.157: INFO/NuHTTPDataSource(33):

[android-developers] Re: Honeycomb Preview SDK: HTTP Live Streaming support validation

2011-02-24 Thread Fox Mulder
@Samuh I finaly discovered why we have the same error.. It is because, the streams we are trying to play are in main-profil and SDK3.0 only can play Baseline-profil take a look here http://developer.android.com/guide/appendix/media-formats.html All the stream i tried in baseline-profile were OK

[android-developers] Re: Honeycomb Preview SDK: HTTP Live Streaming support validation

2011-02-22 Thread Fox Mulder
Hi Samuh Just few words to say that the test in SDK 2.3.3 that reports this error complaining about bad sequence in playlist (audio may be OK, but no video is displayed) 02-22 17:50:09.676: ERROR/LiveSource(34): Cannot find sequence number 303 in new playlist 02-22 17:50:09.676:

[android-developers] Re: Honeycomb Preview SDK: HTTP Live Streaming support validation

2011-02-21 Thread Fox Mulder
@Samuh Many thanks for your help and the bug notifications...I was wondering from where you got the httplive info !! How could we guess ??? -- 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: Honeycomb Preview SDK: HTTP Live Streaming support validation

2011-02-21 Thread Fox Mulder
@samuh Are the encrypted streams you are testing public ? If so can you provide the URL ? I tested Apple's Streams (gear1/gear2/gear3) on HoneyComb and emulator they work fine (I will be able to test HLS on a XOOM Tablet very soon). By the way do you know how to retrieve the streaming information

[android-developers] Re: Honeycomb Preview SDK: HTTP Live Streaming support validation

2011-02-15 Thread Fox Mulder
Hi I just have a try today and it is not working Here is what the debugger show as the URL is loaded 02-15 09:49:31.284: INFO/avc_utils(33): found AVC codec config (320 x 180, Main-profile level 1.3) 02-15 09:49:31.444: INFO/ESQueue(33): found AAC codec config (24000 Hz, 2 channels) 02-15

[android-developers] simplified push notification integration

2011-01-24 Thread Erica Fox
questions! Thanks! Erica e...@xtify.com Erica Fox Developer Relations Xtify, Inc. 520 Broadway, 10th floor New York, NY 10012 +1.646.395.1273 office e...@xtify.com www.xtify.com console.xtify.com -- You received this message because you are subscribed to the Google Groups

[android-developers] Not calling OnStop when an incoming call is received

2010-04-29 Thread Ned Fox
I have an application that is silencing the ringer while it is open, then when it closes it unsilences it. Currently I am doing these two things in OnStart and OnStop. The only problem (and it's a big one) is that when a phone call comes in, it stops my application (calling OnStop), then rings at

[android-developers] How to launch a 'selection dialog' on Android

2009-06-15 Thread Lucius Fox
Hi, When I click the home screen, android pops up a 'selection dialog' (i am not sure what is the technical term) to ask me to add 'Widget', 'Shortcut', 'Folder', etc. etc. Can you please tell me how to pop up those kind of selection dialog? Where can I find example for that? Thank you.

[android-developers] Re: Missing application icon in All Application drawer

2009-06-14 Thread Lucius Fox
On Sat, Jun 13, 2009 at 2:23 PM, Mark Murphymmur...@commonsware.com wrote: Lucius Fox wrote: Can someone please help me understanding why in my emulator, i can * in my settings- manage application, see an entry for an application there * but i cant' find the icon for launching that in All

[android-developers] Email App and IM App on cupcake branch

2009-06-13 Thread Lucius Fox
Hi, I download and compile cupcake branch. But the Email App and IM App (not Gmail and GTalk) is not installed on the emulator. Can you please tell me how to install Email App and IM app? Thank you. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Missing application icon in All Application drawer

2009-06-13 Thread Lucius Fox
Hi, Can someone please help me understanding why in my emulator, i can * in my settings- manage application, see an entry for an application there * but i cant' find the icon for launching that in All Application. Can you please tell me how can I make my application launches on the emulator?

[android-developers] Need help in understanding ContactsListActivity callSelection() implementation

2009-06-11 Thread Lucius Fox
Hi, In code callSelection of ContactsListActivity, it calls ListView's getSelectedItem and casts the return to Cursor. boolean callSelection() { ListView list = getListView(); if (list.hasFocus()) { Cursor cursor = (Cursor) list.getSelectedItem(); // omitted

[android-developers] How to query the photo of each contact in database

2009-06-06 Thread Lucius Fox
Hi, I am reading this http://developer.android.com/guide/topics/providers/content-providers.html to query the database for all the contacts. Specially, i do this to get the NAME and NUMBER of each contact. But how can I get the PHOTO of each contact? What is the COLUMN I should use? Thank you.

[android-developers] How can i build an URI for each person in the contact

2009-06-06 Thread Lucius Fox
Hi, How can i build a URI for each person of the contact so that i can use the following method in Contact.People public static Bitmap loadContactPhoto(Context context, Uri person, int placeholderImageResource, BitmapFactory.Options options) Thank you.

[android-developers] How to add picture in Avatar in Contact on the emulator

2009-06-04 Thread Lucius Fox
Hi, I would like to know how can I add picture in Avatar in Contact on the emulator? When i click the 'avatar icon', it just pops up 'Select picture' and no media found. How can I load some dummy images to the emulator and I can select from that 'Select picture screen. Thank you.

[android-developers] Re: How can I listen for WebView page load completed event

2009-06-03 Thread Lucius Fox
On Wed, Jun 3, 2009 at 9:16 AM, Lucius Fox lucius.fo...@gmail.com wrote: On Fri, May 8, 2009 at 10:35 AM, Mark Murphy mmur...@commonsware.com wrote: Lucius Fox wrote: Hi, Is it possible to listen for WebView page load completed event (the whole page is loaded including images, js files

[android-developers] Re: How can I listen for WebView page load completed event

2009-06-03 Thread Lucius Fox
On Fri, May 8, 2009 at 10:35 AM, Mark Murphy mmur...@commonsware.com wrote: Lucius Fox wrote: Hi, Is it possible to listen for WebView page load completed event (the whole page is loaded including images, js files, css files and the page is completely rendered. Create a WebViewClient

[android-developers] How can I get the source code of donut

2009-05-29 Thread Lucius Fox
Hi, Can you please tell me how can I get the source code of donut branch? Thank you. --~--~-~--~~~---~--~~ 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: How can I get the source code of donut

2009-05-29 Thread Lucius Fox
I was able to get the cupcake branch. I am not sure if there is a branch for donut branch? On Fri, May 29, 2009 at 3:07 PM, Romain Guy romain...@google.com wrote: Hi, Everything is explained at source.android.com On Fri, May 29, 2009 at 3:03 PM, Lucius Fox lucius.fo...@gmail.com wrote

[android-developers] Where does the location of the database

2009-05-28 Thread Lucius Fox
Hi, In my activity, I create a database using the following: db.execSQL(CREATE TABLE favorites ( +_id INTEGER PRIMARY KEY)' ); But can you please tell me where will android create the database file? I try 'adb shell' and then 'cd /data/data/com.mycompany.myactivity', but there is no

[android-developers] Where is arm-none-linux-gnueabi-gdb equivalent on MacOS

2009-05-26 Thread Lucius Fox
Hi, I am trying to follow to debug native application on MacOS: http://honeypod.blogspot.com/2008/01/debug-native-application-for-android.html But can somone please tell me where is arm-none-linux-gnueabi-gdb equivalent on MacOS? And why do I need both 'arm-none-linux-gnueabi-gdb' and

[android-developers] How can I listen for WebView page load completed event

2009-05-08 Thread Lucius Fox
Hi, Is it possible to listen for WebView page load completed event (the whole page is loaded including images, js files, css files and the page is completely rendered. Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] How to query the number of rows in a table

2009-05-04 Thread Lucius Fox
Hi, Can you please tell me how to query the number of rows in a table in Android? Assume I have the name of the table in string. Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: How to query the number of rows in a table

2009-05-04 Thread Lucius Fox
(); } } but how can I get the actual result from the 'execSQL' ? Thank you. On Mon, May 4, 2009 at 9:51 AM, Lucius Fox lucius.fo...@gmail.com wrote: Hi, Can you please tell me how to query the number of rows in a table in Android? Assume I have the name of the table in string. Thank you

[android-developers] Activity onPause method

2009-04-28 Thread Lucius Fox
In my Activity onPause method, how can i find out if this activity is launched by another activity? (e.g. when user clicks menu of another activity to launch this activity?) Should i use the isTaskRoot() Return whether this activity is the root of a task. or isChild() Is this activity embedded

[android-developers] android.graphics.Picture and ç

2009-04-27 Thread Lucius Fox
Hi, Can you please tell me how can I convert a android.graphics.Picture to a android.graphics.Picture? or how can i create a new Picture object which is a scaled version of the original Picture object? Thank you. --~--~-~--~~~---~--~~ You received this message

[android-developers] How to set the width and height of an ImageView programmically?

2009-04-26 Thread Lucius Fox
Hi, Can you please tell me how can i set the width and height of an ImageView programmically in java code (not layout xml file)? I tried setMinimumWidth/setMinimumHeight, but that does not work. I have looked at the view in HierarchyView, it still said the width to be 80 and height to be 100.

[android-developers] Re: ImageView 's layout_width and layout_height

2009-04-25 Thread Lucius Fox
On Sun, Apr 19, 2009 at 12:31 PM, Mark Murphy mmur...@commonsware.com wrote: Lucius Fox wrote: Do I need to set the height/width specifically for my ImageView to match my backgroundDrawable? Or it will pick up automatically. ImageView scales the image to fit the view size, not the other way

[android-developers] How to draw a rectangle on screen using layout.xml file

2009-04-25 Thread Lucius Fox
Hi, I am trying to draw a rectangle using layout.xml file without java code. So this is what I tried: LinearLayout color android:layout_width=wrap_content android:layout_height=10dp android:color=#00ff00 / /LinearLayout

[android-developers] java.lang.SecurityException: Permission Denial in inserting an entry to Database

2009-04-22 Thread Lucius Fox
Hi, I am getting the following SecurityException when I try to insert an entry to DB: Can you please tell me how can I fix my issue? /AndroidRuntime( 857): Caused by: java.lang.SecurityException: Permission Denial: writing com.mycompany.myapp uri

[android-developers] absolute_x and absolute_y property in Hierarchy Viewer

2009-04-22 Thread Lucius Fox
Hi, In Hierarchy Viewer, it has absolute_x and absolute_y property. Can you please tell me what are the corresponding value in the Java class? is it 'mScrollX' 'mScrollY' of teh android/view/View.java? If not, can you please tell me what is that. Thank you.

[android-developers] ImageView 's layout_width and layout_height

2009-04-19 Thread Lucius Fox
Hi, I have created a ImageView BitmapDrawable bitmapDrawalbe = new BitmapDrawable(); ImageView imageView = new ImageView(this); imageView.setBackgroundDrawable(bitmapDrawalbe); where BitmapDrawable has an attribute of 'Bitmap' and its getWidth and getHeight are: public

[android-developers] Question about Android lifecycle

2009-04-16 Thread Lucius Fox
Hi, I read http://developer.android.com/guide/topics/fundamentals.html#lcycles which said The foreground lifetime of an activity happens between a call to onResume() until a corresponding call to onPause(). During this time, the activity is in front of all other activities on screen and is

[android-developers] How to get the source of the android 1.5 preview SDK?

2009-04-15 Thread Lucius Fox
Hi, How to get the source of the android 1.5 preview SDK? Should I get the trunk? or get the cupcake branch? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] abd shell ps output

2009-04-08 Thread Lucius Fox
Hi, I invoke 'adb shell' process, and did a ps. But in the ps output, I don't any process for 'shell' , can you please tell me why? # ps USER PID PPID VSIZE RSS WCHANPC NAME root 1 0 264 176 c008b8ac c36c S /init root 2 0 0 0 c004b138

[android-developers] What is the purpose of android zygote process?

2009-04-07 Thread Lucius Fox
Hi, Can someone please help me understanding what is the android zygote process? From, it appears listen commands on a socket and spawn a thread for that? Is that true? if yes, what are examples of those commands? Under what situation that android zygote process will be used? Thank you.

[android-developers] How onCreate/OnDestory method

2009-04-06 Thread Lucius Fox
Hi, Each activity has a onCreate/OnDestory method. And I think they are being invoked by frameworks/base/core/java/Instrumentation.java. My question is what it is process calling Instrumentation.callActivityOnDestory() and Instrumentation.callActivityOnStart()? Does that process has root

[android-developers] Re: How onCreate/OnDestory method

2009-04-06 Thread Lucius Fox
process. On Mon, Apr 6, 2009 at 5:53 PM, Lucius Fox lucius.fo...@gmail.com wrote: Hi, Each activity has a onCreate/OnDestory method. And I think they are being invoked by frameworks/base/core/java/Instrumentation.java. My question is what it is process calling

[android-developers] How to troubleshoot a Stackoverflow error in android ViewRoot?

2009-04-04 Thread Lucius Fox
I am getting a StackOverflow error inside ViewRoot, I would appreciate some help in troubleshooting it? I don't understand why it causes a StackOverflow, since from the stack trace, it is not calling something recursive. And i don't understand why it report line 2155 as the line for the

[android-developers] Question about 'hasFocus' field in HierarchyViewer

2009-04-04 Thread Lucius Fox
When I look at all the views in HierarchyViewer, why there are multiple views's 'hasFocus' is true? I am under the assumption that only 1 view can have focus at a time. If so, why there are multiple view's hasFocus be true? Thank you. --~--~-~--~~~---~--~~ You

[android-developers] Fling on ListView

2009-03-24 Thread Lucius Fox
Hi, Can you please tell me which method in ListView is handling the fling action (up and down)? I look at the source of ListView, I don't see a GestureDectector there. Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Fling on ListView

2009-03-24 Thread Lucius Fox
, Romain Guy romain...@google.com wrote: ListView does not use a GestureDetector. On Tue, Mar 24, 2009 at 11:03 AM, Lucius Fox lucius.fo...@gmail.com wrote: Hi, Can you please tell me which method in ListView is handling the fling action (up and down)? I look at the source of ListView, I

[android-developers] Re: Fling on ListView

2009-03-24 Thread Lucius Fox
...@google.com wrote: What's a hort. fling? Horizontal? ListView does not need horizontal flings and therefore does not detect them nor does it notify of them. On Tue, Mar 24, 2009 at 3:37 PM, Lucius Fox lucius.fo...@gmail.com wrote: Thanks.  Is there a hook for application to get notified when users

[android-developers] Re: How is android's AlertDialog layout define?

2009-03-23 Thread Lucius Fox
best done as just a custom dialog. On Sat, Mar 21, 2009 at 11:56 PM, Lucius Fox lucius.fo...@gmail.com wrote: Hi, How is android's AlertDialog layout define? Is there a layout.xml file corresponding to the AlertDialog? I have looked at AlertDialog implementation, But i don't figure out how

[android-developers] How is android's AlertDialog layout define?

2009-03-22 Thread Lucius Fox
Hi, How is android's AlertDialog layout define? Is there a layout.xml file corresponding to the AlertDialog? I have looked at AlertDialog implementation, But i don't figure out how that is being layout (e.g. the location of the button, the location of text) Where are they defined? And how can I

[android-developers] Re: How is android's AlertDialog layout define?

2009-03-22 Thread Lucius Fox
android:name=.ActivityDialog1                  android:theme=@android:style/Theme.Dialog        /activity And you manage the Activity like any another Activity. sm1 On Mar 22, 2:56 am, Lucius Fox lucius.fo...@gmail.com wrote: Hi, How is android's AlertDialog layout define? Is there a layout.xml

[android-developers] how can I create a 'View' object from a xml file?

2009-03-09 Thread Lucius Fox
Hi, In the Tab2 of TabActivity in the APIDemo example, it has this method to create a View object for each tab: public View createTabContent(String tag) { final TextView tv = new TextView(this); tv.setText(Content for tab with tag + tag); return tv; } Can you please

[android-developers] How to layout elements programmically?

2009-03-09 Thread Lucius Fox
From http://d.android.com/guide/topics/ui/declaring-layout.html, it said Instantiate layout elements at runtime. Your application can create View and ViewGroup objects (and manipulate their properties) programmatically. Can you please tell me how/where I can find example for that? For example,

[android-developers] How to get a reference to a TabWidget in my java code

2009-03-09 Thread Lucius Fox
Hi, In my layout xml, I have: TabHost android:id=@+id/tabhost android:layout_width=fill_parent android:layout_height=fill_parent TabWidget android:id=@android:id/tabs android:layout_width=fill_parent android:layout_height=wrap_content/ /TabHost

[android-developers] Re: Need help in writing unit test for parcelable object

2009-02-08 Thread Lucius Fox
James, Thank you. On Sun, Feb 8, 2009 at 5:09 AM, James jw.ma...@gmail.com wrote: OK. I found it faster than I thought or I would have waited to make that last reply. You have two options: 1.) put the parcelable in an intent, then get it back out. -- this would be instead of calling

[android-developers] Need help in writing unit test for parcelable object

2009-02-06 Thread Lucius Fox
Hi, I follow the following example in creating a Parcelable object: http://code.google.com/android/reference/android/os/Parcelable.html And I did the following to unit test the CREATOR and writeToParcel method: Parcel dummyParcel = Parcel.obtain(); MyParcelable p = new MyParceable(12345);

[android-developers] Re: How to use findViewById() in a dialog

2009-02-05 Thread Lucius Fox
that appear on your button. Not the id ! findVienwById wants an id ! Emmanuelhttp://androidblogger.blogspot.com/ On Feb 5, 8:35 am, Lucius Fox lucius.fo...@gmail.com wrote: Hi, I create a dialog using this: Dialog d = new AlertDialog.Builder(MyActivity.this

[android-developers] Android Instrumentation for unit testing

2009-02-05 Thread Lucius Fox
Hi, I understand that Android has an Instrumentation for unit testing. In my android activity, I have a ListView and when user clicks on it, it pops up an dialog which 2 choices. And when user clicks one of the choices, it will pop up another form which allow users to enter move information and

[android-developers] How to use findViewById() in a dialog

2009-02-04 Thread Lucius Fox
Hi, I create a dialog using this: Dialog d = new AlertDialog.Builder(MyActivity.this) .setPositiveButton(R.string.btn_yes, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int whichButton) { dummy();

[android-developers] How can to remote debug with android emulator

2009-02-02 Thread Lucius Fox
Hi, I am trying to follow the steps below (found in an earlier email thread from Anil Yadav (anily0...@gmail.com): Step 1: First launch emulator from command line (by typing Emulator command) Step 2: Then launch DDMS using command line (by typing DDMS command) Step 3: Start your application in

[android-developers] Re: Recording Audio

2009-01-11 Thread Lucius Fox
Thanks. how can I seutp the emulator to record audio? I am using Ubuntu as my development environment. How can I setup the emulator for that? Thank you. On Sun, Jan 11, 2009 at 2:23 PM, hmmm akul...@mail.ru wrote: To Record audio to a new file on sd card I did as follows and worked for me

[android-developers] Re: Google maps not working on G1

2008-10-28 Thread nick fox
I have solved the problem. After going back and carefully re-reading the publish and signing docs, I realized I had made a big mistake. What I was doing wrong was I was using jarsigner on the .apk file that was being automatically built by eclipse. This is incorrect. Here is the correct way to

[android-developers] Google maps not working on G1

2008-10-27 Thread nick fox
When I install this on my phone, all I see is a blank grid, no map. Does anyone see any errors? It works fine when I run it in the emulator with the debug maps api key but not on the phone with the release maps api key. thanks Nick GoogleMap.java package com.websmithing.googlemap; import

[android-developers] Re: Developing GPS Application on Android

2008-10-27 Thread nick fox
the java docs are NOT easy to follow if you are trying to write a new application... I've been coding for 12 years and j2me for 2 years and I'm quickly finding that android code samples are few and far between. Google really needs to put a LOT more code samples up. People need and want decent

[android-developers] Re: Google maps not working on G1

2008-10-27 Thread nick fox
. This is better described here:http://www.anddev.org/viewtopic.php?p=12221 Let me know if this helped. I had the same problem, and I found the solution. On Oct 27, 9:52 am, nick fox [EMAIL PROTECTED] wrote: When I install this on my phone, all I see is a blank grid, no map. Does anyone see

[android-developers] GPS Code Sample

2008-10-20 Thread nick fox
Are there any gps code samples? I was looking through the documentation but didn't find anything. thanks Nick --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send