[android-developers] Re: Accessing sdcard filesystem through dev machine filesystem - possible?

2009-05-10 Thread Raphael
The original post is about an sdcard image, so I guess this is emulator related. An emulator sdcard is a FAT32 filesystem so you should be able to mount it using mount under linux if you have a fat32 support module. Under Windows or Mac there are probably ways to do that too. As Marco said you

[android-developers] Add my application in Share menu gallery or others application

2009-05-10 Thread arnouf
Hi all, I would like that users using Pictures application or an other app can launch my application directly. Two ways apparently exist: - add directly a menu in the other application (exemple: I use share menu in Gallery app and I can share by sms, email...or my app) - each application can be

[android-developers] Assets on device

2009-05-10 Thread arnouf
Hi, Just for my information...when i create an APK, all ressources are inside. When I install the application on a device or emulator, my application has its own space /data/data/mypackage. This folder doesn't contain dex files or all ressources - assets, images... Does Somebody know the

[android-developers] Re: How to show two or more fields to list(Notepad Tutorial)?

2009-05-10 Thread Wouter
Hey, You have to make a new TextView in your xml file from your layout. Than you can do something like this: String[] from = new String[]{NotesDbAdapter.KEY_TITLE, NotedDbAdapter.KEY_NAME}; int[] to = new int[]{R.id.text1, R.id.text2}; text 2 is the name from your new created

[android-developers] Re: Marker Info Window

2009-05-10 Thread Wouter
Does nodody has an idea how to do this? On May 6, 4:35 pm, Wouter wouterg...@gmail.com wrote: Hey, How can I make such a info bubble like you see at this image http://www.lifeaware.net/images/screenshots/locatefriend.png I'm looking for it for very long! Thank you

[android-developers] 3G Call Handing API integration with Opencore 3G-324M Video Telephony

2009-05-10 Thread scs
Hi, I would like to know the integration of 3G stack modem API integration with 3G-324M stack. I havent seen the clear abstraction to use the 3G Modem API in the stack. VT stack need to get the socket incase of incoming call either from Application or directly from call handling application.

[android-developers] Starting Understand the Source: Prerequisite

2009-05-10 Thread mateen
Asslam-u-alikum, and Hi to All, I am not new to android, I am a Android Developer. I want to ask this genius community about the prerequisites of exploring and understanding the Android source/ internals. Thank You. Abdul Mateen --~--~-~--~~~---~--~~ You received

[android-developers] Re: Marker Info Window

2009-05-10 Thread Alistair.
This page makes a start and should give you some ideas. http://blog.pocketjourney.com/2008/03/19/tutorial-2-mapview-google-map-hit-testing-for-display-of-popup-windows/ The code for the one the image shows would be very useful but I've yet to come across a fully featured pop-up yet On May 10,

[android-developers] Re: Starting Understand the Source: Prerequisite

2009-05-10 Thread Abdul Mateen
I mean what are the subjects to study before getting into Android Source. On Sun, May 10, 2009 at 3:17 PM, mateen abmat...@gmail.com wrote: Asslam-u-alikum, and Hi to All, I am not new to android, I am a Android Developer. I want to ask this genius community about the prerequisites of

[android-developers] Re: Ideas behind Android's task concept

2009-05-10 Thread Mike Hearn
If you press back and arrive at the same activity you started on, I think that's a bug that I've only seen when using Eclipse to develop. I think if you press back as far as you can possibly go, until you reach the home screen, then run the app from the phone (not from eclipse) it will behave

[android-developers] Uploading an image in a multipart message - sample code

2009-05-10 Thread Anna PS
I'm starting a new thread, in response to a request over here: http://bit.ly/E1Qqm This is some sample code for uploading an image to the web, as part of a multipart message. It assumes that the photo is stored on the SD card as photo.jpg. You'll need to download and add a couple of jar files to

[android-developers] how to use jarsigner

2009-05-10 Thread Nox
Hi everyone, I want to sign my app and keytool is working fine, but jarsigner doesn ´t. If I tap this command in the command line: jarsigner -verbose -keystore my-release-key.keystore PhoneTester.apk alias_name then I have to enter the password but then there appears this error message:

[android-developers] Re: how to use jarsigner

2009-05-10 Thread Jon Colverson
On May 10, 2:09 pm, Nox v.beh...@googlemail.com wrote: If I tap this command in the command line:  jarsigner -verbose -keystore my-release-key.keystore PhoneTester.apk alias_name then I have to enter the password but then there appears this error message: jarsigner error

[android-developers] Soft Keyboard Question

2009-05-10 Thread csyperski
I have a class that extends ImageView, which also handles keyboard input, currently via OnKeyListener, which works great with the 1.1 sdk, but how do I port this to the 1.5 sdk? How do I get the soft keyboard to load for this View? I haven't found a ton of documentation regarding the new input

[android-developers] Re: ScrollView and Programmatically Scrolling

2009-05-10 Thread Teo
Same problem here... On May 6, 6:14 am, Kaka clipse.z...@gmail.com wrote: any solution now? I have to implement the same function too. On Apr 20, 2:32 am, Arnaud Weber arnaud...@gmail.com wrote: Ok, i've found some kind of weird solution... It seems that fullScroll is inversed. As i

[android-developers] Re: Alternatives to Android Market

2009-05-10 Thread Jose de Paula Eufrasio Junior
Anyway, if you want to check/test another flashlight for Android (cupcake only), feel free to take a look at it on my blog: http://bit.ly/lXA34 -- José de Paula Eufrásio Júnior (coredump) MCSO, GRC Professional http://core.eti.br --~--~-~--~~~---~--~~ You

[android-developers] Change ListView Row Font Colour on Highlight

2009-05-10 Thread mscwd01
Hey, quick question... How could one change the font colour of a TextView in a ListView row when the row is highlighted? I load each row of the ListView from a given row.xml file. I would like to have a black font colour when NOT highlighted and a white font colour when the row IS highlighted.

[android-developers] Re: Bluetooth

2009-05-10 Thread Jonas Petersson
Nick Pelly wrote: Mark summed it up pretty well. We don't have support in the SDK for Bluetooth right now. Getting some Bluetooth API's published in the SDK is a priority for the Android Bluetooth team. I can't wait to see the apps you guys come up with! I assume there is not much point to

[android-developers] Re: Uploading an image in a multipart message - sample code

2009-05-10 Thread Jeff Sharkey
Awesome, thanks for sharing the code. :) Does it need a specific version of HttpClient, different than the one that comes with the platform? And for communicating status and progress back up to a UI thread, AsyncTask in 1.5 would be perfect. Also, what license is this code snippet released

[android-developers] Re: Add my application in Share menu gallery or others application

2009-05-10 Thread Alexey Krasnoriadtsev
You would need to register your activity for Intent.ACTION_SEND, with the mime-type that you would like to support, in case of pictures, I would recommend image/* When in the Gallery user clicks on share, it scans the system for any activities that are registered to handle ACTION_SEND with

[android-developers] Re: Add my application in Share menu gallery or others application

2009-05-10 Thread arnouf
Hi, Thank you Alexey... I tried something like that but it should be wrong, cause it didn't work. I'll do a small google search to understand my mistake. Thank you On 10 mai, 19:59, Alexey Krasnoriadtsev ale...@agilefusion.com wrote: You would need to register your activity for

[android-developers] New phones are selling with FW 1.5?

2009-05-10 Thread Keith Wiley
Is this correct? A user has reported this to me. I was wondering what the 1.5 public release date was since I haven't had a chance to update my software for 1.5 yet. I thought it would be end of May, but people already have it apparently. Furthermore, even if I download the 1.5 SDK, is there

[android-developers] Re: New phones are selling with FW 1.5?

2009-05-10 Thread arnouf
Hello, Android 1.5 has been send to Dev Phone... If you want install it on your G1, you can...but it's not really legal because you have to pass your G1 in root mode and install a cupcake version (you could find information with Google Search G1+cupacke +root) In France, we have a first model

[android-developers] Re: New phones are selling with FW 1.5?

2009-05-10 Thread Keith Wiley
I don't think this guy was a developer. I think he just bought a G1 with 1.5 on it. Sigh. Customers seem to be getting it on new phones before the update is pushed to owners of existing phones. That doesn't make life easy for developers...unless I have missed something. On May 10, 12:15 pm,

[android-developers] UTF 8 show chars on screen

2009-05-10 Thread daniel.benedykt
Hi I have a string in UTF 8 and I want it to show it on the screen. When I have 'special' chars like from Indian, Arabic, Hebrew ,etc. chars I see squares on the screen and not the real characters. Is there any way to show the characters? Thanks Daniel

[android-developers] install unsuccessful on my g1 with 1.5 sdk

2009-05-10 Thread Hayden
Today I tried to install my app with the the apk created with the 1.5 sdk and I keep getting install unsuccessful. It worked fine under the 1.1 sdk. The only thing I can think would cause a problem is the new minsdkversion which I have tried values 1 and 2 (my g1 has US rc33). The 1.5 sdk

[android-developers] Re: Assets on device

2009-05-10 Thread Dianne Hackborn
It isn't unpacked; data is read directly from the .apk as neeed. (One exception is the .dex files which are extracted and optimized at install time.) On Sun, May 10, 2009 at 1:56 AM, arnouf arnaud.far...@gmail.com wrote: Hi, Just for my information...when i create an APK, all ressources are

[android-developers] Re: How to control composing text more flexibly in Android 1.5 IMF.

2009-05-10 Thread Dianne Hackborn
On Sat, May 9, 2009 at 10:39 PM, Paranoia zheny...@gmail.com wrote: i want to draw the compoing text and the cursor by myself. but i do not find how to implement this. You can't. You can deliver the composing text with style information, however. i also want to set the cursor position

[android-developers] Re: New phones are selling with FW 1.5?

2009-05-10 Thread Raphael
On Sun, May 10, 2009 at 12:53 PM, Keith Wiley kbwi...@gmail.com wrote: I don't think this guy was a developer.  I think he just bought a G1 with 1.5 on it.  Sigh.  Customers seem to be getting it on new phones before the update is pushed to owners of existing phones.  That doesn't make life

[android-developers] Re: Accessing sdcard filesystem through dev machine filesystem - possible?

2009-05-10 Thread Diego Torres Milano
On May 10, 8:20 am, Raphael r...@android.com wrote: The original post is about an sdcard image, so I guess this is emulator related. An emulator sdcard is a FAT32 filesystem so you should be able to mount it using mount under linux if you have a fat32 support module. Under Windows or Mac

[android-developers] Re: New phones are selling with FW 1.5?

2009-05-10 Thread Keith Wiley
I didn't ask him explicitly by email, but I found his transaction in my purchase history and he's U.S. On May 10, 2:20 pm, Raphael r...@android.com wrote: On Sun, May 10, 2009 at 12:53 PM, Keith Wiley kbwi...@gmail.com wrote: I don't think this guy was a developer.  I think he just bought a

[android-developers] BulletML : Source Code

2009-05-10 Thread Alistair.
Hi everybody, I have ported Kenta Chos BulletML demo code to the Android platform here: http://code.google.com/p/netthreads-for-android/ From his site BulletML is the Bullet Markup Language. BulletML can describe the barrage of bullets in shooting games I thought a few game designers would

[android-developers] SDCard error

2009-05-10 Thread nwmotog...@gmail.com
I have moved my development to a Vista x64 system and I have the emulator and Eclipse running but I can't seem to get the sdcard image to mount. The emulator loads and a notification appears that states: Removed SD Card. The SD has been removed. Insert a new SD card. Has anyone seen this and

[android-developers] Why supports Typeface.createFromAsset only?

2009-05-10 Thread freeanderson
Hi. The Typeface can not read a TTF font from external file. I just want to know why. Why this feature is denied even in 1.5r1? And have any plan to open the feature? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: SDCard error

2009-05-10 Thread nwmotog...@gmail.com
I believe I have found my problem. When I created the AVD I gave it an sdcard image to use but I also provide a -sdcard parameter in the eclipse run option. This cause the previous sdcard image to be removed and the new one to be added (but fails). Removing the -sdcard parameter from the run

[android-developers] Re: New phones are selling with FW 1.5?

2009-05-10 Thread Disconnect
Legal? I don't think that word means what you think it means. On Sun, May 10, 2009 at 3:15 PM, arnouf arnaud.far...@gmail.com wrote: Hello, Android 1.5 has been send to Dev Phone... If you want install it on your G1, you can...but it's not really legal because you have to pass your G1 in

[android-developers] Programatically selection of 3G network connection in G1

2009-05-10 Thread Joseph Teo
Hi Folks, I'm working on some data transmission program and current it works alright on WIFI connection. However, I understand that if I am in an environment where there are both 3G and WIFI coverage... the phone will (by default) be turned onto the WIFI network connection. However, if for some

[android-developers] Re: Why supports Typeface.createFromAsset only?

2009-05-10 Thread Dianne Hackborn
I don't know, but it could be just that nobody had time to do it. You could contribute a patch if you strongly want it. On Sun, May 10, 2009 at 4:11 PM, freeanderson freeander...@gmail.comwrote: Hi. The Typeface can not read a TTF font from external file. I just want to know why. Why this

[android-developers] Re: I get Unable to resolve static field error

2009-05-10 Thread Rakoun
Bonsoir tout le monde, I investigated more and I notice that. If I create a project, named Project1 with one Activiy and with a class name A that have a Uri pulic static field and if I create another project named Project2 that reference Project1, if in Project2 I try to assign A.myuri to an Uri

[android-developers] Davlik bug? UNEXPECTED TOP-LEVEL EXCEPTION: java.lang.IllegalArgumentException: already added: [classXXX]

2009-05-10 Thread Peter Carpenter
Hi all, I am attempting to integrate some previous libraries that we have within my new android project. I have made several attempts including: Importing the code as sub-projects (that are built using the android.jar) Importing the code as jar files (from the

[android-developers] Re: I get Unable to resolve static field error

2009-05-10 Thread Rakoun
Bonsoir tout le monde, I investigated more and I notice that. If I create a project, named Project1 with one Activiy and with a class name A that have a Uri pulic static field and if I create another project named Project2 that reference Project1, if in Project2 I try to assign A.myuri to an Uri

[android-developers] About PinyinIME in android-1.5

2009-05-10 Thread moontain
Hi, When I get code with following repo init command to get the official android 1.5 code, I can't find the PinyinIME project, but it is in the cupcake code(-b cupcake). Why it is dropped in the official version? Is this because license issue or something else? Thanks repo init -u

[android-developers] bug in android.intent.action.PHONE_STATE

2009-05-10 Thread zlu
according to the document: http://developer.android.com/reference/android/telephony/TelephonyManager.html#ACTION_PHONE_STATE_CHANGED There should be a constant: Constant Value: android.intent.action.PHONE_STATE But I can't find it. I used the eclipse IDE to modify AndroidManifest.xml but

[android-developers] Re: Uploading an image in a multipart message - sample code

2009-05-10 Thread nEx.Software
I do something very similar to this but not with images, but rather with torrent files. I don't have a 'bytes from file' method though, probably works because torrent files are just text. Anyway, thanks for sharing. On May 10, 10:31 am, Jeff Sharkey jshar...@android.com wrote: Awesome, thanks

[android-developers] Re: Why supports Typeface.createFromAsset only?

2009-05-10 Thread freeanderson
just cause of time? i guess it seems to be intended. it doesn't make a sense. I've saw JNI source of Android. FileInputStream is much easier than extracting from assets resources. On May 11, 11:15 am, Dianne Hackborn hack...@android.com wrote: I don't know, but it could be just that nobody had

[android-developers] How can I listen for MApView page load completed event Options

2009-05-10 Thread Sudha
Hi In my application to load the map its taking time so how can I detect when the map got loaded completely plz help me ?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] XML schema validation Android

2009-05-10 Thread Sam
Hi, I have created an XML and i want to validate with schema i.e, xsd file but there are no direct classes provided by android for the same if i am not wrong . and there is an external jar named jaxp1.3 which doesnt allow me to compile the code is it because the bytecode of

[android-developers] How to access items in an included layout

2009-05-10 Thread nwmotog...@gmail.com
Let's say I have a list of included layouts and I want to access the widgets in the included layouts...how do I do that? ParentLayout -- merge xmlns:android=http://schemas.android.com/apk/res/android; LinearLayout android:id=@+id/LinearLayout01

[android-developers] Fwd: Looking for bride,Latest jobs in Dubai,and Internships

2009-05-10 Thread meh.altaf
http://www.weeklyjobs.tk - COMMERCIAL SUPERVISOR , Dubaihttp://jobsweek.blogspot.com/2009/05/commercial-supervisor-dubai.html - MANAGER OF OPERATIONS, Gulfhttp://jobsweek.blogspot.com/2009/05/manager-of-operations-gulf.html - PROFESSIONAL SERVICE ENGINEERS ,

[android-developers] Re: Video streaming error in SDK 1.5

2009-05-10 Thread Nithin Varamballi
Hi... I tried a video .mp4.. It contains mdat atom... I am streaming though local server... While running on browser it works fine... While running on emulator it displays the message like Cannot play the video.. Can any one Help me...? Thank You Nithin N V

[android-developers] Re: XML schema validation Android

2009-05-10 Thread Mark Murphy
and there is an external jar named jaxp1.3 which doesnt allow me to compile the code is it because the bytecode of desktop and android are different? How did you attempt to use this external JAR? How did you determine there was a bytecode issue? Assuming you are correct about the bytecode

[android-developers] Re: How to access items in an included layout

2009-05-10 Thread Mark Murphy
Let's say I have a list of included layouts and I want to access the widgets in the included layouts...how do I do that? The way you have it written, you probably cannot access the widgets in the included layouts, since they are all named the same. Either: 1. Use three different included

[android-developers] Re: XML schema validation Android

2009-05-10 Thread Sam
Hi, In eclipse i just did a right click on project then properties and then java build path and then Add external jar . I am not sure about the bytecode issue just wanted to confirm If i decide not to use any external jar is it still possible to validate the xml with schema

[android-developers] Re: XML schema validation Android

2009-05-10 Thread Mark Murphy
If i decide not to use any external jar is it still possible to validate the xml with schema because thru ANT i am getting the same issue I do not know what you mean by thru ANT i am getting the same issue. However, as far as I know, there are no XML schema validators in the Android SDK.

[android-developers] Re: XML schema validation Android

2009-05-10 Thread Sam
Hi, There is an dx tool which converts the class and jar files in the android compatible but i am not getting any proper example regarding dx so i can proceed .or thru Ant we have to change the build.xml file with some dx commands still not luck with that also .what exactly changes i have

[android-developers] Re: XML schema validation Android

2009-05-10 Thread Mark Murphy
There is an dx tool which converts the class and jar files in the android compatible You should never have to run this yourself by hand. Eclipse or Ant will do that for you. or thru Ant we have to change the build.xml file with some dx commands No, you do not. Put the JAR in the

[android-developers] Localizing the assets folder

2009-05-10 Thread EboMike
The instructions for my app are in HTML format in my assets so I can display them with proper formatting and hyperlinks in a WebView. Given that they're in the assets folder, not res, I can't properly localize them (i.e. something like assets-de wouldn't work). What's the proper way to localize

[android-developers] Re: XML schema validation Android

2009-05-10 Thread Sam
Hi, There are two ways to compile one is directly thru eclipse and second is thru command prompt by setting the class path of java and ANT and going to the project folder we can compile the code by giving ant debug command we can compile the code which uses the build.xml file . On May 11,

[android-developers] Re: Problem installing application onto HTC Magic

2009-05-10 Thread Android Users
Hi Raphael, Thanks for your reply. Build number : 2.14.720.1 146733 CL#24595 Carrier : AIRTEL On Sun, May 10, 2009 at 3:37 AM, Raphael r...@android.com wrote: On Fri, May 8, 2009 at 10:31 PM, Android Users androidmai...@gmail.com wrote: Hi all, I am not able to install any map related

[android-developers] Re: XML schema validation Android

2009-05-10 Thread Sam
Hi, if i have to do validation of xml with schema can u plz suggest any other right option for that as i am struggling with this issue ,desperately to find an answer. plz help . On May 11, 10:29 am, Sam csgo...@gmail.com wrote: Hi,       There are two ways to compile one is directly thru

[android-developers] Re: Problem installing application onto HTC Magic

2009-05-10 Thread Android Users
Hi Raphael, Build number : 2.14.720.1 146733 CL#24595 Carrir : AiIRTE On Sun, May 10, 2009 at 3:37 AM, Raphael r...@android.com wrote: On Fri, May 8, 2009 at 10:31 PM, Android Users androidmai...@gmail.com wrote: Hi all, I am not able to install any map related application onto my HTC

[android-developers] Re: XML schema validation Android

2009-05-10 Thread Mark Murphy
if i have to do validation of xml with schema can u plz suggest any other right option for that as i am struggling with this issue ,desperately to find an answer. plz help . Why are you attempting to validate XML against a schema...using a cell phone? I would expect that it is somebody

[android-developers] Re: XML schema validation Android

2009-05-10 Thread Sam
Hi, Thnx for the reply i will check with these options of xml parsers and surely let u know . On May 11, 10:41 am, Mark Murphy mmur...@commonsware.com wrote:       if i have to do validation of xml with schema can u plz suggest any other right option for that as i am struggling with