[android-developers] Re: Hrozontal ListView

2009-12-16 Thread Sukitha Udugamasooriya
thank you.. On Dec 16, 1:21 pm, Romain Guy romain...@android.com wrote: You can use a Gallery instead. On Tue, Dec 15, 2009 at 11:16 PM, Sukitha Udugamasooriya suk...@gmail.com wrote: Hi, Can anyone tell me how to implement a horizontal listView? Items are scrolled horizontally.

[android-developers] Stop Scroll In a WebView

2009-12-16 Thread Sukitha Udugamasooriya
How can I stop the scrolling of a webview? thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: NDK all from within Eclipse

2009-12-16 Thread Paul Turchenko
Really cool! Thanks a lot! On Dec 16, 1:02 am, Robert Green rbgrn@gmail.com wrote: I was going to post this to the group but figured I'd write up a how- to on my website instead.  Basically, here's how you configure Eclipse to do nice C/C++ editing and automatically build your native code

[android-developers] localization

2009-12-16 Thread george
Hi all i ve a package name for an application installed on the device how can i test at run time if this application is localized or not? or how can i know if the application has a specific locale supported in it ? thnx much . -- You received this message because you are subscribed to the

[android-developers] Re: What is Heap Worker thread and what does it do?

2009-12-16 Thread pink 444
Thanks for your prompt replay. May I know the scenarios when GC will be triggered.. I'm using intents very frequently, will it cause GC to trigger ? I have so many threads in my native code,which is being used by my application but i cannot find those names , instead i am getting

[android-developers] Re: problem with the fix Button at of the list View

2009-12-16 Thread roland
How about create a parent view(RelativeLayout) which contains a ListView and a Button? You can set the Button with android:layout_alignParentBottom=true On Dec 16, 8:06 am, Asif k asifk1...@gmail.com wrote: Hi all,   I want a fix Cancel Button at the bottom of the ListView. I want my list

[android-developers] Re: app bound to its own virtual keyboard

2009-12-16 Thread extrapedestrian
Thanks! How about this: I have public keyboard (input method), and when I start my app, I send message using 'sendAppPrivateCommand', and input method changes behavior exclusive to my app? But when other app invokes it, it switches to standard behavior ? best regards, Petar Bajic On Dec 16,

[android-developers] where is org.apache.harmony.*

2009-12-16 Thread EricWang
when I look at the source code of Android, some of them will import org.apache.harmony.*. For example, in ObjectInputStream.java, it contains import org.apache.harmony.kernel.vm.VM But I cannot find the package of org.apache.harmony within android.jar. Also, it contains import

Re: [android-developers] where is org.apache.harmony.*

2009-12-16 Thread Romain Guy
Because these are private APIs so they are not available in android.jar. On Wed, Dec 16, 2009 at 1:42 AM, EricWang whaom...@gmail.com wrote: when I look at the source code of Android, some of them will import org.apache.harmony.*. For example, in ObjectInputStream.java, it contains import

[android-developers] Re: Invoking apps in background when phone starts

2009-12-16 Thread veradis
Hi Mark I need some clarifications on services. My service starts at BOOT Time, establishes connection and receives data from server. If i want to push data to server manually from activity, i need to call a function in service class. So, 1)How can i call a function in services from activity?

[android-developers] Re: Android 2.1 SDK

2009-12-16 Thread String
There's been no public announcement of Android 2.1, remember, so there's no SDK been released. No doubt Google has one internally, but that's it. The *rumor* is that Android 2.1 will release on January 5 with the Nexus One handset, but right now, that release date is just rumor. While I find the

[android-developers] android:mimeType=text/XXX cannot work on eclair

2009-12-16 Thread allstars
hi i have an activity whose intent-filter is android:mimeType=text/XXX so i select it on web pages , my activity will be launched and before eclair it works well but on eclair it fails after checking i found in external/webkit/WebKit/android/WebCoreSupport/ FrameLoaderClientAndroid.cpp in

[android-developers] Re: Adding, Editing, Deleting entries in Androids call log

2009-12-16 Thread Kumar Bibek
Hi Donal, This is as good as hacking. I guess, adding a new call log should not be possible. However, deleting them should be possible by using the Content Provider. You need to re-read the documentations, or may be look at the source codes. Kumar Bibek http://tech-droid.blogspot.com On Dec

[android-developers] Re: VideoView playback fails on 2.0.1? MediaPlayer warnings in logcat

2009-12-16 Thread Valentino XM
Hi Jon can you post your code .. lets have a look.. cheers On Dec 16, 5:09 am, Jon Colverson jjc1...@gmail.com wrote: Hello all. I'm testing an app on the 2.0.1 emulator and video playback is not working correctly. The VideoView is just showing a white rectangle, although the audio is

[android-developers] Call Log Questions

2009-12-16 Thread draf...@gmail.com
Hi all, I have been trying to Query, insert and update the Call Log for the past few days. Query is fine, have no problem with that. But I'm wondering does the content provider allow you to add a new event to the call log or update events already on the call log? I see there is no

[android-developers] Sorry Cant play this video.. trying to play video from youtube

2009-12-16 Thread Valentino XM
Hi all, this is the complete code from start to finish.. tried several different codes, and none seem to work via the Emulator ..any help please TIA Cheers package org.example.com; import android.app.Activity; import android.os.Bundle; import android.widget.VideoView; public class Video

[android-developers] SQlite Db problems

2009-12-16 Thread MPS
hai developers, i want to know how to store the images in SQLite database in android.and also how to retrieve it. anyone give the samplecode or any URL give me to develop my application. -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Re: Adding, Editing, Deleting entries in Androids call log

2009-12-16 Thread Donal Rafferty
Hi Kumar, The idea is to show calls made over wi fi or 3G from another application in the Call Log as if they were made over GSM. You reckon looking at the source will be the only way? Thanks, Donal On Wed, Dec 16, 2009 at 10:33 AM, Kumar Bibek coomar@gmail.com wrote: Hi Donal, This

[android-developers] Re: getHeight() of TextView in TableRow problem

2009-12-16 Thread Dominik Erbsland
so how can I get the height of those TextViews then? I need them right after the table has been built. The table builds and fills the TextViews with various text-contents. If the user clicks on a TableRow-title then the according TextView collapses, leaving just the title visible. If the user

[android-developers] Gallery

2009-12-16 Thread Business Talk
I have a gallery view with a number of views, each of which fills the display. So there on view of the gallery per display. Also each view is filled with selectable buttons. Similar to the calendar where a view of the month fills the entire display. To go to the next/ previous month one must

[android-developers] Re: SQlite Db problems

2009-12-16 Thread Nithin
Hi, If you are using images from the resource, just store the ID or use blob.. On Dec 16, 3:48 pm, MPS bamas2...@gmail.com wrote: hai developers,        i want to know  how to store the images in SQLite database in android.and also how to retrieve  it.  anyone give the samplecode or any URL

[android-developers] Re: What is Heap Worker thread and what does it do?

2009-12-16 Thread pink 444
Whenever i change orientation or Pressing BACK button. HeapWorker thread taking 75-85% of CPU, then entire system is getting blocked. But if i don't change orientation or don't press BACK it is working properly. How to solve this problem? Where is the problem? My log as follows: GC freed

[android-developers] Re: allowTaskReparenting and FLAG_ACTIVITY_CLEAR_TOP conflict

2009-12-16 Thread Felipe Henriques da Silva
Does anyone have any idea what could be the problem here? Thanks! On Mon, Dec 14, 2009 at 11:47 AM, Felipe Henriques da Silva hsilva.fel...@gmail.com wrote: Hi all, I am using Android 2.0 and have the following situation: Activity A - has the attributes android:finishOnTaskLaunch=true and

[android-developers] Re: Large data file: how to deal with it?

2009-12-16 Thread Haravikk
I can't say for sure but I doubt that would work; as .zip files can't really be modified in place without generating a whole new zip-file every time. I think the web-based download is probably the best idea, however, instead of downloading the file all at once you could query the SQLite database,

[android-developers] Re: input method

2009-12-16 Thread kabir
Or if I have some InputMethodService, is it possible to show it without any need for an edit text, as Android will do? On Dec 14, 10:55 am, kabir kab...@gmail.com wrote: Hi there, I want to implement a custom input method for certain EditTexts within my app. I understand I need to extend the

[android-developers] ddms

2009-12-16 Thread Business Talk
I am trying to debug my device from a windows system with no IDE, just the android sdk, jdk and jre. I am using the ddms to do so. I works fine. I can see the entries in the logcat in the ddms. Among others I can see ‘Wrote stack trace to /data/anr/traces.txt”. But when I select the Device-File

[android-developers] Re: alarm not firing up !

2009-12-16 Thread Jags
Now that I am able to send an sms from inside AppService, I am unable to show an alert upon an alarm. i get the exception 12-16 19:41:37.890: DEBUG/RemindMe(5317): Unable to add window -- token null is not for an application am I not allowed to show alert in AppService ? I understand Mark

[android-developers] Re: alarm not firing up !

2009-12-16 Thread Jags
to help with a little code public class AppService extends WakefulIntentService { public AppService() { super(AppService); } private void showMePopup(Row rec) { final FrameLayout fl = new FrameLayout(this);

[android-developers] GLSurfaceview on top on a SurfaceView

2009-12-16 Thread GNK
Look at this: http://nhenze.net/?p=172 They show that it is possible to put an GLSurfaceview on top on a SurfaceView. I hope it would be useful. -- 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: alarm not firing up !

2009-12-16 Thread Jags
well more surprise. toast does not seem to work from AppService, but it works from OneTimeAlarmReceiver am i doing something stupid here ? On Dec 16, 7:57 pm, Jags jag...@gmail.com wrote: to help with a little code public class AppService extends

[android-developers] Re: clicks to MapView to firing onClick

2009-12-16 Thread Chris
Thats worked. Not overly happy with the solution as I feel it's a bit messy but at least it now works. Next job, ensuring the location center stays in view! On Dec 14, 11:15 am, Chris themaninthesuitc...@googlemail.com wrote: Thanks I will give that a go and see how I get on. On Dec 11, 5:08 

[android-developers] Re: How to select/install a locale other than English ?

2009-12-16 Thread Nugman
Hi Syl, try the app MoreLocale 2 from the android market. Its free. With this app you can switch to all different locales. Greets Klaus On 12 Dez., 09:51, Syl sylvain.guyoma...@altran.com wrote: I don't want to test individual activities. I know how to for the choice of the language using

[android-developers] Re: Best practice for P2P handset networking

2009-12-16 Thread Business Talk
Steve, I am also in need of a p2p framework. I am a little surprised by lack of any development effort in this area. Please, let me know if you would like to collaborate in researching and maybe implementation of a basic p2p framework. Splitting work will get us there faster. If there is

[android-developers] Re: How to build apk from multiple Eclipse projects?

2009-12-16 Thread gudujarlson
It is quite a bummer that Android resources cannot be distributed in a jar. One possible work-around that comes to mind is writing up a simple tool to convert resources to java literals and compiling these into your project. For example: public static final byte myresource[] = {0x45,0x23,0x8F};

[android-developers] Multiple screen sizes problem ( layouts )

2009-12-16 Thread Dilli
Hi all, I have created layout-large and testing against android 2.0.1 WVGA. however, its picking layout-normal. Can anybody suggest me what I am doing wrong. Even though, I have 3 layouts ( layout-normal, layout-large, layout- small), Its always picking layout-normal. why its so. can anybody

[android-developers] Re: bug? speech synthesis doesn't reset audible tap volume upon exit

2009-12-16 Thread daveingram (brownbook)
YES, me too, it coincided with new navigation for me also, so i think you are spot on with your assumption. We need a fix, anyone else have this, its driving me NUTS. :) On Dec 4, 1:13 am, JWC jcol...@gmail.com wrote: I installed the new maps app on my G1 the other day. Now my audible tap

[android-developers] Re: Why are onCreate() onStart() etc. called when handset orientation is changed?

2009-12-16 Thread steff
My app is working fine and also works when onCreate() is (re)called. But I'm sending accelerometer and orientation (as well as touch position) data from the hardware sensors. And re-instantiating the app causes a (small) lag in which no data is send. I'm using UDP via OSC since transmission is

Re: [android-developers] Re: Adding, Editing, Deleting entries in Androids call log

2009-12-16 Thread Donal Rafferty
I have come across this in the source ublic static Uri addCall(CallerInfo ci, Context context, String number, int presentation, int callType, long start, int duration) { final ContentResolver resolver = context.getContentResolver(); // If this is a

Re: [android-developers] Re: How to build apk from multiple Eclipse projects?

2009-12-16 Thread Robert Woodruff
It seems that there are solutions to the issue of having jars with resources. It probably needs to be incuded as part of the core Android development Eclipse extensions rather than individual developers hacking out sorta-solutions. The Google engineers are surely aware of this limitation because

[android-developers] Simple animation with 2 images, how??

2009-12-16 Thread jdekeij
Hi, I try to write an simple animation by using a handler.However whatever I try it does not function asynch which causes only the last image in the sequence being displayed. m_show_first = true; mHandler.postDelayed(new Runnable() { public void run() { invalidate();

[android-developers] Stack trace does not reference application

2009-12-16 Thread Per Sandström
So I have an app on the market with 10k active users. I have recieved maybe 50 complaints from Droid-user that the program crashes arbitrarily. I have not been able to replicate the error with my own droid, but I got one of the to send me this crash log. However, it does not reference the

[android-developers] Data storage, which data type?

2009-12-16 Thread Neilz
Hi all. I want to store location data in sqlite. A latitude coordinate is a double, with 15 point precision. As far as I can tell this corresponds with the 'REAL' datatype which is 8 bytes. The alternative I suppose would be to store it as a String, and simply convert it back into a double later.

Re: [android-developers] Re: Accessing contact's phone numbers

2009-12-16 Thread Jeffrey Blattman
i went through this also. i can't find the thread for it now, but i recall that the answer was that you need to do it differently in 1.5 vs. 1.6+. having #IFDEF flashbacks? it looks like you can get the SDK version wit the Build.VERSION class. sorry i can't point you to the code snippets. On

[android-developers] Re: How to build apk from multiple Eclipse projects?

2009-12-16 Thread gudujarlson
I have been perplexed by the lack of a library concept since my first look at Android. It seems the Android designers viewed the library concept as unnecessary. In it's place we have activities, services, broadcast receivers, and content providers. However, either I am subborn to new ideas or

[android-developers] Re: PACKAGE_ADDED, PACKAGE_REMOVED and PACKAGE_REPLACED...

2009-12-16 Thread sergey staskov
Hello, could you please advise how to get application info of uninstalled application. I try to use packageManager.getApplicationInfo - it throws exception. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Data storage, which data type?

2009-12-16 Thread Olivier Guilyardi
On 12/16/2009 05:00 PM, Neilz wrote: Hi all. I want to store location data in sqlite. A latitude coordinate is a double, with 15 point precision. As far as I can tell this corresponds with the 'REAL' datatype which is 8 bytes. The alternative I suppose would be to store it as a String, and

[android-developers] Re: How to track Installing and uninstalling applications?

2009-12-16 Thread sergey staskov
Thanks a lot Patrick. But I still have some problems. How can I get application info if PACKAGE_REMOVED intent is received. Exeption throws in this case.. -- 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: alarm not firing up !

2009-12-16 Thread Jags
anybody there ? for the time being I will be better off just showing an alert or at the very least a toast. On Dec 16, 8:42 pm, Jags jag...@gmail.com wrote: well more surprise. toast does not seem to work from AppService, but it works from OneTimeAlarmReceiver am i doing something stupid here

[android-developers] Re: alarm not firing up !

2009-12-16 Thread Jags
I dont understand even if my application is not gone to background or finished, still, the alert is not showing up ! On Dec 16, 8:42 pm, Jags jag...@gmail.com wrote: well more surprise. toast does not seem to work from AppService, but it works from OneTimeAlarmReceiver am i doing something

[android-developers] Re: Best practice for P2P handset networking

2009-12-16 Thread Lance Nanek
There's a JXTA JXME port. PeerDroid or something like that. I've also seen several Smack API JARs made for Android, which do XMPP. Haven't tried either myself, though. On Dec 16, 10:05 am, Business Talk roman.businesst...@gmail.com wrote: Steve, I am also in  need of a p2p framework. I am a

[android-developers] Re: Data storage, which data type?

2009-12-16 Thread Neilz
Thanks Olivier. That makes good sense and works perfectly. On Dec 16, 4:27 pm, Olivier Guilyardi l...@samalyse.com wrote: On 12/16/2009 05:00 PM, Neilz wrote: Hi all. I want to store location data in sqlite. A latitude coordinate is a double, with 15 point precision. As far as I can tell

[android-developers] Autocomplete values populated via web service

2009-12-16 Thread Becca
Hi, I'd like to create an autocomplete text field with values populated based on the content I get back from a URL (i.e. the URL returns a JSON feed). The full list of possible values is massive, so the idea is to rebuild the list of suggested values on each keystroke. Any advice or pointers on

Re: [android-developers] Re: Pick photo from Gallery

2009-12-16 Thread David Overcash
I ended up solving this problem with a choice dialog - so that the user can decide between Video or Photo before opening the gallery - then I used this code: Intent intent = new Intent(); // Handle the Photo or Video Choice.

Re: [android-developers] Re: How to build apk from multiple Eclipse projects?

2009-12-16 Thread Greg Donald
On Wed, Dec 16, 2009 at 10:20 AM, gudujarlson gudujarl...@gmail.com wrote: I have been perplexed by the lack of a library concept since my first look at Android. The reality of it hit me when I built a free version of my paid app. It seems the Android designers viewed the library concept as

[android-developers] autoLink cause the Stack Overflow exception

2009-12-16 Thread Luke
Dear All, I tried to create the launcher widget for getting some messages from social networking server. I hope it can support autoLink feature of these message content. however, it will have the Stack Overflow exception when android:autoLink=web|email is enabled when getting more than 20

[android-developers] Re: alarm not firing up !

2009-12-16 Thread Jags
how is alarm clock showing its ui in android then ? little baffling though. On Dec 16, 10:35 pm, Jags jag...@gmail.com wrote: I dont understand even if my application is not gone to background or finished, still, the alert is not showing up ! On Dec 16, 8:42 pm, Jags jag...@gmail.com wrote:

Re: [android-developers] Re: Why are onCreate() onStart() etc. called when handset orientation is changed?

2009-12-16 Thread TreKing
Then stop whatever you're doing in onPause() and continue doing what you're doing in onResume(). That's what they're there for. - TreKing - Chicago transit tracking app for Android-powered devices

Re: [android-developers] Re: Best practice for P2P handset networking

2009-12-16 Thread Dan Sherman
As far as I'm aware, XMPP isn't true P2P, it uses a central server to relay messages between peers. If that sort of thing works for you, its not really P2P, and any server/client model will work most likely... - Dan On Wed, Dec 16, 2009 at 11:36 AM, Lance Nanek lna...@gmail.com wrote: There's

Re: [android-developers] autoLink cause the Stack Overflow exception

2009-12-16 Thread Romain Guy
Hi, This means you have too many nested views and layouts in your application. On Wed, Dec 16, 2009 at 9:00 AM, Luke vagrant...@gmail.com wrote: Dear All, I tried to create the launcher widget for getting some messages from social networking server. I hope it can support autoLink feature of

Re: [android-developers] Stack trace does not reference application

2009-12-16 Thread Romain Guy
This is a known bug in the platform. 2009/12/16 Per Sandström pg.sandst...@gmail.com: So I have an app on the market with 10k active users. I have recieved maybe 50 complaints from Droid-user that the program crashes arbitrarily. I have not been able to replicate the error with my own droid,

[android-developers] Re: Streaming video files endless buffering

2009-12-16 Thread moju
No one had this issue ? How can it take all the resources and not play the stream ? On Dec 14, 10:42 am, moju moj...@gmail.com wrote: Hello ! I have a problem streaming live video files. When I stream a file say of duration 5 minutes, it stops after streaming 2 to 3 minutes and enters in to

[android-developers] Re: Using Adapters

2009-12-16 Thread Ben Griffiths
Okay, so I've got down the LinearLayout in a ScrollView way and I seem to have hacked something together... But, it doesn't quite work. It does something - see the linked pictures Hierarchy: Before http://tinyurl.com/ybl7f8j After http://tinyurl.com/ybohtyv App: Before

[android-developers] Any way to make ADT project directory layout more flexible?

2009-12-16 Thread Tim Gilbert
Hi. The ADT eclipse plugin seems to have a pretty rigid idea of how an Android project should be structured - per http://developer.android.com/guide/developing/eclipse-adt.html, it needs to have the AndroidManifest.xml file at the root level of the project, plus res, assets, gen and src folders

[android-developers] Progress bar with threads

2009-12-16 Thread kitty
Hi all, I'm writing an application for uploading a file to server, the uploading status should be shown with the Progress bar. I've used threads to display the completion status of the uploading process. I'm not posting my code because its confidential, i'm posting a sample code which resembles

Re: [android-developers] NDK all from within Eclipse

2009-12-16 Thread datoudatou
hi Robert Green, great thanks. i have tried your method, it really worked for me (slackware 12.1, android sdk-2.1 + ndk1.6 + eclipse galileo + cdt 6.0.1). now, i can declare that the method workes under win32 and linux dev env. yours waynechen 2009.12.16 Robert Green wrote: I was going to

[android-developers] Can't access to a HTTPS

2009-12-16 Thread sPy
Hello, I want to get information via HTTPS on the next site https://b840b937347535c0bb8a81e134cf294349aa2852:x...@nrikediaz.highrisehq.com/people.xml but i can't get the xml data. I'm new onto HTTPS connections, but i have a snippet of code about it, and when i run the Application i get the next

[android-developers] problem of compiling Opencore to enable BUILD_STREAMING_MANAGER_NODE=y

2009-12-16 Thread tu
Hi everybody, I am re-compiling opencore from the software stack of Eclair, my modification likes the following: 1) eclair/external/opencore/build_config/opencore_dynamic/ pv_config_selected.mk, set BUILD_STREAMING_MANAGER_NODE=y

[android-developers] Bind a list of items to a view that doesn't act like a list

2009-12-16 Thread Rich
I have a collection of objects that I want to display in a scroll viewer. I played around with a ListView and setting things like setting focusable to false or clickable to false, etc, but it didn't look/act like I wanted it to. I just want scrollable text (don't highlight each item when focused

[android-developers] AudioTrack cutting audio short.

2009-12-16 Thread MarkNZ
Hi, I am trying to play a 0.1s tone using audio track. I have done this succesfully in stream mode by calling play() then writing the array of short containing the data. However when I use STATIC mode and also in stream mode if I write the data before i call play() only about 0.06s of the audio is

[android-developers] need help : insert chat address with new contact

2009-12-16 Thread sunil_retinax
my code gives no error but it does not save chat address below is the code. ContentValues chataddressValues = new ContentValues(); Uri chataddressUri = Uri.withAppendedPath(newPersonUri, Contacts.People.ContactMethods.CONTENT_DIRECTORY); chataddressValues.put(Contacts.ContactMethods.KIND,

[android-developers] reg: SPI channels on HTC Dream (G1)

2009-12-16 Thread Subhash
Hi all, I want to use one of the SPI Channles on HTC dream for my development use. Can any one let me know how can I use SPI channels that are available on HTC Dream (G1). Thanks Regards, Subhash.R -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Upload multiple versions for single android application for different SDK levels 1.5, 1.6, 2.0

2009-12-16 Thread lk
Hi, I'm developing one android application which needs to support Android OS 1.5, 1.6, and 2.0. I've three different .apk files for all three SDK. How can i upload three different .apk files on Android Market Place for single application? I would like to have all 3 versions available under one

[android-developers] Re: Booting Android on Samsung Star

2009-12-16 Thread Togashi Kotengu
Well... Samsung Star Hardware is pretty cool, but, the software, not to much. so, i want boot android on my cellphone too. If anyone get success, please, tell me. thanks On Nov 3, 6:31 pm, Bhaskar b2go...@gmail.com wrote: Yes please, lets try to find something to help us here, I'm also

[android-developers] Re: Motorola Milestone not showing up in ddms / adb on Mac OS X Snow Leopard

2009-12-16 Thread TJ
If it's the same problem I've experienced, it can be fixed by pulling down the notification bar, pressing the USB connection notification, and selecting the option None. If the adb service is running, kill the server and restart it. On Dec 1, 3:02 pm, Oliver oliver.ru...@gmail.com wrote: I have

[android-developers] Lags during onTouchEvent on Motorola DROID

2009-12-16 Thread Mobile
I have several complaints from Moto DROID users who experience lags while touching. In my app I implement the recommended workaround with two threads and Thread.Sleep( 35 ) . It worked and works perfectly on my G1 and on some other Google devices. But for DROID I hear many complaints. As I don't

[android-developers] After successful(?) src build, how do I run my build in the emulator

2009-12-16 Thread orange80
Hi guys, I'm having a lot of trouble getting trying to run the build I made from Android source. I'm on Ubuntu 9.10 32-bit for x86. I set up Ubuntu fresh to specifically do this. I followed these instructions which very strangely omit and explanation of how to actually run the build(!!):

[android-developers] Re: AudioTrack - Clicking Sound

2009-12-16 Thread MarkNZ
Do you need to use files? I have been generating audio at run time using the java math sine function to create an array of short, then playing it with audio track. Perfomance has been fine, I have been testing on an HTC tattoo. The only problem I have found is when I record the the data being

[android-developers] Start SDK Emulator fail!

2009-12-16 Thread Ph4nut
Hi,every one! I am new here! I did download the Android SDK 1.3r and Java SE SDK6,after install the two successfully,I execute the emulator and it did not start up,it can only process to the step,and it appears the flashing word Android,and stop here... now what can i do? any idea? -- You

[android-developers] Re: Using intent with startActivity from inner class

2009-12-16 Thread alexk-il
Hi, No help is required. Strange enough, unintentional restart of Eclipse has solved the issue without a single line change :) Thanks anyway, Alex On Dec 15, 9:04 pm, alexk-il alexander.ku...@gmail.com wrote: Hi, I am trying to use an intent from an inner class which should be callable

Re: [android-developers] VideoView playback fails on 2.0.1? MediaPlayer warnings in logcat

2009-12-16 Thread Morgane Plat
Sorry I can't help you on your problem now since I don't even have videos working with Android 2.0. Maybe this will help though : http://www.mail-archive.com/android-developers@googlegroups.com/msg20987.html However I'm curious about your videos, because I don't even have the sound with my

[android-developers] Weird problem with GLSurfaceView and camera preview overlaping

2009-12-16 Thread mianwo
I have a SurfaceView and a GLSurfaceView inside a FrameLayout. The first SurfaceView is used for camera preview, and the GlSurfaceView is for drawing 3D objects that are supposed to be on top of the camera preview. So natually, I compose the xml like this: FrameLayout

[android-developers] Re: Using intent with startActivity from inner class

2009-12-16 Thread alexk-il
Hi, Well, there compilation problem has disappeared after an unintentional restart of the Eclipse. The code actually does it job. Strange... Thanks for your time, anyway :) Cheers, Alex On Dec 15, 9:04 pm, alexk-il alexander.ku...@gmail.com wrote: I am trying to use an intent from an

[android-developers] Blank screen displayed after downloading from Android Browser.

2009-12-16 Thread Binu Geevarghese
Hi all, We are developing an application that requires a download of a music file (mp3). We are using the Browser Activity for the same. The Browser Activity is invoked from the application and the download url is passed to it, like: startActivity(new Intent(Intent.ACTION_VIEW,

[android-developers] Binding Service to Activity

2009-12-16 Thread Sonic..
Hello, I am working on an android application, where the activity binds to a local service to perform certain tasks. Now I am binding the service in the OnCreate method of the Activity, after which the activity has to use the service object to invoke the functionality defined in the servicein

[android-developers] Re: Android 2.0.1 emulator: Not able to get Proxy settings to work (tried -http-proxy and APN proxy)

2009-12-16 Thread WebUX1
Hi, I am also experiencing this same issue where G1.6 emulator proxy works with APN settings but trying to use G2.0 fails to access the internet (APN fails, -http-proxy fails). I have tried the above recommended steps - all with the same result Web page not available My debug proxy output for

[android-developers] Building APPS that require an online database

2009-12-16 Thread rohitspage
Hi! Folks I am looking for a free SAAS provider that I could use to accomplish the following. a. CRUD data using webservices or someother compatible mechanism. Any ideas would be great. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: service dies without calling onDestroy()

2009-12-16 Thread Roy
There's no guarantee that onDestroy() will be called, only onPause() does. I don't think you can assure the process not being killed. The only solution might be a hook before the process is killed. I'm interested in what kind of hook exist too. Roy On Dec 15, 11:15 am, Don Park

[android-developers] Re: BitmapFactory.decodeStream sometimes returns null

2009-12-16 Thread Nilesh
BitmapFactory.decodeStream sometimes returns null Try new BufferedHttpEntity (entity); before calling getContent() On Oct 27, 7:45 pm, Tom tomir...@googlemail.com wrote: Hi, I was having the same problem. It stoped when i gave the images i was loading the header Content-Length. Hope

RE: [android-developers] Re: SQlite Db problems

2009-12-16 Thread Yevgeni Tomsov
Hi! I think the code help you: public int addImage(byte[] data, int offset, int numBytes) { if(mSQLLiteDataBase != null) { if(offset = 0 numBytes 0) { byte[] bzMid = null; if(offset == 0 numBytes == data.length)

[android-developers] java.nio.ByteBuffer on jni error

2009-12-16 Thread William.lw.w
Hi expert, This is about the Android JNI. My apps return a buffer from native to java by jni NewDirectByteBuffer interface. The Java method declared as: public native ByteBuffer readData(int flags); The JNI native method is as follows: JNIEXPORT jobject JNICALL

[android-developers] Re: GLSurfaceview on top on a SurfaceView

2009-12-16 Thread mianwo
I noticed that he add GLSurfaceView first and then camera preview surface... This is exactly the sequence I used, my experiment shows that it only works for a fresh start. When you resume from another task, the GLSurfaceView will be under the camera preview and cannot be seen. Now I have to

[android-developers] XML reports from JUnit and Emma

2009-12-16 Thread Praetor
Hi all, I've a question about generating XML reports after unit tests. I want to move build process to Hudson build server. It has plugins, which can read JUnit and Emma reports in XML file format, parse them and view in nice looking way. My first thought was to create ant buildifle in which I

[android-developers] send sms with a phone number in parameter

2009-12-16 Thread Bibou
Hello everyone, I am trying to send a sms throughout an application. I want the user to be redirected to the default sms interface, but I want to give in parameter the phone number of the receiver of the sms. Here is my code: Intent m_intent = new Intent(Intent.ACTION_VIEW);

[android-developers] setType is useless for createChooser?

2009-12-16 Thread GoLong
Hi all, When using Email app to send mail, it should be able to attach any type of files. But the Email app embedded in SDK can't do this. I try to modify onAddAttachment() method in com.android.email.activity.MessageCompose class as following

[android-developers] Two selectable items in each list Item in listView.

2009-12-16 Thread vijay bhushan
The way i want it is, per row there will be a text and is followed by a right arrow button, so that the user can click on that button to edit the content of that row. If the user is using the keypad, by using the left and right buttons on the keypad , he should be able to select the textview or

[android-developers] Re: ActivityThread.ContextCleanupInfo leaking memory?

2009-12-16 Thread Matt Kanninen
I don't have any advice, I'm just very interested in hearing if and how you make an progress diagnosing, debugging and fixing this sort of issue. I'm still trying to fix what looks like memory leak in my app. All I have succeeded in doing is reducing the total memory used, thereby making the bug

[android-developers] Re: Two selectable items in each list Item in listView.

2009-12-16 Thread Nithin
Hi Vijay, check this, http://www.androidsnippets.org/snippets/125/ in this , they are using textView and ImageView, else use button and the text as you require. I feel they made it complex. You can make it simpler as you wish. You can take the core from it. On Dec 16, 11:58 pm, vijay bhushan

[android-developers] how to change Menu background color?

2009-12-16 Thread Abhi
Is it possible to change the background color, style of the Menu items? Thanks, Abhishek -- 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

[android-developers] Re: Weird problem with GLSurfaceView and camera preview overlaping

2009-12-16 Thread Ethan Rublee
http://groups.google.com/group/android-developers/browse_thread/thread/9c335071c7919d80/827167f6a3dc08ee#827167f6a3dc08ee Same issue, I resolved it by calling finish() when the onPause() function gets called (ie when home is pressed). This totally stops the activity, and then next time it starts,

Re: [android-developers] Upload multiple versions for single android application for different SDK levels 1.5, 1.6, 2.0

2009-12-16 Thread TreKing
I've three different .apk files for all three SDK. You should probably be using the latest SDK with your minSDK set to 3 (for 1.5) and using reflection to do things that are different across the API levels. How can i upload three different .apk files on Android Market Place for single

  1   2   >