[android-developers] Help to develope keyboard driver!!!

2009-07-13 Thread Ulzii
I am a Mongolian developer and I need to create a Mongolian crylic letter keyboard driver for typing Mongolian text. How can I develop this keyboard driver? Which material is very helpful for me? Please me provide appropriate URL Thank you in advance. Ulzii

[android-developers] Re: GpsStatus

2009-07-13 Thread kalyan
thanks john coryat... that was a great piece of code.. can you please tell me as how to achieve this in android 1.1 ??? we dont have GPSSatellites or GPSStatus in 1.1... kindly help!! Thanks in advance!! --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: how to set font for softkeyboard?

2009-07-13 Thread and.pradeep
Thanks for reply but how set set font for the IME? On Jul 12, 8:39 pm, Dianne Hackborn hack...@android.com wrote: You can't customize it from an application, the user needs to select what IME they want to use. On Sun, Jul 12, 2009 at 6:16 AM, and.pradeep and.prad...@gmail.com wrote: how

[android-developers] Re: Getting the time of the outbound calls

2009-07-13 Thread Fernando Manso (BrOkeR)
Anyone can't tell me how to know when the call is established ? :( On Sun, Jul 12, 2009 at 1:18 PM, Fernando Manso (BrOkeR) bro...@gmail.comwrote: Hi there, I am introducing myself to Android development. My first intention is to make a minute counter application. I tried to use a

[android-developers] Re: Demo App

2009-07-13 Thread UK Android Apps UK Android Apps
thanks On Jul 11, 9:28 am, John Smith deltafoxtrot...@gmail.com wrote: 2009/7/10 UK Android Apps UK Android Apps ukandroida...@googlemail.com I want to release a demo version of my app. I added a restriction that the app could only be used 5 times by storing a counter in the db.

[android-developers] Detecting hiding of android keyboard

2009-07-13 Thread Lee
I've got an application where a button can be used to display the onscreen keyboard (so that the user can interact with the application). The button is positioned on top of a SurfaceView and when the button is pressed the onscreen keyboard is displayed and the button is hidden. I'm trying to

[android-developers] WebView: How to work with Plugins and WebViewClient? Was: How to play YouTube Video in WebView?

2009-07-13 Thread Mariano Kamp
So, it works when using WebView.setPluginsEnabled(true). Well, it works until setting up a WebViewClient. WebView webView = (WebView) findViewById(R.id.content_web_view); webView.getSettings().setPluginsEnabled(true); webView.setWebViewClient(new WebViewClient() {}); // MARK

[android-developers] Re: how to avoid the showing of prev,next buttons of MediaController

2009-07-13 Thread tstanly
according to the link, it's impossible invisiable to the prev/next button, the referece of widget says: The previous and next buttons are hidden until setPrevNextListeners () has been called hidden is not invisible On 6月24日, 下午10時29分, Marco Nelissen marc...@android.com wrote: According

[android-developers] chinese keyboard

2009-07-13 Thread and.pradeep
How to set font for a IME? if i want it to be in chinese? --~--~-~--~~~---~--~~ 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

[android-developers] Re: how to set font for softkeyboard?

2009-07-13 Thread Dianne Hackborn
You need to use a Chinese IME. One may not have shipped with your device, but there might be one in Market. On Sun, Jul 12, 2009 at 11:44 PM, and.pradeep and.prad...@gmail.com wrote: Thanks for reply but how set set font for the IME? On Jul 12, 8:39 pm, Dianne Hackborn hack...@android.com

[android-developers] Re: Avoid Failed Binder Transaction

2009-07-13 Thread Dianne Hackborn
I don't believe the code you lists causes any Binder IPC -- that is all just normal Linux stuff. On Sun, Jul 12, 2009 at 10:47 PM, Don Tran arro...@gmail.com wrote: My application is getting a failed binder transaction, which causes it to completely hang, when I do the following: Process

[android-developers] Re: Calender app on [emulator/custom devices]

2009-07-13 Thread Dianne Hackborn
The calendar APIs are not public, so unfortunately right now you can't create anything that could be put on Market. On Sun, Jul 12, 2009 at 10:18 PM, vishal bhoj vishalb...@gmail.com wrote: Hi, Has anyone got the calender application running on emulator/ custom devices. Can we use the

[android-developers] Re: Calender app on [emulator/custom devices]

2009-07-13 Thread vishal bhoj
ok fine, but what about custom devices who want to have a calendar application. How can they get the default application running on their device. Is there any way we can get the application running ? On Mon, Jul 13, 2009 at 1:32 PM, Dianne Hackborn hack...@android.comwrote: The calendar APIs

[android-developers] Re: HTC Magic vs G1 performance

2009-07-13 Thread Eric Wong (hdmp4.com)
Maybe you can run the benchmark and post your test results http://forum.xda-developers.com/showthread.php?t=532668 those results at XDA certainly shows the Magic to be slowerdespite Magic having more ram and rom over G1... Maybe also post the results using CaffeineMark I know G1 have

[android-developers] ListView (ExpandableListView as well) selector highlight problems with custom background

2009-07-13 Thread Dimitris
Hey all, I have an expandable list with a custom adapter. Everything works great but there are two problems. First whenever a group or child has a custom background color set the orange selector does not show up. If I dont setup a color the selector draws nicely and also the fade away for

[android-developers] Re: Video with MediaRecorder

2009-07-13 Thread Zeeshan Muhammad
Hi Hanged, no it doesn't work on emulator and not even on real device. i dont see anything except application title when i run the above intent On Sun, Jul 12, 2009 at 12:49 AM, hanged_man majd...@gmail.com wrote: Zeeshan, does (the intent solution) work on the emulator or not ? On Jul 12,

[android-developers] Re: Video with MediaRecorder

2009-07-13 Thread hanged_man
Muhammad, This is the very same problem that i used to have with the camera and i've managed to get around it with the solution that i suggested before. However, you might want to send me your source code (or more like a snippet) and ill try it locally on my machine. On Jul 13, 11:37 am,

[android-developers] Re: how to set font for softkeyboard?

2009-07-13 Thread and.pradeep
if I want to develop a chinese IME, Where am i suppose to set the font? On Jul 13, 12:59 pm, Dianne Hackborn hack...@android.com wrote: You need to use a Chinese IME.  One may not have shipped with your device, but there might be one in Market. On Sun, Jul 12, 2009 at 11:44 PM,

[android-developers] Re: Video with MediaRecorder

2009-07-13 Thread Zeeshan Muhammad
* here is my code: package* net.sleepy.video; i*mport* android.app.Activity; * import* android.content.Intent; * import* android.os.Bundle; * public* *class* Capture *extends* Activity { /** Called when the activity is first created. */ @Override *public* *void* onCreate(Bundle

[android-developers] Re: Mix tab with ImageView and TextView

2009-07-13 Thread Christian S.
I solved this - was actually quite easy through XML - here is how it looks if someone is interested: ?xml version=1.0 encoding=utf-8? TabHost xmlns:android=http://schemas.android.com/apk/res/android; android:id=@android:id/tabhost android:layout_width=fill_parent

[android-developers] Re: Help to develope keyboard driver!!!

2009-07-13 Thread and.pradeep
for software keyboard http://developer.android.com/reference/android/inputmethodservice/InputMethodService.html On Jul 13, 11:09 am, Ulzii ter...@gmail.com wrote: I am a Mongolian developer and I need to create a Mongolian crylic letter keyboard driver for typing Mongolian text. How can I

[android-developers] Re: How to get the video stream from MediaRecorder?

2009-07-13 Thread manoj
Hi Gergely Kis , Thanks for your reply. I followed your blog, and able to stream it. On the server side, I have written a socket which reads the data and writes it into the local file system. The server able to save the file. But when I tried to play the file, it showing some error message

[android-developers] Service won't stop when exiting application

2009-07-13 Thread Lex
Hi everyone, this message is in addition to the posts at http://groups.google.com/group/android-developers/browse_thread/thread/3f01a8576ebb0d7c/1a065e23513c1523 I have a service receiving and sending data to a server in separate threads each. The service lifecycle methods look like this:

[android-developers] Forced line break in xml layout using simple list adapter

2009-07-13 Thread Christian S.
I am struggling with applying a forced line break in the xml layout when using a simple list adapter. The data for the list adapter is being pulled from an sqlite db. Here is the code: SimpleCursorAdapter adapter = new SimpleCursorAdapter(this, R.layout.item,

[android-developers] Re: How to get the video stream from MediaRecorder?

2009-07-13 Thread manoj
I can able to view the video in vlc player if I change the video encoder to VideoEncoder.MPEG_4_SP and output format to OutputFormat.MPEG_4. But the video is playing very fastly not in usual speed. If I tried to open it in quicktime player, I am getting -2048 error. can you please help me to

[android-developers] Re: How to contact device with ADB from Windows NT?

2009-07-13 Thread Chenny
I tried set ADBHOST=xx.xx.xx.xx And it is OK for adb shell. Thanks very much! On Jul 10, 6:40 pm, Chenny chenny...@gmail.com wrote: Hi All, I can contact device withADBtool from Linux PC. Such as:   On Linux PC:   $ exportADBHOST=XX.XX.XX.XX #(IP of Android device)   $adbkill-server

[android-developers] Get certificate used to sign an application

2009-07-13 Thread Lutz Schönemann
I need some info about the android.content.pm.Signature object. Currently I do the following to get the certificate used to sign the package: ---8---8---8--- ByteArrayInputStream is; CertificateFactory cf; try { cf = CertificateFactory.getInstance(X.509); }

[android-developers] Issue: java.lang.SecurityException: Neither user 10013 nor current process has android.permission.WAKE_LOCK

2009-07-13 Thread Chenny
Hi All, When I port my Android APP from Cupcake to Donut, I meet the following issue: Anybody has clue for it? (BTW, the APP can be worked well on Cupcake.) E/AndroidRuntime( 2225): java.lang.SecurityException: Neither user 10013 nor cur rent process has android.permission.WAKE_LOCK.

[android-developers] Installation error: failure -12

2009-07-13 Thread bluestar
Hi all, I used Eclipse-SDK1.5 to create one app from apk(myClient.apk), and install on OpenMoko(Android version 1.0) but i received this error: pkg: /data/local/tmp/myClient.apk Failure [-12] My apk can install successfully on Android-Emulator under WinXP.

[android-developers] Re: Installation error: failure -12

2009-07-13 Thread Lutz Schönemann
Maybe you have compiled your application for Android 1.5. Make sure to set Android 1.1 as target. Am 13.07.2009 um 13:10 schrieb bluestar: Hi all, I used Eclipse-SDK1.5 to create one app from apk(myClient.apk), and install on OpenMoko(Android version 1.0) but i received this

[android-developers] Re: Issue: java.lang.SecurityException: Neither user 10013 nor current process has android.permission.WAKE_LOCK

2009-07-13 Thread Chenny
It is resolved. android.permission should be added into androidmanifest.xml: package=com.example.fslmmapp android:versionCode=1 android:versionName=1.0 uses-permission android:name=android.permission.CAMERA / uses-permission

[android-developers] Best practise to deal with killed services?

2009-07-13 Thread Mariano Kamp
Hi, I often see that services are killed and then restarted. I can force this behavior when opening many applications. Low Memory or OutOfMemory are not problems per se, are they? This is just the normal behavior due to Android not closing applications, but killing the least important

[android-developers] local web content and XmlHttpRequest

2009-07-13 Thread Miguel Paraz
Hi, I want to load local HTML content which makes HTTP calls using XmlHttpRequest. I created a content:// URL which refers to the SD card, using the code here: http://lucabelluccini.blogspot.com/2008/09/android-developers-google-group-focus.html However, when I call the JavaScript function that

[android-developers] Re: onLoadResource / shouldOverrideUrlLoading

2009-07-13 Thread ioRek
yep, and I still can't find a way to override my url if it's not a user action On 7 juil, 23:57, Daniel nie...@googlemail.com wrote: Yeah, bummer... Some kind ofshouldOverrideUrlLoading/ shouldLoadResource would be really nice and useful. Is a feature like this planned for future versions?

[android-developers] How to hide the scrollbar, please

2009-07-13 Thread 单单
The requirements is the scrollbar of a list is usually unvisible. Only when user scroll it, the scrollbar shows. Could anyone tell me how to achieve this? Any help will be highly appriciated! --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: javax.xml.datatype.XMLGregorianCalendar

2009-07-13 Thread Max
Thanks for your answer, but I'm not sure what to download. How exactly do I get XMLGregorianCalendar from Apache Harmony and into my project? On Jul 12, 1:56 pm, Mark Murphy mmur...@commonsware.com wrote: Max wrote: An external library that I use (Sesame) references the method

[android-developers] Select a specific InputMethod by program

2009-07-13 Thread condor
I compiled the example SoftKeyboard in the SDK successfully, but to use it, user has to select it as default IME or select it by the context menu. How to select it by program and use it in an EditText? --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Open Browser from Menu

2009-07-13 Thread Donn Felker
Hello, Here's what I'm attempting to do. I have a menu, and when a user selects a particular option in the menu I want the browser application to open and display the web page. However, I cannot seem to do this. My application uses a TabWidget to display its content (which works perefectly) but

[android-developers] Re: javax.xml.datatype.XMLGregorianCalendar

2009-07-13 Thread Mark Murphy
Thanks for your answer, but I'm not sure what to download. How exactly do I get XMLGregorianCalendar from Apache Harmony and into my project? Visit http://harmony.apache.org/. Download the sources. Find XMLGregorianCalendar.java in the source distribution. Put it in src/javax/xml/datatype in

[android-developers] Re: Buffer size for AudioTrack

2009-07-13 Thread sasq
Why would you want to? With a garbage collector that can keep your thread from running for over 400ms, you need at least that large a buffer or you would get stuttering (ie for 500ms 44100*4 / 2 = 88100 bytes for stereo playing). On Jun 17, 4:51 pm, akito nav.rey...@gmail.com wrote: This may

[android-developers] AudioTrack - Optimal sound format

2009-07-13 Thread sasq
When playing music through AudioTrack, the mediaserver process takes about 5% CPU on top of what my program takes. So, is there an optimal format to give to AudioTrack so it doesn't have to resample? --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: javax.xml.datatype.XMLGregorianCalendar

2009-07-13 Thread Max
(Wow, you're fast.) The problem is that I can't seem to find any source there containing the XMLGregorianCalendar class. On Jul 13, 2:50 pm, Mark Murphy mmur...@commonsware.com wrote: Thanks for your answer, but I'm not sure what to download. How exactly do I get XMLGregorianCalendar from

[android-developers] Re: Making a persistant content observer

2009-07-13 Thread jrgraf...@googlemail.com
Yeah I figured that would help things out, since a service should have a lot longer lifecycle then an activity. This has worked - to an extent, apart from randomly the observer will randomly stop responding and I cant see a way of detecting when this has happened! On Jul 10, 6:08 pm, Streets Of

[android-developers] Re: javax.xml.datatype.XMLGregorianCalendar

2009-07-13 Thread Max
I found a XMLGregorianCalendar class somewhere else (http:// www.google.com/codesearch/p?hl=ensa=Ncd=2ct=rc#HdNQifPpBEA/javax/xml/datatype/XMLGregorianCalendar.javaq=class%20XMLGregorianCalendarl=178), but first I'll have to see how I get the whole --core-library thing to work reasonably within

[android-developers] Android TLS implementation

2009-07-13 Thread Pablo Szyrko
Is there any available guide to implement TLS for Android applications? Thanks in advance --~--~-~--~~~---~--~~ 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: Hiding Soft input like using BACK buton

2009-07-13 Thread skyman
*bump* On 11 Lip, 16:13, skyman krzysiek.bieli...@gmail.com wrote: Hello, In my app I have AutoCompleteTextView and search button. When user clicks enter or search an Intent is fired and new Activity is started. But in that new Activity SoftInput should be invisible, so I make

[android-developers] Re: can get the music information?

2009-07-13 Thread Marco Nelissen
The media content provider has that information. On Sun, Jul 12, 2009 at 8:31 PM, tstanlytsai.sta...@gmail.com wrote: hi all, is there are api that can get the music information, such as album name,author name,song name or time of this song? thanks

[android-developers] ActivityMonitor on Android activities.

2009-07-13 Thread Mathieu Plourde
I've implemented instrumentation in order to generate clicks and key presses, and so far it's working pretty good. The only problem is, I'm using the com.android.contacts.EditContactActivity and com.android.contacts.ViewContactActivity. I'm using ActivityMonitor to see when an activity is

[android-developers] Re: Open Browser from Menu

2009-07-13 Thread Jack Ha
Try this: Intent i = new Intent(Intent.VIEW_ACTION, Uri.parse(http://www.cnn.com;)); startActivity(i); -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual

[android-developers] Bitmap memory leaks with onClick...

2009-07-13 Thread Alexey Volovoy
Hi All i have strange memory leak with Bitmaps. First what i have - an activity that based on the workspace view from Launcher ( 3 screens current prev + next ) . This layout is supplied with adapter , so then i flipping left/right it loads next view. The views that adapter is providing is an

[android-developers] Re: Open Browser from Menu

2009-07-13 Thread Donn Felker
Nice! This did it perfectly! Thank you very much. :) --~--~-~--~~~---~--~~ 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

[android-developers] Re: Open Browser from Menu

2009-07-13 Thread Donn Felker
Just for anyone who finds this later, I used the following code (a slight typo was above). Intent i = new Intent(Intent.VIEW_ACTION, Uri.parse(http:// www.cnn.com)); startActivity(i); --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Clickable Map Markers

2009-07-13 Thread alexdonnini
Hello, Unless I am mistaken, a tap is not the same as a click, is it? If I am correct, would a click event need to be handled using an on- click listener? Thanks. Alex Donnini On Jun 15, 8:10 am, adadcalledrichard adadcalledrich...@gmail.com wrote: Check out the onTap(int item) method on

[android-developers] Re: Select a specific InputMethod by program

2009-07-13 Thread Dianne Hackborn
Sorry, the application can't change the global IME. On Mon, Jul 13, 2009 at 5:41 AM, condor 25apr1...@gmail.com wrote: I compiled the example SoftKeyboard in the SDK successfully, but to use it, user has to select it as default IME or select it by the context menu. How to select it by

[android-developers] Re: Service won't stop when exiting application

2009-07-13 Thread Dianne Hackborn
Are you sure you are stopping the same service? You are passing something different in for the Intent component. I would suggest defining one static Intent for the service, that is use for both start and stop. On Mon, Jul 13, 2009 at 3:07 AM, Lex hakkinen1...@gmail.com wrote: Hi everyone,

[android-developers] Getting all views of an activity.

2009-07-13 Thread Mathieu Plourde
I have the instance to my activity, and I want to get all the views that are in this activity. I need to add a listener to each view, for any activity. That means I can't user findViewById. Is there any way to do this? I was hoping for a activity.getViews() or something, but it doesn't exist.

[android-developers] Re: Getting all views of an activity.

2009-07-13 Thread Lutz Schönemann
If you have all your Views in a LinearLayout or an other container that extends ViewGroup you can use the functions getChildCount() and getChildAt(int) and iterate through all of the contained views. Am 13.07.2009 um 18:21 schrieb Mathieu Plourde: I have the instance to my activity, and

[android-developers] Re: Getting all views of an activity.

2009-07-13 Thread Mathieu Plourde
But is there a way to get my LinearLayout from my activity object? On Jul 13, 12:41 pm, Lutz Schönemann lutz.schoenem...@sit.fraunhofer.de wrote: If you have all your Views in a LinearLayout or an other container   that extends ViewGroup you can use the functions getChildCount() and

[android-developers] Re: Select a specific InputMethod by program

2009-07-13 Thread condor
Hi Dannie thanks for the answer. If is not possible to change the IME by program how can I extend the standard one to mange number in a custom way? Actually, I need a keyboard that show only the 10 digits and the + - * / operators for a view that contains multiple EditText where the user can

[android-developers] Re: Select a specific InputMethod by program

2009-07-13 Thread Dianne Hackborn
If you just want a custom keyboard, you can use the same keyboard class to implement a keyboard within your app. Currently that is the only thing that is really supported. On Mon, Jul 13, 2009 at 10:00 AM, condor 25apr1...@gmail.com wrote: Hi Dannie thanks for the answer. If is not possible

[android-developers] Re: Packet Driver and RIL Header Files

2009-07-13 Thread Junior Oyebadejo
...anything about these Packet Drivers and RIL header files --~--~-~--~~~---~--~~ 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

[android-developers] Re: Getting all views of an activity.

2009-07-13 Thread Dianne Hackborn
Use findViewById() for the top view, and then you can iterate through the children views as you want. On Mon, Jul 13, 2009 at 9:57 AM, Mathieu Plourde mat.plou...@gmail.comwrote: But is there a way to get my LinearLayout from my activity object? On Jul 13, 12:41 pm, Lutz Schönemann

[android-developers] How to force a line break in xml layout when using list adapter?

2009-07-13 Thread Christian S.
I am struggling with applying a forced line break in the xml layout when using a simple list adapter. The data for the list adapter is being pulled from an sqlite db. Here is the code: SimpleCursorAdapter adapter = new SimpleCursorAdapter(this, R.layout.item,

[android-developers] Re: Unable to write text file to sdcard on physical G1 device

2009-07-13 Thread doubleminus
Hmm, this change causes the code to throw an exception (filenotfound). Is there something else I should do/change in addition to this? On Jul 12, 9:29 pm, Romain Guy romain...@google.com wrote: Hi, Instead of: FileOutputStream file_out = openFileOutput (file_name,MODE_WORLD_READABLE);

[android-developers] Re: What SensorManager.getOrientation returns?

2009-07-13 Thread Rud
It works fine on my G1. I'll be posting more info on my blog tonight (hopefully). Here is a code snippet... final int matrix_size = 16; float[] R = new float[matrix_size]; float[] outR = new float[matrix_size]; float[] I = new float[matrix_size]; float[]

[android-developers] Unable to set/play ringtone from resource

2009-07-13 Thread Donn Felker
Hello, I have an app in which I'm attempting to set the default ringtone of the device to a resource. From my research I've seen that this can be done with the RingtoneManager like this: Uri mediaUri = Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + :// +

[android-developers] Lock_layer error intermittently when stopping and starting a opengl SurfaceView

2009-07-13 Thread cnatale37
I'm writing a game using the drawing method from Chris Pruett's opengl spritemethodtest demo. The Activity running my opengl view works fine on initial load, and about half the time after turning off the phone and turning it back on. However, the other half, it locks up. I'll get a lock_layer

[android-developers] Re: Unable to set/play ringtone from resource

2009-07-13 Thread Donn Felker
I've managed to get the ringtone to play with this code change to the resource: Uri mediaUri = Uri.parse(android.resource://com.example.App.TestApp/ + mediaId); Now I'm attempting to play the current ring tone .. if all works Ill post and update here.

[android-developers] Re: Using Intent to view specific App in Android Market

2009-07-13 Thread Mike Brown
I don't think it's possible to do what you're trying to do. Installing an app (or even a library for that matter) requires the user's consent. If the app is already installed it's a different story. On Jul 10, 2009 5:45 PM, iPaul Pro mr.paulbu...@gmail.com wrote: To do this in a future-proof

[android-developers] How to set the activity as Main ?

2009-07-13 Thread Nerj
Hi! I am new to Android I can create an activity with different views, and can run them successfully. The problem is that, If I have several activities in the android project, it takes only one to launch. Can u pls, tell me how to set an activity as Main one which is to be launch at

[android-developers] G1 Mobile - Is there a Microsoft office suite fully working in Andriod software apps?

2009-07-13 Thread wackeyraces
I am interested in loading Excel, and Word on my G1 but I cannot see a fully functional version. This is an App under development but I understand has problems. Thanks Wackeyraces --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] how to use adb tool on SAMSUNG GALAXY?

2009-07-13 Thread da yang
Hi i got this new mobilephone this week in Germany, wanted to debug my program on the device. but it doesn't work, c:\ adb devices lists no device attached, though i have tried to change the android_usb.inf in order to install the usb driver from SDK. i added some entries as follows: under

[android-developers] Checking which device an app is running on

2009-07-13 Thread kaifung...@googlemail.com
Hi, I have seen that it is possible to prevent an app from being run on old versions of Android but my concern is that devices may not support features properly or even at all. Is there any way to queary what device an app is currently running on? Thanks for any help or advice KK

[android-developers] how to obtain a virgin map ?

2009-07-13 Thread Eden
Hi, Is there a way to obtain a virgin map with the Google Map Api or other API (no city and country names, i want only country borders) ? thx --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] xml layout woes

2009-07-13 Thread niju...@utdallas.edu
Hi all, I'm new to android and xml ui layouts, so please bare with me. What I'm trying to do is a relative layout with an imageview above and a nested tablelayout below with 4 rows containing 4 buttons in each row. Like this: __ | | | | |

[android-developers] Re: SDK 1.5: unable to send SMS to another emulator

2009-07-13 Thread sambabug
I am using SDK 1.5 Ubuntu 9.04 I tried disabling ipv6 on localhost by using sysctl (sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1 and also tried sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1). But to no use. Can someone please clarify, what I might be missing? Regards Sam On Jul 9, 8:44 

[android-developers] About the NeighboringCellInfo information

2009-07-13 Thread mikewuth
Hello everyone, I'd like to ask some questions about the NeighboringCellInfo get from the android.telephony.TelephonyManager.getNeighboringCellInfo. 1. Is the current connected BS information included in the NeighboringCellInfo? 2. I'm now trying to get the current Cell ID and current RSSI

[android-developers] onTouch with finger still on display

2009-07-13 Thread Daliz
Hello, I'm having a conceptual problem with a simple application. I have an empty FrameLayout and I want for a certain event to being continuosly repeated until the finger leaves the display. If I apply: [CODE] frameLayout.setOnTouchListener(new View.OnTouchListener() { public boolean

[android-developers] Re: SDK 1.5: unable to send SMS to another emulator

2009-07-13 Thread sambabug
I am using SDK 1.5 Ubuntu 9.04 I tried disabling ipv6 on localhost by using sysctl (sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1 and also tried sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1). But to no use. Can someone please clarify, what I might be missing? Regards Sam On Jul 9, 8:44 

[android-developers] G1 Mobile - External 'FREEDOM' QWERTY collapseable bluetooth keyboard

2009-07-13 Thread wackeyraces
Has anyone heard of any new software being released for the bluetooth device please? I tried plugging in a USB/PS2 keyboard to my G1 and in all cost approx £12.00, and does not work. I am thinking of getting a FREEDOM qwerty from Ebay..if this WILL work? Kind Regards Wackeyraces

[android-developers] Problem using UserTask and AsyncTask

2009-07-13 Thread Amin
I'm new to Android devevlopment and facing a problem using either UserTask or AsyncTask. I use Eclipse with the ADT. Everything works fine but when I use AsyncTask (with the proper import: android.os.AsyncTask) the import and the line containg AsyncTask are marked as errors. Trying the hints in

[android-developers] Any updates on ADC-2?

2009-07-13 Thread frosty
The full terms and conditions were to be published and its almost mid- july now. I know it says timelines are subject to change but with around 20 days remaining when they start accepting entries, maybe the contest organizers should update the timeline so that we have an approximate idea, how

[android-developers] Gyroscope and Tricorder Sensors in Android

2009-07-13 Thread Ahmad Fathy
Hi all, First, regarding these sensors: - Gyroscope Sensor: http://developer.android.com/reference/android/hardware/Sensor.html#TYPE_GYROSCOPE - Pressure Sensor: http://developer.android.com/reference/android/hardware/Sensor.html#TYPE_PRESSURE - Tricorder Sensor:

[android-developers] Re: How to hide the scrollbar, please

2009-07-13 Thread 陈佳功
你好,我是一个业余android 爱好者,能和你交个朋友吗! 在2009-07-11,单单 birb...@gmail.com 写道: The requirements is the scrollbar of a list is usually unvisible. Only when user scroll it, the scrollbar shows. Could anyone tell me how to achieve this? Any help will be highly appriciated!

[android-developers] matching prebuilt kernel sources

2009-07-13 Thread Tim Newsham
Hi, I have a recent repo copy of the platform tree and I noticed that the kernel sources included in it are incomplete. For example, the arch/arm/mach-goldfish directory is not present, but devices from this directory are present in the kernel that the emulator boots. How can I get a more

[android-developers] Eclipse Plugin allows Spaces in String.xml, but generated invalid R.java

2009-07-13 Thread Frank Maker
The Android eclipse plugin allows spaces in the values field, without any errors. This then causes invalid java syntax to be generated in the R.java file. I recommend adding a simple check for spaces in the value field, displaying an error and not allowing the value to be submitted. -Frank Maker

[android-developers] JSONObject .getInt() method doesn't handle a null

2009-07-13 Thread Eurig Jones
part of the JSON String contents: { aNumber:null } o is a org.json.JSONObject below: o.getInt(aNumber); This results in an exception: org.json.JSONException: JSONObject[aNumber] is not a number. I would guess getInt() should be returning a null. Looks like a bug to me. What do you think?

[android-developers] Re: Custom Title Not Filling Whole Title Bar (help please)

2009-07-13 Thread Stephen
I've checked out their code but when I use the same code in my app I still get the outline from the title bar coming through. This is the xml for the title bar: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android

[android-developers] Re: Playing video as a raw resource

2009-07-13 Thread jkraft756
This has been driving me crazy as well. I did find the following reference in the docs for the MediaPlayer, which mentions the symptom above...: public void setDisplay (SurfaceHolder sh) Sets the SurfaceHolder to use for displaying the video portion of the media. This call is optional. Not

[android-developers] How to run the program on the new SAMSUNG GALAXY under windows XP

2009-07-13 Thread da yang
Hi i got this new mobilephone this week in Germany, wanted to debug my program on the device. but it doesn't work, c:\ adb devices lists no device attached, though i have tried to change the android_usb.inf in order to install the usb driver from SDK. i added these: under [Google.NTx86] ; HTC

[android-developers] Android Service Problem

2009-07-13 Thread Lenny
I'm new to using Services in Android I followed a tutorial, but the service doesn't seem to be starting. the problem I'm having is that the onServiceConnected method never fires so mpInterface never gets assigned. However, I can't seem to figure out why I've looked at several examples and they

[android-developers] Re: Playing video as a raw resource

2009-07-13 Thread jkraft756
The solution is deceptively simple. You just need to format a URI that refers to the video in the APK using the R.raw.yourvideo object pointer: Example for use with a VideoView (assuming you have one already named mVideoView) is: Uri uri = Uri.parse(android.resource://

[android-developers] How to run the program on the new SAMSUNG GALAXY under windows XP

2009-07-13 Thread da yang
Hi i got this new mobilephone this week in Germany, wanted to debug my program on the device. but it doesn't work, c:\ adb devices lists no device attached, though i have tried to change the android_usb.inf in order to install the usb driver from SDK. i added these: under [Google.NTx86] ; HTC

[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-13 Thread Beny Koo
Dear Mark, I've to say, that's really AMAZING demo! I've added the code to my project and it seems working perfect. Until last week I found the demo UI has an issue and I cannot resolve it by myself. The situation is following, I bind at least 3 database adapters with section to one listview on

[android-developers] Re: How to hide the scrollbar, please

2009-07-13 Thread star double
android:scrollbarStyle=insideOverlay may be it can help you On Jul 11, 1:11 pm, 单单 birb...@gmail.com wrote: The requirements is the scrollbar of a list is usually unvisible. Only when user scroll it, the scrollbar shows. Could anyone tell me how to achieve this? Any help will be highly

[android-developers] a

2009-07-13 Thread renjith mp
a --~--~-~--~~~---~--~~ 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] Multi-touch My Touch Phone Questions

2009-07-13 Thread Infinite
Keep in mind I am not an android developer, however I am a tech consumer with authority to select and purchase over 100+ phones. I just saw the new Google phone at t-mobile and I was disappointed that it didn't have any multi-touch functionality. Actually I was quite disappointed in the phone

[android-developers] AsyncTask vs Handler/Looper

2009-07-13 Thread Andrew Perepelytsya
Hi All, I'm trying to get my head around available Android's concurrency blocks. I have extensive experience on related subjects from the java enterprise world, so you can shoot low-level tech details at me no prob :) So, AsyncTask is to be executed only once. My understanding, on the other

[android-developers] How to make my own apk installer?

2009-07-13 Thread QuickFix
Hi, all Is it possible or not? I need my own installer to implement apk autoupdate function. or Can I use pkg installer without user confirm message(verbose mode)? Any ideas? Thanks, BM --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: Flow or Multiline layout?

2009-07-13 Thread Ravi
I've been trying to write this using the general approach of making a class MultiLinearLayout that extends LinearLayout (vertical) and is composed of an ArrayList of horizontal LinearLayout's with the addView method overwritten to stick the view in the last horizontal LinearLayout if it fits, or

  1   2   3   >