[android-beginners] Re: Hello every body, I'm new here.

2009-08-04 Thread whitech
Thank you very much, I can catch the error now. I've use catch (Exception) not catch(Error) before so I can't catch it. There is another problem, can I push the limit of memory higher? It is a little too small with only 16 MB. If can, what should I do? On 8月4日, 上午2时15分, Yusuf T. Mobile

[android-beginners] Re: Adding objects to a canvas

2009-08-04 Thread Graham
:) Thank you. I created an array of objects to fix the issue so have an array of circles the onDraw method is using. On Aug 3, 7:13 pm, Yusuf T. Mobile yusuf.s...@t-mobile.com wrote: The onDraw() function is the phone's way of asking you so how do you want me to draw this canvas, from scratch?

[android-beginners] AlertBuilder and Handler Problem

2009-08-04 Thread Lorenz
Hi, I have a problem, I want to create an Alert Builder in a thread started by tha main activity.This Builder should be a multiple choiche. The code is: public class C extends Activity { private PrintWriter savedpoint; private Context context = this; private TextView

[android-beginners] Customization of Dialogs

2009-08-04 Thread swapnil
Hi, Can we create any dialog without having Title (like the lock screen when emulator boots up). Can anyone tell me the way to do it. Thanks in advance. Regards; Swapnil --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-beginners] Re: Customization of Dialogs

2009-08-04 Thread Atif Gulzar
simple do not call setTitle(); -- Best Regards, Atif Gulzar I Unicode, ɹɐzlnƃ ɟıʇɐ On Tue, Aug 4, 2009 at 5:26 PM, swapnil swapnil.da...@gmail.com wrote: Hi, Can we create any dialog without having Title (like the lock screen when emulator boots up). Can anyone tell me the way to

[android-beginners] Re: Customization of Dialogs

2009-08-04 Thread swapnil
Thank you for your help, But if you don't call setTitle () it will keep that space blank. I want there should not be any space left. From top of Dialog View I want to show the Buttons. Can you please help me in that. Regards; Swapnil --~--~-~--~~~---~--~~

[android-beginners] onTouch()

2009-08-04 Thread Graham
Hi again, I am getting to grip with the android fundamentals and am curious as to how the onTouch and the onTouchlisteners work. To keep it simple I have used onDraw to draw two circles on a canvas, a green circle and a red circle (each of type ShapeDrawable - Oval Shape). I now wish to make it

[android-beginners] Re: AlertBuilder and Handler Problem

2009-08-04 Thread Balwinder Kaur (T-Mobile)
If you change your code in a few places, it should work. (It worked for me :)) I have demarked the code changes with // START and //=== END public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main);

[android-beginners] Re: onTouch()

2009-08-04 Thread Balwinder Kaur (T-Mobile)
You need to override the onTouchEvent method in CustomDrawableView @Override public boolean onTouchEvent(MotionEvent event) { switch (event.getAction()) { // get your x and y values from event.getX() and event.getY() case

[android-beginners] Re: Hello every body, I'm new here.

2009-08-04 Thread Balwinder Kaur (T-Mobile)
You can add -memory for the emulator. If you are using Eclipse, edit your run configuration to add the -memory command line option. go to your_Android_SDK_PATH/tools/emulator -help to see all the emulator options. Balwinder Kaur Open Source Development Center ·T· · ·Mobile· stick together The

Re: Fwd: [android-beginners] Alarm Manager

2009-08-04 Thread Chris
How did u achieve that, can u be a bit more elaborative. I am facing the same problem i tried using different requestcode but it didnt work. Thanks On Jul 2, 4:54 pm, Veroland marius.ven...@gmail.com wrote: Thanks, I saw in the documentation that it was not used but tried to set the request

[android-beginners] unable to install ADT plugin for europa eclipse 3.3

2009-08-04 Thread nikita
Hello everybody, I am getting following message while installing ADT plugin for europa eclipse 3.3. Android Development Tools (0.9.1.v200905011822-1621) requires plug-in org.eclipse.wst.sse.core. Please suggest. Thanks in advance!! --~--~-~--~~~---~--~~ You

[android-beginners] Eclipse 3.3, Android SDK 1.5, adb 1.0.18 running, 1.0.20 needed

2009-08-04 Thread misbell
When you try to point Eclipse 3.3 to Android SDK 1.5 (latest build as of today Aug 3 2009) I get an error saying that I have the wrong adb. so I went to sdk dir/tools and checked it out, running adb version. Sure enough, 1.0.18. including after a restart. Could I have vry specific

[android-beginners] Re: Development Phone

2009-08-04 Thread Android Developer
You can install app as well in a t-mobile without SIM card. You can install either from eclipse or by downloading the apk file. On Aug 4, 8:19 am, Abhiram Alamuru alamuru420...@gmail.com wrote: I've got an unlocked t-mobile g1 and it works fine without the sim. I can use wifi, browse, play

[android-beginners] Re: Import SMS?

2009-08-04 Thread Mohamed
Yes, I have the goal as you. But off hand I decided that I need to write an application to import my old messages from a csv file into android message database. But I hope there would be a way to gain access to the database.. as root or something. Please let me know if you come across a

[android-beginners] AnalogClock - how do i set it to show 18:50 in my app and never change?

2009-08-04 Thread Richard
Hi I would like to show an Analog clock in my android app and set it to a specific time, say 18:50 and never change. I have created an AnalogClock view and added it to the activity but it only ever shows the current time and I can't find a function call change it to the time I want. Is it even

[android-beginners] Poor quality contact photos

2009-08-04 Thread Daniel
Hi - is there any way (or an app) to improve the quality of the contact photos, even pictures taken with my dSLR and put on my HTC Hero look terrible when I'm making or receiving calls. Thanks --~--~-~--~~~---~--~~ You received this message because you are

[android-beginners] Re: I'm really new

2009-08-04 Thread Jens Vegeby
I like the pdf books at http://www.commonsware.com They are rather cheap too. On Aug 2, 2009 10:34 PM, mhart michael.web...@gmail.com wrote: Hey everyone I am really new to coding for the android, I have recently become disgusted with the iPhone and Apple inc. as a whole. I have a Development

[android-beginners] Re: Customization of Dialogs

2009-08-04 Thread Balwinder Kaur (T-Mobile)
Did you try ? dialog.requestWindowFeature(Window.FEATURE_NO_TITLE); 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 necessarily represent those

[android-beginners] Doing a periodical task. Counter?

2009-08-04 Thread Alex Mendez
Hi, I'm new on Android and I just made my first application openning a new Activity with a button and some other stuff but now I want to do something that have to be refreshed every little time or as fast as possible like a counter. When you program in C or Java you can make a loop and a counter

[android-beginners] Re: opengl + android

2009-08-04 Thread Dmaxi
Hi! You can study some tutorials here: http://www.anddev.org Robert On júl. 27, 10:28, Gargo changeyourmindifyou...@gmail.com wrote: Can anybody post here where to get examples of using opengl? --~--~-~--~~~---~--~~ You received this message because you are

[android-beginners] Re: A complete newbie

2009-08-04 Thread Yusuf T. Mobile
You go, Dvisionj! tinyang is right about the two things you need to learn: Java language and then Android platform. You don't need to learn Linux to do Android programming. You also don't have to study every Java subject there is (such as Swing or Servlets), just get comfortable with the

[android-beginners] Re: How to capture sound level?

2009-08-04 Thread Alex Mendez
This doesn't work with the emulator but it does work on my device. On Jul 28, 8:07 pm, Balwinder Kaur (T-Mobile) balwinder.k...@t- mobile.com wrote: Does this help ? MediaRecorder recorder = new MediaRecorder(); recorder.setAudioSource(MediaRecorder.AudioSource.MIC); int maxvol =

[android-beginners] Re: How to capture sound level?

2009-08-04 Thread Balwinder Kaur (T-Mobile)
Ofcourse :) The emulator is not equipped to do recording. 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 necessarily represent those of

[android-beginners] Re: Doing a periodical task. Counter?

2009-08-04 Thread Roman
You are missing in the onResume method super.onResume(); -- 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 not necessarily represent those of T-Mobile USA,

[android-beginners] Re: Doing a periodical task. Counter?

2009-08-04 Thread Mark Murphy
Roman wrote: You are missing in the onResume method super.onResume(); Not to mention the fact that, since the OP is doing all the TextView updates in a tight loop, only the last one will wind up having a visual impact. What I really want to do is to get the sound level in the mic while

[android-beginners] Re: AlertBuilder and Handler Problem

2009-08-04 Thread Lorenz
Thanks Kaur,it works.. but if I want to do some action in the thread after the user has choose ???Namely there is a way to do something like this..:(I've used NEW ) public void run() { final CharSequence[] items = {Ottimo, Buono, Sufficiente,Insufficiente};

[android-beginners] Re: A complete newbie

2009-08-04 Thread Dvisionj
thank guys, much appreciated :-) --~--~-~--~~~---~--~~ 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 To unsubscribe from this group, send

[android-beginners] Recording Video code sample

2009-08-04 Thread Gazy
Anyone got a good sample? I tried to compile the google cam app itself but somehow the code was missing lots of declarations etc. Thanks, Gaz --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To

[android-beginners]

2009-08-04 Thread saurabh sinha
I need a notification example in android. Please send me a example --~--~-~--~~~---~--~~ 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 To

[android-beginners] Re: [android-developers] Re: How to Run J2SE Code on Android

2009-08-04 Thread michaelchikit
Android is using Dalvik VM. That is a sub-set of J2SE with extra Android functions. On 05/08/2009 9:06am, Mark Murphy mmur...@commonsware.com wrote: Watermarker wrote: I am new to Android development. I am developing in Eclipse with Android plugin. I am trying to execute the

[android-beginners] Authentication and Handling Cookies in Android

2009-08-04 Thread Persona
Hello, I am in some kind of a fix... I have been reading around the subject above and I think Android materials available are very patchy, and the Android documentation is not very useful without enough experience. I have never worked with cookies in Java (only PHP)- and the pages I have read

[android-beginners] Re: unable to install ADT plugin for europa eclipse 3.3

2009-08-04 Thread swapnil
Hi, It is the problem of Eclipse version you are using. The Eclipse should be updated. Just go to Software updates option in Help menu of Eclipse update it first then ADT will get installed properly. Regards, Swapnil --~--~-~--~~~---~--~~ You received this