[android-developers] Re: SDKs comparison with the iPhone

2009-04-12 Thread Al Sutton
Quote sources; Open source builds labelled as unofficial SDK - http://groups.google.com/group/android-developers/msg/bb3374b419115644 Source of original quote on unofficial SDKs not working - http://groups.google.com/group/android-developers/msg/c408eb22c1722261 The rest of the discussion has

[android-developers] Re: sdcard

2009-04-12 Thread Nithin Varamballi
Hi Its mp4 format... Is it possible to do the videostreming Thank You Nithin N V --~--~-~--~~~---~--~~ 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: sdcard

2009-04-12 Thread Marco Nelissen
mp4 is a container, which can contain all kinds of video formats. What codec was used to encode the video? On Sat, Apr 11, 2009 at 11:26 PM, Nithin Varamballi nithi...@gmail.com wrote: Hi Its mp4 format... Is it possible to do the videostreming Thank You Nithin N V

[android-developers] Re: WiFi

2009-04-12 Thread Nithin Varamballi
Thank for reply But in the Android limitations they dont put that android not supporting WiFi http://developer.android.com/guide/developing/tools/emulator.html#limitations and also i am using desktop... I tried in emulator that it is possible to Browse Internet through Local LAN

[android-developers] Re: Changing the outgoing call number

2009-04-12 Thread TAKEphONE
Hi, Can you post the code you're using to change the dialed number ? When you change it - what do you see in the current call screen ? On Apr 12, 8:49 am, Seer gilligan.ch...@gmail.com wrote: well i can change the outgoing number now but i still have not worked out a way to update the call

[android-developers] Re: Changing the outgoing call number

2009-04-12 Thread Seer
in the manifest you need the following uses-permission android:name=android.permission.PROCESS_OUTGOING_CALLS / and you need to add a receiver as well receiver android:name=.OutgoingNumber intent-filter android:priority=1 action

[android-developers] How do you modify the call log

2009-04-12 Thread Seer
Can anyone tell me how to modify the call log? What permissions do i need and is it possible to get some basic code to show how? just a few lines not whole classes or anything. thanks Chris --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: How do you modify the call log

2009-04-12 Thread Mark Murphy
Seer wrote: Can anyone tell me how to modify the call log? You don't, AFAIK. That is handled by the firmware. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 2.0 Available!

[android-developers] Re: How do you modify the call log

2009-04-12 Thread Seer
You can at least read the call log right? Do you know how to do that? maybe i can start from there to write code to modify it. The issue i have is that if my contact phone number is 555666 then i modify the outgoing call to call 1122,555666. Problem is i want the call log to show i called

[android-developers] Re: sdcard

2009-04-12 Thread Desu Vinod Kumar
Try to Push the file from DDMS Check whether it is working or not.. On Sat, Apr 11, 2009 at 12:35 PM, Nithin Varamballi nithi...@gmail.comwrote: Thanks for replying... I did like this 1) mksdcard -l mysdcard 200M d:/sdcard.img 2)load the sdcard emulator -sdcard c:/sdcard.img

[android-developers] Re: How do you modify the call log

2009-04-12 Thread Mark Murphy
Seer wrote: You can at least read the call log right? Yes. Do you know how to do that? Use the CallLog.Calls content provider. You will need the READ_CONTACTS permission. It is possible that with the WRITE_CONTACTS permission, you will be able to do insert/update/delete operations on that

[android-developers] Re: Setup Merchant Account link now available

2009-04-12 Thread andreas
Is there anything new about selling from other countries - like Germany? In the official andorid blog it said: We will also enable developers in Germany, Austria, Netherlands, France, and Spain to offer priced applications later this quarter. By the end of Q1 2009, we will announce support for

[android-developers] finish() not killing Activity

2009-04-12 Thread Todd Sjolander
Hello, I've got an application that has (among other things) three Activities, let's call them A, B, and C. A is the main navigation point for the entire application, and launches B and C directly using startActivity(). They work fine that way. However, when I call C from inside B, I get a

[android-developers] Events not catched on real device using Activity.dispatchEventType

2009-04-12 Thread TjerkW
Hello all! I am creating a game in which the user can control a ship by - Using DPAD - Using touchscreen - Using trackball - And even using orientation events (roll pitch etc) It all works on the emulator but when i open the game on a real device then the events (touch, trackball) do not work

[android-developers] Re: Apps labeled as Tetris Clones removed from Android Market

2009-04-12 Thread Semprebon
Not strictly true. They can choose to remove the material and not be liable for copyright infringement themselves, or they can ignore the request and become liable. In reality, most will choose the first option. On Apr 11, 3:23 pm, Edward Falk ed.f...@gmail.com wrote: My understanding is:  

[android-developers] Re: Apps labeled as Tetris Clones removed from Android Market

2009-04-12 Thread Al Sutton
I think the most tragic thing about this is the guy who brought this up is not US based and so the DMCA is irrelevant to hi as it has no juristiction. If Google wants to apply US laws to everyone around the world who wishes to list an app on market I can see a lot of problems ahead with this

[android-developers] Re: sdcard

2009-04-12 Thread l hx
i am sure that the file can been played in android. when i inport android to my device such as pxa310, it can be played in my device. but i can not be seen in my emulation. but some other mp4 file can been seen in my emulation. i just copy the file into the sdcard normally and can be seen in the

[android-developers] Can I use UNIQUE in the query() parameter?

2009-04-12 Thread Bin Chen
My contacts contain a lot of duplicated records, I want to use the traditional SQL clause UNIQUE to get the unique records, is it doable thru the query() method call? Thanks. I tried with the selectionArgs argument but failed. Bin --~--~-~--~~~---~--~~ You

[android-developers] Re: Can I use UNIQUE in the query() parameter?

2009-04-12 Thread Mark Murphy
Bin Chen wrote: My contacts contain a lot of duplicated records, I want to use the traditional SQL clause UNIQUE to get the unique records, is it doable thru the query() method call? Thanks. I tried with the selectionArgs argument but failed. I am not aware of a UNIQUE clause in queries in

[android-developers] Re: Setup Merchant Account link now available

2009-04-12 Thread Mariano Kamp
They want to do it right, so they take the time. On Sun, Apr 12, 2009 at 1:49 PM, andreas andreas.str...@googlemail.comwrote: Is there anything new about selling from other countries - like Germany? In the official andorid blog it said: We will also enable developers in Germany, Austria,

[android-developers] Default focus on RelativeLayout

2009-04-12 Thread Ward Willats
At 9:01 PM -0400 4/11/09, Mark Murphy wrote: devileper wrote: How can you specify which item gets the default focus on Activity startup? Using requestFocus programmatically does not work. On setContextView the first focusable item listed in the XML is given the default focus. When using

[android-developers] Re: finish() not killing Activity

2009-04-12 Thread Marco Nelissen
Are you sure you don't have several instances of activity C, and each press of the back button exits one until you finally get back to activity B? Try printing this in C.onDestroy() to make sure. On Sun, Apr 12, 2009 at 5:07 AM, Todd Sjolander guyfantas...@gmail.com wrote: Hello, I've got

[android-developers] Re: sdcard

2009-04-12 Thread Marco Nelissen
If it's been scanned, but doesn't appear in the database (as you said earlier), you'll have to figure out why the file was rejected. Also, if you're having problems on a particular device, you should probably post over on the android-porting list instead of here. On Sun, Apr 12, 2009 at 5:47

[android-developers] Re: Events not catched on real device using Activity.dispatchEventType

2009-04-12 Thread Marco Nelissen
Are you sure that settings[1], settings[2] and settings[3] are true on the device? On Sun, Apr 12, 2009 at 5:20 AM, TjerkW tje...@gmail.com wrote: Hello all! I am creating a game in which the user can control a ship by - Using DPAD - Using touchscreen - Using trackball - And even using

[android-developers] Re: Projection Question

2009-04-12 Thread Albert Hernández
Don't you have any idea? Thanks On Apr 6, 10:41 am, Albert Hernández albert.hernan...@gmail.com wrote: I've a doubt related with the Projection class. As I understand this class translate beetween Lat/Lon to coordinate system in the screen. In which format is the coordinate system in the

[android-developers] Re: what is the recording format of Intent .RECORD_SOUND_ACTION?

2009-04-12 Thread bw
Try looking at the source code for RingDroid: http://code.google.com/p/ringdroid/source/checkout Particularly the CheapAMR and CheapMP3 classes which can read/write these formats: http://code.google.com/p/ringdroid/source/browse/#svn/trunk/src/com/ringdroid/soundfile On Mar 13, 5:27 am,

[android-developers] Re: Setup Merchant Account link now available

2009-04-12 Thread andreas
Nothing against doing it right. But if you set a timeline in a sowhat official statement and you miss this timeline from my point of view it is necessary to give a statement and explain what are the problems and what is coming next. On 12 Apr., 15:58, Mariano Kamp mariano.k...@gmail.com wrote:

[android-developers] Re: what is the recording format of Intent .RECORD_SOUND_ACTION?

2009-04-12 Thread Marco Nelissen
They don't really decode let alone encode those formats though, hence the 'cheap' moniker. Short of porting a full mp3 encoder to android, there is no way to convert sound to mp3 format on the phone. On Sun, Apr 12, 2009 at 11:40 AM, bw ben.weisb...@gmail.com wrote: Try looking at the source

[android-developers] Re: finish() not killing Activity

2009-04-12 Thread Jon Colverson
On Apr 12, 1:07 pm, Todd Sjolander guyfantas...@gmail.com wrote: hardware back button.  In the emulator, it takes two presses of the back button in order to close Activity C and come back to B.  On a G1, it takes 3 or 4 presses. When you're testing, do you clear the activity history (by going

[android-developers] Re: Setup Merchant Account link now available

2009-04-12 Thread Mariano Kamp
Sorry Andreas, I was being sarcastic. Looking at the sorry state of the Android Market I thought that was obvious, but on 2nd thought I should have made the sarcastic tone clearer. On Sun, Apr 12, 2009 at 9:03 PM, andreas andreas.str...@googlemail.comwrote: Nothing against doing it right. But

[android-developers] Re: zero duration for some media

2009-04-12 Thread Peter Jeffe
Hey Dave Sparks, any comment on this? I understand that wma decoding isn't handled by opencore, but that doesn't really answer why the scanner shouldn't get durations from the codec through a standard interface. But my main concern is why do I get 0 duration from mp3s, m4as, oggs, etc.? To

[android-developers] Re: Setup Merchant Account link now available

2009-04-12 Thread andreas
Oops, I'm sorry I didn't get you. Now it makes sense ;-) But maybe somebody from Google is reading here... and somebody will send us an answer, someday. I have a nice application (as far as I can say that, but I use it and need it ;-)) and I would like to publish it - but I would like to get a

[android-developers] getContentResolver.query(Images.Media.EXTERNAL_CONTENT_URI ...) returns null on device

2009-04-12 Thread yves...@gmail.com
This code works fine with the emulator, I can get a cursor to all the images, but after I installed the app into the real device (G1), I ran the app, this call returns null. If I change from EXTERNAL_CONTENT_URI to INTERNAL_CONTENT_URI, at least it returns not null cursor and the count is 0.

[android-developers] Re: getContentResolver.query(Images.Media.EXTERNAL_CONTENT_URI ...) returns null on device

2009-04-12 Thread Marco Nelissen
Is there an sd card in the phone? On Sun, Apr 12, 2009 at 5:24 PM, yves...@gmail.com yves...@gmail.com wrote: This code works fine with the emulator, I can get a cursor to all the images, but after I installed the app into the real device (G1), I ran the app, this call returns null. If I

[android-developers] Re: finish() not killing Activity

2009-04-12 Thread Todd Sjolander
Marco, your hunch was right. I was somehow creating multiple copies of Activity C. In case anyone can benefit from this, let me explain how it went wrong. I implemented onTouch() in Activity B, which would create an Intent for Activity C, and then call startActivity(). For some reason,

[android-developers] Re: finish() not killing Activity

2009-04-12 Thread Ralf
On Sun, Apr 12, 2009 at 6:28 PM, Todd Sjolander guyfantas...@gmail.com wrote: Marco, your hunch was right.  I was somehow creating multiple copies of Activity C.  In case anyone can benefit from this, let me explain how it went wrong. I implemented onTouch() in Activity B, which would

[android-developers] Re: finish() not killing Activity

2009-04-12 Thread Marco Nelissen
On Sun, Apr 12, 2009 at 6:28 PM, Todd Sjolander guyfantas...@gmail.com wrote: Marco, your hunch was right.  I was somehow creating multiple copies of Activity C.  In case anyone can benefit from this, let me explain how it went wrong. I implemented onTouch() in Activity B, which would

[android-developers] Unable to download app on the dev phone from the android market...

2009-04-12 Thread havexz
I am unable to download my app from the android market. Is it because of some settings I have to do while publishing? What is the reason that dev phone is unable to download the app? The same app is downloadable on other normal android phones. Please help this is really bugging me.

[android-developers] Re: finish() not killing Activity

2009-04-12 Thread Dianne Hackborn
Fwiw, adb shell dumpsys activity is very useful to see what is going on in your activity stack. Also the is a log statement for each call to startActivity(). On Sun, Apr 12, 2009 at 6:28 PM, Todd Sjolander guyfantas...@gmail.comwrote: Marco, your hunch was right. I was somehow creating

[android-developers] Re: SDKs comparison with the iPhone

2009-04-12 Thread Dianne Hackborn
Which are exactly what Ralf is saying. You can build an SDK out of some random change # of the tree, and we are going to make it clear to people that it is not official, because: (1) We don't know what was done to build it, and thus what issues it may have (such as networking being broken, it

[android-developers] Re: getContentResolver.query(Images.Media.EXTERNAL_CONTENT_URI ...) returns null on device

2009-04-12 Thread yves...@gmail.com
Yes. But I figured it out. If I mount the device after plugged in through USB, it won't be able to query. After I disconnect and then reconnect the phone without mount the drive, i can get this to work. On Apr 12, 6:10 pm, Marco Nelissen marc...@android.com wrote: Is there an sd card in the

[android-developers] Re: Unable to download app on the dev phone from the android market...

2009-04-12 Thread Jon Colverson
On Apr 13, 4:02 am, havexz bali.param...@gmail.com wrote: I am unable to download my app from the android market. Is it because of some settings I have to do while publishing? What is the reason that dev phone is unable to download the app? The same app is downloadable on other normal android

[android-developers] Getting errors for the source platform/packages/apps/Camera.git

2009-04-12 Thread Win Myo Htet
I just downloaded the source for Camera and get 447 errors when I open the project in Eclipse. Here are some sample errors: DescriptionResourcePathLocationType android.content.res.Configuration.HARDKEYBOARDHIDDEN_NO cannot be resolvedMenuHelper.java

[android-developers] can not launch phone dialer from preferencescreen

2009-04-12 Thread ehealth...@gmail.com
I have a preference.xml, as following code: PreferenceScreen android:title=Work Phone android:summary=5081234567 intent android:action=android.intent.action.DIAL android:data=tel:5081234567 /

[android-developers] GPS application gets killed on screen timeout

2009-04-12 Thread sagar
Hi , I can see on OMAP zoom2 platform, the moment screen timeout happens my application is getting terminated. I have a Google map based LBS application which is running on Zoom. I have implemented the interfaces given in gps.h to libhardware_legacy/gps.cpp . GPS application talks to android

[android-developers] How-to start service automatically on system startup and on installation

2009-04-12 Thread kijiten orma
Translate English version : hello, someone can be how to define a service that launch automatically at startup and / or when installation without having to go through activity. I look beautiful everywhere, I do found that the functions and BindService but StartService which requires action

[android-developers] can not launch phone dialer from preferencescreen

2009-04-12 Thread ehealth...@gmail.com
I have a preference.xml, as following code: PreferenceScreen android:title=Work Phone android:summary=5081234567 intent android:action=android.intent.action.DIAL android:data=tel:5081234567 /

[android-developers] Interested In Speaking At Android Meetup At Palo alto?

2009-04-12 Thread Brian
Dear All, I am not sure if it is the right place to post such a message. We(ExtendLogic. http://www.extendlogic.com) host regular Android meetup every month at Palo Alto CA U.S. Our next meetup will be held on April 22. The main purpose for the meetup is to share knowledge and thoughts about

[android-developers] Re: Ultra-Competitive FireWallet supporters

2009-04-12 Thread James
Hi John, This is James Gramata the creator of FireWallet. I really do apologize for users of my product behaving in this way. I definitely do not condone these actions but people are just expressing the way they feel and that is understandable. I have also had a number of comments/ratings on

[android-developers] multiple successive queries to a database

2009-04-12 Thread iki
Has anyone other than me needed to make consecutive queries to a sqlitedatabase? My application works sometimes but other times (about 98% of the time), the app will crash. What I'm doing is using the sqlitedatabase.query(..) to return a cursor which I parse, I make multiple successive queries to

[android-developers] Re: Getting errors for the source platform/packages/apps/Camera.git

2009-04-12 Thread Win Myo Htet
I got some of the answer in this thread http://tinyurl.com/dx993n On Thu, Apr 9, 2009 at 2:38 PM, Win Myo Htet g1.wmh...@gmail.com wrote: I notice that the reason for that many error is because R.java is not generated. I have learned that R.java won't get generated if the project is not

[android-developers] Re: More Than One Instance of Application

2009-04-12 Thread Roman Baumgaertner
Noam, Try to use the singleton pattern in your application. If you have already an instance created and try to create another one, then you would not be able to do this. Sr. SW Engineer Roman Baumgaertner ·T· · ·Mobile· stick together The views, opinions and statements in this email are those

[android-developers] Re: More Than One Instance of Application

2009-04-12 Thread Roman
Noam, Try to use the singleton pattern in your application. If you have already an instance created and try to create another one, then you would not be able to do this because of the singleton pattern. Sr. SW Engineer Roman Baumgaertner ·T· · ·Mobile· stick together The views, opinions and

[android-developers] Re: Getting errors for the source platform/packages/apps/Camera.git

2009-04-12 Thread Win Myo Htet
I notice that the reason for that many error is because R.java is not generated. I have learned that R.java won't get generated if the project is not created as android or if there are errors at the start up of the project or if there are errors in res. I have created the project as an android

[android-developers] reading from url.openstream() misses EOL in android

2009-04-12 Thread Michael
Hi group, I have following code in a sun jdk 1.6 desktop application as well as in an android app. In the desktop application the html code of the website is read in line by line as expected, but in android the EOL is somehow missed and several, sometimes all, lines are read in in one. What

[android-developers] reading from url.openstream() misses EOL in android

2009-04-12 Thread Michael Münch
Hi group, I have following code in a sun jdk 1.6 desktop application as well as in an android app. In the desktop application the html code of the website is read in line by line as expected, but in android the EOL is somehow missed and several, sometimes all, lines are read in in one. What

[android-developers] Re: What happened to the HOME button in cupcake

2009-04-12 Thread Jack Ha
To make the Home button work in the emulator, you can do the following: 1. Edit development/apps/SdkSetup/Android.mk to include the LOCAL_MODULE_TAGS := eng line 2. Rebuild the system image with mmm development/apps/SdkSetup snod -- Jack Ha Senior Mobile Software Engineer Open Source

[android-developers] Re: A Gesture Recognition Library

2009-04-12 Thread Nishantha Pradeep
Good work and I am impressed. I will find someway to try this out cheers Nishantha On Sat, Apr 11, 2009 at 5:18 PM, mscwd01 mscw...@gmail.com wrote: That's really impressive and i'd guess a whole lot more intuitive to use than the virtual keyboard for quick text entry. I'll definately

[android-developers] Picture Taking application

2009-04-12 Thread dsurround
Any idea why a picture taking application works on some phones and not on others? The app was tested with the 1.1 emulator and the 1.0 developer phone. Some customers reported that they could not find the resulting pictures using the Picture application after they powered off the phone and

[android-developers] Loading New Data with Back Button

2009-04-12 Thread apple.developer27
I have a message application so that on view 1 is displayed a list of messages and when you go to view 2 (subactivity) you can send a message. I want the program to work so that when you hit the android back button, you can go back to view 1 and see the list of messages including the new

[android-developers] Picture Taking Application (may be duplicate posting)

2009-04-12 Thread dsurround
Any idea why a picture taking application works on some phones and not on others? The app was tested with the 1.1 emulator and the 1.0 developer phone. Some customers reported that they could not find the resulting pictures using the Picture application after they powered off the phone and

[android-developers] Showing/hiding dynamically the title bar

2009-04-12 Thread bonfo
Hi, I already know ho to hide the title bar with the getWindow().requestFeature(Window.FEATURE_NO_TITLE); in the Activity onCreate() method before the setContentView() call. But i want something different. I'd like to show/hide the title bar in any moment. To make an example, place a button in

[android-developers] Picture Application Conflicts? (may be duplicate, third attempt to post)

2009-04-12 Thread dsurround
Any idea why a picture taking application works on some phones and not on others? The app was tested with the 1.1 emulator and the 1.0 developer phone. Some customers reported that they could not find the resulting pictures using the Picture application after they powered off the phone and

[android-developers] Re: Deleting a full database record in SQLite

2009-04-12 Thread iki
I don't know if you can drop a database but just drop all of its tables, its basically the same thing. If you need to use the database for something else, just create new tables, or a new database, which is just another database under a different name. I don't know how much space an empty

[android-developers] How can I disable the data connection?

2009-04-12 Thread Erin Park
Hi all, It looks android starts data connection right after phone boots up and keeps the data connection until phone powers down. Is there any API to disable data connection or enable data connection? How can I do that? B.regards, Erin. --~--~-~--~~~---~--~~

[android-developers] Monket testing results in fatal ANR

2009-04-12 Thread GiladH
Hey, The ANR below, taken from traces.txt is something I receive often when I quickly perform multitude of small GUI ops on my app (monkey testing). And, usually, once I get into that position my app _is stucked_ and the only way to go on is to restart it. Other than the obvious 'no lengthy

[android-developers] Listener to a socket

2009-04-12 Thread Sam
Hi folks, i m using service class and want to listen to socket thru service class .there are some examples given but they are using timer class ,i dont want to use timer class .is there any other way to do that stuff. Thnx in advance. --~--~-~--~~~---~--~~ You

[android-developers] Re: no root access.. how to put file...

2009-04-12 Thread sonya
I had a similar problem. But what is going on above. I think Dianne Hack... is with google. He is not supposed to behave in this way. There are already some issues with gphone which do not verify the claims that were made. On Apr 10, 6:35 am, David Turner di...@android.com wrote: On Fri, Apr

[android-developers] Re: Application gets killed because provider is in dying process

2009-04-12 Thread GiladH
Works like charm. Tnx Di. On Apr 9, 7:43 pm, Dianne Hackborn hack...@android.com wrote: You can avoid this by not holding an open cursor on the media content provider. The onLowMemory() thing is not for this purpose.  In fact this may not have anything to do with memory at all -- if a

[android-developers] Loading New Data with Back Button

2009-04-12 Thread apple.developer27
I have a message application so that on view 1 is displayed a list of messages and when you go to view 2 (subactivity) you can send a message. I want the program to work so that when you hit the android back button, you can go back to view 1 and see the list of messages including the new

[android-developers] Only one line of output with DataInputStream.readLine() in android

2009-04-12 Thread Michael
Hi group, I use the following code in a java-program on my desktop with sun- jdk-1.6.0.13 to read a html file on my webserver. I get several lines of output as expected. But when I use it in an android-app, the whole html file is read in only one line. Where could be the difference between the

[android-developers] onCreateContextMenu

2009-04-12 Thread streetdestroy...@gmail.com
public boolean onCreateContextMenu(Menu menu, View v,ContextMenuInfo menuInfo) { super.onCreateContextMenu(menu, v, menuInfo); menu.add(0,DELETE_ID, 0, R.string.menu_delete); } hi i did the notepadv2-tutorial and at this method eclipse shows me an error:

[android-developers] Re: Getting errors for the source platform/packages/apps/Camera.git

2009-04-12 Thread Ralf
When you say project in Eclipse, do you mean an Android project created using the ADT plugin from the SDK? The Camera app is a system app. You can't compile its Java code using a regular SDK project since the SDK does not have access to the system's internals. R/ On Thu, Apr 9, 2009 at 1:29

[android-developers] Problem with HTTP video stream

2009-04-12 Thread fortold
Did anyone try HTTP video streaming on the emulator? I used the api example provided with the SDK (android-sdk- windows-1.1_r1\samples\ApiDemos\src\com\example\android\apis\media) I changed the path to something like http://foo.com/bar.3gp; however all I get is a meaningless error message:

[android-developers] Acessing Data in AndroidManifest

2009-04-12 Thread Damien
I'm trying to access android:versionName in another XML resource file. I tried to use @android/versionName and @android:versionName, but neither work. Can anyone help me out? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] passing a class from one process to another

2009-04-12 Thread DevilMayCry
Hi guys i am looking for an example that allows me to pass a custom class to a remote process. So far in the doc remote service example only an integer is passed i would like to pass a class on my own. I have implemented the parcelable protocol but i am really not sure how to pass that class.

[android-developers] Intent for opening browser

2009-04-12 Thread sam aldis
Can anyone post me the intent for opening the Browser on the url specified.? --~--~-~--~~~---~--~~ 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: After the ADT 0.9 update, Eclipse can not create R.java automatically

2009-04-12 Thread niumar...@gmail.com
on widows, how to solve this problem? can I create the R.java manually or does google fix the problem yet? On Feb 24, 2:15 am, 冰咖啡不加糖 xinyu...@gmail.com wrote: fix it. just do it, replace the andorid.jar/resources.arsc you compiled with the old version which could work. On 2月24日, 下午5时01分,

[android-developers] Re: After the ADT 0.9 update, Eclipse can not create R.java automatically

2009-04-12 Thread niumar...@gmail.com
to rebuild your android project will generate the R.java automatically. just type 'Ctrl + B' in eclipse on windows platform it works for me. On Feb 24, 2:15 am, 冰咖啡不加糖 xinyu...@gmail.com wrote: fix it. just do it, replace the andorid.jar/resources.arsc you compiled with the old version

[android-developers] Re: Changing the outgoing call number

2009-04-12 Thread Jeepston
Could, please, give a snippet of your code, where you change outgoing call number? On 12 апр, 07:49, Seer gilligan.ch...@gmail.com wrote: well i can change the outgoing number now but i still have not worked out a way to update the call log to use the original number or a way to display the

[android-developers] Re: What happened to the HOME button in cupcake

2009-04-12 Thread Jack Ha (T-Mobile USA)
You can try the following to make the Home button work in the emulator: 1. Edit development/apps/SdkSetup/Android.mk to include the LOCAL_MODULE_TAGS := eng line 2. Rebuild the system image with mmm development/apps/SdkSetup snod -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・

[android-developers] How to enable DUN in G1 phone?

2009-04-12 Thread angie
Hello, All! 1. How to enable DUN in G1 phone? 2. If DUN is not in G1 phone, which Android version include DUN...? Please help me. thanks! -Angie- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] why does clicking on 'x' of the linux emulator not working?

2009-04-12 Thread AK
I have been developing on the windows Android SDK until recently i have moved to the Linux SDK. Once i launch the application from eclipse, i click the 'x' of the emulator window and an empty window persists, whereas this does not happen in the windows. I have to manually kill thru the shell

[android-developers] Re: multiple successive queries to a database

2009-04-12 Thread Ralf
What kind of crash do you get? Is this a force close or an exception? R/ On Thu, Apr 9, 2009 at 9:26 PM, iki qui.af...@gmail.com wrote: Has anyone other than me needed to make consecutive queries to a sqlitedatabase? My application works sometimes but other times (about 98% of the time),

[android-developers] Re: GPS application gets killed on screen timeout

2009-04-12 Thread Ralf
You should try to post on the android-porting forum, it doesn't seem like you're targetting the G1. To be more constructive, don't you simply need to hold a WakeLock? R/ On Thu, Apr 9, 2009 at 12:33 PM, sagar saghar.ab...@gmail.com wrote: Hi , I can see on OMAP zoom2 platform, the moment

[android-developers] Re: Loading New Data with Back Button

2009-04-12 Thread Marco Nelissen
If 'view 2' is another activity, then the onResume() of 'view1' will be called after pressing the back button, so you could simply redisplay your data there. On Fri, Apr 10, 2009 at 7:16 PM, apple.developer27 apple.develope...@yahoo.com wrote: I have a message application so that on view 1 is

[android-developers] Re: onCreateContextMenu

2009-04-12 Thread Ralf
This method is defined in View, not Activity: http://developer.android.com/reference/android/view/View.OnCreateContextMenuListener.html Where is that tutorial that you mention? Any URL? R/ On Sat, Apr 11, 2009 at 8:06 AM, streetdestroy...@gmail.com streetdestroy...@gmail.com wrote:    public

[android-developers] How can I do Image processing on JPEG data

2009-04-12 Thread srik
Hi I am confused on how to implement image processing algorithm on JPEG data.I have set P.setpicturesize (640,480) so the camera.takepicture (null,null,Imagecapture callbck) returns the image data. Void onPictureTaken(byte[] data, Camera Camera) returns JPEG data, but ---(x =

[android-developers] Re: passing a class from one process to another

2009-04-12 Thread Ralf
You might want to read the section on the developer guide on AIDL and IPC: http://developer.android.com/guide/developing/tools/aidl.html It explains how you can send a Parceleable data via an IPC. R/ On Sun, Apr 12, 2009 at 11:41 AM, DevilMayCry cyank...@gmail.com wrote: Hi guys i am looking

[android-developers] Re: Setup Merchant Account link now available

2009-04-12 Thread vencent
I wish android market available in china ,too. And the google checkout Why does not google china do their job for this? On Apr 13, 2009 8:01am, andreas andreas.str...@googlemail.com wrote: Oops, I'm sorry I didn't get you. Now it makes sense ;-) But maybe somebody from Google is reading

[android-developers] Embed Contacts activity

2009-04-12 Thread Bin Chen
I seached this forum and someone said for the security reason, we can only embed the activity we own, but I am wondering how the phone app embeds the activity from contacts? Is there any tricks for that? Thanks. Bin --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Showing/hiding dynamically the title bar

2009-04-12 Thread Ralf
What is your motivation for hiding or showing the title bar at runtime? Did you consider slicing your app in various activities, which can have different themes? R/ On Fri, Apr 10, 2009 at 1:27 AM, bonfo vale...@javaground.com wrote: Hi, I already know ho to hide the title bar with the

[android-developers] Question on Intent WEB_SEARCH

2009-04-12 Thread for android
I am using the following code snippet for searching through Google Intent intent = new Intent(); intent.setAction(Intent.ACTION_WEB_SEARCH); intent.putExtra(SearchManager.QUERY,searchString) startActivity(intent); Is there any way I can specify through the intents that i want to open new browser

[android-developers] Re: How-to start service automatically on system startup and on installation

2009-04-12 Thread Ralf
All you need is to create a BroadcastReceiver that is bound to the BOOT_COMPLETED action. Tout ce que tu as a faire c'est de creer un BroadcastReceiver qui recoit l'action BOOT_COMPLETED (avec la permission qui va bien). Exemple: manifest

[android-developers] Re: When will google post official cupcake SDK

2009-04-12 Thread milton
Hi , thanks for providing the SDK. But I found the fake network is not workable. I would like to try the phone call related features, is there any way that I could enable it ? Thanks in advance. Regards Milton On 4月10日, 上午2時23分, Al Sutton a...@funkyandroid.com wrote:

[android-developers] New application - testing help wanted

2009-04-12 Thread camurphy
Hi all, I recently developed an application, published it and to my horror about half of the people who downloaded it were having major issues with it. It is a very simple application designed to allow the toggling of connectivity to 3G/EDGE/GPRS services. It exploits the fact that if you set

[android-developers] Re: onCreateContextMenu

2009-04-12 Thread Marco Nelissen
The return type should be void, not boolean. See: http://developer.android.com/reference/android/app/Activity.html On Sat, Apr 11, 2009 at 8:06 AM, streetdestroy...@gmail.com streetdestroy...@gmail.com wrote:    public boolean onCreateContextMenu(Menu menu, View v,ContextMenuInfo menuInfo)

[android-developers] Re: Can I use UNIQUE in the query() parameter?

2009-04-12 Thread Ralf
What Mark said, you probably meant DISTINCT. For reference, the Sqlite3 doc on SELECT is here: http://www.sqlite.org/lang_select.html Also remember that you have the sqlite3 binary either in SDK/tools or via adb shell. It can be handy to simulate your select manually once before you code your

[android-developers] Re: Apps labeled as Tetris Clones removed from Android Market

2009-04-12 Thread Ralf
You forget that Google is a US entity and as such is bound to US laws, such as, for example, complying to US export limitations. If you don't like it, you can always create your own app store that is not bound to US laws and encourage developers to use it :-p R/ On Sun, Apr 12, 2009 at 5:32 AM,