[android-beginners] base 64 conversion

2009-09-01 Thread kapil.k
hello ; in my application i have one string with many special charactors i need to convert it to the base64 format.i found api in android.util but that work for xml.how should i do with string is there any api ? please let me know its class n syntax. thank you

[android-beginners] Re: Create New TextView Style....

2009-09-01 Thread Justin Anderson
After fiddling around with different values I actually was able to get the appearance I wanted without using the parent attribute. -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] Re: problem with Hello, Gallery R.styleable not resolve

2009-09-01 Thread Justin Anderson
Thanks for catching the typo! I should have just done a copy/paste... :) Glad I could help somewhat. Thanks, Justin -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] Re: Debugging on Samsung Galaxy

2009-09-01 Thread FaticaLabs
Yes, I did connect it before, whit the fancy Samsung software. It even behave strange with it, because it always see two device instead of one. No idea if adb should work with the SDK drivers or if I have to lookup some specific samsung drivers. I did post to Samsung forum as well, but no solving

[android-beginners] ListView Add an image as well as 2 line text to a single list item

2009-09-01 Thread Alok
Hi guys, I want to have a listview of songs where on the left of each list item i can have a musical image or image of album and then the actual song name on the right. The song name , with some other details fits in two lines on the right side. I hv gone through the Android sdk example where i

[android-beginners] Re: Debugging on Samsung Galaxy

2009-09-01 Thread Tikoze
Try this link: http://www.anddev.org/debugging-installing_apps_on_the_g1_windows_driver-t3236.html Step 5 most likely will not happen. If it does not then try the following: - Open Device Manager - You should see something mentioning your Galaxy, or an ADB Interface, or perhaps even just

[android-beginners] Sdcard error

2009-09-01 Thread Alok
Hi guys, I created an SDCARD using command mksdcard 2048M sdcard This created an SDCARD in the tools directory Now when i tried to add an MP# file to it adb push D:\..\abc.mp3 /sdcard It gives error error: device not found What am i missing ?? Thanks , Alok.

[android-beginners] Re: Inserting values into Database (SQL LITE)

2009-09-01 Thread eaindra nilar
hi, I think this code will help you. package net.learn2develop.Databases; import android.content.Context; import android.content.ContentValues; import android.database.Cursor; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; import

[android-beginners] Stream Audio

2009-09-01 Thread russell.harro...@designvisa.com
Hi All, Trying to stream a URL to the audio however it is not working, I have read all documents and it seems it is possible but I have no idea how It works if the DataSource is http://twit.cachefly.net/TTG20090829-591.mp3 but not if it is a live stream. Can someone help [code] MediaPlayer

[android-beginners] Installed Application Version

2009-09-01 Thread Ne0
This isnt stricktly a developer question, but once an app is installed on the phone how can you tell what the version is that is in the manifest file? Liam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-beginners] Installed Application Version

2009-09-01 Thread Ne0
This isnt stricktly a developer question, but once an app is installed on the phone how can you tell what the version is that is in the manifest file? Liam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-beginners] Re: Installed Application Version

2009-09-01 Thread Sean Hodges
Programmatically? or when using the phone? On Tue, Sep 1, 2009 at 11:04 AM, Ne0liamjamesalf...@googlemail.com wrote: This isnt stricktly a developer question, but once an app is installed on the phone how can you tell what the version is that is in the manifest file? Liam

[android-beginners] Re: Installed Application Version

2009-09-01 Thread Ne0
Using the phone? On Sep 1, 11:28 am, Sean Hodges seanhodge...@googlemail.com wrote: Programmatically? or when using the phone? On Tue, Sep 1, 2009 at 11:04 AM, Ne0liamjamesalf...@googlemail.com wrote: This isnt stricktly a developer question, but once an app is installed on the phone how

[android-beginners] Re: base 64 conversion

2009-09-01 Thread kapnkore
I done it with importing jar file from apache its running fine?but is it right there is no base 64 class in android sdk. On Tue, Sep 1, 2009 at 11:58 AM, kapil.kkapnk...@gmail.com wrote: hello ; in my application i have one string with many special charactors i need to convert it to the

[android-beginners] Re: Installed Application Version

2009-09-01 Thread Sean Hodges
As far as I'm aware of, there isn't a way to check the version number of an app from the base Android interface. The version number is usually provided by the market service that you download the app from, e.g. the Android Market. If you have downloaded the app by other means, there might be a

[android-beginners] Map view

2009-09-01 Thread Sasi Kumar
Can any one help to create map view with a marker. When we are clicking marker it should display info window. By clicking that info window it shoul goto another layout. Ple. reply me. thanks in advance. --~--~-~--~~~---~--~~ You received this message because

[android-beginners] Progress bar for upload / doenload

2009-09-01 Thread jbrohan
Hello I've been having some difficulties with the progress bar. I built a separate test harness and now I start to see things more clearly. The code below seems to work correctly, but updates the progress bar only when it finishes. I want it to update as the progress is made! package

[android-beginners] Re: ListView Add an image as well as 2 line text to a single list item

2009-09-01 Thread Mark Murphy
Alok wrote: Hi guys, I want to have a listview of songs where on the left of each list item i can have a musical image or image of album and then the actual song name on the right. The song name , with some other details fits in two lines on the right side. I hv gone through the Android sdk

[android-beginners] Re: Progress bar for upload / doenload

2009-09-01 Thread Mark Murphy
jbrohan wrote: Hello I've been having some difficulties with the progress bar. I built a separate test harness and now I start to see things more clearly. The code below seems to work correctly, but updates the progress bar only when it finishes. I want it to update as the progress is made!

[android-beginners] Re: Progress bar for upload / doenload

2009-09-01 Thread Sean Hodges
You need to update your progress bar in a separate thread to the the main (UI) one, see the example here: http://developer.android.com/reference/android/widget/ProgressBar.html What you have is saying When creating the activity, loop 1000 times and change the progress bar position value each

[android-beginners] Re: Installed Application Version

2009-09-01 Thread Ne0
Thanks for your input. I'm writing small apps for an egineering phone, hence not going onto android market. I was hoping there was a way via settings-applications-mange applications of seeing the version (though i could not find one myself), that way if an engineer had an issue with a particular

[android-beginners] Re: Installed Application Version

2009-09-01 Thread Sean Hodges
Wow thats pretty cool Mark. I thought the PackageManager was limited to providing info about the app that you are calling it from. Thanks for the tip. On Tue, Sep 1, 2009 at 11:49 AM, Mark Murphymmur...@commonsware.com wrote: Sean Hodges wrote: As far as I'm aware of, there isn't a way to

[android-beginners] Re: ListView Add an image as well as 2 line text to a single list item

2009-09-01 Thread Alok Kulkarni
Thanks Mark, the PDF seems great, One question more .I donno if the pdf answers this but how can i reduce the height of an item in a listview. I googled for it , some answers came up but not much convincing. Thanks and Regards, Alok. On 9/1/09, Mark Murphy mmur...@commonsware.com wrote: Alok

[android-beginners] Re: ListView Add an image as well as 2 line text to a single list item

2009-09-01 Thread Mark Murphy
Alok Kulkarni wrote: Thanks Mark, the PDF seems great, One question more .I donno if the pdf answers this but how can i reduce the height of an item in a listview. I googled for it , some answers came up but not much convincing. The height of an item in a ListView is controlled by the item.

[android-beginners] Re: ListView Add an image as well as 2 line text to a single list item

2009-09-01 Thread Alok Kulkarni
Thats my way to go then !! Thanks again Mark :) On 9/1/09, Mark Murphy mmur...@commonsware.com wrote: Alok Kulkarni wrote: Thanks Mark, the PDF seems great, One question more .I donno if the pdf answers this but how can i reduce the height of an item in a listview. I googled for it , some

[android-beginners] problems with aidl

2009-09-01 Thread Guilherme Melo
Hello all, i am creating a service and i am having two big problems with my aidl, first, i cannot import any Java types(Enumeration , Date, etc) that i get an error (couldn't find import for class ... ) the second is that apparently i cannot have two methods with different parameters, such as as

[android-beginners] Re: problems with aidl

2009-09-01 Thread Mark Murphy
Guilherme Melo wrote: Hello all, i am creating a service and i am having two big problems with my aidl, first, i cannot import any Java types(Enumeration , Date, etc) that i get an error (couldn't find import for class ... ) Correct. Those are not valid AIDL data types:

[android-beginners] Re: Development Phone

2009-09-01 Thread Ran
Thanks a lot, your answers gave me some clue about the differences and now I think I'll be able to do the right decision. Thank's again! On Aug 28, 8:53 pm, Chris Stratton cs07...@gmail.com wrote: On Aug 24, 9:09 am, Ran dahan...@gmail.com wrote: What is the benefit of working with ADP1 over

[android-beginners] Re: Development Phone

2009-09-01 Thread Chi Kit Leung
I am using HTC Magic as test and debug environment. Because I need a phone to test my App. That is. Moreover, that can prove my App can run in a standard environment. On Tue, Sep 1, 2009 at 10:46 PM, Ran dahan...@gmail.com wrote: Thanks a lot, your answers gave me some clue about the

[android-beginners] Re: Get GPS time/date

2009-09-01 Thread cellurl
He means NMEA I believe. Along with latitude and longitude, etc, there is time in GPS strings. http://www.gpsinformation.org/dale/nmea.htm -jim On Aug 31, 9:41 am, Justin Anderson janderson@gmail.com wrote: What exactly do you mean by the GPS time? I haven't done any GPS programming for

[android-beginners] Re: problems with aidl

2009-09-01 Thread Guilherme Melo
On Sep 1, 1:46 pm, Mark Murphy mmur...@commonsware.com wrote: Guilherme Melo wrote: Hello all, i am creating a service and i am having two big problems with my aidl, first, i cannot import any Java types(Enumeration , Date,  etc) that i get an error (couldn't find import for class ... )

[android-beginners] Re: Sdcard error

2009-09-01 Thread Alok Kulkarni
Does anyone have any idea? On Tue, Sep 1, 2009 at 1:21 PM, Alok kulsu...@gmail.com wrote: Hi guys, I created an SDCARD using command mksdcard 2048M sdcard This created an SDCARD in the tools directory Now when i tried to add an MP# file to it adb push D:\..\abc.mp3 /sdcard It gives

[android-beginners] Re: Sdcard error

2009-09-01 Thread Jack Ha
Did you run the emulator? -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of

[android-beginners] Re: Map view

2009-09-01 Thread Jack Ha
Take a look at some of the Map tutorials here: http://www.anddev.org/viewforum.php?f=18 -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and statements in this email are those of the author solely in

[android-beginners] Re: Sdcard error

2009-09-01 Thread Alok Kulkarni
No i didnt run it while pushing.. GOD save me !!! Thanks , i am very dumb i suppose... :P On Tue, Sep 1, 2009 at 9:01 PM, Jack Ha jack...@t-mobile.com wrote: Did you run the emulator? -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the

[android-beginners] Re: How to export data to excel?

2009-09-01 Thread Jack Ha
You can query the data from the database and then write the data into a CSV file. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and statements in this email are those of the author solely in their

[android-beginners] Re: problems building android dev environment?

2009-09-01 Thread Yusuf Saib (T-Mobile USA)
There are lots of warnings, but of course it should not have errors. After re-syncing, can you post some of the errors you get? Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do

[android-beginners] A Racing Car App in Android

2009-09-01 Thread Maxood
I want to develop an application that involves a racing car. The car obviously moves forward, backward, left and right in a 3D environment. I like to make such an app using OpenGL ES. Can someone refer me a tutorial. Thank you, Maxood --~--~-~--~~~---~--~~ You

[android-beginners] Re: Want to graduate from android-beginners to android-developers

2009-09-01 Thread Yusuf Saib (T-Mobile USA)
I installed it and clicked on 25mph. It then popped up something saying submitting sign, press back arrow I looked for the sign on Wikispeedia.org, but either (1) it's not there or (2) I'm too dumb to use Wikispeedia. Does your app do anything else? Like yell at me when I drive too fast? Not

[android-beginners] Re: Debugging on Samsung Galaxy

2009-09-01 Thread FaticaLabs
Thanks Justin! Your tip worked. As you said, step 5 did not happen, but manually Upgrading the driver in device manager, and choosing have disk definitely works ! Thanks again! Felix On 1 Set, 09:10, Tikoze janderson@gmail.com wrote: Try this

[android-beginners] Re: problems with aidl

2009-09-01 Thread Mark Murphy
Guilherme Melo wrote: On Sep 1, 1:46 pm, Mark Murphy mmur...@commonsware.com wrote: Guilherme Melo wrote: Hello all, i am creating a service and i am having two big problems with my aidl, first, i cannot import any Java types(Enumeration , Date, etc) that i get an error (couldn't find

[android-beginners] Re: Sdcard error

2009-09-01 Thread Alok Kulkarni
Running the emulator did the trick On Tue, Sep 1, 2009 at 9:12 PM, Alok Kulkarni kulsu...@gmail.com wrote: No i didnt run it while pushing.. GOD save me !!! Thanks , i am very dumb i suppose... :P On Tue, Sep 1, 2009 at 9:01 PM, Jack Ha jack...@t-mobile.com wrote: Did you run the

[android-beginners] Re: Debugging on Samsung Galaxy

2009-09-01 Thread Justin Anderson
Glad I could be of assistance! Yeah, there are lots of potential problems with Windows machines and getting started with developing for Android... particularly if you connected your phone before turning on debugging (AFAIK, there is no documentation about that little tidbit of information,

[android-beginners] Re: intent filter to know when user change the volume

2009-09-01 Thread Michael Krebs
ok i've found that is impossible : private void sendVolumeUpdate(int streamType) { Intent intent = new Intent (AudioManager.VOLUME_CHANGED_ACTION); intent.putExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, streamType); intent.putExtra(AudioManager.EXTRA_VOLUME_STREAM_VALUE,

[android-beginners] Re: startActivity() crash...

2009-09-01 Thread Roman ( T-Mobile USA)
Justin, In case of the calendar application the activities activity android:name=MonthActivity android:label=@string/ month_view android:theme=@style/CalendarTheme / activity android:name=WeekActivity android:label=@string/ week_view

[android-beginners] Re: startActivity() crash...

2009-09-01 Thread Justin Anderson
Roman, Thank you very much for the feedback. I will look a little more into the PackageManager and PackageInfo classes and see what I can come up with. I think I saw some method in there that would return a launchable intent... Thanks, Justin

[android-beginners] Re: virtual keyboard

2009-09-01 Thread Balwinder Kaur (T-Mobile USA)
http://android.git.kernel.org/?p=platform/development.git;a=tree;f=samples/SoftKeyboard;hb=cupcake Balwinder Kaur Open Source Development Center ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not

[android-beginners] Re: virtual keyboard

2009-09-01 Thread Balwinder Kaur (T-Mobile USA)
And in case you haven't seen this : http://android-developers.blogspot.com/2009/04/updating-applications-for-on-screen.html is a good read on IME/IMF Balwinder Kaur Open Source Development Center ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the

[android-beginners] Re: How to export data to excel?

2009-09-01 Thread Litho23
I agree CSV would be the way to go. On Sep 1, 2:13 am, JUN youk...@gmail.com wrote: Hello all,   I want to export sqlite data to excel format in android? how to do it? thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-beginners] Re: problems with aidl

2009-09-01 Thread Guilherme Melo
hello again mark, i have read trough it and the These parameters and return values can be of any type sentence is a bit misleading, because it only supports the data types given on the link you sent me. thank you very much for your attention and your help. i decided that i will just subclass

[android-beginners] How to send uppercase letter using InstrumentationTestCase.sendKeys() ?

2009-09-01 Thread Yasser
Hi, Using the sendKeys() function I am able to send small letters like sendKeys(A B C). How to send capital letters? I didn't find any key event for them in KeyEvent class. Is there any separate event that I have to send prior to sending a letter, in order to make it uppercase? Thanks Yasser

[android-beginners] force orientation change?

2009-09-01 Thread Jeffrey Blattman
wondering if there is a way to force the screen orientation one way or the other ... regardless of the phone's actual orientation. thanks. --

[android-beginners] voice call recording

2009-09-01 Thread kapil.k
I know allready there are some post on this topic.Thats why i am shocked couse telephony class is protected.n we cant do call recording.playing audio files on call n lot many stuffs,this is a really important class.is there any way to access it of this is added in new version cup cake? is there