[android-beginners] Re: how to read sms from inbox

2009-09-10 Thread eaindra nilar
Hi, You can use this code for reading sms inbox I already tried it public class SmsApp extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

[android-beginners] Re: How Can I Block Unwanted Calls.

2009-09-10 Thread eNtriZe
Ok thanks for reply. There is no official support to block unwanted calls what about unofficial support ? Any information about this ? Regards! On Sep 8, 4:11 pm, Mark Murphy mmur...@commonsware.com wrote: Can any one tell me how i can block unwanted calls through my application? There is

[android-beginners] How to compile a multilanguage version of android?

2009-09-10 Thread elegos
Hello there! I've read something like this time ago in a website I can't find anymore. The problem is that I can't find any configuration option about compiling Android in a specific set of languages (i.e. English, German, Italian, Spanish, French), or simply in a language different from English.

[android-beginners] Re: how to read sms from inbox

2009-09-10 Thread Mark Murphy
eaindra nilar wrote: Hi, You can use this code for reading sms inbox I already tried it public class SmsApp extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) {

[android-beginners] Re: Empty list

2009-09-10 Thread Mark Murphy
manigault wrote: id=@id/android:empty works for ListActivity but when i use it for a listview which is in a regular activity it doesn't. How to show text when the list is empty for a listview. For an empty list, just make the ListView be invisible (setVisibility(View.INVISIBLE)) and make an

[android-beginners] Re: video quality

2009-09-10 Thread Engin Arslan
Any Suggestions?? On Sep 9, 11:53 pm, Engin Arslan enginarsla...@gmail.com wrote: Hi, i am capturing video with the code below. But there is problem on video quality, that is, when I capture video with applicaiton I wrote its quality is not as well as video quality of telepohnes' which is

[android-beginners] Re: Empty list

2009-09-10 Thread Martin Obreshkov
Thanks :) On Thu, Sep 10, 2009 at 2:16 PM, Mark Murphy mmur...@commonsware.com wrote: manigault wrote: id=@id/android:empty works for ListActivity but when i use it for a listview which is in a regular activity it doesn't. How to show text when the list is empty for a listview. For an

[android-beginners] Re: how to read sms from inbox

2009-09-10 Thread kapnkore
Does it also mean that there is knowway to do this? On Thu, Sep 10, 2009 at 4:35 PM, Mark Murphy mmur...@commonsware.comwrote: eaindra nilar wrote: Hi, You can use this code for reading sms inbox I already tried it public class SmsApp extends Activity { /** Called when the

[android-beginners] Re: How to compile a multilanguage version of android?

2009-09-10 Thread Nanard
Add different strings.xml one for each language in the resource directory. All languages will then be in your .apk. On the phone (emulator also), you can change the locale settings, and choose another language. This way, you can test your application in several languages. No need to recompile

[android-beginners] Re: Spinners

2009-09-10 Thread cellurl
This is a lousy response, but I got all my spinners working by copying/ examining the code in the example program called translate. On my PC its located in c:\user\me\workspaces\translate. -jp On Sep 9, 4:19 am, EverettG egoode...@speakeasy.net wrote: I am creating a Spinner but when it

[android-beginners] Re: How to compile a multilanguage version of android?

2009-09-10 Thread elegos
What about closed-source applications? I mean Gmail, Market and other Google closed-source programs. How is I've got it, i.e. in Italian, English and other languages while other people have it only in English? On 10 Set, 14:45, Nanard bsegon...@free.fr wrote: Add different strings.xml one for

[android-beginners] Re: How Can I Block Unwanted Calls.

2009-09-10 Thread Roman ( T-Mobile USA)
There are several similar threads about this on the forum. It seems like you can block incoming calls using what is available on SDK/NDK level. For example the application Panda firewall gives you the functionality to block an incoming call. I have not had time yet to find out how they are doing

[android-beginners] Re: How Can I Block Unwanted Calls.

2009-09-10 Thread Mark Murphy
Roman ( T-Mobile USA) wrote: There are several similar threads about this on the forum. It seems like you can block incoming calls using what is available on SDK/NDK level. For example the application Panda firewall gives you the functionality to block an incoming call. I have not had time

[android-beginners] Re: Spinners

2009-09-10 Thread Jack Ha
Remove the following line: testSpinner.setBackgroundColor(Color.BLUE); -- 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

[android-beginners] Re: error in installing .apk file

2009-09-10 Thread Jack Ha
You don't need to specify file:// new File(/sdcard/DCIM/Opi.apk) -- 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,

[android-beginners] Re: How Can I Block Unwanted Calls.

2009-09-10 Thread Roman ( T-Mobile USA)
Mark, I agree. It's a good point that being able to block incoming calls is a dangerous functionality ... -- Roman Baumgaertner Sr. SW Engineer-OSDC ·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] RE: How to open application program AlarmClock in Eclipse IDE

2009-09-10 Thread anantha.javali
Hi, I downloaded the AlarmClock app program from source.android.com. I would like to know how I can open this in Eclipse IDE on a Windows environment. I tried creating new project. I was not successful. Thanks Anantha --~--~-~--~~~---~--~~ You received this

[android-beginners] sync technique?? for android and other mobile platform plz help me

2009-09-10 Thread sunali
which synchronization techniques /protocol can be used in Mobile platforms (android,J2ME,palm WebOS etc). In android which sync techniques are used for communication between different mobile platforms. example. android mobile and J2ME ??

[android-beginners] tile game layout

2009-09-10 Thread lupin982
Hi, i wanto to develop a 2D tile game, but i'm beginner in the android and i don't know how can i draw a tile background. I have tiles image in the res/Drawable folder, and i want to make a tiled layout with that images. I don't need to draw the background every frame, because it is static. Can I

[android-beginners] Re: I permanently fail to unsubscribe from this mailing list

2009-09-10 Thread Venky
I believe this is possible only if I have google acount. How do I unsubscribe from other accounts like a...@yahoo.com. Sending mail to android-beginners-unsubscr...@googlegroups.com always results in not able to deliver On Aug 31, 7:27 pm, Justin Anderson janderson@gmail.com wrote: You need

[android-beginners] Re: Defaulting to numeric keyboard on EditText without forcing numeric input.

2009-09-10 Thread brucko
Mike, I only just saw this - sorry late reply. You've probably solved by now. Give XML attribute for your edit text android:inputType=number Best Regards, Geoff On Aug 6, 11:26 pm, Mike Olson mish.ol...@gmail.com wrote: I have an EditText that I don't want to force to be a number, but

[android-beginners] Re: How to unsubscribe from the e-mail list

2009-09-10 Thread Venky
How do I unsubscribe from non google account say a...@yahoo.com. Sending mail to android-beginners-unsubscr...@googlegroups.com returns with a message not able to deliver. On Sep 9, 9:03 am, Justin Anderson janderson@gmail.com wrote: Log in to google groups and edit your membership with the

[android-beginners] Re: Adroid on a phone with Windows OS

2009-09-10 Thread Earl Wilson
On Sep 9, 4:54 am, tonyts sca...@mmc.org wrote: I have a new Samsung Omnia with Windows Mobile 6.1 on it. Can I develop Android applications to run on this type of phone? Thanks. No you can not. The type of applications you can develop on a windows mobile device is windows mobile

[android-beginners] MapView : Don't show the labels

2009-09-10 Thread waterbed
Hello, In Google maps the user can remove the labels (I mean street and town names), when he chooses the satellite view. I would like to do the same thing with a MapView object in Android, but I don't find a setter like setShowLabel(boolean). Could anyone help me to do this? Best regards.

[android-beginners] Re: liste activity, selected item not shown

2009-09-10 Thread Sudeep
Hi Mark, I also face a similar problem. I have a list view where i have text view and toggle buttons. Problem is in Touch mode when i touch the text view, no orange momentary orange highlight is happening and directly the dialogue associated with that text view touch is triggred.

[android-beginners] getdatafilepath(String) from ContentResolver

2009-09-10 Thread campi
Hello, I took a look at the audio capture code proposed at this address http://developer.android.com/guide/topics/media/index.html However, the getDataFilePath() method is not implemented inthe sdk 1.5_r3. What other method should I use then? Thanks

[android-beginners] animation

2009-09-10 Thread Usha
hi I want animation like jackpot on Spinner. I have a button I m lucky .I want items of spinner to roll/pushup fast like a wheel and stop after a while to give me a selection of item at random if I press this button. I found pushup animation in APIdemos. Any help to use the codes in my apps. I

[android-beginners] Re: How Can I Block Unwanted Calls.

2009-09-10 Thread Chris Stratton
But there's no reason a future version of the platform couldn't include both a documented api and an explicit reject calls permission. On Sep 10, 12:51 pm, Chris Stratton cs07...@gmail.com wrote: On Sep 10, 11:48 am, Mark Murphy mmur...@commonsware.com wrote: Blocking incoming phone

[android-beginners] Re: Security framework available on android??

2009-09-10 Thread Jack Ha
Assuming this is what you are looking for: http://developer.android.com/guide/topics/security/security.html -- 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

[android-beginners] Re: Adroid on a phone with Windows OS

2009-09-10 Thread Chris Stratton
On Sep 9, 4:30 pm, Earl Wilson earl...@gmail.com wrote: No you can not.  The  type of applications you can develop on a windows mobile device is windows mobile applications.  Android is different the windows.  That is the same as trying to run or develop Mac OSX apps for your windows phone.

[android-beginners] Re: sync technique?? for android and other mobile platform plz help me

2009-09-10 Thread sunali cina
Hello, I am beginner in Android platform. I want to know which synchronization techniques /protocol can be used between different Mobile platforms (android,J2ME,palm WebOS,Apple iphone , etc) and there data exchange capabilities (contacts data,calendar,notes,bookmarks ,messaging,MMS etc ). I

[android-beginners] Re: inconsistent results from DateUtils.getRelativeTimeSpanString

2009-09-10 Thread podoboq
Anyone? Bueller?Bueller? :) On Sep 9, 4:54 pm, podoboq dave.lamp...@gmail.com wrote: Anyone? On Sep 7, 5:58 pm, podoboq dave.lamp...@gmail.com wrote: Hi all, I'm working on my first Android app and getting odd results while using DateUtils.getRelativeTimeSpanString().  The

[android-beginners] Re: Simple Animation Code

2009-09-10 Thread Kingcrowley
ok...i have got a simple animation working in this.. public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.frame_animations_layout); imgView = (ImageView)findViewById(R.id.imageView);

[android-beginners] Ratings and playlists?

2009-09-10 Thread Andrés G. Aragoneses
Where can I find any documentation on how to manipulate the database of song playlists in Android? Also, is there any place where the rating for a song can be stored? I looked on other players (Meridian) but they seem to be using their own database, so if I create some sync method for my Linux

[android-beginners] Re: JSON help

2009-09-10 Thread sagar
Hi Alok, Use Gson.. It is a google library for converting gson response directly to the class objects. Just google it and use.. On Sep 9, 11:51 pm, Alok Kulkarni kulsu...@gmail.com wrote: Thanks mark for your quick response. Regarding the get and put methods , i am using them currently . But

[android-beginners] Re: Call to activity problem

2009-09-10 Thread kapnkore
nope this is not working here.Application getting crash On Wed, Sep 9, 2009 at 11:12 PM, Roman ( T-Mobile USA) roman.baumgaert...@t-mobile.com wrote: For being able to start an activity you need a context. One possibility is to pass a reference of your application context to your class

[android-beginners] Re: preventing Activity from destroying

2009-09-10 Thread Jason
John Yes, you are right. Pressing Home does call just onStop; while pressing Back calls onDestroy. Btw, how do you ensure that the service keeps running and doing its job even when the phone goes to sleep (power save mode)? I added PowerManager = pm = (PowerManager)