[android-developers] Join The best Google Group With Over 640 Members Worldwide

2010-02-04 Thread Friends Network
Join The best Google Group With Over 640 Members Worldwide http://groups.google.com/group/lalay-ki-jan/subscribe -- 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 u

[android-developers] Fwd: how can I enable the speakerphone when a call is in progress.

2010-02-04 Thread David Toledo
Only I need is Thanks -- Forwarded message -- From: DAVIDT Date: 2010/2/5 Subject: how can I enable the speakerphone when a call is in progress. To: Android Developers how can I enable the speakerphone when a call is in progress. I have tried doing this: AudioManager

Re: [android-developers] ItemizedOverlay Adding Items and onTap Issue

2010-02-04 Thread TreKing
On Thu, Feb 4, 2010 at 10:34 PM, aspekt9 wrote: > Any idea why this would occur? I'm running into issues with it > affecting other things like removal of items. > Because this is the way it works. You get onTap for each item in the overlay. If you return true from this function, the tap event co

[android-developers] Re: Fetching data in Table

2010-02-04 Thread Chirayu Dalwadi
If any one has example, than do send,. -- 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 android-developers+unsubscr...@goo

Re: [android-developers] Re: How to get old version of android source

2010-02-04 Thread sheng wang
That's exactly what I need. Thx. 2010/2/4 abukustfan > Hi, > > Did you try below? > $ repo init -u git://android.git.kernel.org/platform/manifest.git -b > android-1.6_r2 > > > On Feb 4, 10:48 am, sheng wang wrote: > > Hi, > > > > According to the doc of http://source.android.com/download > >

[android-developers] Drawing a Cylinder in OpenGL ES

2010-02-04 Thread satish bhoyar
Hi all, I want to draw a Cylinder like shape on the android screen. I got some example code but unable to understand the logic behind it, for calculating the co-ordinates of the cylinder. please any1 can guide me to develop my own code. any links will also be good. thanks, satish -- You recei

[android-developers] Fetching data in Table

2010-02-04 Thread Chirayu Dalwadi
H Group, I have retrieved some information from database using Android application. I want to display this data via a table format in my application. Help me out on this. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

[android-developers] ItemizedOverlay Adding Items and onTap Issue

2010-02-04 Thread aspekt9
When I add a new item to my ItemizedOverlay the onTap display I have set appears X times, where X is equal to the number of items that I added. So for example, if I add one item and tap it, it the onTap method gets called once, and in the LogCat I get: 02-04 23:28:56.188: INFO/NotificationService(

Re: Re: [android-developers] sreadahead.c application is not compiling with android bionic library

2010-02-04 Thread David Turner
As said On Thu, Feb 4, 2010 at 7:11 PM, wrote: > Hello David & all, > Thank you for the information. We're trying this sreadahead( > http://code.google.com/p/sreadahead/) on ARM based target. As these > __sync_fetch_and_add_4 & readahead are not part of bionic libc; could you > please suggest us

Re: [android-developers] Using Surface in the Native Code

2010-02-04 Thread dheeraj sharma
Hi sandeep, Try adding permission for "ACCESS_SURFACE_FLINGER" in your project's AndroidManifest.xml. and let the changes done in "android.permission.ACCESS_SURFACE_FLINGER" in frameworks/base/core/ res/AndroidManifest.xml to "dangerous" as is, as it is required. Cheers, Dheeraj On Wed, Feb 3

Re: [android-developers] Android drivers removed from mainstream kernel

2010-02-04 Thread Disconnect
(Moving to android-kernel) "I know all about this but I can't say anything" is less than convincing. Perhaps you can involve someone who -can- point to the (presumably public) discussions and problems you are referring to? On Thu, Feb 4, 2010 at 7:54 PM, David Turner wrote: > > > On Thu, Feb 4,

Re: Re: [android-developers] sreadahead.c application is not compiling with android bionic library

2010-02-04 Thread md . zafar . ziya
Hello David & all, Thank you for the information. We're trying this sreadahead(http://code.google.com/p/sreadahead/) on ARM based target. As these __sync_fetch_and_add_4 & readahead are not part of bionic libc; could you please suggest us any alternatives. Or any other technique to reduce

Re: [android-developers] Unable to parse hprof dump with MAT?

2010-02-04 Thread Xavier Ducrohet
On Wed, Feb 3, 2010 at 8:18 PM, Moto wrote: > Any ideas?  I just used the "Dump HPROF file" button, and picked it up > from the sdcard and opened it with MAT... You mean the "dump hprof" button in DDMS? If you use the standalone version it should over you to save it (not converted) somewhere loc

Re: [android-developers] Android drivers removed from mainstream kernel

2010-02-04 Thread Dianne Hackborn
On Thu, Feb 4, 2010 at 4:54 PM, Greg Donald wrote: > On Thu, Feb 4, 2010 at 6:48 PM, Dianne Hackborn > wrote: > > This very much does not belong on android-developers. How about > > android-kernel? > I totally understand your need to keep this as quiet as possible, sorry. > Um yeah, that's it,

Re: [android-developers] Android drivers removed from mainstream kernel

2010-02-04 Thread Greg Donald
On Thu, Feb 4, 2010 at 6:54 PM, David Turner wrote: >> http://www.google.com/support/forum/p/Android+Market/thread?tid=4c5752ca3e5af4ff&hl=en >> >> Not only is it still not fixed, but notice the complete lack of >> communication from Google.  Not a shred of news for the affected >> developers as t

Re: [android-developers] Android drivers removed from mainstream kernel

2010-02-04 Thread David Turner
On Thu, Feb 4, 2010 at 4:33 PM, Greg Donald wrote: > On Thu, Feb 4, 2010 at 5:31 PM, David Turner wrote:All > I know is what I see with my own eyes. Greg KH has been extremely > helpful over the years with getting new code/drivers pushed into the > mainstream kernel. He's a hell of a nice guy

Re: [android-developers] Android drivers removed from mainstream kernel

2010-02-04 Thread Greg Donald
On Thu, Feb 4, 2010 at 6:48 PM, Dianne Hackborn wrote: > This very much does not belong on android-developers.  How about > android-kernel? I totally understand your need to keep this as quiet as possible, sorry. -- Greg Donald destiney.com | gregdonald.com -- You received this message becau

Re: [android-developers] Android drivers removed from mainstream kernel

2010-02-04 Thread Dianne Hackborn
This very much does not belong on android-developers. How about android-kernel? On Thu, Feb 4, 2010 at 4:33 PM, Greg Donald wrote: > On Thu, Feb 4, 2010 at 5:31 PM, David Turner wrote: > > I think you may only be hearing one side of a pretty complex story. > > I guarantee you that Android kern

Re: [android-developers] Android drivers removed from mainstream kernel

2010-02-04 Thread Greg Donald
On Thu, Feb 4, 2010 at 5:31 PM, David Turner wrote: > I think you may only be hearing one side of a pretty complex story. > I guarantee you that Android kernel engineers did try to work with upstream > during the last 3 years. > They are just tired of egos/politics and have devices to ship instead

Re: [android-developers] Android drivers removed from mainstream kernel

2010-02-04 Thread David Turner
I think you may only be hearing one side of a pretty complex story. I guarantee you that Android kernel engineers did try to work with upstream during the last 3 years. They are just tired of egos/politics and have devices to ship instead. On Thu, Feb 4, 2010 at 2:44 PM, Greg Donald wrote: > Wh

[android-developers] How to get: Angle of View of Camera

2010-02-04 Thread Ralf Schneider
Hello, is there a possibility to query the hardware specs of the camera. I'm especially interested in the AOV "Angle of View"[ http://en.wikipedia.org/wiki/Angle_of_view]. Regards, Ralf -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To p

[android-developers] Android drivers removed from mainstream kernel

2010-02-04 Thread Greg Donald
Why isn't Google playing nice with regards to the Linux Kernel Android code? Greg KH says the Android code is stagnant and as a result got removed recently: http://www.kroah.com/log/linux/android-kernel-problems.html I know for a fact Greg KH bends over backwards to help Linux Kernel developers

[android-developers] setting margins causing clipping

2010-02-04 Thread Jason Proctor
following on from my previous question :-) i have text view and an image view inside a linear layout which is itself inside another linear layout. the inner linear has android:gravity set to center_horizontal, and that seems to work fine. however i'd like the inner layout to have some white sp

[android-developers] Re: TextView - disable focus

2010-02-04 Thread android beginner
Hi, Any Suggestions? Thanks On Sun, Jan 31, 2010 at 3:17 PM, android beginner < android.beginne...@gmail.com> wrote: > Hi, > > I have a listview, and wanted to make some list items to be non-focusable. > i.e On pressing the down-arrow key, some items in the middle of the list > gets skipped. >

Re: [android-developers] sreadahead.c application is not compiling with android bionic library

2010-02-04 Thread David Turner
Googling reveals that __sync_fetch_and_add_4 is an x86 and x86_64 specific builtin compiler function. On Thu, Feb 4, 2010 at 4:50 AM, zafar wrote: > Trying to use sreadahead tool on android target to decrease bootup > time . > But sreaahesd.c are not getting compiled against bionic library. > Be

[android-developers] Http streaming

2010-02-04 Thread nico
Hi haXe list, I need to implement a kind of http streaming on my haxe project. It is something where the browser is always keeping a connection open to the server, so the server can push data to the client. Is there anybody here than have any experiences or advices on how to implement that ? th

[android-developers] Is there any way to invoke the device lock screen?

2010-02-04 Thread Apps Beyond
I've been looking for a way (via intents or some API function call) to invoke the device screen lock. Tried getting around to this by putting the device to sleep, since this is usually followed by a screen lock, but no luck since PowerManager gotooSleep() function requires special permissions to w

[android-developers] sw keyboard - listen TextWatcher but keep EditText widget hidden

2010-02-04 Thread smrt
Hi, I need to pop a software keyboard and listen by the TextWatcher interface which is optimal for my purposes. I don't want any widget do be displayed, I need to do the things by myself. I found how to do that without displaying an EditText widget instance. My idea is to create EditText widget an

Re: [android-developers] Re: How to use a Live Wallpaper in an Activity?

2010-02-04 Thread Dianne Hackborn
On Thu, Feb 4, 2010 at 9:51 AM, Jon Taylor wrote: > I assume that means that there is one master live wallpaper, and you > cannot have multiple wallpapers on a per-application basis? Is there > any way to do that? > Correct. The facility to show a preview of the wallpaper like the wallpaper pi

Re: [android-developers] How to learn Android build system

2010-02-04 Thread Miguel Morales
Not really that difficult. Make sure you have ant installed. (you should) Copy and modify a build.xml file from one of the sample applications. You should then be able to do ant, ant debug, ant release, etc. For compiling and signing your app. Enjoi! Miguel. On Thu, Feb 4, 2010 at 6:30 AM, pe

Re: [android-developers] Installing a Game Media to SD Card

2010-02-04 Thread Miguel Morales
Hey, This is actually pretty basic and straightforward. Firs you'll need to modify your manifext file to prompt for the correct permissions for writing to the sdcard. Also, reading from the sdcard can be slow. (at least from my experience.) Downloading a file and saving it to the sdcard is prett

Re: [android-developers] setUserAgentString not affecting browser user agent

2010-02-04 Thread Jason Proctor
i wouldn't necessarily advise replacing the user agent string completely, as other pieces in the chain might become confused. it's also possible that at request time WebKit is rejecting your string and sending the default one. if i'm reading it correctly, the standard for user agent strings s

Re: [android-developers] Re: Unable to parse hprof dump with MAT?

2010-02-04 Thread Mark Murphy
> Can anyone confirm hprof-conv is part of the SDK? Yes, it is. You will find it in the tools/ directory of your SDK installation. > And is this a > command driven? Yes, it is. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html

[android-developers] Re: Unable to parse hprof dump with MAT?

2010-02-04 Thread Moto
Thanks fadden! Can anyone confirm hprof-conv is part of the SDK? And is this a command driven? I'm using Windows 7... Thanks, Moto! On Feb 4, 10:58 am, fadden wrote: > On Feb 3, 8:18 pm, Moto wrote: > > > Any ideas?  I just used the "Dump HPROF file" button, and picked it up > > from the sdca

[android-developers] Re: VerifyError - how can I solve this error?

2010-02-04 Thread Martin
Hi! @Street of Boston: > Under what version of the Android OS did you compile your app? I compiled it with the manifest-entry: android:minSdkVersion="2" > Under what version of the Android OS is your app actually running? I don't know. It was an anonymous remote stacktrace of somebody, who is usin

Re: [android-developers] Re: Strange platform error in Droid(2.0.1), Hero(1.5)

2010-02-04 Thread Mark Murphy
> I am seeing this exact same stacktrace as well. I'm loading a Listiew > and am trying to progressively load more items once the last item is > hit. Is anyone else seeing this problem or have a fix? Very > frustrating since it happens randomly in my case. So it seems to be a > threading issue dow

Re: [android-developers] Background Intent

2010-02-04 Thread Mark Murphy
> Is it possible to start an Intent but kepp it hidden? For example now > to start the intent I am using startActivitity(intent). > Suppose the intent is to start a web browser, the webbrowser is shown > to user. Is it possible to keep this hidden? No, sorry. -- Mark Murphy (a Commons Gu

[android-developers] Re: What is the proper result for Handler.Callback.handleMessage() ?

2010-02-04 Thread Walt Armour
Finally found the time to dig into the source. Based on this snippet in core/java/android/os/Handler.java : /** * Handle system messages here. */ public void dispatchMessage(Message msg) { if (msg.callback != null) { handleCallback(msg); } else {

[android-developers] Re: Updating a pre-installed application

2010-02-04 Thread Rúben Cabaço
Is there any way to install an application with access to "signature" protection level permissions without it being embedded? The question really comes down to the "signature" permission, from the documentation: "A permission that the system grants only if the requesting application is signed with

[android-developers] Re: How to use a Live Wallpaper in an Activity?

2010-02-04 Thread Jon Taylor
I assume that means that there is one master live wallpaper, and you cannot have multiple wallpapers on a per-application basis? Is there any way to do that? On Feb 4, 9:14 am, Romain Guy wrote: > All you need to do is use the them Theme.Wallpaper and the wallpaper > will show behind your Activi

[android-developers] Re: How to show a message during incoming call?

2010-02-04 Thread Nymann
Hi I can just use the toast, just set the duraration to something else, like 1000 (1 sec) Hope this helps On Feb 4, 7:20 am, roackalone wrote: > Hi, > > How can I show a window containing few lines of text during the phone > ringing period? My app in running in background at this time. > Toast

[android-developers] Re: Textview with graphic (dynamically changing) inside.

2010-02-04 Thread skink
On Feb 4, 12:55 pm, John-Z80 wrote: > TextView tv=(TextView)this.findViewById(R.id.TextView01); > BitmapDrawable bmd=new BitmapDrawable(bm); bmd.setBounds(0, 0, 48, 48) >tv.setCompoundDrawables(bmd.getCurrent(), null, null, null); > With this option the text remains inteact but NO image is dr

[android-developers] Re: Preventing WakeLock Under-Locked exception

2010-02-04 Thread lipinski
Thanks, but my intent is to prevent the system from dimming/locking the screen for a configurable amount of time - since there will likely be no user activity. setKeepScreenOn doesn't seem to indicate preventing screen lock. If I am wrong and there is a way to do this with setKeepScreenOn, please

Re: [android-developers] Add languages to arm-eabi-gcc

2010-02-04 Thread David Turner
You can download the latest NDK release package, and look at the build/tools/build-toolchain.sh script there. It can be modified to rebuild a different toolchain if you want. On Thu, Feb 4, 2010 at 5:52 AM, mikl wrote: > Dear Community, > > By running > $DONUT_SRC/prebuilt/linux-x86/toolchain/ar

[android-developers] Re: drawing word-wrapped text at arbitrary position on a canvas

2010-02-04 Thread skink
On Feb 4, 3:56 am, julz wrote: > Hey skink, > I'm new to Android, could give an example on how to use > android.text.Layout class? > I have something like this in my code: > >  String text = selectedMapLocation.getDescription()+"\n"+"Published: > "+selectedMapLocation.getDate(); >  canvas.drawTe

[android-developers] Re: how to stop accelerometer sensor running in background?

2010-02-04 Thread JFrog
I believe when I had been running across handling sensor inputs there was always the finish( ) functionality included in my onStop( ) in order to finalize the end of the Activity. Of course there will always be a provider for the Android sensors out there that the system is supplying. Not sure if

[android-developers] Re: How to show a loading image or an animation?

2010-02-04 Thread Achanta
Hey Tope, thank you for posting it. I could not work on this till now but will start using your code. I hope it will do what I need. Thanks again for atleast getting me started on this thing. Achie. On Feb 1, 4:35 pm, Temitope Akinwande wrote: > So here is an example I created by following thi

[android-developers] Re: Preventing WakeLock Under-Locked exception

2010-02-04 Thread nikhil
If you want to keep the screen on you can use the setKeepScreenOn(true) method as well... On Feb 4, 7:58 am, lipinski wrote: > I'm trying to implement a times WakeLock in my Application, so this is > not a Service. > > I want the wakelock to simply prevent screen dimming for 3 min. > Looking thro

Re: [android-developers] How to use a Live Wallpaper in an Activity?

2010-02-04 Thread Romain Guy
All you need to do is use the them Theme.Wallpaper and the wallpaper will show behind your Activity. On Wed, Feb 3, 2010 at 4:17 PM, Jon Taylor wrote: > Hi, > > I have created a small sample Live Wallpaper, and I want to use it > with a small test Activity I have also created.  However, I cannot

Re: [android-developers] Bug report for 2.0.1. Click on EditText.

2010-02-04 Thread Romain Guy
This is a known issue, thanks for reporting it though. On Thu, Feb 4, 2010 at 7:40 AM, OrSol wrote: > Put emulator  in landscape mode. Find EditText control in any > application (contacts for ex.) and press on it. > Application fails with exception: > 02-04 17:27:55.434: ERROR/AndroidRuntime(802)

[android-developers] Re: drawing word-wrapped text at arbitrary position on a canvas

2010-02-04 Thread julz
Hey skink, I'm new to Android, could give an example on how to use android.text.Layout class? I have something like this in my code: String text = selectedMapLocation.getDescription()+"\n"+"Published: "+selectedMapLocation.getDate(); canvas.drawText(text,infoWindowOffsetX+10,infoWindowOffsetY +1

Re: [android-developers] How to create executable file with linking static library?

2010-02-04 Thread Sachin Dole
On Feb 4, 2010 4:09 AM, "bluestar" wrote: Dear Sir: I have a static library: libhello.a and I want to create a executable file that link with this static library: libhello.a I put this static library under /out/target/product/generic/obj/STATIC_LIBRARIES/ libhello_intermediates/

[android-developers] Re: btsocket connected but read zero bytes

2010-02-04 Thread Bwd
Good day. I was able to create a stable connection to the BT device. To do this, I changed your code: BluetoothSocket btsocket = btdev.createRfcommSocketToServiceRecord(uuid); btsocket.connect(); Upon: int RFCOMM_CHANEL = 1; //SPP chanel Method m = btdev.getClass().getMethod("createRfcommSocket",

[android-developers] porting ogre on Android

2010-02-04 Thread Geetha
Hi Folks, I am new to developing 3D graphics rendering on Android. I need help to port OGRE on Android. Thanks, Geetha -- 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.co

Re: [android-developers] Re: options menu items

2010-02-04 Thread haric zhu
I think it is not possible currently, but you can right a dialog like List Activity to do this, i mean customize it. 2010/2/5 Robert Nekic > I was about to start looking into this, too. I have several items in > a "More" menu and I would like to slightly adjust the height of each > item. I ass

[android-developers] unsubscribe

2010-02-04 Thread 林陈明
unsubscribe -- 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 android-developers+unsubscr...@googlegroups.com For more opti

Re: [android-developers] Re: options menu items

2010-02-04 Thread Sean Hodges
No, you cannot adjust the theme or layout of the default options menu (see http://code.google.com/p/android/issues/detail?id=4441). However, you can intercept the "Menu" button press and draw your own menu... On Thu, Feb 4, 2010 at 4:25 PM, Robert Nekic wrote: > I was about to start looking into

[android-developers] btsocket stable connection

2010-02-04 Thread Bwd
Good day. I was able to create a stable connection to the BT device. To do this, I changed your code: BluetoothSocket btsocket = btdev.createRfcommSocketToServiceRecord(uuid); btsocket.connect(); Upon: int RFCOMM_CHANEL = 1; //SPP chanel Method m = btdev.getClass().getMethod("createRfcommSocket",

[android-developers] Bug report for 2.0.1. Click on EditText.

2010-02-04 Thread OrSol
Put emulator in landscape mode. Find EditText control in any application (contacts for ex.) and press on it. Application fails with exception: 02-04 17:27:55.434: ERROR/AndroidRuntime(802): Uncaught handler: thread main exiting due to uncaught exception 02-04 17:27:55.474: ERROR/AndroidRuntime(802

[android-developers] Preventing WakeLock Under-Locked exception

2010-02-04 Thread lipinski
I'm trying to implement a times WakeLock in my Application, so this is not a Service. I want the wakelock to simply prevent screen dimming for 3 min. Looking through the docs, this seems simple enough, but I seem to randomly encounter a Under-Locked exception that I cannot pinpoint. Here is my Wa

[android-developers] Textview with graphic (dynamically changing) inside.

2010-02-04 Thread John-Z80
Hello, I've a TextView that in the onCreate is build with an image to the left from the static drawables, and with a text in the right. I want to dynamically change the text and the image, (and maintain the same image size), I have the image stored in a Bitmap named bm, (yes I know I could change

[android-developers] SDK installation error - "no buffer space available (maximum connections reached?): recv failed"

2010-02-04 Thread Blair
I am trying to get my environment setup to develop an android app. After unpacking the SDK files and running the SDK Setup.exe, the Android SDK and AVD manager opens up. I click on the AVAILABLE PACKAGES tab which is where the Android manager actually downloads all the available resources includin

[android-developers] How to get Context Menu and panning work together in an app.

2010-02-04 Thread newbie
Hi, I am trying to write an app which has an ImageView and the app allows to perform panning on the image. I also want to register context menu with this ImageView so that on long press Context menu comes up. I tried playing around with the onTouch method, but could not get it working. On long pr

[android-developers] Background Intent

2010-02-04 Thread aalavandaan austin
Hi, Is it possible to start an Intent but kepp it hidden? For example now to start the intent I am using startActivitity(intent). Suppose the intent is to start a web browser, the webbrowser is shown to user. Is it possible to keep this hidden? Regards. -- You received this message beca

[android-developers] sreadahead.c application is not compiling with android bionic library

2010-02-04 Thread zafar
Trying to use sreadahead tool on android target to decrease bootup time . But sreaahesd.c are not getting compiled against bionic library. Below is the error message- /tmp/ccIfKOOt.o: In function `one_thread': /home/zafar/spreadahead/sreadahead-1.0/sreadahead.c:177: undefined reference

[android-developers] Re: FingerPaint application

2010-02-04 Thread varun
hi you can find the source code for finger paint in the api demos in ur sdk android-sdk-linux/platforms/android-2.1/samples/ApiDemos/src/com/ example/android/apis/graphics in this folder you need to change just a sing line in the FingerPaint.java in the MyView class constructor change like this p

[android-developers] Jumping effect of Status Bar

2010-02-04 Thread Kichch
Hi everybody I have a problem with my app. I use the full screen option like so: public void setFullscreen() { requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLA

[android-developers] Jumping effect of Status Bar

2010-02-04 Thread Kichch
Hi everybody I have a problem with my app. I use the full screen option like so: public void setFullscreen() { requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FU

[android-developers] Add languages to arm-eabi-gcc

2010-02-04 Thread mikl
Dear Community, By running $DONUT_SRC/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- gcc --help I get (among other things) "Permissible languages include: c c++ assembler none". Is it possible to include other languages like Fortran? I can't find the source files to the toolchain such

[android-developers] Re: btsocket connected but read zero bytes

2010-02-04 Thread Bwd
Good day. I was able to create a stable connection to the BT device. To do this, I changed your code: BluetoothSocket btsocket = btdev.createRfcommSocketToServiceRecord(uuid); btsocket.connect(); Upon: int RFCOMM_CHANEL = 1; //SPP chanel Method m = btdev.getClass().getMethod("createRfcommSocket",

[android-developers] GridView.LayoutParameters()

2010-02-04 Thread vishu
what is the use of setLayoutParams(new GridView.LayoutParams(width,height)) in GridView with images example.. Can anybody explain me about this . Thanks in advance... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this grou

[android-developers] ObjectInputStream creation works in straight java, but fails on alternating calls inside Android

2010-02-04 Thread DanaH
Below is some test code that works fine when run from the command line (it prints out a phone number five times). However, when I run this same code from within my android app, it fails on every other call to “getit()”. Specifically, it fails on this line: inStream = new ObjectInputStream (

[android-developers] Re: ListView not responding to Click or KeyPress

2010-02-04 Thread chboing
i have the exact same problem ... i have an Activity that contains a Listview which is used in a Dialog My ListView contains only TextViews. It's initialized in my own baseAdapter. Built from a txt file on the sd card. it's working nicely except the main goal for me, select one of those item in th

Re: [android-developers] Using Surface in the Native Code

2010-02-04 Thread Johann Koenig
On Wed, 3 Feb 2010 00:28:37 -0500 Sandeep Prakash <123sa...@gmail.com> wrote: > But the following ERROR occurs when we try to run the .apk. > > 02-03 09:55:51.258: WARN/ServiceManager(582): Permission failure: > android.permission.ACCESS_SURFACE_FLINGER from uid=10032 pid=1361 > 02-03 09:55:51.25

[android-developers] Override Network TypeName

2010-02-04 Thread DroidAddict
Hello guys, Is there a way to override the TypeName in NetworkInfo object. The TypeName is set to WIFI when the WIFI connection is turned on. I would like to override this TypeName from WIFI and set it to MOBILE. I would like to know if this can be done on android with the exposed set of API's.

[android-developers] Re: How to get old version of android source

2010-02-04 Thread abukustfan
Hi, Did you try below? $ repo init -u git://android.git.kernel.org/platform/manifest.git -b android-1.6_r2 On Feb 4, 10:48 am, sheng wang wrote: > Hi, > > According to the doc of  http://source.android.com/download > > "*If you would like to check out a branch other than "master", specify it >

[android-developers] Re: Emulator on Ubuntu problem running after first time starting emulator

2010-02-04 Thread Richard Kasperowski
For me, this has been happening consistently on my Mac. After running it mostly successfully for weeks, today I can't get the emulator to start successfully. I haven't really looked through the qemud source code, but at http://gitorious.org/0xdroid/external_qemu/blobs/3a0c4d9eed9ba76e2744258af212

[android-developers] How to show a message during incoming call?

2010-02-04 Thread roackalone
Hi, How can I show a window containing few lines of text during the phone ringing period? My app in running in background at this time. Toasts won't work because they last at most 4 seconds. Thanks in Advance. RA -- You received this message because you are subscribed to the Google Groups "An

[android-developers] Re: How to play a media file on emulator

2010-02-04 Thread Babasaheb
Hi, I think this should help you.. "http://groups.google.com/group/android-developers/browse_thread/ thread/c5e6135e6f9a242c" I had similar problem, I got my answer here, i.e. the problem is with emulator. Thanks On Feb 4, 10:37 am, prachi wrote: > Hey hii all > > I hav a code to run a start

[android-developers] How to use a Live Wallpaper in an Activity?

2010-02-04 Thread Jon Taylor
Hi, I have created a small sample Live Wallpaper, and I want to use it with a small test Activity I have also created. However, I cannot seem to find an example of how to do this. The examples I have seen on the Web and in the Android sources all seem to focus on creating the live wallpaper itse

[android-developers] Re: Pop-up without using Toast.

2010-02-04 Thread cchenow...@gmail.com
You could always just ask the developer. His email is in the City Caller ID application. But, since I am here... The best way to do anything in Android is to look at the source of Android. I looked at how a toast was done in the source and implemented my own version of it. You can message me d

[android-developers] takePicture function error: getPicture failed!

2010-02-04 Thread adrian
I write a take picture program for test. The program exports as a application package and installs in real device. I start the activity with the command "adb shell am start -ncom.demo.android.cameracool/ com.demo.android.cameracool.CameraCool". The name of my program is CameraCool. When the activi

[android-developers] Re: Is passing AMR_NB into AudioTrack and AudioRecord valid?

2010-02-04 Thread Mainul Mizan
No, it is not using ARM_NB. Actually AudioFormat.ENCODING_DEFAULT = 0x1 which is being used. MediaRecorder.AudioEncoder.AMR_NB = 0x1 also. On Feb 3, 11:24 pm, "draf...@gmail.com" wrote: > I currently use AudioTrack and AudioRecord to create a looping sound > program and I was using raw PCM audio

[android-developers] touch screen issue in android

2010-02-04 Thread sincity
Hi, Im newbie to Android and Im working in touchscreen module. In the soft keyboard app. calibration is not happening properly ie.if i touch some key i get keys which are nearby, and this does not happens to all keys. Now Im not able to figure out whether this could be touch screen driver issue or

[android-developers] Why is Android not supporting arabic? Will it be in the future?

2010-02-04 Thread Bilal
I cannot understand this. Google takes care about adding arabic support in all it's products, and they will in the future Chromium OS. But why the hell Android does not support arabic? Is that a matter of technical issues or what? With the iPhone you can switch on arabic and your all device is in

[android-developers] Installing a Game Media to SD Card

2010-02-04 Thread Android
I have created a rather large game, 18 megs, and am sick of getting 1 star because of the size. Now normally I would just figure out how to do this on my own but since this is something I'm only doing because Google dropped the ball and may soon rectify, I would really appreciate it if some one wo

[android-developers] 'SimpleCursorAdapter' symbol not found and related errors in notepad sample application.

2010-02-04 Thread Swiftguy
Hello All, Im new to Android. Trying to run the 'notepad' application on my local system (building using ANT) Getting following errors... tried by best to sort this prob .. but unable to for the SimpleCursorAdapter symbol found error .. i even imported the base class file i.e 'import android.wid

[android-developers] Synchronize an AVD with ANdroid phone

2010-02-04 Thread Ali Chousein
Is it possible to synchronize an AVD with an Android phone? Like, I would like to upload to an AVD my contacts list, calllog, SMS messages etc. Such an upload, if possible will be very helpful, because otherwise I have to create artificial data on the AVD. Thank you in advance -Ali -- You recei

[android-developers] Eclipse not compiling aidl file

2010-02-04 Thread jaffachief
Hi, I cannot get eclipse to generate .java file from a .aidl file. Any help would be appreciated Cheers, Magnus -- 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 uns

[android-developers] ASSERTION FAILURE building libdl

2010-02-04 Thread Harkin
I'm trying to build a full android image from source to run on a TAO-3530 and I am running into a somewhat tough error. $ make -j3 PLATFORM_VERSION_CODENAME=AOSP PLATFORM_VERSION=AOSP TARGET_PRODUCT=generic TARGET_BUILD_VARIANT=eng TARGET_SIMULATOR= TAR

[android-developers] setUserAgentString not affecting browser user agent

2010-02-04 Thread doug
I am working on an application where I need to change the UserAgent string of the browser: WebView webview = new WebView(this); String newUA = "Foo-Bar/"; webview.getSettings().setUserAgentString(newUA); setContentView(webview); When I call: webview.getSettings().getUserAg

[android-developers] How do you deal with spammers?

2010-02-04 Thread aForum Dev
Hi, Our app, aForum, is a very popular forum app on the market. It had very good user rating. Last week, our forum was spammed by some people out of nowhere all of a sudden. The spamming included constant meaningless posts and vulgar words for a while. We got short peaceful time after banning some

[android-developers] About precise scan when doing garbage collection

2010-02-04 Thread rookie
Hi all I found that there are conservative scan and type precise scan when garbage collector scan the thread stack. Then I turn on the precise scan in the dalvim vm by adding some code in "frameworks/base/core/jni/AndroidRuntime.cpp" opt.optionString = "-Xgenregmap"; mOptions.ad

[android-developers] Using StaticLayout with a canvas to draw text.

2010-02-04 Thread julz
Hi, I have figured out the static layout this far, but I have no idea how to make it display my text anywhere else but in the top left corner. StaticLayout layout = new StaticLayout(text, getTextPaint(), 140, android.text.Layout.Alignment.ALIGN_CENTER,(float)1.0, (float)0.0, true); layout.draw(canv

[android-developers] Re: Android 2.0.1 SocketTimeoutException received with FTP Data channel

2010-02-04 Thread mericksonj
I'm already using openSSH for my server, it seems to work fine, especially with the PC clients, I have used both putty and secureCRT with this server and the FTP client (filezilla) works fine over both. HTTP, telnet and even VNC work fine from the android devices, I haven't quite ruled out TCP/IP,

[android-developers] Re: Strange platform error in Droid(2.0.1), Hero(1.5)

2010-02-04 Thread Justin Grammens
I am seeing this exact same stacktrace as well. I'm loading a Listiew and am trying to progressively load more items once the last item is hit. Is anyone else seeing this problem or have a fix? Very frustrating since it happens randomly in my case. So it seems to be a threading issue down inside An

[android-developers] Unable to get the trigger with Repeat Alarm when set in BootUp Sequence

2010-02-04 Thread Kasmoori Bindu
Hi All, I have to run a particular background task everyday, hence I chose to set a Repeat Alarm as soon as BOOT_COMPLETE event is received with 24hrs as interval. When tested, observed that alarm expiry is not received to the IntentReceiver, when phone successfully powers up. Unable to figu

[android-developers] Re: options menu items

2010-02-04 Thread Robert Nekic
I was about to start looking into this, too. I have several items in a "More" menu and I would like to slightly adjust the height of each item. I assumed I would discover a way to supply a layout definition for the menu items but this is not possible? On Feb 4, 10:38 am, skink wrote: > On Feb

[android-developers] Re: Unable to parse hprof dump with MAT?

2010-02-04 Thread fadden
On Feb 3, 8:18 pm, Moto wrote: > Any ideas?  I just used the "Dump HPROF file" button, and picked it up > from the sdcard and opened it with MAT... You need to run it through hprof-conv first. The Android-specific version can't be understood by MAT/jhat. It has some additional detail, like whet

[android-developers] Re: try to see hprof dump from ddms

2010-02-04 Thread fadden
On Feb 4, 1:00 am, allstars wrote: > so i would like to ask what's the difference here and > what should i do if i want to see hprof when my app is built > in mydroid My guess would be that it's trying to write the hprof dump to a temporary file on /sdcard, and your app doesn't have WRITE_EXTERNA

  1   2   >