[android-developers] thousands of strings

2010-10-04 Thread Éva Lovrencsics
Hello, Maybe some of you has an application with quotations or jokes or something. I would like to make a similar. So how can I get the i. element of my string array (which is in arrays.xml)? I don't want to load the whole array in a String[], because it can be too big. Or it's not a good idea to

Re: [android-developers] Re: Problem in height of Listview

2010-10-04 Thread Rocky
thnx for replay, but its not working with list view. if i set the height=0dip, my entire list item gone. On Fri, Oct 1, 2010 at 9:42 PM, letlite letl...@gmail.com wrote: Set its height to 0 and give it a weight. android:layout_weight=1 android:layout_height=0dip

[android-developers] Re: video player

2010-10-04 Thread AnasSamara
Salam Ahmad do the same exactly instead .3gp use .mp4 salam On Oct 3, 10:02 am, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: but i want it for mp4 files On Oct 3, 9:05 am, AnasSamara anas86sam...@gmail.com wrote: 1-ADD VideoView in the layout. 2- push video file to sdcard 3- put

Re: [android-developers] Re: Internal or External Storage

2010-10-04 Thread Mark Murphy
On Mon, Oct 4, 2010 at 9:39 AM, John Gaby jg...@gabysoft.com wrote: Thanks for the input.  I am going to have full and 'lite' versions of my application.  If I use internal storage, is there a way to arrange it so that both versions can read and write the same data Yes, and no. Yes, if you

[android-developers] Re: WebView - Unable to call a dynamically added Javascript (part of a HTML) inside a DIV using innerHTML

2010-10-04 Thread Swaroop
Thanks Doug, I will try to implement the same in JQuery and see if the results are any different and post back here. On Oct 4, 2:35 am, Doug beafd...@gmail.com wrote: On Oct 2, 8:11 pm, Swaroop gnanaswar...@gmail.com wrote: I agree that this is more of a HTML/JS question, but I've posted it

Re: [android-developers] How to fix the Cursor Error (CursorWindow)

2010-10-04 Thread Mark Murphy
Try a smaller query. You are returning over 1MB of data. On Mon, Oct 4, 2010 at 6:33 AM, Kenneth WON kenneth...@gmail.com wrote: Hi , all, I got the following error: ERROR/CursorWindow(6924): need to grow: mSize = 1048576, size = 63, freeSpace() = 15, numRows = 11460

[android-developers] Re: Will my app receive a Broadcast if it is not running?

2010-10-04 Thread Nick
Refer to http://developer.android.com/reference/android/R.styleable.html#AndroidManifestReceiver: The receiver tag declares an BroadcastReceiver class that is available as part of the package's application components, allowing the application to receive actions or data broadcast by other

[android-developers] ActivityManager(): Timeout executing service

2010-10-04 Thread kronos
I get the error ActivityManager(): Timeout executing service When the phone goes to sleep with a service running in the background. The service goes into wait() because it uses text-to- speech, and it awakes to push the next sentence. If the Activity that controls the service is in the

Re: [android-developers] thousands of strings

2010-10-04 Thread Mark Murphy
2010/10/4 Éva Lovrencsics lovi...@gmail.com: Or it's not a good idea to put them into arrays.xml? How do you handle thousands of strings? Use a database. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog |

[android-developers] Using sliding motion to click multiple buttons

2010-10-04 Thread yousefm
Hello, I was wondering if there is a way to click multiple items (buttons,checkboxes,radiobuttons,etc) by doing a sliding over multiple items in one motion. For example, say I have a vertical layout of three buttons and I would like to click them all quickly. I want to be able to slide my finger

[android-developers] Re: Internal or External Storage

2010-10-04 Thread John Gaby
Thanks for the input. I am going to have full and 'lite' versions of my application. If I use internal storage, is there a way to arrange it so that both versions can read and write the same data, or would I need to use external storage if I want that feature? Thanks. On Oct 3, 5:50 pm,

Re: [android-developers] Re: Problem in height of Listview

2010-10-04 Thread Rocky
Hi paulb, thanx for reply its working fine. I was stick at this point since long time. On Sun, Oct 3, 2010 at 7:37 PM, paulb pbizan...@gmail.com wrote: Hey Rocky, If you are still experiencing a problem with the layout, and the RelativeLayout does not work, you can use a solution along

[android-developers] Re: The Market App has a CACHE !

2010-10-04 Thread Doug
I've noticed that the Market app client has its own cache that it will consult. If you force the Market app to terminate, you're more likely to see fresh results from the server. Doug -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Could use some help (free game on Galaxy S problem)

2010-10-04 Thread Zarah Dominguez
Hi Patrick! Will try to download your game. Looks like Market is acting up over here and it won't start the download. Will try again later. For a relatively expensive phone, it looks like Galaxy S gives us developers quite a headache. ;) - Zarah. On Oct 2, 10:44 pm, Patrick

Re: [android-developers] Re: Problem after reopen the application !!!

2010-10-04 Thread tarek attia
any idea ? On 10/3/10, tarek attia tarek.m.at...@gmail.com wrote: On Sun, Oct 3, 2010 at 10:27 PM, Prajakta Shitole prajakt...@gmail.comwrote: is it possible to paste ur code here.. what code do u hv in ur onResume?? may be there is some problem with ur onResume as that gets called if the

[android-developers] Re: Scrollable Menu Bar like Fox news app

2010-10-04 Thread Ganapathy.C
I Want to use Scrolling Menu same as UIScrollView in iPhone.. The below link for that scroll view ... http://picasaweb.google.co.in/cganapathi/Android# On Oct 3, 11:23 am, TreKing treking...@gmail.com wrote: On Sat, Oct 2, 2010 at 12:14 PM, Ganapathy.C cganapa...@gmail.com wrote: If

[android-developers] Re: Mapping 6 faces of cube with 6 different images

2010-10-04 Thread Girish H T
Hi Lance, Thanks for your answer. If i want to change the images dynamically how can that be possible ? Is it possible to generate the atlas @ runtime programatically ? Can you point me the the tools used for generating texture atlas ? Regards Girish -- You received this message because you

[android-developers] Re: The Market App has a CACHE !

2010-10-04 Thread tony obrien
For those thinking I meant a BROWSER's cache -- perhaps I was not clear... I meant that on the PHONE,the MARKET APPLICATION has a cache. (Settings = Applications = Manage Applications = Menu: Show ALL = Choose MARKET. You'll see a button to CLEAR CACHE. And my point is -- why would the

Re: [android-developers] Re: The Market App has a CACHE !

2010-10-04 Thread { Devdroid }
On 4 October 2010 14:32, tony obrien tobsourcecode...@gmail.com wrote: And my point is -- why would the designers of that APP use a cache? It doesn't 'minimize network traffic' since it always seems to go up to the net anyway to do a D/L Cache in Market app does reduce network traffic.

[android-developers] Re: Stagefright Mediaextractor: how to detect interlaced streams in video files?

2010-10-04 Thread Deva R
[resolved now] i realized lately that its beyond the scope of file parser., and supposed to be done by codec component. written a custom parser to detect interlaced content, and posted to local gerrit - http://review.omapzoom.org/#change,6889 -- Regards, Deva www.bittoggler.com On Tue, Sep 7,

[android-developers] Re: Library Projects support ?

2010-10-04 Thread MobDev
Actually, as I mentioned in my post, it's already a 1.6 project... I can only make a 1.6 project if I have the SDK that supports it rigth ? Actually my SDK has been updated up to 2.2 Anyhow, after changing the Project Library (and the project using the library) to a 2.2 project it started working

Re: [android-developers] Re: Scrollable Menu Bar like Fox news app

2010-10-04 Thread TreKing
On Mon, Oct 4, 2010 at 2:29 AM, Ganapathy.C cganapa...@gmail.com wrote: I Want to use Scrolling Menu same as UIScrollView in iPhone.. Android is not iPhone so you're not guaranteed to find equivalent controls. However, you may find a Gallery may suit your needs.

Re: [android-developers] thousands of strings

2010-10-04 Thread Éva Lovrencsics
Ok, but how can I fill the database with my thousands of strings? I said, I don't want to load the whole array in a String[], because it can be too big. Maybe I don't have so much memory. On Mon, Oct 4, 2010 at 15:49, Mark Murphy mmur...@commonsware.com wrote: 2010/10/4 Éva Lovrencsics

[android-developers] problem to run video stream in 1.5

2010-10-04 Thread zohar lerman
Hi I am trying to play the streaming video using the API demo application. I set the path to mp4 link from the web. when i run it with Nexsus 1 (SDK 2.2.1) it is working as expected but on HTC Dream (SDK 1.5) it throws the following exception: 10-04 10:46:42.073: ERROR/ZL(3984): error: Prepare

[android-developers] Re: LG Ally from Verizon 2.1-update1 has broken apps

2010-10-04 Thread pistol
Apart from a couple more complaints I haven't heard any more - I think LG have acknowledged it but they don't seem to be rushing out a fix. On Oct 3, 2:41 pm, lloyd1949 lloydmcfarl...@comcast.net wrote: Hi: I just received the same complaint from a couple of my users with LG phone. Has anyone

Re: [android-developers] Android market update fails

2010-10-04 Thread TreKing
On Sun, Oct 3, 2010 at 5:30 AM, marlan marlan12...@googlemail.com wrote: Is there something broken? When dealing with the Android Market, the answer is usually a resounding YES =P Try temporarily changing your app's title and / or description (add or remove a character). I've found this helps

Re: [android-developers] thousands of strings

2010-10-04 Thread Mark Murphy
2010/10/4 Éva Lovrencsics lovi...@gmail.com: Ok, but how can I fill the database with my thousands of strings? Option #1: Download the database Option #2: Package the database in assets/ or res/raw/ and copy it to the local file system -- Mark Murphy (a Commons Guy) http://commonsware.com |

Re: [android-developers] Re: The Market App has a CACHE !

2010-10-04 Thread TreKing
On Mon, Oct 4, 2010 at 7:32 AM, tony obrien tobsourcecode...@gmail.comwrote: And my point is -- why would the designers of that APP use a cache? Images, descriptions, comments, app lists you just viewed? Try this: after you clear the market cache, open it up and navigate to some app. See how

[android-developers] Re: ExternalStorage, ContentProviders, and Startup

2010-10-04 Thread Adam Hammer
I found it and it does exactly what I need. My api was set to 2.1, but that function is 2.2. My min-sdk is level 8 so I'm ok with that. Adam On Oct 4, 4:50 am, Adam Hammer adamhamm...@gmail.com wrote: The answer I think I was looking for was ACTION_EXTERNAL_APPLICATIONS_AVAILABLE, I can't

[android-developers] Image encoders and decoders

2010-10-04 Thread sowmya
Hi All , I want to know the APIs which i can call from my activity to get image information like image width,height,decodedbuffer etc .similarly i want to the image encoder apis(jpeg) to encode rawdata Thanks and Regards, Sowmya -- You received this message because you are subscribed to the

Re: [android-developers] inform

2010-10-04 Thread TreKing
On Sun, Oct 3, 2010 at 5:22 PM, Umer Farooq uu_far...@hotmail.com wrote: How we can create run time button click evernts in androif application. Read the documentation for buttons - this should provide you all you need. If you still have trouble, post back with a more specific question with

[android-developers] bitmap magnification

2010-10-04 Thread n2v2rda2
with imageview and network-thread,i am making live cam-view ,bitmap size is 360 240, after parsing network-data to bitmap BitmapFactory.Options options = new BitmapFactory.Options(); options.inSampleSize = 2; Bitmap orgBitmap =

[android-developers] Retrieve android:versionName from Library Project

2010-10-04 Thread MobDev
Hi, I have created a Library Project which I import into another project. In that Library Project at some point I retrieve it's android:versionName To do that you need to supply the package name. The problem arises when that code is executed when the Library Project is included within another

[android-developers] ACTION_IMAGE_CAPTURE intent Motorola Droid platform 2.2

2010-10-04 Thread Jakke
Hi, I've received messages from users that my application crashes after users have used camera. This works fine on my test phone Nexus One. Starting intent - Uri imageUri = Uri.fromFile(imageFile); Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);

[android-developers] Re: Hi All, Please help me!!

2010-10-04 Thread Ulzii
Thanks you so much. Your suggestion is working. On Oct 1, 2:55 am, TreKing treking...@gmail.com wrote: On Thu, Sep 30, 2010 at 12:56 PM, Ulzii ter...@gmail.com wrote: The certificate that signed this apk is not valid until the future. This usually means the time on your computer, at the time

[android-developers] Re: how to detect if a phone is running HTC sense UI

2010-10-04 Thread Denis Souza
I would really like to know why people want to know they are running with Sense UI. Is it just for notifications? Are there other things? Yes, there are. The Sense UI changes some of the API's behavior. I know of two things that work differently on Sense UI. Both of them have to do with my

[android-developers] Re: The Market App has a CACHE !

2010-10-04 Thread Zarah Dominguez
Hi Tony! I experienced the same thing last Friday! I updated my app but when I checked the market it still shows the old version. I was in a panic too! ;) I forced the Market app to terminate and then restarted it (pretty much what Doug said, eh?), and it showed the update. I am not sure if

[android-developers] Max duration for capture video on android

2010-10-04 Thread dmtrl...@gmail.com
Hi all, I have code for capture video: Intent intent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE); intent.putExtra(android.intent.extra.durationLimit, 3); intent.putExtra(EXTRA_VIDEO_QUALITY, 0); startActivityForResult(intent, ActivityRequests.REQUEST_TAKE_VIDEO); This code works good on

[android-developers] Re: unable to play rtsp video (H.264) stream in Froyo using MediaPlayer

2010-10-04 Thread Doug
On Oct 3, 8:12 pm, Aamir a2zbu...@gmail.com wrote: I have an app that worked fine on Android 2.1 (Eclair) but is no longer working in 2.2.1 (Froyo).  I think this may have to do with the shift from OpenCore to StageFright for video encoding and decoding, but am unsure. Something happened in

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

2010-10-04 Thread Zarah Dominguez
Hi Mike, Seeing as you already had a workaround, do you still need the snippet? On second thought, your email seems to be deleted. Oh well. Salamat! -Zarah. On Oct 4, 10:10 am, mikedroid michan...@gmail.com wrote: actually we had a small workaround but i guess if samsung will not update

Re: [android-developers] Retrieve android:versionName from Library Project

2010-10-04 Thread Mark Murphy
On Mon, Oct 4, 2010 at 8:27 AM, MobDev developm...@mobilaria.com wrote: /edit : I posted this on stackoverflow as well and someone responded with : As far as I know android library project manifest is ignored at the moment, manifest is not merged into end application when you reference a

[android-developers] Re: The Market App has a CACHE !

2010-10-04 Thread DanH
Keep in mind that phone apps are/should be designed to minimize network traffic. So caching is a good thing, generally. The Market app is designed to sell stuff, not give the developers warm fuzzies. On Oct 4, 3:33 am, Zarah Dominguez zarah.doming...@gmail.com wrote: Hi Tony! I experienced

[android-developers] Re: ExternalStorage, ContentProviders, and Startup

2010-10-04 Thread Adam Hammer
The answer I think I was looking for was ACTION_EXTERNAL_APPLICATIONS_AVAILABLE, I can't exactly find it in the Intent class though. That would solve at least one of my problems. If it was guaranteed to be triggered even when there were no applications, in the case that the card is ready and

[android-developers] google voice native phone dialer control

2010-10-04 Thread Alejandro D. Garin
Hi All, Does anyone know how google voice application is taking control of the default phone native dialer? Is it using the public android API? I saw how google voice display a bubble at top and mask the dialed out number in the native dialer. We need to do something like this in our application

[android-developers] Android hands after taking picture with intent MediaStore.ACTION_IMAGE_CAPTURE

2010-10-04 Thread JavaMan
Hi, I am trying to take a picture using the phone's built-in camera utility. I am passing the intent filter MediaStore.ACTION_IMAGE_CAPTURE, and the camera app starts up, but once I take a picture and press ok, nothing happens. Nothing appears in the DDMS either. Here is my code to launch the

[android-developers] Using Google Maps Navigation

2010-10-04 Thread ColletJb
Hi, I'm trying to use Google Maps Navigation from within my application. I've found on the net it can be done with this intent : Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(geo:+lat +,+lng)); where lat and lng are the latitude and longitude. Unfortunately, I get a SecurityException

[android-developers] DDMS and Eclipse debugger in SDK 8

2010-10-04 Thread Bret Foreman
Since upgrading to SDK 8 I cannot use the Eclipse debugger and DDMS at the same time. The error I get in the Eclipse console when I start DDMS is: [2010-10-04 08:00:12 - DeviceMonitor]Adb connection Error:An existing connection was forcibly closed by the remote host [2010-10-04 08:00:13 -

[android-developers] Re: Mapping 6 faces of cube with 6 different images

2010-10-04 Thread Robert Green
Girish, There are 2 tools you will need: 1) Canvas APIs 2) Your programming intuition It's not hard. Just load the 6 bitmaps, create your atlas one and draw the 6 bitmaps to it, then store the percentages (learn about UV coordinates somewhere) and use those percentages as your UVs. Get the

[android-developers] How to fix the Cursor Error (CursorWindow)

2010-10-04 Thread Kenneth WON
Hi , all, I got the following error: ERROR/CursorWindow(6924): need to grow: mSize = 1048576, size = 63, freeSpace() = 15, numRows = 11460 ERROR/CursorWindow(6924): not growing since there are already 11460 row(s), max size 1048576 ERROR/CursorWindow(6924): The row failed, so back out the new row

Re: [android-developers] thousands of strings

2010-10-04 Thread Justin Giles
The way I handle this is I have a small database packaged with the initial application install. Upon first run, it attempts to download the full database from my server. If it fails, then the user still has a subset of items to choose from with the smaller database until the next time the game

Re: [android-developers] ActivityManager(): Timeout executing service

2010-10-04 Thread Mark Murphy
On Mon, Oct 4, 2010 at 3:11 AM, kronos jeremyvillalo...@gmail.com wrote: I was using WAKE_LOCK when the whole application was an Activity, but now that it is a Service and an Activity, WAKE_LOCK does not seem to work if used from the Service. A WakeLock works just fine in a service. -- Mark

[android-developers] Re: LG Ally from Verizon 2.1-update1 has broken apps

2010-10-04 Thread keno
The problem seems to be with copy protected apps. LG seems to have a broken mechanism for managing these in the latest update. If you toggle copy protection off in the marketplace, everything works fine after a reinstall of the app. Just my observations so far. On Sep 26, 1:50 pm, pistol

[android-developers] Re: thousands of strings

2010-10-04 Thread Bret Foreman
I've tried it both ways that Mark describes and I highly recommend you package it in your /res folder if you can stand the increased application memory footprint. You can't be sure that your user has network connectivity all the time and handling the various cases of no/ intermittent/slow network

[android-developers] Re: thousands of strings

2010-10-04 Thread DanH
It's dumb to use a database -- would take up much more space than the strings in arrays.xml, and be slower to access. Of course, if there is no way to access a single element from arrays.xml ... ... one could, since this is a fixed database, use a dope vector into a file: Create a file with all

[android-developers] Bluetooth headset noise-cancellation activation through android app

2010-10-04 Thread Garima
I have read that in-call audio is not available to SDK applications. Does that mean that there is no way by which we can access the uplink/ downlink audio stream? I don't want to do any call recording but instead I would like to use VOICE_CALL or VOICE_UPLINK or VOICE_DOWNLINK through my app

[android-developers] Amazon android market. Anyone take the offer?

2010-10-04 Thread niko20
I don't think it's a breach of NDA terms to ask - has anyone here decided to yes, take the offer to join the Amazon store? Personally I'm still unsure if I want to do so. The problem I have isn't that they want to have more control over the apps, it's their store, but that it seems like that

[android-developers] sizing an activity window

2010-10-04 Thread dashman
i've got an activity that contains just one image. - the style is DialogTheme. i'd like to width of the image to about 80% of the width of the screen. how can i get the dimensions of the screen/device. or is there a way in layouts i can specify 80% and will the height be adjusted for proper

Re: [android-developers] Re: thousands of strings

2010-10-04 Thread Mark Murphy
On Mon, Oct 4, 2010 at 11:44 AM, DanH danhi...@ieee.org wrote: It's dumb to use a database -- would take up much more space than the strings in arrays.xml, and be slower to access. You will note that the OP didn't put constraints on those criteria. The OP put a constraint on memory usage. Given

[android-developers] Re: Android media player not reading ID3 tags

2010-10-04 Thread Jeremy Wadsack
On Oct 3, 3:51 pm, DraganA dand...@gmail.com wrote: I wonder if anyone knows whether the built in media player uses some kind of caching of mp3 files ID3 tag information, because after I change the tag of a file it doesn't show the updated data. Only after the phone restart, I guess after

[android-developers] Re: unit testing asynchronous API calls ?

2010-10-04 Thread A. Elk
I would like to point out that, as far as I can tell, you're not doing a real unit test. It seems that you have at least two components. So let's say you have two, component A and component B. You would like to test both, but you first have to call A, which calls an asynchronous process that does

[android-developers] Optimizing TextView creation

2010-10-04 Thread Bret Foreman
My app creates a lot of TextView objects and this turns out to be really slow. A look at the traceview output reveals that the bulk of the time is spent in the TextView methods that grab all the default parameters from /res and /util. The thing is, all my TextViews share 99% of these parameters.

[android-developers] Headless emulator

2010-10-04 Thread kypriakos
Hi all, I didn't find much on this anywhere and I have a feeling it is not really possible but just in case - is there a way to launch the emulator remotely without the necessary GUI (I can do that using VNC etc. but it turns out to be too slow) and install/launch apps on it? Thanks -- You

[android-developers] Re: thousands of strings

2010-10-04 Thread DanH
This is a perfectly delightful solution for somebody with a background in algorithms. Do you know of any Java code generator that creates such structures? Background in algorithms??? It's a Programming 101 problem -- anyone with a modicum of programming skill should be able to do it. It's no

Re: [android-developers] Headless emulator

2010-10-04 Thread Mark Murphy
On Mon, Oct 4, 2010 at 12:35 PM, kypriakos demet...@ece.neu.edu wrote: I didn't find much on this anywhere and I have a feeling it is not really possible but just in case - is there a way to launch the emulator remotely without the necessary GUI (I can do that using VNC etc. but it turns out

[android-developers] How could I be interfering with context menu longclick?

2010-10-04 Thread CodeFusion
My app used to use a standard ListView, and registerForContextMenu(getListView()) and everything worked just fine. I needed to change my app to accommodate nested lists so I replaced the ListView with ExpandableListView. I changed the Activity to ExpandableListActivity. I also changed my adapter

Re: [android-developers] Re: thousands of strings

2010-10-04 Thread Mark Murphy
On Mon, Oct 4, 2010 at 12:38 PM, DanH danhi...@ieee.org wrote: Background in algorithms???  It's a Programming 101 problem -- anyone with a modicum of programming skill should be able to do it. You make a few assumptions, in terms of background and experiences, that may or may not be accurate.

Re: [android-developers] Optimizing TextView creation

2010-10-04 Thread Mark Murphy
You need to incorporate recycling a la AdapterView. I am willing to bet that most of those 20 columns and 50 rows are not visible. On Mon, Oct 4, 2010 at 12:32 PM, Bret Foreman bret.fore...@gmail.com wrote: My app creates a lot of TextView objects and this turns out to be really slow. A look at

Re: [android-developers] Amazon android market. Anyone take the offer?

2010-10-04 Thread Shane Isbell
Niko, I didn't sign any NDA with Amazon, but there is a lot of public information out there about the Amazon Android Store, coming from people leaking information out to various sites. Once the information becomes public, the NDA in regards to you talking about public information is not

[android-developers] how do i add the content view behind gridview?

2010-10-04 Thread dadada
hi all, how do i add the content view behind gridview? i could only addContentView on top of gridview. I setContentView() of the gridview for the activity. Thanks! bryan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: thousands of strings

2010-10-04 Thread Bret Foreman
Mark, You're googling under the wrong search terms. Dope vectors were developed by the Three Stooges. You need to search for Larry, Curly, and Moe. On Oct 4, 9:51 am, Mark Murphy mmur...@commonsware.com wrote: On Mon, Oct 4, 2010 at 12:38 PM, DanH danhi...@ieee.org wrote: Background in

Re: [android-developers] how do i add the content view behind gridview?

2010-10-04 Thread Mark Murphy
On Mon, Oct 4, 2010 at 12:53 PM, dadada ytbr...@gmail.com wrote: how do i add the content view behind gridview? i could only addContentView on top of gridview. I setContentView() of the gridview for the activity. Step #1: Create a FrameLayout Step #2: Put the content view behind gridview as

[android-developers] How to make a map move as you drive?

2010-10-04 Thread james pruett
Hi, I want to make a map move. Q: How best do I make a map move as I drive? Everything I know about Android maps, I learned from HelloMapView. http://developer.android.com/guide/tutorials/views/hello-mapview.html I have all the GPS LocationManager working aok, I just need help in the map part.

[android-developers] Re: Scrollable Menu Bar like Fox news app

2010-10-04 Thread Ganapathy.C
But many app using that kind of menus... -- 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

Re: [android-developers] How to make a map move as you drive?

2010-10-04 Thread Mark Murphy
Call getController().setCenter() periodically (e.g., on each location update). On Mon, Oct 4, 2010 at 1:01 PM, james pruett gpscru...@gmail.com wrote: Hi, I want to make a map move. Q: How best do I make a map move as I drive? Everything I know about Android maps, I learned from

Re: [android-developers] Using Google Maps Navigation

2010-10-04 Thread TreKing
On Mon, Oct 4, 2010 at 10:01 AM, ColletJb collet...@gmail.com wrote: Unfortunately, I get a SecurityException :'( Do you have any more information on this exception? Message or stack trace? AFAIK, you should not need a special permission to launch such a generic intent.

Re: [android-developers] How to make a map move as you drive?

2010-10-04 Thread james pruett
Perfect. Thanks Mark! On Mon, Oct 4, 2010 at 12:06 PM, Mark Murphy mmur...@commonsware.comwrote: Call getController().setCenter() periodically (e.g., on each location update). On Mon, Oct 4, 2010 at 1:01 PM, james pruett gpscru...@gmail.com wrote: Hi, I want to make a map move. Q:

[android-developers] a good way to do screen cast on android

2010-10-04 Thread dadada
hi all, is there a good way to do screen cast on android? what do you guys use to replace the cursor? i'm looking for a simfinger alternative. is there something for android? anybody tried http://code.google.com/p/androidscreencast/? is it good? thanks! bryan -- You received this message

Re: [android-developers] How to make a map move as you drive?

2010-10-04 Thread TreKing
On Mon, Oct 4, 2010 at 12:01 PM, james pruett gpscru...@gmail.com wrote: Q: How best do I make a map move as I drive? http://code.google.com/android/add-ons/google-apis/reference/com/google/android/maps/MapController.html

[android-developers] Stolen app on market

2010-10-04 Thread Nightwolf
Recently I've discovered that our app Little Python is distributed by developer who call himself Adam Gates. He renamed our app to snake, replaced icon and changed AdMob id. He has 55 published apps. Please take a look may be you'll find yours. Is there any way to shut him down? Please advise. --

Re: [android-developers] a good way to do screen cast on android

2010-10-04 Thread Mark Murphy
On Mon, Oct 4, 2010 at 1:11 PM, dadada ytbr...@gmail.com wrote: is there a good way to do screen cast on android? If you can live with ~5fps, you can grab screenshots via the protocol used by DDMS and stitch them together into a video. Or, if you have a Droid Incredible, Samsung Galaxy S, or

[android-developers] Re: bitmap magnification

2010-10-04 Thread Matty
I would advise calculating the scale of original image to screen height/width, and adjusting your inSampleSize accordingly. When it's 2, you're always loading half of the source bitmap, so if it's huge, you're still loading half of huge. You'll want to do something like options.inSampleSize =

[android-developers] Re: DDMS and Eclipse debugger in SDK 8

2010-10-04 Thread Bret Foreman
Bump. This has been a problem for several weeks now, I've posted a help request here several times, and nobody seems to know what these error messages mean. Is there a way I can send a support request directly to Google? -- You received this message because you are subscribed to the Google

Re: [android-developers] How to make a map move as you drive?

2010-10-04 Thread james pruett
thanks TrekKing. As far as my-overlays, I guess I just do some box-math to see what new overlays I must add each time... -jim On Mon, Oct 4, 2010 at 12:05 PM, TreKing treking...@gmail.com wrote: On Mon, Oct 4, 2010 at 12:01 PM, james pruett gpscru...@gmail.com wrote: Q: How best do I make a

[android-developers] Compressing camera image to a certain size

2010-10-04 Thread Ferm
Hello I am sending images taken from the camera to a server. I want to keep as high quality as possible but not exceed 1.5MB. When data from camera is less than 1.5MB i do not process it, but there are cases when data might be 3, 5 etc. I have looked around in the BitmapFactory and Bitmap

[android-developers] The ultimate, killer Android Marketplace replacement

2010-10-04 Thread Bret Foreman
It's not a technical issue. It's a business one. The first company that works out agreements with most of the world's mobile carriers to allow integrated billing for apps will quickly become the dominant application channel. As soon as users can click on a buy button and have the app charged to

[android-developers] Re: widget with custom bitmaps

2010-10-04 Thread siliconeagle
Well as far as i know the resource id's are created at design time (in R.java). Is there a way to tell Android to create a new resource id for my bitmap that is made at runtime? Perhaps this violates the concept of a resource (can they only be in the res or assets folder of a app, or can the exist

[android-developers] Delete The Administrator Password

2010-10-04 Thread Sami
http://softsami.blogspot.com/2010/10/delete-administrator-password.html -- 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: Stolen app on market

2010-10-04 Thread Michael A.
I've read of others with similar complaints. The only recourse, I suppose is to mark his apps as stolen in the market (in the hope that someone at Google actually reviews that), and sending him/Google a CD (see, e.g., http://www.seomoz.org/dp/generic-cease-desist-to-google). See here for another

Re: [android-developers] Stolen app on market

2010-10-04 Thread { Devdroid }
On 4 October 2010 19:14, Nightwolf mikh...@gmail.com wrote: Recently I've discovered that our app Little Python is distributed by developer who call himself Adam Gates. He renamed our app to snake, replaced icon and changed AdMob id. He has 55 published apps. Please take a look may be you'll

[android-developers] Re: thousands of strings

2010-10-04 Thread DanH
Well, when I look at the web references for dope vector, they're mostly referring to a different (and more obscure) concept than the one I'm talking about: The concept is blazingly simple -- something you'd invent if you didn't already know of it. Consider that you have a set of variable-length

[android-developers] Re: DDMS and Eclipse debugger in SDK 8

2010-10-04 Thread Bret Foreman
Maybe this is another clue. In the middle of testing my app on my Moto Droid (running Android 2.2), the device went offline and DDMS dumped out this to the console. Maybe we're really looking at a device issue instead of a tools issue. Hmmm. 42:02 E/DDMS: device (040369861601C00A) request

[android-developers] Application not found by queryIntentActivities

2010-10-04 Thread DanH
We have the following code: PackageManager packageManager = context.getPackageManager(); Intent testIntent = new Intent(Intent.ACTION_VIEW); testIntent.setType(application/pdf); ListResolveInfo list =

[android-developers] Re: Amazon android market. Anyone take the offer?

2010-10-04 Thread Michael A.
I think I could care less about the number of downloads from a place such as the Amazon store - it would take really amazing download rates for a free app to make back the $99 fee in any reasonable amount of time, and I just don't see where this is possible, unless Amazon has made some exclusive

Re: [android-developers] Application not found by queryIntentActivities

2010-10-04 Thread Mark Murphy
On Mon, Oct 4, 2010 at 2:17 PM, DanH danhi...@ieee.org wrote: Why would this viewer not be found??? (The meaning of MATCH_DEFAULT_ONLY is unclear to me, but it appears to imply that only apps that would respond to a vanilla click on the file in a file list should be selected.  Surely the

Re: [android-developers] Re: thousands of strings

2010-10-04 Thread Tom Gibara
This combination of a data file + supplementary file for faster access, is indeed very well established. Developers have spent considerable time providing robust and efficient implementations, where they are often referred to as tables and indexes, and exposed via a software component that's often

[android-developers] Re: Application not found by queryIntentActivities

2010-10-04 Thread DanH
Just tried it with zero. Fails the same way. (And the code works fine on other phones.) On Oct 4, 1:23 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, Oct 4, 2010 at 2:17 PM, DanH danhi...@ieee.org wrote: Why would this viewer not be found??? (The meaning of MATCH_DEFAULT_ONLY is

[android-developers] Re: android design considerations: AsynchTask vs Service (IntentService?)

2010-10-04 Thread Indicator Veritatis
Well, that offer is an improvement over the stonewalling we have all seen so often here before, but it still reads a little bit like offering a comb to a bald man. Why? Because many of us are relying on precisely those docs for the info we would put in the suggested patches. So how are we supposed

Re: [android-developers] Re: Internet connection is not working in emulator

2010-10-04 Thread Viral Brahmbhatt
Anyone having any solutions I am still not able to crack this On Sat, Sep 25, 2010 at 3:19 AM, Viral Brahmbhatt viralbrahmbh...@gmail.com wrote: Hi, I am using Win XP, and i have wireless internet connection on my laptop. there is no proxy On Sat, Sep 25, 2010 at 2:44 AM, DanH

[android-developers] Re: Application not found by queryIntentActivities

2010-10-04 Thread DanH
And, if we skip the test and let the code continue on, a PDF is successfully displayed through a simple startActivity with an intent for ACTION_VIEW on a PDF file. On Oct 4, 1:23 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, Oct 4, 2010 at 2:17 PM, DanH danhi...@ieee.org wrote: Why

[android-developers] Re: PNG file with transparent drop shadow that appears as solid

2010-10-04 Thread avigadl
No one knows what to do? On Oct 3, 11:10 pm, avigadl avig...@gmail.com wrote: Hi, I have a PNG file with drop shadow that is supposed to be blended using multiply operation. I'm using an ImageView to show it. However, the shadow is shown as solid gray. What am I doing wrong? Thanks.

  1   2   >