[android-developers] DTMF on ongoing call........

2010-09-29 Thread arindam
Hello everyone, I am working on one android application... I want to send DTMF tone on ongoing callafter googling i saw in some post that right now its not possible... is android build any api for froyo? Normally using "," I can send DTMF but after call establish how to do? How by default Dial

[android-developers] Re: Settings.Secure.ANDROID_ID not unique on DROID2?

2010-09-29 Thread mitch
On Sep 13, 3:42 pm, "Maps.Huge.Info (Maps API Guru)" wrote: > Suzanne, > > Thanks for keeping us in the loop. > > -John Coryat > > On Sep 13, 1:48 pm, "suzanne.alexandra" > > > > wrote: > > Motorola is working on a fix for the ANDROID_ID issue on DROID 2. Any > > fix that becomes available will

[android-developers] Re: Settings.Secure.ANDROID_ID not unique on DROID2?

2010-09-29 Thread mitch
Wow this is really annoying. I hope it geta fixed soon, altough ill probably have rewritten my app long before then Thanks motorolla On Sep 13, 2:48 pm, "suzanne.alexandra" wrote: > Motorola is working on a fix for the ANDROID_ID issue on DROID 2. Any > fix that becomes available will be

[android-developers] Re: How to store app data to gmail account? Is it possible?

2010-09-29 Thread JonFHancock
It might be better to store the data on your own servers, and use OAuth so that the user signs in with their gmail account. You could make it feel the same, but you have control of the data, and you aren't at the mercy of Google's APIs. On Sep 29, 2:32 pm, Moto wrote: > As you can tell I'm new t

[android-developers] Cannot install apk of huge size

2010-09-29 Thread monty
Hi everyone I have an issue with installing an apk of size 72 MB onto devices like Samsung Galaxy i7500 and Nexus One .The entire size of the application is 256 MB.The devices have enough memory say 600MB on samsung galaxy.But still it does not install saying there is insufficient storage

[android-developers] android ksoap2 Caused by: java.lang.RuntimeException: Cannot seralize (double data type)

2010-09-29 Thread mindus
Hi In my project i am using ksoap2-android-assembly-2.4-jar-with- dependencies.jar for web service purpose. I got able to access the service and passing simple parameters and get the objects and iterate it. But the problem is i cant able to send the complex object. Can anybody know how to pass th

[android-developers] Pinch-Zoom for Gallery.

2010-09-29 Thread audum
I'm trying to create a gallery that should allows user to pinch-zoom the currently displayed image. I can able to pinch zoom single image, but how to apply the same logic for images in gallery view of android. Thanks! -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Problem with reading contacts on Samsung Galaxy Europa

2010-09-29 Thread mikedroid
yes im having this problem also hope they can check it soon On Sep 28, 12:45 am, Zarah Dominguez wrote: > Hi Alberto, > > Sorry, I only saw this thread again today. > > I wasn't able to launch the Phonebook, I just added a small bit of > code to check if there is someone who can receive the phone

[android-developers] Re: Free version or not?

2010-09-29 Thread dm1973
My only suggestion is to google the vendor something like "mobclix payment problems" before signing up. On Sep 29, 8:52 pm, William Ferguson wrote: > Would you mind listing the ad vendors you have used and your > experiences or pros/cons as you see it for each? > > On Sep 30, 8:22 am, dm1973 wro

[android-developers] Re: Maps API and legacy

2010-09-29 Thread Morrison Chang
I think that the code for the Intent is legal, its just a URI. And you don't need a Google Maps API key to use it. All the code does is either launches the Google Maps App or the Browser which go to the Google Maps site. As either would launch new apps I would think its okay with the realization th

[android-developers] Tablet programming

2010-09-29 Thread pramod.deore
Hi, everybody I want to develop application for Android Tablets, Please let me know that developing application for Tablets are different than Mobile application? It will be great if somebody provide me a link that is from where I should start? Thanks in advance -- You received this me

[android-developers] Re: loading an html file from local res directory

2010-09-29 Thread Saied
I found the answer! I should put the .html file in the assets folder and then use mWebView.loadUrl("file:///assets/about.html"); Thanks! On Sep 29, 8:46 pm, Saied wrote: > This should be very simple, but I can't find the answer anywhere. > > How do I load an html file (which I assume I keep in

[android-developers] GREF count going to 301

2010-09-29 Thread AAJ
hello all, I keep getting the "GREF count to 301" in the LogCat, when i try to run my code. Any solutions or suggestions on how to fix this error would be really helpful . Thanks AAJ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

[android-developers] loading an html file from local res directory

2010-09-29 Thread Saied
This should be very simple, but I can't find the answer anywhere. How do I load an html file (which I assume I keep in res/raw folder) into a webview? neither mWebView.loadUrl("file:///raw/about"); or mWebView.loadUrl("file:///raw/about.htmal"); works. What's the correct syntax or arrangemen

Re: [android-developers] how to save the state of checked item in ListView having Checkbox

2010-09-29 Thread Rocky
thanks for replay my problem is - while i wants to store the any more than two checked item from the list, it is always store the last element only. so is any way so that i can store (print) the all the checked item not the last item. On Wed, Sep 29, 2010 at 9:50 PM, TreKing wrote: > On Wed, S

Re: [android-developers] Icons to support different screens

2010-09-29 Thread Brad Gies
Let me clarify a little. It's a list view that will display other people's icons that they will have to supply, so I don't/won't have total control of them, but I can ask that they be supplied in x number of formats. I need to keep the number down because of that, and some of the graphics wil

[android-developers] Re: Tab Layout not working

2010-09-29 Thread Saied
Never mind! Thanks Mark! I see where the problem is. Best, Saied On Sep 29, 6:05 pm, Mark Murphy wrote: > Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine > LogCat and look at the stack trace associated with your "barf". > > > > On Wed, Sep 29, 2010 at 8:39 PM, Saied wrote

Re: [android-developers] Re: Tab Layout not working

2010-09-29 Thread Mark Murphy
On Wed, Sep 29, 2010 at 9:19 PM, Saied wrote: > I had looked at it, but can't quite make what' wrong: > > It seems that the package name is prepended twice: com.exideas.mekb/ > com.exideas.mekb.TabHolder The first part is your package name. The second part is the activity class name. > Other tha

[android-developers] Re: Multi-touch for a Piano

2010-09-29 Thread ArcDroid
Hi Bart, I need a little push... I have figured out that once you have the view...do view.addview(button1); but how do you see each button with the ontouch? a simple example would be great, thanks! Jake On Sep 26, 4:08 am, a1 wrote: > I think you should first take a look > at:http://developer.a

[android-developers] Re: Tab Layout not working

2010-09-29 Thread Saied
Thanks Mark. I had looked at it, but can't quite make what' wrong: It seems that the package name is prepended twice: com.exideas.mekb/ com.exideas.mekb.TabHolder Other than that, TabHolder is included in the manifest: He

Re: [android-developers] Tab Layout not working

2010-09-29 Thread Mark Murphy
Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine LogCat and look at the stack trace associated with your "barf". On Wed, Sep 29, 2010 at 8:39 PM, Saied wrote: > Hi, > > I am using the Tab Layout almost copied from the example provided. But > it's not working: > > public class T

[android-developers] Re: Free version or not?

2010-09-29 Thread William Ferguson
Would you mind listing the ad vendors you have used and your experiences or pros/cons as you see it for each? On Sep 30, 8:22 am, dm1973 wrote: > Google doesn't set eCPMs. The market does. eCPMs function on a supply/ > demand curve. The supply went way up when they let more developers > into the

[android-developers] Tab Layout not working

2010-09-29 Thread Saied
Hi, I am using the Tab Layout almost copied from the example provided. But it's not working: public class TabHolder extends TabActivity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceS

Re: [android-developers] Icons to support different screens

2010-09-29 Thread Mark Murphy
On Wed, Sep 29, 2010 at 8:10 PM, Brad Gies wrote: > The second image is for the detail view and it basically should fill the > entire width of the screen (roughly, it's ok if it doesn't use the entire > width as long as none of it is chopped off). The size I use for my G1 is > 468x60. Saying you

[android-developers] Icons to support different screens

2010-09-29 Thread Brad Gies
I never do graphics type programming so I have tended to ignore most of the posts on this list regarding anything to do with images and graphics, but now it seems I need to know more than I do know :). I'm designing a screen that will need to look good on all phones, and all resolutions. It'

[android-developers] Re: VideoView does not display on entire display of android devices

2010-09-29 Thread Indicator Veritatis
Of course, your explanation is correct. But at the risk of sounding pedantic, I must point out: going strictly by the letter of the wording of the description for 'fill_parent', this is incorrect behavior, so the OP was justified in suspecting it was incorrect. The real problem is that the wording

Re: [android-developers] Re: Uri from FilePath?

2010-09-29 Thread Dianne Hackborn
On Wed, Sep 29, 2010 at 2:40 PM, niko001 wrote: > Dianne, I feared as much :-)! I think I'll go with implementing my own > content-provider. Do you know if it would have to be exactly the same > schema as the current media provider, or could I add one or two > columns without messing up the under

[android-developers] Re: separate views list view

2010-09-29 Thread Varun Khanduja
Thank you everyone. My problem is still not solved but I am trying to do things. You guys have been of great help. -- 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

Re: [android-developers] android:allowClearUserData="false" has no effect in Froyo

2010-09-29 Thread Dianne Hackborn
Looks like it broke. On Wed, Sep 29, 2010 at 3:49 PM, GroundZero wrote: > In early versions of Android the android:allowClearUserData flag > worked. Using this flag with an application on Froyo has no effect, > even if the application is installed as a system application. The > "Clear Data" butt

Re: [android-developers] Re: Amazon | xxx - Business Opportunity

2010-09-29 Thread Shane Isbell
Right. Whoever is making the strategic decisions for Android at Amazon, is not terribly on the bright-side. Copying Apple's policies for Android won't work. Much lost potential on this one. On Wed, Sep 29, 2010 at 2:29 PM, Michael A. wrote: > Narrow distribution, high entry fee, and terms that ap

[android-developers] android:allowClearUserData="false" has no effect in Froyo

2010-09-29 Thread GroundZero
In early versions of Android the android:allowClearUserData flag worked. Using this flag with an application on Froyo has no effect, even if the application is installed as a system application. The "Clear Data" button is enabled no matter what in the application manager. I have found no reason in

[android-developers] Re: Viewing app features (MIME types, etc)

2010-09-29 Thread DanH
Thanks -- dumpsys package gave me what I wanted to know. For those who may want to do something similar (or just poke around), "adb shell dumpsys package" dumps info on all the apps/packages on the box. "adb shell dumpsys package com.some.package" dumps info on just the specified app. Redirectin

[android-developers] Re: Avoiding compression on large files

2010-09-29 Thread mkellner
> The issue has nothing to do with speed.  The issue is getting a large > file to be readable AT ALL.  When you open a compressed file larger > than 1M you get an exception:  Data exceeds UNCOMPRESS_DATA_MAX I called my 3MB .zip file a .jet file to get it to be added to the .apk uncompressed. I

[android-developers] Re: Free version or not?

2010-09-29 Thread dm1973
Google doesn't set eCPMs. The market does. eCPMs function on a supply/ demand curve. The supply went way up when they let more developers into the program. Hence the eCPM drop. In my experience google pays about as well as anyone. And it isn't so much that users don't understand about the arrow (th

[android-developers] Interactive Touchscreen plays sounds twice

2010-09-29 Thread ericmahlon
I have an interactive image which uses OnTouchListener to get the coordinates. In doing so...if a user places their finger on the area it may hit it multiple times thus getting new coordinates within the area that plays the sounds...thus playing the sound twice. Any suggestions on how to clear up

[android-developers] Re: Default non-gmail email client

2010-09-29 Thread richie rich
Maybe this helps...appears to have happened right when email for the 5th time decided to delete all three of my accounts. So fun setting them up each time. W/System.err(12046): java.lang.IllegalStateException: Couldn't init cursor window V/WindowManager( 2253): Delivering key 4 to Window{47906fd0

[android-developers] Default non-gmail email client

2010-09-29 Thread richie rich
Are there any Google developer here who built the native non-gmail email client? If so, do you think you could investigate why many users (me included) continue to lose ALL email accounts at least once a week, and sometimes twice a day. tmobile/etc are clueless to help, and it's basically an unus

Re: [android-developers] Re: separate views list view

2010-09-29 Thread TreKing
On Wed, Sep 29, 2010 at 4:52 PM, Varun Khanduja wrote: > Still I don't think it's working for me, can someone suggest me where I am > going wrong? > You're not creating custom adapters, you just have four regular ArrayAdapters (with the same data, it looks like). You need something like: class

[android-developers] Re: tool to change ddx to java

2010-09-29 Thread cindy
if you have a odex file, you can use http://sourceforge.net/projects/dedexer/files/ to decompile it. Then you will get ddx file. On Sep 29, 4:10 am, Mark Murphy wrote: > On Tue, Sep 28, 2010 at 10:58 PM,cindy wrote: > > Is there any tool we can convert ddx file to java? > > What is a ddx file? >

[android-developers] How to use getContentResolver().update in combination with getContentResolver().query?

2010-09-29 Thread Ali Chousein
Hello, I would like to use getContentResolver().update in combination with getContentResolver().query. For example, first I make a call to Cursor cur = getContentResolver().query(People.CONTENT_URI, null, null, null, null); and then I would like to use getContentResolver().query to change for ex

[android-developers] Re: separate views list view

2010-09-29 Thread Varun Khanduja
Hello I tried taking everyone's suggestion. Still I don't think it's working for me, can someone suggest me where I am going wrong? package com.varun.HelloListView; import android.app.ListActivity; import android.os.Bundle; import android.view.Menu; import android.view.View; import android.widget

[android-developers] Re: Uri from FilePath?

2010-09-29 Thread niko001
Thanks for your answers! Joe, adding a 'where'-clause to the content-resolver is a good idea. Thanks also for your follow-up, I'll give it a go! I know the Gallery3D-code is probably not the best as an entry-level example on how to deal with providers and Uris, but I love it's functionality and it

Re: [android-developers] What is a "binder thread"?

2010-09-29 Thread Dianne Hackborn
Specifically, each process has a pool of "binder threads" which sit there waiting for incoming IPCs from other process. When an IPC is dispatched to your process, one of these threads comes out of the pool to process it. These may come to you directly through an IBinder you publish from a Service

[android-developers] Re: How to store app data to gmail account? Is it possible?

2010-09-29 Thread Moto
As you can tell I'm new to this area... I guess the main idea is to sync my applications database to the cloud, and I would like to use the users gmail account to store it. On Sep 29, 5:25 pm, Moto wrote: > Well hopefully some people in this forum can help :)  I found > something that could pote

[android-developers] Re: Amazon | xxx - Business Opportunity

2010-09-29 Thread Michael A.
Narrow distribution, high entry fee, and terms that appear much more restrictive and even more developer unfriendly than the Android market, Sigh. For a short while, I hoped we might finally see a viable alternative to the Android market. No such luck, it seems. On Sep 29, 9:56 pm, Shane Isbell

[android-developers] Re: VLC RTSP MPEG-4 stream to Android emulator.

2010-09-29 Thread Daniel Oancea
Hi Doug, Unfortunately, I don't have a such device. Maybe in the future. Therefore, I'm forced for time being to do the tests on the emulator. I have the streaming part already developed (using VLC), so I will stuck on that. Now, I have to concentrate my efforts to develop a client for android pla

[android-developers] Re: How to store app data to gmail account? Is it possible?

2010-09-29 Thread Moto
Well hopefully some people in this forum can help :) I found something that could potentially work BUT... You can't update data, you must first delete than upload again, and that can be tricky... http://code.google.com/apis/storage/docs/overview.html On Sep 29, 5:13 pm, Moto wrote: > I'm look

[android-developers] Re: VerifyError reloaded

2010-09-29 Thread DanH
Java has some fairly arbitrary restrictions on the size of programs. Most are fairly reasonable, but one that isn't so much is the one that limits the number of bytecodes in a method to 65535. (Curiously, methods can have more.) In general, a verifier should be able to handle any large method up

[android-developers] How to store app data to gmail account? Is it possible?

2010-09-29 Thread Moto
I'm looking for the best way to allow users to sync their data to their gmail account. The idea is to be able to access the same data via my other applications for computers, phones, etc... I need it to be a free service... The data is a list of items that contains a title tied to a playlist. A

[android-developers] Re: Avoiding compression on large files

2010-09-29 Thread DanH
The issue has nothing to do with speed. The issue is getting a large file to be readable AT ALL. When you open a compressed file larger than 1M you get an exception: Data exceeds UNCOMPRESS_DATA_MAX On Sep 29, 2:50 pm, Bret Foreman wrote: > In many cases, I/O speeds are slower than decompressi

[android-developers] Re: VideoView does not display on entire display of android devices

2010-09-29 Thread Doug
On Sep 29, 4:40 am, Mark Murphy wrote: > On Wed, Sep 29, 2010 at 7:35 AM, monty wrote: > >   I have an issue with displaying videos on android devices.When any > > video is displayed it does not take the entire screen size of device > > even though i have given android:layout_width="fill_parent".

[android-developers] Implementation Advices Needed

2010-09-29 Thread Rachel Z
Hi, I'm new to Android and I want to write a widget that contains (about)100 columns, each column contains various amount of child views (will be determined at run time via some service call). Users can scroll horizontally and vertically (similar behavior as GridView but with horizontal scrolling).

Re: [android-developers] Re: Amazon | xxx - Business Opportunity

2010-09-29 Thread Shane Isbell
On Wed, Sep 29, 2010 at 1:21 PM, Doug wrote: > On Sep 29, 12:56 pm, Shane Isbell wrote: > > As more details emerge: 1) only US customers; 2) $99 registration; 3) > only > > Amazon approved devices - it's a no-go in my book. What advantage could > this > > provide, with such a narrow distribution

[android-developers] Re: separate views list view

2010-09-29 Thread Olivier Goutet
I don't know if you can read French but there is a very good post on this French blog: http://android.cyrilmottier.com/?p=232 It explain how to build a custom adapter (BaseAdapter in fact) to manage 2 different types of cells on a list view. I hope the source source code will be enough for you. Th

[android-developers] Re: separate views list view

2010-09-29 Thread Olivier Goutet
I don't know if you can read French but there is a very good post on this French blog: http://android.cyrilmottier.com/?p=232 It explain how to build a custom adapter (BaseAdapter in fact) to manage 2 different types of cells on a list view. I hope the source source code will be enough for you. Th

[android-developers] Re: Emulator performance

2010-09-29 Thread kypriakos
You know I thought about doing that as a next step - good point - I will run the app standalone and see how that compares. I do have a feeling the combination of eclipse and the debugging tools are adding to the whole performance degradation. Thanks for the good info On Sep 29, 3:29 pm, ADRA w

Re: [android-developers] Re: Proxy related code changes needed in Apps

2010-09-29 Thread Prajakta Shitole
Hi, Thanks for your reply. I am using HttpURLConnection to access data from servers. Will look into the details that you have mentioned below. Thanks, Prajakta On Wed, Sep 29, 2010 at 1:11 PM, ADRA wrote: > I'm doing HTTPClient (Through the API's) on a carrier proxy just fine > without needing

[android-developers] Re: Settings for wallpapers

2010-09-29 Thread mat
Congratulations on the success of your live wallpaper, I have one too :) Well firstly having the settings menu appear on a double tap is probably something users would not like as it may be something that regularly occurs by accident. I assume you already have a settings activity that you use and

[android-developers] Re: Amazon | xxx - Business Opportunity

2010-09-29 Thread Doug
On Sep 29, 12:56 pm, Shane Isbell wrote: > As more details emerge: 1) only US customers; 2) $99 registration; 3) only > Amazon approved devices - it's a no-go in my book. What advantage could this > provide, with such a narrow distribution and high-entry fee? That sucks, and I hope you're not vio

[android-developers] Re: Proxy related code changes needed in Apps

2010-09-29 Thread ADRA
I'm doing HTTPClient (Through the API's) on a carrier proxy just fine without needing to fiddle with anything. Are you attempting to do HTTPClient or socket programming or what? My carrier doesn't use authentication, so maybe its something to do with authenticated proxies. *Shrugs* Just briefly re

Re: [android-developers] Re: requestLocationUpdates / non-UI-thread / getMainLooper()

2010-09-29 Thread Kostya Vasilyev
FYI - . and in fact, it does: http://www.netmite.com/android/mydroid/frameworks/base/location/java/android/location/LocationManager.java Constructor for ListenerTransport (a helper class that delivers updates to the application): if (looper == null) { mListene

[android-developers] Customizing emulator home page

2010-09-29 Thread KC203
Hi , When an emulator is launched a default home page is displayed, i want to change the options here and some images. Can we do this ?? Where do i have to tweak the code? Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To p

Re: [android-developers] Re: Marketplace updates - notified if apk not installed through marketplace?

2010-09-29 Thread TreKing
On Wed, Sep 29, 2010 at 2:23 PM, Doug wrote: > This bug comments on the accuracy of the number of updates pending. I > think the issue at hand in this thread is whether or not the notification > appears at all if an update is available. > Right - I was responding to Prakash saying he hadn't see

Re: [android-developers] Re: Amazon | xxx - Business Opportunity

2010-09-29 Thread Shane Isbell
As more details emerge: 1) only US customers; 2) $99 registration; 3) only Amazon approved devices - it's a no-go in my book. What advantage could this provide, with such a narrow distribution and high-entry fee? On Sun, Sep 26, 2010 at 1:34 AM, Doug wrote: > On Sep 25, 8:03 pm, Shane Isbell wr

Re: [android-developers] Re: Avoiding compression on large files

2010-09-29 Thread Kostya Vasilyev
Regarding compression in "raw" - you can test this pretty easily by first adding a large text file into that folder, then a large pre-compressed file (e.g. cut a portion out of a video file, or use a JPEG) and comparing resulting .apk sizes... -- Kostya Vasilyev -- http://kmansoft.wordpress.com 2

[android-developers] Re: Avoiding compression on large files

2010-09-29 Thread Bret Foreman
In many cases, I/O speeds are slower than decompression speeds. In these cases, it's actually faster to load/decompress a compressed file that just loading an uncompressed file. If you really want best performance, you should profile your flash read speed versus your decompression speed. -- You r

Re: [android-developers] Re: webview - hide the address bar

2010-09-29 Thread Mark Murphy
On Wed, Sep 29, 2010 at 3:28 PM, dashman wrote: > after the setContentView, i do > >                 webview.loadUrl(url); > > that seems to be creating an instance of the native browser. > > i guess my question is - how do i set a url w/o forcing > the native browser from opening. As I wrote pre

[android-developers] Re: Emulator performance

2010-09-29 Thread ADRA
> Is this a common trend? I find the emulator to be pretty slow in comparison to my NexusOne sitting right next to my PC. The factor is probably around 0.5x - 0.75x the speed. The PC is a Core2Duo 5400 3Ghz so no slouch by any means. I suppose that if they bothered to accelerate the GFX / etc.. a

[android-developers] Re: webview - hide the address bar

2010-09-29 Thread dashman
after the setContentView, i do webview.loadUrl(url); that seems to be creating an instance of the native browser. i guess my question is - how do i set a url w/o forcing the native browser from opening. -- You received this message because you are subscribed to the Google Grou

Re: [android-developers] Re: webview - hide the address bar

2010-09-29 Thread Mark Murphy
On Wed, Sep 29, 2010 at 3:24 PM, dashman wrote: > >        webview = new WebView(this); >        setContentView(webview); > > have an activity with this in the onCreate method. > > is this not an webview - i see an address bar. That is not a WebView. Probably that is the Browser activity. Most l

Re: [android-developers] Re: requestLocationUpdates / non-UI-thread / getMainLooper()

2010-09-29 Thread Kostya Vasilyev
Being able to specify a Looper in requestLocationUpdates seems to imply that LocationManager uses Looper/Message mechanism to deliver location updates to the application. Using the UI Looper seems safe then, since location update messages would be delivered to the main thread, decoded into Java ca

[android-developers] Re: webview - hide the address bar

2010-09-29 Thread dashman
webview = new WebView(this); setContentView(webview); have an activity with this in the onCreate method. is this not an webview - i see an address bar. On Sep 29, 2:17 pm, Mark Murphy wrote: > On Wed, Sep 29, 2010 at 2:13 PM, dashman wrote: > > how can i hide the address bar.

[android-developers] Re: Marketplace updates - notified if apk not installed through marketplace?

2010-09-29 Thread Doug
On Sep 28, 2:45 pm, TreKing wrote: > On Tue, Sep 28, 2010 at 4:16 PM, Prakash Iyer wrote: > > Not seen issue 2. > > Just to sanity check myself, I looked around and there's a bug report for > it. Last commenter says it's happening on N1 with Froyo. > > http://code.google.com/p/android/issues/deta

[android-developers] Resources from gen/ classpath: works in Eclipse, but not Ant

2010-09-29 Thread Anm
I have a .properties file be generated in the gen/ classpath. Both Eclipse and Ant build tools copy the file to bin/ when compiling. The .apk created by Eclipse works fine. The .apk created by Ant returns null at class.getResourceAsStream(..). Unzipping the .apk's, I see the classpath with file i

[android-developers] Emulator performance

2010-09-29 Thread kypriakos
Hi all, a while back I mentioned that running the imported p2p codebase I have on the emulator (on a fairly powerful laptop with plenty of mem and a fast processor) was pretty slow. I blamed all that on the codebase and in fact I was able to profile it and make it much lighter. Well still the ove

Re: [android-developers] Free version or not?

2010-09-29 Thread Greg Donald
On Wed, Sep 29, 2010 at 1:50 PM, Brad Gies wrote: >  Greg, > > What are the changes that Google Adsense made that affect how much you make? They changed the banner so only a tiny portion of it is now clickable. As a result I get much fewer clicks. I guess users don't get the fact that they have

Re: [android-developers] Free version or not?

2010-09-29 Thread Brad Gies
Greg, What are the changes that Google Adsense made that affect how much you make? Sincerely, Brad Gies --- Bistro Bot - Bistro Blurb http://bgies.com http://bistroblurb.com http://ihottonight.com http://forcethetruth.com ---

[android-developers] Re: VerifyError reloaded

2010-09-29 Thread Dirk
Just for the sake of completeness: In order to get around the problem, I tried to replace the whole switch-statement with lots of if-elseif statements. Unfortunately, another problem arose. The Verifyer now says: 09-29 18:02:44.058: WARN/dalvikvm(450): VFY: arbitrarily rejecting large method (regs

Re: [android-developers] webview - hide the address bar

2010-09-29 Thread Mark Murphy
On Wed, Sep 29, 2010 at 2:13 PM, dashman wrote: > how can i hide the address bar. There is no address bar on WebView. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books:

[android-developers] webview - hide the address bar

2010-09-29 Thread dashman
how can i hide the address bar. -- 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...@googlegrou

[android-developers] Re: call web service every 2 mins untill success message receives..?

2010-09-29 Thread Gold
Hi.. Is there any sample code for achieve this Thanks & Warm Regards, Gold On Sep 29, 7:48 pm, Kostya Vasilyev wrote: >   Use AlarmManager to schedule PendingIntent alarms to be fired at > regular intervals. > > Receive them in a BroadcastReceiver (either declared in the mani

[android-developers] Re: AudioRecord weirdness on Samsung Moment (SPH-M900)

2010-09-29 Thread Steve Hugg
More information.. here is the logcat when the issue occurs. We first try 16000 Hz, and then 8000. D/App ( 2618): Main activity starting I/AudioPolicyManager( 1889): getInput() inputSource 1, samplingRate 16000, format 1, channels 10, acoustics 0 W/AudioHardwareALSA( 1889): openInputStream : mInpu

Re: [android-developers] What is a "binder thread"?

2010-09-29 Thread Nam Ngo
As I know, they take control over Activity interaction also, because we use IPC to communicate between Activity. There is also a limitation of data we can transmit over a BinderThread, usually < 1MB. BR, Nam On Wed, 2010-09-29 at 09:37 -0700, DanH wrote: > I tried Google, but the only answer I co

[android-developers] Avoiding compression on large files

2010-09-29 Thread DanH
Apparently you can't have a file in "assets" larger than 1MB (except for certain file types) because it's considered too large to uncompress. But I'm finding mixed info about how to circumvent this limitation. Some say that you can put the files in "raw" and avoid the limitation but others say tha

[android-developers] What is a "binder thread"?

2010-09-29 Thread Nam Ngo
As I know, they take control over Activity interaction also, because we use IPC to communicate between Activity. There is also a limitation of data we can transmit over a BinderThread, usually < 1MB. BR, Nam On Wed, 2010-09-29 at 12:42 -0400, Mark Murphy wrote: > If I understand correctly, for IP

Re: [android-developers] To finish() an "Activity" ?

2010-09-29 Thread Mark Murphy
On Wed, Sep 29, 2010 at 1:13 PM, Emre A. Yavuz wrote: > Does anybody know why an "[app_process]" stays alive after the finish() > method is called to stop an "Activity" ? Because there are other components still active. If all components are inactive, the process will remain alive until Android t

[android-developers] To finish() an "Activity" ?

2010-09-29 Thread Emre A. Yavuz
Hi, Does anybody know why an "[app_process]" stays alive after the finish() method is called to stop an "Activity" ? Here's the (simplified) story in detail; Let's say I have an "Activity" where I call a class instance within its onCreate() method. Let's call this class "ClassA".

[android-developers] Re: AudioRecord weirdness on Samsung Moment (SPH-M900)

2010-09-29 Thread Steve Hugg
Dan, not sure since it's customer reported. We do know the model is SPH-M900 and running 2.1-update1. On Sep 6, 4:59 pm, dan raaka wrote: > what is the build fingerprint on your device ? > > $ adb shell getprop | grep finger > -Dan > > > -- You received this message because you are subscribed t

[android-developers] Re: requestLocationUpdates / non-UI-thread / getMainLooper()

2010-09-29 Thread ADRA
I could be wrong about this due to inexperience, but due to the nature of the looper, if you put it on the main looper and the GPS decides to randomly disappear for seconds then the GUI freezes along with it. I don't know if that really happen in reality, but I imagine the possibility could occur.

[android-developers] Re: How to read Meta-Data

2010-09-29 Thread carrerasrodrigo
thanks mfavef! I wrote a post about this, if someone is interested. http://programandoando.com.ar/2010/08/android-manifest-meta-data/ On Aug 5, 12:52 pm, mfavez wrote: > ApplicationInfo ai = > ctx.getPackageManager().getApplicationInfo(ctx.getPackageName(), > PackageManager.GET_META_DATA); > Stri

Re: [android-developers] What is a "binder thread"?

2010-09-29 Thread Mark Murphy
If I understand correctly, for IPC via AIDL, the object that is responding to the IPC is invoked on a binder thread. The object definitely is not invoked on the main application thread. They may have additional uses, but that's the one I can think off of the top o' my head. On Wed, Sep 29, 2010 a

[android-developers] What is a "binder thread"?

2010-09-29 Thread DanH
I tried Google, but the only answer I could find is "They were created by the system and they don't do any harm." I'm not worried about them per se, but was just curious about what they actually do and why they're there. -- You received this message because you are subscribed to the Google Group

Re: [android-developers] how to save the state of checked item in ListView having Checkbox

2010-09-29 Thread TreKing
On Wed, Sep 29, 2010 at 6:40 AM, RKJ (Android developer) < rkjhaw1...@gmail.com> wrote: > I'm new to android, please help me how to save the state of checkbox, Depends on how persistent you need the state to be. See this: onSaveInstanceState

[android-developers] Re: Maps API and legacy

2010-09-29 Thread arnouf
I found a solution calling Intent. Is it legal ? startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("http:// maps.google.com/maps? f=d&hl=en&saddr=43.593051,43.593051&daddr=43.593052,7.004667&ie=UTF8&0&om=0")); On Sep 29, 5:27 pm, arnouf wrote: > Hi all, > > I found this post > > This > pos

[android-developers] Settings for wallpapers

2010-09-29 Thread Peter Webb
I'm very new to Android programming, but have put a Live Wallpaper on the market, and its doing surprisingly well. I'm very pleased. What I want do is make some money out of it, but I don't know the technical architecture to use. What I want is for users to be able to change the settings of the

[android-developers] Re: Weird problem with ListView

2010-09-29 Thread John Gaby
That was a most informative video. I am not sure it will solve this particular problem, but it will help me address some other issues I have with the ListView. Thanks. On Sep 29, 1:21 am, MrChaz wrote: > At a guess I'd say it's caused by the listview recycling views. > There's a long talk here

[android-developers] requestLocationUpdates / non-UI-thread / getMainLooper()

2010-09-29 Thread Pent
Is there anything wrong with specifying the main thread looper to handle messages about location update like this: lm.requestLocationUpdates( LocationManager.GPS_PROVIDER, 0L, 0L, locListenerGPS, Looper.getMainLooper() ); (call is made from a non-UI thread) Am I going to start getting

[android-developers] Re: How can I query the sms by conversation?

2010-09-29 Thread feeling3_4
Wow, thanks a lot! I will give it a try. On 9月29日, 下午5时40分, Jens wrote: > The URI you're looking for is > > content://mms-sms/conversations?simple=true > > and the sort order is "date DESC" > > And as usual, with undocumented APIs from Google - they may change in > the future / differ between h

[android-developers] Maps API and legacy

2010-09-29 Thread arnouf
Hi all, I found this post This posting http://stackoverflow.com/questions/2023669/j2me-android-blackberry-driving-directions-route-between-two-locations suggests that "you must not use the Map Service with any applications for route guidance, including but not limited to turn-by-turn route guida

Re: [android-developers] call web service every 2 mins untill success message receives..?

2010-09-29 Thread Kostya Vasilyev
Use AlarmManager to schedule PendingIntent alarms to be fired at regular intervals. Receive them in a BroadcastReceiver (either declared in the manifest, or registered from code). Run your web service requests upon receiving those PengingIntent alarms. Acquire a wake lock while the web serv

  1   2   >