[android-developers] Cross-phone Image Compatibility

2011-06-21 Thread Prem Nair
I'd like to have an image be the same percentage of the height of the display on every Android phone, without becoming blurry. I'll have ldpi, mdpi, and hdpi versions. If nothing is possible, then I could also replace them with android.graphics.drawable.shapes objects. How many of them can I draw

Re: [android-developers] Re: Strange device?

2011-06-21 Thread Dianne Hackborn
Don't believe written documentation at this point, there has been some chaos in this. The current official numbers used by the platform implementation are: Normal -- 320dp x 480dp Large - 480dp x 640dp XLarge - 720dp x 960dp Technically in the impl Small is just smaller than normal, but as per

[android-developers] How to mount multi sdcard on vold?

2011-06-21 Thread bord...@gmail.com
Hi All: My device had two sdcard, default it's only one card mount on android start. My vold.fstab config like this: dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2 dev_mount sdcard2 /mnt/sdcard2 auto /devices/platform/s3c-sdhci.3/mmc_host/mmc3

[android-developers] Re: Cross-phone Image Compatibility

2011-06-21 Thread JAlexoid (Aleksandr Panzin)
If your app is media heavy: - place the images into a nodpi directory at 600px width in portrait mode. - on first run a) identify the width of the display b) scale the images c) store the scaled versions in cache or on SD Why 600? 600px is the largest Android 2 series device

[android-developers] Re: Strange device?

2011-06-21 Thread Zsolt Vasvari
Ok, thanks. I am testing on the original 7 Galaxy Tab, which is a 600x1024 HDPI device, which gives 400dpx683dp, so unless I am misunderstanding you, it should be classificed as a Normal screen device, but it seems to be pulling resources from the Large folders. Is there special handling for

[android-developers] Re: How to mount multi sdcard on vold?

2011-06-21 Thread Zsolt Vasvari
This is the Android SDK forum, not the porting forum. They got their own group. On Jun 21, 2:46 pm, bord...@gmail.com bord...@gmail.com wrote: Hi All:          My device had two sdcard, default it's only one card mount on android start.         My vold.fstab config like this: dev_mount

[android-developers] Re: Strange device?

2011-06-21 Thread Zsolt Vasvari
When I say, it's a 600x1024 HDPI device, I mean that's what's reported by DisplayMetrics, even though, in reality, MDPI would be closer. On Jun 21, 2:58 pm, Zsolt Vasvari zvasv...@gmail.com wrote: Ok, thanks. I am testing on the original 7 Galaxy Tab, which is a 600x1024 HDPI device, which

[android-developers] Re: call forwarding programmatically

2011-06-21 Thread madlymad
Ok! I finally figure it out! Although I didn't really understand why it worked but using the following code symbols like # are passing to DIAL CALL Action. String uri = **21*30693516000#; // ##21# Intent intent = new Intent(Intent.ACTION_DIAL); // ACTION_CALL Uri uri2 = Uri.fromParts(tel,

[android-developers] bluez help

2011-06-21 Thread arun_satya3
Hi, Can anybody let me know bluez forums to get help for android development. Rgds, Arun S. -- 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] thread caused app to forcedclosed?

2011-06-21 Thread Hitendrasinh Gohil
Hi, I am using thread in my activity class.when the activity is visible there isnt any problem.but when i navigate to previous screen and again going to this activity it causes forced close to my app.I have tried it by removing the thread then it works fine. Here is the code that i m calling

[android-developers] Task Manager

2011-06-21 Thread shanmu nathan
Hi guys, Good Morning guys, I do one android application.. I need to run the application back ground but when ever kill my application using task manager it will b closed. Now i need to hide my application from the task manager.. Can any one help me? Please. its very urgent.

[android-developers] Re: thread caused app to forcedclosed?

2011-06-21 Thread Zsolt Vasvari
Ok, cool. Do you have a question? On Jun 21, 3:35 pm, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote: Hi, I am using thread in my activity class.when the activity is visible there isnt any problem.but when i navigate to previous screen and again going to this activity it causes

[android-developers] Re: bluez help

2011-06-21 Thread Zsolt Vasvari
Yup, here's a link for you: http://goo.gl/AKYBk On Jun 21, 3:26 pm, arun_satya3 arun.sat...@gmail.com wrote: Hi, Can anybody let me know bluez forums to get help for android development. Rgds, Arun S. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Problems to get Latitude/Longitude from a picture

2011-06-21 Thread Axel B
Thank you for your answer, I will try that. On 15 juin, 15:16, Streets Of Boston flyingdutc...@gmail.com wrote: Have you tried to read the images' EXIF information for the longitude/latitude? -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] constructor problem

2011-06-21 Thread אריאל
yes i know this but how i used this from some activities? 2011/6/21 TreKing treking...@gmail.com On Mon, Jun 20, 2011 at 5:15 PM, אריאל arielgordon...@gmail.com wrote: so how i can to save setting with SharedPreferences and to get and set from other activity? Read the documentation. Using

Re: [android-developers] Re: thread caused app to forcedclosed?

2011-06-21 Thread Hitendrasinh Gohil
Hi, .when the activity is visible there isnt any problem.but when i navigate to previous screen and again going to this activity it causes forced close to my app. how to resolve this? On Tue, Jun 21, 2011 at 12:41 AM, Zsolt Vasvari zvasv...@gmail.com wrote: Ok, cool. Do you have a

[android-developers] The Monkeyrunner building problem

2011-06-21 Thread B D
Hi all, I need to use the method of loadfileFrom() to compare a local image with the buffer image.I don't know how to build one.Do I just need to replace the old Monkeyrunner.java and MonkeyImage.java source code with latest one?Then build the Monkeyrunner.jar again? Should I also modify some

[android-developers] Zoom a bitmap with drawBitmap and rectangles

2011-06-21 Thread Enrique López Mañas
Hello, I'm developing a small image editor. Basically, the user can insert some images in a canvas, and through interaction with the fingers moving them around. I'm having some trouble with the Zooming. I have followed the idea of this tutorial (http://blogs.sonyericsson.com/wp/

[android-developers] How to play video on vm

2011-06-21 Thread 郭维江
i push the file mj.mp4 onto the vm device through eclipse and can browse the it in File Explore at /mnt/sdcard/mj.mp4 my java code like: public class MyActivity extends Activity { private VideoViewmVideo; private MediaController mMediaController; private String mUri = ;

[android-developers] Re: thread caused app to forcedclosed?

2011-06-21 Thread Zsolt Vasvari
You just showed us about 30 lines of code. Do we look like mind readers who can figure out your problem without showing any kind of error log or stack trace? On Jun 21, 4:50 pm, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote: Hi, .when the activity is visible there isnt any

Re: [android-developers] Re: thread caused app to forcedclosed?

2011-06-21 Thread Hitendrasinh Gohil
Hi, here is my activity class. package com.musix.main; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.HttpURLConnection; import java.net.Socket; import java.net.URL; import

Re: [android-developers] MonkeyRunner Enhanced scripts

2011-06-21 Thread shailesh mistry
hello if you use internet for that please check you provide permission for access net or not... Regards, *Shailesh Mistry* +91 9974148507 On Mon, Jun 20, 2011 at 4:08 PM, Gaytri Batra gaytri.ba...@gmail.comwrote: Hello All, right now i am working on monkeyrunner tool to automate test cases

[android-developers] Application run on emulator but the same app dont install in real device

2011-06-21 Thread Goutom
Hi My application run on emulator but the same app dose nto install in real device. Can any one help me why? Regards Goutom -- 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] Application run on emulator but the same app dont install in real device

2011-06-21 Thread shailesh mistry
please check android o/s version ... Regards, *Shailesh Mistry* +91 9974148507 On Tue, Jun 21, 2011 at 2:56 PM, Goutom goutom.sust@gmail.com wrote: Hi My application run on emulator but the same app dose nto install in real device. Can any one help me why? Regards Goutom --

Re: [android-developers] Application run on emulator but the same app dont install in real device

2011-06-21 Thread νιנαソkum
what's the error displaying? On Tue, Jun 21, 2011 at 2:56 PM, Goutom goutom.sust@gmail.com wrote: Hi My application run on emulator but the same app dose nto install in real device. Can any one help me why? Regards Goutom -- You received this message because you are subscribed to

Re: [android-developers] Re: How to remove Top Activity from Display Stack

2011-06-21 Thread Kostya Vasilyev
When the service launches the second activity, is the first activity active within the task stack? Is the current state you've looking to reset - activity1-actvity2, or just activity2? -- Kostya 2011/6/21 jeyaprakash chinaraj jp9894562...@gmail.com No Luck still my second Activity comes Up

Re: [android-developers] Application run on emulator but the same app dont install in real device

2011-06-21 Thread amey bura
check the version of real device version in which u have developed ur application... see whether they compatible or not.. -- 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] constructor problem

2011-06-21 Thread Kostya Vasilyev
It just depends on what class settingM is. I somehow have a feeling it's a subclass of Activity or Context, and you instantiate it yourself with new settingM - is that true? -- Kostya 2011/6/21 אריאל arielgordon...@gmail.com yes i know this but how i used this from some activities?

[android-developers] Re: Localized XML Layouts

2011-06-21 Thread Yeradis
no response about this ? something like layout-us ? or layout-es ? I´m looking for this king of info too, i dont remember now how it work for layouts :s -- 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] Application run on emulator but the same app dont install in real device

2011-06-21 Thread Goutom
Hi Thanks for ur reply.I checked version.Its ok.I am having the following error: [2011-06-21 15:39:21 - MyCamera] Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE [2011-06-21 15:39:21 - MyCamera] Please check logcat output for more details. [2011-06-21 15:39:21 - MyCamera] Launch canceled!

Re: [android-developers] Application run on emulator but the same app dont install in real device

2011-06-21 Thread Goutom
Hi Thanks for ur reply.I checked version.Its ok.I am having the following error: [2011-06-21 15:39:21 - MyCamera] Installation error: INSTALL_FAILED_INSUFFICIENT_ STORAGE [2011-06-21 15:39:21 - MyCamera] Please check logcat output for more details. [2011-06-21 15:39:21 - MyCamera] Launch

[android-developers] How to give custom effect on layout

2011-06-21 Thread shailesh mistry
i want to give custom effect to layout / change default effect time... please help for that.. and please tell me how to give run time set background color theme Thanks.. Regards, *Shailesh Mistry* +91 9974148507 -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Application run on emulator but the same app dont install in real device

2011-06-21 Thread Goutom
Hi Thanks for ur reply.I checked version.Its ok.I am having the following error: [2011-06-21 15:39:21 - MyCamera] Installation error: INSTALL_FAILED_INSUFFICIENT_ STORAGE [2011-06-21 15:39:21 - MyCamera] Please check logcat output for more details. [2011-06-21 15:39:21 - MyCamera] Launch

[android-developers] Re: Localized XML Layouts

2011-06-21 Thread Yeradis
Hmm i just re-discovered it here is what you need and me too xD http://developer.android.com/guide/topics/resources/localization.html search for Design a flexible layout you will see there is a layout-de so will load that main.xml when the phone language is german -- You received this

Re: [android-developers] Application run on emulator but the same app dont install in real device

2011-06-21 Thread shailesh mistry
Please check memory in ur device... :D Regards, *Shailesh Mistry* +91 9974148507 On Tue, Jun 21, 2011 at 3:13 PM, Goutom goutom.sust@gmail.com wrote: Hi Thanks for ur reply.I checked version.Its ok.I am having the following error: [2011-06-21 15:39:21 - MyCamera] Installation error:

[android-developers] Fwd: Task Manager

2011-06-21 Thread shanmu nathan
Hi guys, Good Morning guys, I do one android application.. I need to run the application back ground but when ever kill my application using task manager it will b closed. Now i need to hide my application from the task manager.. Can any one help me? Please. its very urgent.

Re: Re: [android-developers] Aw: Object Structure

2011-06-21 Thread Sivaprakash
Thanks !! So, when ever I get data back from back end server it has to be persisted in local storage (SQLite) and through content provider only I should access is that correct approach ? - Siva On Sat, Jun 18, 2011 at 6:41 PM, jjoe64 g.jjo...@googlemail.com wrote: yes. if you do a query on

[android-developers] How to verify whether song is playing or not

2011-06-21 Thread Bharathiraja R
Hi All, I am starting song through startActivity() method and when phone receives call how to verify whether song is playing or not. If anyone know how to verify please share me the code. Regards, Bharathiraja R -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Application run on emulator but the same app dont install in real device

2011-06-21 Thread Goutom
Dear my prpblem is solved for current application.But I have an application which run in emulator but when I install it in real device it dose not run.Why? On Tue, Jun 21, 2011 at 3:44 PM, shailesh mistry shailesh.mistry@gmail.com wrote: Please check memory in ur device... :D Regards,

Re: [android-developers] Application run on emulator but the same app dont install in real device

2011-06-21 Thread shailesh mistry
can u able to install it??? if u can then please use try catch for trace your problem Regards, *Shailesh Mistry* +91 9974148507 On Tue, Jun 21, 2011 at 3:50 PM, Goutom goutom.sust@gmail.com wrote: Dear my prpblem is solved for current application.But I have an application which run

[android-developers] Re: Localized XML Layouts

2011-06-21 Thread Zsolt Vasvari
You can have localized resources of ANY type, not just string. But also layout, bool, xml, etc. On Jun 21, 5:43 pm, Yeradis yera...@gmail.com wrote: Hmm i just re-discovered it here is what you need and me too xD http://developer.android.com/guide/topics/resources/localization.html

[android-developers] Queries on Internal Storage - device space

2011-06-21 Thread Kacee
Hello, I explored storing temp/supporting files on Internal storage i.e. SharedPrefs (private to app) and Internal Storage of device. Now, when i try to create a file on Internal Storage, it by default creates and stores file on /data/data/app_home/files/ . My intent was to store a file on some

[android-developers] Re: How to verify whether song is playing or not

2011-06-21 Thread Kacee
If u r able to hear the song , then it is playing :D On Jun 21, 3:15 pm, Bharathiraja R bharathiraja.andr...@gmail.com wrote: Hi All, I am starting song through startActivity() method and when phone receives call how to verify whether song is playing or not. If anyone know how to verify

[android-developers] onDateSet never gets called

2011-06-21 Thread ABSOLUT
Hi, I'm trying to do an DatePickerDialog with two buttons. My problem is that onDateSet never gets called. DatePickerDialog dialogoFecha = new DatePickerDialog(this, mDateSetListener , mYear, mMonth, mDay); The Buttons: dialogoFecha.setButton(PONER FECHA, new

Re: [android-developers] onDateSet never gets called

2011-06-21 Thread Jorge Luis
I don't see a DialogoFecha.show(); You should call him with DialogName.show(); 2011/6/21 ABSOLUT davidt...@gmail.com Hi, I'm trying to do an DatePickerDialog with two buttons. My problem is that onDateSet never gets called. DatePickerDialog dialogoFecha = new

Re: [android-developers] Re: How to remove Top Activity from Display Stack

2011-06-21 Thread jeyaprakash chinaraj
my service listens for incoming calls and it will launch my secondactivity when the call is disconnected, so no need to hold the firstactivity but from home screen i need to launch firstactivity only On Tue, Jun 21, 2011 at 3:03 PM, Kostya Vasilyev kmans...@gmail.com wrote: When the service

Re: [android-developers] Re: How to verify whether song is playing or not

2011-06-21 Thread Hitendrasinh Gohil
Hi, MediaPlayer player=new MediaPlayer(); if(player.isPlaying()) { } isplaying method returns true if currently song is playing else false. On Tue, Jun 21, 2011 at 3:44 AM, Kacee komal...@gmail.com wrote: If u r able to hear the song , then it is playing :D On Jun 21, 3:15 pm,

[android-developers] Re: onDateSet never gets called

2011-06-21 Thread ABSOLUT
I don't write all the code but I have the dialogoFecha.show(); I see that never goes to the listener. On 21 jun, 13:06, Jorge Luis jorgelferr...@gmail.com wrote: I don't see a DialogoFecha.show(); You should call him with DialogName.show(); 2011/6/21 ABSOLUT davidt...@gmail.com

Re: [android-developers] Re: How to remove Top Activity from Display Stack

2011-06-21 Thread Kostya Vasilyev
Ah. Ok. For the call screen, you can do what the built-in Phone application does: http://android.git.kernel.org/?p=platform/packages/apps/Phone.git;a=blob;f=AndroidManifest.xml;hb=refs/heads/gingerbread ... scroll down to: activity android:name=InCallScreen For the general case (where

Re: [android-developers] Queries on Internal Storage - device space

2011-06-21 Thread Mark Murphy
On Tue, Jun 21, 2011 at 6:42 AM, Kacee komal...@gmail.com wrote: I explored storing temp/supporting files on Internal storage i.e. SharedPrefs (private to app) and Internal Storage of device. Now, when i try to create a file on Internal Storage, it by default creates and stores file on

Re: [android-developers] Task Manager

2011-06-21 Thread Mark Murphy
This is not possible, except maybe by creating your own phone firmware. On Tue, Jun 21, 2011 at 3:37 AM, shanmu nathan win.sha...@gmail.com wrote: Hi guys,    Good Morning guys, I do one android application.. I need to run the application back ground but when ever kill my application using

Re: [android-developers] android-developers] Where does SetupWizard.apk come from ?

2011-06-21 Thread Mark Murphy
Questions regarding the source code belong on a list that pertains to the source code. Please visit http://source.android.com to learn about the resources available to you for working with the Android source code. On Mon, Jun 20, 2011 at 11:24 PM, June Hello junehelloworld.he...@gmail.com wrote:

Re: [android-developers] Re: bluez help

2011-06-21 Thread Fred Niggle
Hahahaha, its about time that was used for some of these questions thanks for brightening up my day :-) On 21/06/2011, Zsolt Vasvari zvasv...@gmail.com wrote: Yup, here's a link for you: http://goo.gl/AKYBk On Jun 21, 3:26 pm, arun_satya3 arun.sat...@gmail.com wrote: Hi, Can anybody

[android-developers] Re: Minimum Age?

2011-06-21 Thread Doug Gordon
I'm more concerned there will be a _maximum_ age and I'll have to drop out of the community. :-) On Jun 19, 3:07 pm, Mehwar Raza mehwarr...@gmail.com wrote: Is there a minimum age requirement to become an android developer? I have been trying to hunt down the answer to no avail. -- You

[android-developers] recognize text in images on opening the camera

2011-06-21 Thread Sapna Srivastav
Hi everyone I need some help to recognize text in image when a user opens his/her camera then the application can detect the text in the image and show it in an edit text. Please suggest me which APIs or classes are used for developing this kind of application and also is there any

[android-developers] WebSerivce Integration

2011-06-21 Thread Sivaprakash
Hi What is the best mechanism to use WebService (REST) in Android application. Because some time Service respond with hefty amount of data (XML Format). Processing the data @ device end wont be a correct approach as that might kill the resources. Can some one tell me how to handle this? -- -

Re: [android-developers] recognize text in images on opening the camera

2011-06-21 Thread Mark Murphy
Converting images to text is called OCR. There are no APIs in Android for OCR. You are welcome to attempt to find a working OCR solution -- the only one I can think of that works well (ABBYY) is probably more expensive than you can afford. There have been attempts to port open source OCR engines

Re: [android-developers] Task Manager

2011-06-21 Thread shanmu nathan
oh.. do you know how its work alarm? I need kind of example. On Tue, Jun 21, 2011 at 5:18 PM, Mark Murphy mmur...@commonsware.comwrote: This is not possible, except maybe by creating your own phone firmware. On Tue, Jun 21, 2011 at 3:37 AM, shanmu nathan win.sha...@gmail.com wrote: Hi

Re: [android-developers] android-developers] Where does SetupWizard.apk come from ?

2011-06-21 Thread June Hello
Hi Mark, thanks a lot for your help. however I just confused about how the SetupWizard works, actually I find that there is no open-source code that Google has released about it. Well, in the Google account setup screen which will show at the first time turning on the phone or after resetting

Re: [android-developers] constructor problem

2011-06-21 Thread אריאל
yes because SharedPreferences must to extract Activity or Context how i repair this? 2011/6/21 Kostya Vasilyev kmans...@gmail.com It just depends on what class settingM is. I somehow have a feeling it's a subclass of Activity or Context, and you instantiate it yourself with new settingM - is

[android-developers] Re: recognize text in images on opening the camera

2011-06-21 Thread ThaMe90
Doesn't the Goggles application do that aswell? On 21 jun, 14:56, Mark Murphy mmur...@commonsware.com wrote: Converting images to text is called OCR. There are no APIs in Android for OCR. You are welcome to attempt to find a working OCR solution -- the only one I can think of that works well

[android-developers] Saving a NinePatch to Temp Storage

2011-06-21 Thread Jake Colman
I am trying to allow the user to specify the background color of a ninepatch that is part of my res/drawble directory. The modified ninepatch will then be set as the background image for my widget. I realize that you cannot change the contents of res/drawble so I have to write the image to

[android-developers] Aw: WebSerivce Integration

2011-06-21 Thread jjoe64
parse it in background and as a stream. never read it with a buffer, don't create objects for every node/attribute ... -- 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

[android-developers] Re: Queries on Internal Storage - device space

2011-06-21 Thread Kacee
Thank you Sir. I would implement better ways as suggested :) On Jun 21, 4:48 pm, Mark Murphy mmur...@commonsware.com wrote: On Tue, Jun 21, 2011 at 6:42 AM, Kacee komal...@gmail.com wrote: I explored storing temp/supporting files on Internal storage i.e. SharedPrefs (private to app) and

[android-developers] Re: NFC Secure Element

2011-06-21 Thread Markus
Hello, I cant load the key ff ff ff ff ff ff to the 4k MIFARE. If my Nexus S is in Card Emulation I tried with JCShell to do something. Reading UID and ATR is no problem it works. But by loading the Key, occurs an error: /send FF82201A06 = FF 82 20 1A 06 FF FF FF FF FF FF

[android-developers] Re: recognize text in images on opening the camera

2011-06-21 Thread Zsolt Vasvari
Yes, so? It doesn't do it on the phone, but in the cloud. On Jun 21, 9:29 pm, ThaMe90 theprophes...@gmail.com wrote: Doesn't the Goggles application do that aswell? On 21 jun, 14:56, Mark Murphy mmur...@commonsware.com wrote: Converting images to text is called OCR. There are no APIs in

[android-developers] Re: recognize text in images on opening the camera

2011-06-21 Thread blindfold
That is correct. The recognition quality of free open source OCR engines like Tesseract and GOCR is unfortunately still a far cry from what ABBYY delivers. Most OCR engines were developed for flatbed scanners with controlled light conditions, a flat surface, no lens distortion and little skew, and

Re: [android-developers] constructor problem

2011-06-21 Thread Kostya Vasilyev
Ariel, Pass an existing instance of Activity / Service / whatever extending Context to your class, as needed. Call getApplicationContext as necessary, to avoid keeping a reference to something which may go away (such as an activity). As a rule, never instantiate Activity or Service subclasses

[android-developers] Problem with Nexus S

2011-06-21 Thread Anton Persson
Hi, I'm writing this e-mail as a last resort; it's intended for Google employees only, so I'm sorry for the bandwidth if you're not working for That Company. For a summary of the issue at hand, please read this:

Re: [android-developers] Re: thread caused app to forcedclosed?

2011-06-21 Thread TreKing
On Tue, Jun 21, 2011 at 3:50 AM, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote: .when the activity is visible there isnt any problem.but when i navigate to previous screen and again going to this activity it causes forced close to my app. how to resolve this? Use LogCat and your

Re: [android-developers] Aw: WebSerivce Integration

2011-06-21 Thread Sivaprakash
Any sample ? Even if you respond back with stream how does my front end under stand the structure and behave? On Tue, Jun 21, 2011 at 7:11 PM, jjoe64 g.jjo...@googlemail.com wrote: parse it in background and as a stream. never read it with a buffer, don't create objects for every

[android-developers] MyLocationOverlay on a collapsed MapView?

2011-06-21 Thread Mark Wyszomierski
Hi, Are there any terms of service for using MyLocationOverlay along with MapView? I have a MapActivity where I am showing the user's most up to date location in a TextView, and the MapView is below that. The user has the option to hide the MapView if they don't care to see it, but I continue

Re: [android-developers] MyLocationOverlay on a collapsed MapView?

2011-06-21 Thread TreKing
On Tue, Jun 21, 2011 at 10:41 AM, Mark Wyszomierski mar...@gmail.comwrote: Are there any terms of service for using MyLocationOverlay along with MapView? 5 second Google search: http://code.google.com/android/maps-api-tos.pdf

[android-developers] Re: MyLocationOverlay on a collapsed MapView?

2011-06-21 Thread Mark Wyszomierski
Correct, but the TOS for the maps api doesn't reference use of the MyLocationOverlay class. I'm not interpreting anything in the TOS against the use I described, was wondering if anyone had experience here, or if someone from the google team could comment, Thanks On Jun 21, 11:53 am, TreKing

[android-developers] AnimationDrawable on ItemizedOverlay

2011-06-21 Thread Felix Garcia Lainez
Hi, Is there any way to show a gif animated or animationdrawable (to do something like MyLocationOverlay) on an ItemizedOverlay? Really i don't see an easy way to do this... Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] Re: MyLocationOverlay on a collapsed MapView?

2011-06-21 Thread TreKing
On Tue, Jun 21, 2011 at 11:06 AM, Mark Wyszomierski mar...@gmail.comwrote: Correct, but the TOS for the maps api doesn't reference use of the MyLocationOverlay class. IANAL, but if it's not covered in the TOS, you're fine. I can't imagine MyLocationOverlay must always be visible would be a

[android-developers] Mezzofanti OCR example project

2011-06-21 Thread jbrohan
Hi Does anyone have an example project for Android 2.x maybe on HTC...mentioned in writeups I am starting out with this and it's crashing the emulator and my phone! Thx John -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] AnimationDrawable on ItemizedOverlay

2011-06-21 Thread TreKing
On Tue, Jun 21, 2011 at 11:15 AM, Felix Garcia Lainez fgarcialai...@gmail.com wrote: Is there any way to show a gif animated or animationdrawable (to do something like MyLocationOverlay) on an ItemizedOverlay? Really i don't see an easy way to do this... You of course tried setting an

Re: [android-developers] Saving a NinePatch to Temp Storage

2011-06-21 Thread Dianne Hackborn
There is no easy way to do this. You will need to manually generate a PNG image that has included in it a 9-patch chunk whose contents match the description here:

Re: [android-developers] Re: Strange device?

2011-06-21 Thread Dianne Hackborn
Yes that is the main thing I am talking about there being some chaos in the definitions. :/ On Mon, Jun 20, 2011 at 11:58 PM, Zsolt Vasvari zvasv...@gmail.com wrote: Ok, thanks. I am testing on the original 7 Galaxy Tab, which is a 600x1024 HDPI device, which gives 400dpx683dp, so unless I

[android-developers] Re: AnimationDrawable on ItemizedOverlay

2011-06-21 Thread Felix Garcia Lainez
But how do i do this if i haven't any imageview to show the animation? I have seen this on documentation, but for an overlay is slightly different... !-- Animation frames are wheel0.png -- wheel5.png files inside the res/drawable/ folder -- animation-list android:id=selected

[android-developers] taskAffinity specifying name with activity problem.

2011-06-21 Thread dnkoutso
I am having a similar problem to thishttp://stackoverflow.com/questions/6416159/android-taskaffinity-problem-with-specifying-activitystackoverflow post. Unfortunately no one has answered it. Basically, if another app has specified for an activity taskAffinity= from dumpsys activity I see

Re: [android-developers] Re: AnimationDrawable on ItemizedOverlay

2011-06-21 Thread TreKing
On Tue, Jun 21, 2011 at 12:04 PM, Felix Garcia Lainez fgarcialai...@gmail.com wrote: But how do i do this if i haven't any imageview to show the animation? Honestly, don't know, but I would assume http://developer.android.com/reference/android/content/res/Resources.html#getDrawable(int)

[android-developers] Re: AnimationDrawable on ItemizedOverlay

2011-06-21 Thread Felix Garcia Lainez
Just tested and doesn't work... It is shown only the 1st image of the animation list.. On 21 jun, 19:44, TreKing treking...@gmail.com wrote: On Tue, Jun 21, 2011 at 12:04 PM, Felix Garcia Lainez fgarcialai...@gmail.com wrote: But how do i do this if i haven't any imageview to show the

[android-developers] Re: taskAffinity specifying name with activity problem.

2011-06-21 Thread dnkoutso
According to: http://developer.android.com/reference/android/R.attr.html#taskAffinity It says that you can use \\ to escape characters. I've tried that but still it won't work. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Softkeyboard Problems (Fullscreen + GLES)

2011-06-21 Thread Mario Zechner
Hi, i fooled around with the softkeyboard API a little and tested it on a couple of phones. My test setup is an activity with a GLSurfaceView set to fullscreen. When the screen is touched the softkeyboard is brought up via InputMethodManager manager =

Re: [android-developers] Re: AnimationDrawable on ItemizedOverlay

2011-06-21 Thread TreKing
On Tue, Jun 21, 2011 at 12:49 PM, Felix Garcia Lainez fgarcialai...@gmail.com wrote: Just tested and doesn't work... It is shown only the 1st image of the animation list.. Did you call start() on the AnimationDrawable? (More assumptions)

[android-developers] text wrap around image with render script.

2011-06-21 Thread billconan
Hello guys, two questions, I want to implement text wrapping image, with java or render script, how can i do that? The document for android text is very unclear without any example, and it seems that wrapping is not possible. how about render script? I noticed that the youtube app coming with

[android-developers] Re: taskAffinity specifying name with activity problem.

2011-06-21 Thread Streets Of Boston
Why do you have to use the '/' character? Almost any string will do. Just make sure it's unique. You could use your package-name followed by a task-name. -- 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: taskAffinity specifying name with activity problem.

2011-06-21 Thread dnkoutso
Because, I am trying to inject my activity into an existing task. If I do not specify the actual task name as it is from 'dumpsys activity', then Android thinks this task does not exist and creates a new one for my own activity. -- You received this message because you are subscribed to the

[android-developers] Re: AnimationDrawable on ItemizedOverlay

2011-06-21 Thread Felix Garcia Lainez
Yes i did, and just tested doing before and after adding ItemizedOverlay to the map overlays array. On 21 jun, 20:19, TreKing treking...@gmail.com wrote: On Tue, Jun 21, 2011 at 12:49 PM, Felix Garcia Lainez fgarcialai...@gmail.com wrote: Just tested and doesn't work... It is shown only the

Re: [android-developers] Re: taskAffinity specifying name with activity problem.

2011-06-21 Thread Kostya Vasilyev
It seems that the application you're trying to co-exist with just was not designed for it. Getting the developer to change the affinity value would let you work with it. Task affinities use a global namespace (even the :foo is just shorthand to prepend the package name), so pick something

[android-developers] Re: taskAffinity specifying name with activity problem.

2011-06-21 Thread Streets Of Boston
Ah.. i see... Then I don't have an answer for you.. :) -- 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] Re: taskAffinity specifying name with activity problem.

2011-06-21 Thread dnkoutso
Hmmm, that's unfortunate, anyone from Android team can confirm this? -- 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] Re: AnimationDrawable on ItemizedOverlay

2011-06-21 Thread TreKing
On Tue, Jun 21, 2011 at 1:38 PM, Felix Garcia Lainez fgarcialai...@gmail.com wrote: Yes i did, and just tested doing before and after adding ItemizedOverlay to the map overlays array. Well, I'm out of ideas. If you don't get an answer to make this work the way it should, perhaps make you own

[android-developers] ADK for generic input device

2011-06-21 Thread craftycoder
Would it be possible to use the ADK to create a generic input device. A mouse as an example. I know you could do it for any given app, but could it be done so that the OS sees my device as a mouse for all apps? I could create a Keyboard app, like Swype, except all it does is take input from my

Re: Re: [android-developers] Aw: Object Structure

2011-06-21 Thread Jonas Gehring
yes use the sqlite database as a cache. the content provider contacts the server for data if there are no data stored in the sqlite database. make sure you use asynchron list adapter so that the activity doesn't block... 2011/6/21 Sivaprakash sivaprakashshanmu...@gmail.com Thanks !! So, when

[android-developers] In-App Billing - Alternatives to Google?

2011-06-21 Thread Nathan
Can someone else recommend an In app payment solution besides Google? This is for digital files. Not for unlocking trials, not for unlocking features of an app. I re read my Market agreement. I do not believe it forbids digital downloads from another payment processor, such as the MP3s sold in

[android-developers] Re: Reading from CERT.RSA from META-INF directory

2011-06-21 Thread Nate Totura
Ahh, I see what you are saying now, I have never used those (JarFile/ JarEntry) APIs before. Thank you! On Jun 15, 6:25 pm, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Thu, Jun 16, 2011 at 3:18 AM, Nate Totura ntot...@gmail.com wrote: To clarify, I would like to do this at runtime.

Re: [android-developers] Cant stop service

2011-06-21 Thread Boozel
Thanks very much for the help, that did it. -- 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

  1   2   >