[android-beginners] Re: GPS String hidden application

2009-03-13 Thread Ashish Dhiman
Hi Clement, thanks for such a useful information. it would be very helpful if you can provide me some example. thanks and regards #Ashish Dhiman# Sent from: Bengaluru Karnataka India. 2009/3/13 alive > > You can handle your secret code by SpecialCharSequenceMgr.java and > Intents.SECRET_CODE_

[android-beginners] Re: Making things louder

2009-03-13 Thread frizzo
Thank you. As far as point 2 about setVolume, I couldn't really find an example of what the parameter values should be. I found this link ( http://groups.google.com/group/android-beginners/browse_thread/thread/f1848285f8f3b60c/f45f2698391d5a37?lnk=gst&q=setVolume# ), that suggests that the range

[android-beginners] Re: Why won't Intent pass along the extras

2009-03-13 Thread frizzo
Serializable works. On Mar 11, 11:44 pm, frizzo wrote: > Can you post an example by any chance? > > On Mar 11, 10:25 pm, frizzo wrote: > > > I have no idea whether it's a better choice or not.  I asked the > > question here as to how to do it and was given Parcelable as the > > answer.  I'll gi

[android-beginners] Re: Filling a large database causes crash

2009-03-13 Thread Will
You will need to write your own filter when filtering. I have only done it with a Cursor (SimpleCursorAdapter sepcifically). Searching the Developer group for AutoCompleteTextView should send you in the right direction. On Mar 11, 1:25 pm, NFSpeedypur wrote: > Alright well I will work on that

[android-beginners] Re: restricting access to database

2009-03-13 Thread Will
I can't say it any better than the two links below. http://developer.android.com/guide/topics/security/security.html http://developer.android.com/guide/topics/providers/content-providers.html On Mar 11, 6:00 am, "Er. syed imran ali" wrote: > hello, > i am trying to put password on database,

[android-beginners] Re: Real Audio

2009-03-13 Thread Dave Sparks
Unfortunately, the licensing terms are incompatible with AOSP. I'm sure if there is enough demand, someone will create a player. On Mar 13, 5:31 am, Ayman El-Ghazali wrote: > Looks like they've already started > it:https://porting.helixcommunity.org/2008/android > > I'm not an android developer

[android-beginners] Re: g1 developer firmware update

2009-03-13 Thread sm1
Merci Jean-Baptiste. On Mar 13, 5:36 pm, Jean-Baptiste Queru wrote: > http://www.htc.com/www/support/android/adp.html > > JBQ > > On Fri, Mar 13, 2009 at 11:06 AM, Michael Bollmann > > wrote: > > > this might be a stupid question... but ill ask anyway :) > > > i received my g1 developer phone t

[android-beginners] Re: how to read specific part in a string

2009-03-13 Thread sm1
I do it this way (it works for me): /** * @param tag The tag without the angle bracket, i.e., * the given value does not start with "<". * @param str The string containing the tags and data. * @return empty string when tag absent or str invalid. */ String takeit(Str

[android-beginners] Re: g1 developer firmware update

2009-03-13 Thread Jean-Baptiste Queru
http://www.htc.com/www/support/android/adp.html JBQ On Fri, Mar 13, 2009 at 11:06 AM, Michael Bollmann wrote: > > this might be a stupid question... but ill ask anyway :) > > i received my g1 developer phone today > when i run my software it warns me that i'm developing with sdk 1.1 > and my ph

[android-beginners] Problem with ProgressDialog

2009-03-13 Thread rustyventure
Hi, Everyone: I'm having some trouble displaying a ProgressDialog. Basically, I want to show a progress "popup" when a user presses a button in my app. Here's the code: OnClickListener updateButtonPressed = new OnClickListener(){ // @Override public void onClick(View arg0) {

[android-beginners] Can not build android source code in Fedora 10

2009-03-13 Thread biAji
I do exactly as the guild in the http://source.android.com But when I use make to build, it complained no javac, so I add sun jdk 1.6's bin to the PATH. And it now complained there is no g++ I search the whole repo of fedora 10 and there is no such a thing. the most likely one comes from an

[android-beginners] ImageView.SetImageUri

2009-03-13 Thread yves...@gmail.com
I want to display some pictures like the "Picture" app does, display them in a thumbnail mode. Some of the pictures are big, like 2100X2800, so, when I called SetImageUri, nothing happened. And then I resized those pictures to a smaller size, like 210 X 280, and the SetImageUri does show the image

[android-beginners] Tabs by Intent

2009-03-13 Thread r45k
I can't seem to run the code below without crashing. I followed the tuts online about tabs exactly and got it working until i changed one line of code to set a tab's content to a separate class. NOTE: it ran fine before i added the line that made the content a new class... public class HelloTabW

[android-beginners] How to add SMS to inbox in android programmatically?

2009-03-13 Thread senthil
Hi, I have used the below code to send the SMS, But my need is the same sms should be reflected in the android native sms application. SmsManager smsManager = SmsManager.getDefault(); smsManager.sendTextMessage(destAddr, null, mMessageText, il, null); Could any one please help me out ? --~--~---

[android-beginners] Re: GPS String hidden application

2009-03-13 Thread alive
You can handle your secret code by SpecialCharSequenceMgr.java and Intents.SECRET_CODE_ACTION. Best regards, Clement Fan On Mar 12, 1:27 am, Mark Murphy wrote: > Ashish Dhiman wrote: > > i want to write a GPS application which will be started when i enter > > string like (*#1234#) on the dialer

[android-beginners] KSoap2 SSL Https Webservice

2009-03-13 Thread SeedZero
I'm using KSoap2 J2SE to call on my Webservice and it works fine when I do a normal http call but when I trying to make it secure by doing a https call I get a InvocationException when I run debug mode which I don't know why I'm getting it or what to do about it. I was reading on older forums bef

[android-beginners] Content provider

2009-03-13 Thread yves...@gmail.com
I am trying to develop an app which can retrieve all pictures from android. But i can't get content provider to work, every time, I do a query, it throws NullPointerException. So, I created a new project (under eclipse), and then use the sample code from sdk, it does the same thing. I paste the co

[android-beginners] Re: TableLayout borders

2009-03-13 Thread neuzou
I have the same question, I want to display the border on TableLayout, but Android does't give any method to do this, anybody can help me? Thanks. Regards Dwyane On Feb 22, 12:51 pm, Robertico wrote: > Hi, > > Is there a way to set something likeborder="1" in a TableLayout? > > http://schemas.a

[android-beginners] Re: how to read specific part in a string

2009-03-13 Thread EECOLOR
I think that would be something like this: public String takeit(String str, String tag) { return str.replace(".*?<" + tag + ">(.*?).*", $1); } Greetz Erik On Thu, Mar 12, 2009 at 7:14 PM, guruk wrote: > > Hi, > i have a long String and need to capture some text in between of some > tags. > >

[android-beginners] Re: Can't get a screen capture

2009-03-13 Thread bklik
I get the same thing. I also have everything working, am running Vista, and get the same two errors whenever I try to take a screen capture. 35:08 I/ddms: read: timeout 35:08 W/ddms: got truncated reply from ADB fb data I tried different "compatibility" modes, and running DDMS as the Administra

[android-beginners] Sexy Woman With Bra & Panties

2009-03-13 Thread latha latha
Sexy Woman With Bra & Panties --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com

[android-beginners] g1 developer firmware update

2009-03-13 Thread Michael Bollmann
this might be a stupid question... but ill ask anyway :) i received my g1 developer phone today when i run my software it warns me that i'm developing with sdk 1.1 and my phone runs 1.0 is there any official update source? (searching the net brought only some strange homebrew solutions) thanks

[android-beginners] Re: Using JUnit

2009-03-13 Thread Diego Torres Milano
These articles in my blog may shed some light on the issue: http://dtmilano.blogspot.com/search/label/test%20driven%20development On Mar 13, 7:42 am, Pankaj Bisaria wrote: > Hi friends > > I am working on Android application. I want to develop applications using > the Test Driven Development (T

[android-beginners] Re: parsing xml data

2009-03-13 Thread mafro
Please don't post in two forums at the same time.. jeez On Mar 13, 9:25 am, jj wrote: > Hi everyone > > I am trying to parse some data (wrapped in a String), that has xml > format > following is the code that I am using, with no much succes so far :( > >     private void parseXml(String str) >

[android-beginners] Re: Opening pdf and office file

2009-03-13 Thread Mark Murphy
Pankaj Bisaria wrote: > You told me to buy a program. Are you talking about any Paid api ? I am talking about Android viewers for the file formats you specified. If the viewers were well-written for Android, they should respond to some form of Intent to have them view files you specify. Whether

[android-beginners] encode html with inputstream

2009-03-13 Thread guruk
Hi, i am reading a text from the net and like to have it right encoded (german umlaute) --- conn = new URL(mediaUrl).openConnection(); InputStream is = conn.getInputStream(); ByteArrayBuffer baf = new ByteArrayBuffer

[android-beginners] Re: Real Audio

2009-03-13 Thread Ayman El-Ghazali
Looks like they've already started it: https://porting.helixcommunity.org/2008/android I'm not an android developer. I'm a SQL Developer and I wish I had more time on my hands to look at Android development because I really love the platform. Unfortunately, when I get home the only playing around

[android-beginners] Re: Prevent activity to appear on android desktop?

2009-03-13 Thread SteleFreak
Damn, it was a catch... All I had to do was to change the category of activity in AndroidManifest.xml file from LAUNCHER to SUBACTIVITY. I don't belive no one had time to tell me this before? :( On Feb 26, 12:58 am, SteleFreak wrote: > How topreventone subactivityin my application toappearon > "

[android-beginners] Re: parsing xml data

2009-03-13 Thread Pd
You need either InputSource or URI. http://www.saxproject.org/apidoc/org/xml/sax/XMLReader.html jj wrote: > Hi everyone > > I am trying to parse some data (wrapped in a String), that has xml > format > following is the code that I am using, with no much succes so far :( > > > > private void

[android-beginners] parsing xml data

2009-03-13 Thread jj
Hi everyone I am trying to parse some data (wrapped in a String), that has xml format following is the code that I am using, with no much succes so far :( private void parseXml(String str) { XMLReader myReader=null; System.setProperty ("org.xml.sax.driver","org.xmlpull

[android-beginners] Re: how to read specific part in a string

2009-03-13 Thread Pankaj Bisaria
I think you need to use parse for that. 2009/3/12 guruk > > Hi, > i have a long String and need to capture some text in between of some > tags. > > for example: > > myString="Hello, this is a test 12345 and here i like > to say oioidddad what is that notwise opxmark> and now i close"; > > How w