[android-developers] MediaController is not working properly with MediaPlayer

2009-06-22 Thread manoj
Hi, I want to enable the MediaController for the MediaPlayer. For this I have written the code like this: public class AudioPlayerNew extends Activity implements MediaPlayerControl,MediaPlayer.OnPreparedListener,MediaPlayer.OnBufferingUpdateListener { MediaController mediaController;

[android-developers] How to set HorizontalScrollView's initial offset?

2009-06-22 Thread zhangxiyuan
Hi, I searched the groups to find a topic about setting horizontal scroll view's offset, but no results. Some topics talked about ScrollView, and they are not expected. Here is my question: I have a HorizontalScrollView, with LinearLayout as its child, the LinearLayout contains a custom view, I

[android-developers] Reducing Image File size

2009-06-22 Thread Shrikant Agrawal
Hi Guys, I want to reduce the size of my image file to transfer it over the network. Do anybody know how can I reduce the file size using andriod APIs. Thanks Shrikant Agrawal --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] How to draw curve smoothly

2009-06-22 Thread Albert
I have lots of discrete points and want to link them together smoothly. How to do that? Is there any api to call ? Thanks a lot. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Reducing Image File size

2009-06-22 Thread Sujay Krishna Suresh
if u r using the bitmapfactory, then u can use the cofig to set sample size to watever u want... higher the samplesize lower the file size ( quality)... try it out... hope it helps u... On Mon, Jun 22, 2009 at 12:22 PM, Shrikant Agrawal shrikant...@gmail.comwrote: Hi Guys, I want to reduce

[android-developers] Where to store data

2009-06-22 Thread mf-team
Hi All, i'm writing an application that needs to store some small jpeg or pngs. Looking at the documentation i have seen that databases are stored under /data/data/package_name/databases I decided to store my data under /data/data/package_name/files. With the emulator i can see all these files

[android-developers] Re: Multicast receive broken in Android 1.5?

2009-06-22 Thread Jonas Ådahl
I have the same problem after upgrading to 1.5, and it seems it's because the IP Multicast join packet is never sent out. I reported the bug here: http://code.google.com/p/android/issues/detail?id=2917 On May 31, 11:38 am, Dave d...@devbury.com wrote: I have an application that sends and

[android-developers] Re: Enabling camera in the emulator !

2009-06-22 Thread Vignesh
In my experience, I found camera comes up on emulator only once after every reboot of your windows system. From then onwards viewfinder with checked box comes up once in 10 times. Someone said on Ubuntu system it works better. -vignesh On Sun, Jun 21, 2009 at 3:24 AM, hanged_man

[android-developers] Problem with setExtra

2009-06-22 Thread Will
I am trying to setExtra(string, int) in an Intent which will be used in startActvityForResult(). This works: Intent i = new Intent(this, ClassA.class); i.setAction(ACTION_CUTSOM); startActivityForResult(i, ACTIVITY_CUSTOM); This doesn't: Intent i = new

[android-developers] Re: Problem with setExtra

2009-06-22 Thread Sujay Krishna Suresh
by doesnt work do u mean that u r unable to read the extra in ur target activity? if so plz post d code tat u r usin for this purpose... so tat we can find d actual mistake.. On Mon, Jun 22, 2009 at 1:40 PM, Will wbc...@gmail.com wrote: I am trying to setExtra(string, int) in an Intent which

[android-developers] Re: Permissions for Android Dev Phone 1

2009-06-22 Thread hanasnap
in the manifest file nothing is written. yes I'm installing my own app and this app is using the camera of the device. if there is no permission set in the manifest file to use the camera isn't this a security break that the app is installed normally and uses the camera without any problems? On

[android-developers] Re: global variable and get website address question

2009-06-22 Thread biAji
I use SharedPreferences to do such things. You can not use static var in service, because system always kill service when there is a low memory situations --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers]

2009-06-22 Thread Joe Petruchi
Hi all Uploading pictures to picasa always fails in my phone !!! Does anybody has faced similar problem !!! It always says retrying after 1 minute, 3 minute Regards Joe --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: MediaController is not working properly with MediaPlayer

2009-06-22 Thread manoj
Hi, why can't my seek bar (with time) is not updating according to mediaplayer time. Can any one please help me. Thanks, Manoj. On Jun 22, 11:37 am, manoj manojkumar.m...@gmail.com wrote: Hi, I want to enable the MediaController for the MediaPlayer. For this I have written the code like

[android-developers] Re: [android-developers]

2009-06-22 Thread Sujay Krishna Suresh
That means that u r not connected via wi-fi... generally, apps that need a transfer huge amt of data use a wifi-lock they dont get connected if the wifi-connectivity is lost... On Mon, Jun 22, 2009 at 2:52 PM, Joe Petruchi petruchi.dr...@gmail.comwrote: Hi all Uploading pictures to picasa

[android-developers] Re: [android-developers]

2009-06-22 Thread Joe Petruchi
Hi I am trying to use the GPRS network to upload the pictures !!! It is working fine in my friends mobile so i am curious why it is not working in my mobile ? Any idea do we have to some setting in picasa also for the download to happen Regards Joe On Mon, Jun 22, 2009 at 3:06 PM, Sujay

[android-developers] Re: Issues with Android SDK

2009-06-22 Thread Sha
Thanks for all ur suggestions.. The problem got fixed itself after few reruns of the eclipse. I recommend to use VMware player and run Ubuntu to have a Linux like development environment, but if you have a slow machine it does not make sense. -- I have a 3GB RAM, still

[android-developers] Re: 6502 Emulator

2009-06-22 Thread ndatta
For example, this:   byte b0, b1;   b0 = mMemory.data[0];   b1 = mMemory.data[1]; is not as fast as:   byte[] data = mMemory.data;   byte b0, b1;   b0 = data[0];   b1 = data[1]; Isn't the JITter smart enough to convert (1) to (2) above?

[android-developers] Re: [android-developers]

2009-06-22 Thread Sujay Krishna Suresh
My GPRS provider does not allow large transfers in a single connection... If that's wat ur provider also does, then it wont work... So i could never upload anything frm my G1 I'm still in the search for a workaround so that i could do this overriding my providers restrictions... Hmm...theres

[android-developers] Gmail application layout-like

2009-06-22 Thread Tom
Hi, I developped a small application wich uses ListView with checkboxes (like gmail email list) I don't manage to developp user-interaction as I want and as Gmail do : I would like to : - click on each checkbox from listview items - click on each label from listview items and use a context menu

[android-developers] Re: how to receive call and play media file

2009-06-22 Thread Honest
No Reply ? On Jun 17, 11:29 am, Honest honestsucc...@gmail.com wrote: Thanks Marco for your quick reply.But some one told me tha all application running in background become pause when we receive call so is that true ? if that is true then how can i play audio file when call is running

[android-developers] Re: Scheduling

2009-06-22 Thread bsbi...@googlemail.com
Thanks On Jun 18, 12:43 pm, Charlie Collins charlie.coll...@gmail.com wrote: This thread has good info on this topic from Dianne and Mark, start with reading through this:http://groups.google.com/group/android-developers/browse_thread/threa On Jun 18, 3:40 am, bsbi...@googlemail.com

[android-developers] One activity per view

2009-06-22 Thread bsbi...@googlemail.com
Hello, I am developing an app with there pages (views). Would each page be a separate activity? What's the standard here? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: ExifInterface and libexif

2009-06-22 Thread gard
Hi All, I am having the same problem and are wondering if anybody has had any luck with a custom Camera app and tagging the images with gps exif metainformation? I am wondering if refactoring Sanselan or writing a new exif parser/ writer suitable for Android might be necessary? regards, On 21

[android-developers] Re: Live traffic events as icons on a map

2009-06-22 Thread Alistair.
Are you sure you want to update the map in real time? In terms of a mobile application users are not going to have the application open to the map view constantly they will open the app and observe the current state of the road location they are interested in. All you really need to do is fetch

[android-developers] Re: Where to store data

2009-06-22 Thread Mark Murphy
mf-team wrote: i'm writing an application that needs to store some small jpeg or pngs. Looking at the documentation i have seen that databases are stored under /data/data/package_name/databases I decided to store my data under /data/data/package_name/files. With the emulator i can see all

[android-developers] Re: Reducing Image File size

2009-06-22 Thread Mark Murphy
Shrikant Agrawal wrote: I want to reduce the size of my image file to transfer it over the network. Do anybody know how can I reduce the file size using andriod APIs. One option would be to scale it using the Bitmap class and the createScaledBitmap() method. -- Mark Murphy (a Commons Guy)

[android-developers] Re: MediaController is not working properly with MediaPlayer

2009-06-22 Thread manoj
Finally, I solved it!!! On Jun 22, 2:26 pm, manoj manojkumar.m...@gmail.com wrote: Hi, why can't my seek bar (with time) is not updating according to mediaplayer time. Can any one please help me. Thanks, Manoj. On Jun 22, 11:37 am, manoj manojkumar.m...@gmail.com wrote: Hi, I

[android-developers] sending email from android emulator

2009-06-22 Thread lucj06
Hello, I'd like to know if it's possible to send an email from the emulator (i'm using cupcake). I'm using something like: Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_EMAIL, to); sendIntent.putExtra(Intent.EXTRA_SUBJECT, subject);

[android-developers] Re: One activity per view

2009-06-22 Thread Mark Murphy
bsbi...@googlemail.com wrote: I am developing an app with there pages (views). Would each page be a separate activity? Possibly. You can go either way. I usually assume separate activities until something forces my hand to go to multiple pages in one activity. -- Mark Murphy (a Commons Guy)

[android-developers] Wifi reconnects all the time while in background mode

2009-06-22 Thread Gothy
Hi everyone. I'm facing a connectivity problem in my IM-client for a long time already, but still can't find out how to fix it. Found a similar bug report here: http://code.google.com/p/android/issues/detail?id=2059 except PowerManager.SCREEN_DIM_WAKE_LOCK didn't work for me :( So here is the

[android-developers] Sending file via FTP within android

2009-06-22 Thread lucj06
Hello, I was not able to find anything regarding this topic on google so... i give it a try in the groups :-) In fact, I'd like to know if it's possible, from the android (from the emulator also) to send a file via FTP ? I heard about andFTP which seems to be a real good FTP client. So... I

[android-developers] Sending file via FTP within android

2009-06-22 Thread lucj06
Hello, I was not able to find anything regarding this topic on google so... i give it a try in the groups :-) In fact, I'd like to know if it's possible, from the android (from the emulator also) to send a file via FTP ? I heard about andFTP which seems to be a real good FTP client. So... I

[android-developers] Reading a large url

2009-06-22 Thread bsbi...@googlemail.com
Hello, I am reading the following URL to test a RSS parser. http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/uk/rss.xm When using the same code on a Android HTC phone the whole resource cannot be read. There are no exceptions being thrown. I am guessing the rss.xml is too large to be read

[android-developers] Re: Parcelables / project.aidl in SDK 1.5

2009-06-22 Thread Chatur
On May 29, 7:55 am, Xavier Ducrohet x...@android.com wrote: It looks like you didn't create an aidl file for your File class. Look at the documentation at:http://developer.android.com/guide/developing/tools/aidl.html#parcelable Xav Hi thanks guys, was facing the same issue.Got it

[android-developers] Re: AIDL issue with 1.5sdk and eclipse plugin

2009-06-22 Thread Chatur
Hey guys, was facing the same issue. Finally got it working. On Jun 2, 10:54 pm, cvance383 cvance...@yahoo.com wrote: *problem resolved* thanks tho On Jun 1, 8:00 pm, cvance383 cvance...@yahoo.com wrote: Hey I've been working on an app for a couple months now. I just downloaded the

[android-developers] login to picasa and create authentication token

2009-06-22 Thread ravi
Hi All, I want to create one application of picasa, but I am not getting any API to login into picasa . There is api GoogleLoginServiceBlockingHelper.getAccount (GoogleLoginServiceConstants.REQUIRE_GOOGLE) by which I can get the login and authtoken for the user which is set for phone . But I

[android-developers] Re: Attempting to pass data via NotificationManager - Seeking Help/Advice

2009-06-22 Thread Ray Bellis
Like I said before, the Activity gets called - fine - thing is that I want to have to get focus and then change based upon the info in extra.  I cannot figure out where to receive the intent data in this situation. If I understand you correctly, you just need to call Activity.getIntent ()

[android-developers] Re: Problem with setExtra

2009-06-22 Thread Tsai stanly
http://developer.android.com/reference/android/content/Intent.html#putExtra(java.lang.String,%20int ) 2009/6/22 Sujay Krishna Suresh sujay.coold...@gmail.com by doesnt work do u mean that u r unable to read the extra in ur target activity? if so plz post d code tat u r usin for this

[android-developers] How to enable GPS Location Provider by Code?

2009-06-22 Thread Hastala
How to enable GPS Location Provider by Code? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] Re: Enable/Disable LocationManager, Help?

2009-06-22 Thread Hastala
So I can't make toggle app for GPS? On 5月30日, 上午10时00分, Jeff Sharkey jshar...@android.com wrote: Presumable the user has disabled them for good reason, and apps should not toggle them behind the users back. You could show a dialog to the user, explaining that you'd likelocationenabled, and

[android-developers] Re: Sending file via FTP within android

2009-06-22 Thread Mark Murphy
lucj06 wrote: Hello, I was not able to find anything regarding this topic on google so... i give it a try in the groups :-) In fact, I'd like to know if it's possible, from the android (from the emulator also) to send a file via FTP ? I heard about andFTP which seems to be a real good FTP

[android-developers] Re: Enable/Disable LocationManager, Help?

2009-06-22 Thread Mark Murphy
Hastala wrote: So I can't make toggle app for GPS? If by toggle app, you mean where you toggle the setting yourself, no, you can no longer make a toggle app. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android

[android-developers] how to enable/disable bluetooth?

2009-06-22 Thread Hastala
how to enable/disable bluetooth? --~--~-~--~~~---~--~~ 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

[android-developers] how to enable/disable Access Point Network (APN)?

2009-06-22 Thread Hastala
how to enable/disable Access Point Network (APN)? --~--~-~--~~~---~--~~ 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

[android-developers] Best approach for making one variable available in another activity / class

2009-06-22 Thread Christian S.
I have tried to understand for the past 2 days what is the best approach to making the value from a variable sitting in activity A (in my case, the int position used in OnListItemClick / OnItemSelectedListener) available in another activity B (which of course sits in another class). There may be

[android-developers] Re: Enable/Disable LocationManager, Help?

2009-06-22 Thread Neil
See Technique to Avoid, #2 here: http://android-developers.blogspot.com/2009/04/future-proofing-your-apps.html On Jun 22, 2:44 pm, Hastala dev...@gmail.com wrote: So I can't make toggle app for GPS? On 5月30日, 上午10时00分, Jeff Sharkey jshar...@android.com wrote: Presumable the user has

[android-developers] picasa

2009-06-22 Thread RS
Is it possible to upload/download files (photos) from android to Picasa using our own apps. Is the content provider detail documented somewhere. Any API hint? Or is it just a closed component that can't be used outside google? Thanks RS --~--~-~--~~~---~--~~ You

[android-developers] Re: Best approach for making one variable available in another activity / class

2009-06-22 Thread Sujay Krishna Suresh
'm not sure if this's the best approach... if u r using intents to transfer control between the activities then i'd advice u to try using the putExtra method of the Intent class... u can read the extras in ur target activity by using getIntent.getExtras() method... jus give it a try... i hope this

[android-developers] Re: picasa

2009-06-22 Thread Sujay Krishna Suresh
I havent found any docs, but u can make use of the built-in picasa app (if u r workin in 1.5) to upload ur photos to picasa web albums, but one limitation is that u dont hv the control of signing in and signing out... it uses the google account registered with the phone curently... if ur

[android-developers] Re: One activity per view

2009-06-22 Thread bsbi...@googlemail.com
Hi, Thanks. I have currently have three pages and have three activities. The problem is that when I deploy the app on my phone I see three app icons Any ideas? How do I say activityOne is the default activity and the other two are sub-activities of activityOne? activity

[android-developers] Re: One activity per view

2009-06-22 Thread Mark Murphy
bsbi...@googlemail.com wrote: I have currently have three pages and have three activities. The problem is that when I deploy the app on my phone I see three app icons Any ideas? Only have the LAUNCHER intent filter on the one you want the icon for. The other ones should not show up in the

[android-developers] Re: Best approach for making one variable available in another activity / class

2009-06-22 Thread Christian S.
Sujay, thanks for this rapid response!!! Do you have a sample code to illustrate how this would be working ...? Thanks, Christian On 22 Jun., 15:29, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: 'm not sure if this's the best approach... if u r using intents to transfer control between

[android-developers] Theme.Dialog Activity and Context Menu

2009-06-22 Thread Alexey Volovoy
Hi All , i have dialog style activity android:theme=@android:style/Theme.Dialog When i attached context menu to it @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main);

[android-developers] Re: picasa

2009-06-22 Thread RS
Sure sujay some sample code would be very helpful. - I don't mind uploading it to any user's account .. would it still be accessible from other users' accounts? - Does downloading again need a login .. do you have any sample code for that? - After uploading would it return an URL for my app

[android-developers] Re: Live traffic events as icons on a map

2009-06-22 Thread Lex
I am sure about updating the map in real time - how the users are going to use the application isn't the concern at the moment. I just got the traffic message specs, so I'll do that and see how far I get with updating the events on the map. Thanks Al! On Jun 22, 1:37 pm, Alistair.

[android-developers] Re: Sending file via FTP within android

2009-06-22 Thread Mark Murphy
lucj06 wrote: Hello, In fact i was talking about the possibility to send a file via FTP from android. I just added andFTP in the picture as I read this client was good. Without talking about andFTP, are there any means to send a file via FTP ? Not built in, no. Your choices are to try a

[android-developers] Re: Best approach for making one variable available in another activity / class

2009-06-22 Thread Sujay Krishna Suresh
//calling activity int count = 0; //perform code for counting.. Intent i = new Intent(Caller.this,Target.class); i.putExtra(count, count); startActivityForResult(i,0); //target class int count = getIntent().getIntExtra(count); On Mon, Jun 22, 2009 at 7:26 PM, Christian S. schrott...@gmx.de

[android-developers] start and stop BOOT_COMPLETED in broadcast receiver

2009-06-22 Thread jphdsn
Hi, Could we, and how (-:)) start and stop a broadcast receiver receving the android.intent.action.BOOT_COMPLETED ? As I want have control on a service awaken by the BOOT_COMPLETED. Thanks --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: picasa

2009-06-22 Thread Sujay Krishna Suresh
On Mon, Jun 22, 2009 at 7:32 PM, RS rajeshs...@gmail.com wrote: Sure sujay some sample code would be very helpful. //src here... Intent temp = new Intent(Intent.ACTION_SEND); temp.setType(image/jpeg); temp.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);

[android-developers] Re: Best approach for making one variable available in another activity / class

2009-06-22 Thread Christian S.
Great - will try and let you know Ch. On 22 Jun., 16:40, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: //calling activity int count  = 0; //perform code for counting.. Intent i = new Intent(Caller.this,Target.class); i.putExtra(count, count); startActivityForResult(i,0);

[android-developers] Re: A simple application which sends location to server.

2009-06-22 Thread c6bro
Thanks for the advice. I see what you mean about the array.. All i would do is loop the array and if there is internet connection it would send every cycle and remove from array, if not just keep adding to array until it has. As long as the time the location was taken it will be ok with my PHP

[android-developers] Re: picasa

2009-06-22 Thread RS
Thanks a lot Sujay.. shall explore the rest. .. and if i find anything useful, shall post back. Regards, RS On Jun 22, 3:50 pm, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: On Mon, Jun 22, 2009 at 7:32 PM, RS rajeshs...@gmail.com wrote: Sure sujay some sample code would be very

[android-developers] horizontal/vertical finger swipe...

2009-06-22 Thread Kent Loobey
How do you detect a horizontal or vertical finger swipe? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: horizontal/vertical finger swipe...

2009-06-22 Thread Streets Of Boston
Short question. Short answer :-) onGestureDetector On Jun 22, 11:13 am, Kent Loobey k...@uoregon.edu wrote: How do you detect a horizontal or vertical finger swipe? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: How to import data from Excel (or any other source text, world etc) to SQLlite

2009-06-22 Thread Georgy
I'll answer myself to those who would want to know ;) 1- Install SQliteman 2- Convert the excel worksheet to XML 3- Import to SQLiteman On Jun 17, 1:55 pm, Georgy georgearna...@gmail.com wrote: Greetings, I have a database in Excel and I want to import it into SQLlite so I can use its

[android-developers] Re: MediaController is not working properly with MediaPlayer

2009-06-22 Thread Marco Nelissen
Looks like a bug in MediaController when you're using it the way you are instead of using the show/hide mechanism. Can you use show/hide in your app instead? BTW, you really should remove those // TODO Auto-generated method stub once you've filled in the stub :) On Sun, Jun 21, 2009 at 11:37 PM,

[android-developers] strange behavior on rotating and scaling text

2009-06-22 Thread sleith
hi, i'm trying to animate text, but strange behavior happened when i tried to rotate and scale. When rotating, the text width becoming wider and narrower randomly When scaling, the text y position is going upper. i've test with image, but image works perfectly. don't know why text is not. Here's

[android-developers] Re: strange behavior on rotating and scaling text

2009-06-22 Thread sleith
thx for the reply how about the rotating? is it like scaling? On Jun 22, 11:13 pm, Romain Guy romain...@google.com wrote: Hi, This is actually normal. Scaling fonts does not necessarily lead to a linear effect. Based on the font size, the text renderer can (and will) change the spacing, the

[android-developers] Re: strange behavior on rotating and scaling text

2009-06-22 Thread Romain Guy
Hi, This is actually normal. Scaling fonts does not necessarily lead to a linear effect. Based on the font size, the text renderer can (and will) change the spacing, the antialiasing, etc. to improve on readability. If you want to scale text linearly you should turn the text into a bitmap first.

[android-developers] Re: Reading a large url

2009-06-22 Thread Marco Nelissen
On Mon, Jun 22, 2009 at 5:09 AM, bsbi...@googlemail.com bsbi...@googlemail.com wrote: Hello, I am reading the following URL to test a RSS parser. http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/uk/rss.xm When using the same code on a Android HTC phone the whole resource cannot be

[android-developers] Re: Does anyone make video recording work at Android 1.5?

2009-06-22 Thread cindy
I have tried 1.5 video API. I could not make it work.It even can't do preview. following is my code: private boolean initializeVideo() { Log.v(TAG, initializeVideo); if(Common.mRecordedVideo!=null Common.mRecordedVideo.exists()) Common.mRecordedVideo.delete();

[android-developers] Re: how to load application to G1 phone

2009-06-22 Thread cindy
need to enable USB debug on the phone On Jun 7, 10:17 am, cindy ypu01...@yahoo.com wrote: Help!! On Jun 6, 11:00 pm,cindyypu01...@yahoo.com wrote: After my phone has been upgraded to 1.5, I upgraded my application to 1.5. It could run correctly in simulator. When I launched

[android-developers] Help on video recording

2009-06-22 Thread cindy
I have tried 1.5 video API. I could not make it work.It even can't do preview. following is my code: private boolean initializeVideo() { Log.v(TAG, initializeVideo); if(Common.mRecordedVideo!=null Common.mRecordedVideo.exists ()) Common.mRecordedVideo.delete();

[android-developers] Re: Permissions for Android Dev Phone 1

2009-06-22 Thread Dianne Hackborn
Yes it is; this should be fixed in the next release. On Mon, Jun 22, 2009 at 1:40 AM, hanasnap hana...@yahoo.com wrote: in the manifest file nothing is written. yes I'm installing my own app and this app is using the camera of the device. if there is no permission set in the manifest file to

[android-developers] How to see the content of database on G1

2009-06-22 Thread n179911
Hi, i hook up my G1 to my laptop and open a 'adb shell'. But as I execute the command 'cd /data/data', I get an error 'opendir failed, Permission denied' $ adb devices List of devices attached HT853GZ21556device $ adb shell $ cd /data/data $ ls opendir failed, Permission denied I tried to

[android-developers] Re: start and stop BOOT_COMPLETED in broadcast receiver

2009-06-22 Thread Dianne Hackborn
You can enable or disable the component with the PackageManager. On Mon, Jun 22, 2009 at 7:47 AM, jphdsn jph...@gmail.com wrote: Hi, Could we, and how (-:)) start and stop a broadcast receiver receving the android.intent.action.BOOT_COMPLETED ? As I want have control on a service awaken

[android-developers] Using me

2009-06-22 Thread az9702
I have a ListView with two types of custom views. It inflates icon_row view if a drawable exists or a text_row if not. I came up w/ custom views for icon_row text_row include them in their XML like so : //text_row.xml LinearLayout com.test.android.ALS.text_row ...

[android-developers] ViewGroup parent for merge

2009-06-22 Thread az9702
Hi, I have a ListView with two types of custom views. It inflates icon_row view if a drawable exists or a text_row if not. I came up w/ custom views for icon_row text_row include them in their XML like so : //text_row.xml LinearLayout com.test.android.ALS.text_row ...

[android-developers] Re: Capture the Android's browser HTTP petitions

2009-06-22 Thread Alexey Krasnoriadtsev
GIT is the repository where all android code is. for Browser, here is the specific link: http://android.git.kernel.org/?p=platform/packages/apps/Browser.git;a=summary On Jun 21, 1:02 pm, psaltamontes mcg2...@gmail.com wrote: @Alexey : What's the meaning of git? @ Hamy : ¡ I needed this

[android-developers] Re: how to load application to G1 phone

2009-06-22 Thread Kumaravel Kandasami
Steps that worked for me: - On the phone enable Development ( Unknown Source) Home Settings Applications *Enable Development *Home Settings Applications *Unknown Source * - Connect the phone device to the Computer using USB. - Run the application as Android Application

[android-developers] PowerManager.WakeLock and NotificationManager Issues

2009-06-22 Thread Mario Muñoz
Hi everybody, I'm developing an Android application that runs a background service. This service must launch and activity when an incoming XMPP event is received (we're using smack.jar library for android). I'm facing some issues when launching the activity if the phone screen is locked. To

[android-developers] drawRect not doing anything in a 1.5 MapView

2009-06-22 Thread CaptainSpam
I'm having a problem getting drawRect to draw anything on a Canvas from a MapView (i.e. as an Overlay) on 1.5 firmware. The strange thing is, drawLine is working perfectly, and both work right with the same code under 1.1. Was there anything that changed in this respect between 1.1 and 1.5 I'm

[android-developers] how to clear dependent data in “system setting”

2009-06-22 Thread Leo
Hi All, I am developing an application which can share data with email, contact and calendar application. Now I met a problem when I clear this application data or uninstall this application in the system setting. Setting only clear my own application data now.This problem is that how

[android-developers] android locked me out

2009-06-22 Thread navarin
i just got locked out by my g1. i shall enter my google login username and password, but they are not accepted, though they are correct (just logged in with them to write this). is this a known bug or how can i login again? --~--~-~--~~~---~--~~ You received this

[android-developers] Video display issue

2009-06-22 Thread chabfive
Hi, I develop, an app which have two SurfaceView. One of them (view1) is used to draw graphic 2D object (shape, text) and the other (view2) to display a video playback. To draw the graphic 2D object, I used lockCanvas() and unlockCanvasAndPost() on the SurfaceHolder of the SurfaceView. My

[android-developers] Re: Help on video recording

2009-06-22 Thread leo
test On 6月23日, 上午12时48分, cindy ypu01...@yahoo.com wrote: I have tried 1.5 video API. I could not make it work.It even can't do preview. following is my code: private boolean initializeVideo() { Log.v(TAG, initializeVideo); if(Common.mRecordedVideo!=null

[android-developers] Invoking Activity from PendingIntent in NotificationManager

2009-06-22 Thread mac-systems
Hello, i want to Inform the User about an Event from my Application using the NotificationManager and then invoking a Activity with details about the Event. As far as i know it should work like this: final NotificationManager mManager = (NotificationManager)

[android-developers] Re: MapView always displays blank white sceen

2009-06-22 Thread Rajeev Verma
Unable to see this post in the forum, hence resending. On Mon, Jun 22, 2009 at 2:23 PM, Rash raj143p...@gmail.com wrote: Hello experts, I'm new to android and need some help. I'm creating a basic Mapview application which will display my current location on the google map. Initially i had

[android-developers] Information about nearby businesses

2009-06-22 Thread Chris
Hi, I am looking for ways to get information on nearby businesses like restaurants etc., given a GPS long/lat item. 1. Reverse Geocoding does not seem to give me this information. 2. Google Maps/Earth has a Businesses overlay, is this data somehow accessible? 3. Can I perform a Google Search

[android-developers] MapView always displays blank white sceen

2009-06-22 Thread Rash
Hello experts, I'm new to android and need some help. I'm creating a basic Mapview application which will display my current location on the google map. Initially i had many doubts while creating the application, but thanks to android developers archives that helped me to reach this point. I

[android-developers] How to clear dependency databases in the system setting

2009-06-22 Thread Leo
Hi All, I am developing an application which can share data with email, contact and calendar application. Now I met a problem when I clear this application data or uninstall this application in the system setting. Setting can only clear my own application data now.This problem is that

[android-developers] Orientation Sensor problems.

2009-06-22 Thread JimmyHoffa
Hi All, Hoping someone can help me make sense of my problem, Using eclipse to create a v1.5 compass application for my tmobile G1. What i'm experiencing is wacky heading results from the orientation sensor. the important bits of my code are : the setup of the sensor is sensorManager =

[android-developers] Who can help me porting tslib to Android?

2009-06-22 Thread nion2002
As the title said, I'm porting the tslib to Android, but there are many problems on it. First, the build/make system of android is different from tslib and others software such as DirectFB, Second, how can i inject the calibrated device into the android? and the third, DirectFB will take the

[android-developers] How to clear dependency databases in the system setting

2009-06-22 Thread Leo
Hi All, I am developing an application which can share data with email, contact and calendar application. Now I met a problem when I clear this application data or uninstall this application in the system setting. Setting can only clear my own application data now.This problem is that

[android-developers] Getting data from google search

2009-06-22 Thread Chris
Hi, as the Geocoder does not support too much information (e.g. none on business-related ones), I wanted to ask how such data can be aquired. Is it possible to do a Google Search (using the AJAX API) in some way? How do other applications get this data (e.g. cab4me?)? Google Eearth does have a

[android-developers] Re: OutOfMemoryError

2009-06-22 Thread Faboom
Any news on this topic? Got the same problem here under: mac os android 1.5 apache ant version 1.7.1 Where should i set the memory options? Cheers, Fabian On 20 Jun., 09:20, Francois francoislio...@gmail.com wrote: Answering to myself. After doing a long search for all the *.bat on my C:

[android-developers] Application Needed

2009-06-22 Thread bizzy401
I am an instructor in the military. I have an instructor evaluation coming up and I am looking for an application that might be able to help me out. When I am instructing a class I have to ask a question every three to six minutes. No more no less. I was looking for an app that would vibrate

[android-developers] test

2009-06-22 Thread leo
test --~--~-~--~~~---~--~~ 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] It doesn't works

2009-06-22 Thread Premier
I used eyes-free in my application started on emulator. It gives error no description. do you have some ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

  1   2   >