[android-beginners] Re: problems with emulator

2010-01-26 Thread jj
weird... On Jan 22, 7:06 am, Indicator Veritatis wrote: > I am glad you solved the problem. Now as for which team should check > it out: this sounds like anemulatorissues, not an Android issue. So > someone (you?) should file the bug with the people who write theemulator. > > On Jan 21

[android-beginners] Re: problems with emulator

2010-01-21 Thread jj
orked straight away... It would be good if someone from the android team can check this out Thanks On Jan 19, 8:40 pm, jj wrote: > Hi > > I am trying to run it from console, and the error that I get is just a > window telling > emulator.exe has detected a problem and must clo

[android-beginners] Re: problems with emulator

2010-01-19 Thread jj
hat case can you tell me the exact > error which you on getting on console when it crashes. > > -Regards > Aryan > > > > On Tue, Jan 19, 2010 at 10:06 AM, jj wrote: > > Thanks for your reply, but unfortunately, I did try most of the sdk's: > > Release 1.6 r1

[android-beginners] Re: problems with emulator

2010-01-19 Thread jj
ly need to use the old SDK. > > On Jan 19, 3:47 am, jj wrote: > > > Hi > > I recently moved from linux (where I was developing for android using > > eclipse) to windows > > > I just downloaded the sdk (android-sdk- windows-1 .0_r1.zip), and the > > emulator

[android-beginners] problems with emulator

2010-01-19 Thread jj
Hi I recently moved from linux (where I was developing for android using eclipse) to windows I just downloaded the sdk (android-sdk- windows-1 .0_r1.zip), and the emulator does not start... I dont even see it. Just a screen telling that has been an error, and the posibility to inform microsoft! ab

[android-beginners] Re: SurfaceView on G1

2009-04-30 Thread jj
n(String[]) line: 497 NativeStart.main(String[]) line: not available [native method] Thread [<13> Binder Thread #2] (Running) Thread [<11> Binder Thread #1] (Running) Thanks On May 1, 12:55 am, Mark Murphy wrote: > jj wrote: > > Hi > > &

[android-beginners] SurfaceView on G1

2009-04-30 Thread jj
Hi I am finally testing my application on a G1 and even though it works fine on the emulator, it crashes on the G1 it crashes when it does: setContentView(R.layout.mylayout); the xml is fairly simple: and the view is defined like this: public class myView ext

[android-beginners] G1

2009-04-30 Thread jj
Hi I am trying to test my app on a G1 (it works on the emulator), but it crashes straight away I am trying to debug it, but all I see on the G1 screen is a message saying "Waiting For Debugger", and it takes forever... I also put: android:debuggable="true" on the xml, and still not working...

[android-beginners] webView

2009-04-29 Thread jj
Hi everybody I am having a little issue with the WebView package: I am able to load and show pages, but the scroll does not work this is my xml: and this is the code: WebView myTextHelp = (WebView)findViewById(R.id.textHelp); myTextHelp.loadUrl(myPage); and I can see

[android-beginners] pictures and buttons

2009-04-21 Thread jj
Hi Does anybody knows how can I put a Bitmap on top of a button, but without taking the whole surface? at the moment, what I am doing is: BitmapDrawable bd=new BitmapDrawable(myBitmap); Button myButton.setBackgroundDrawable(bd); and the picture occupies the whole button... is there any way to

[android-beginners] memory problems

2009-04-17 Thread jj
Hi I know this is more a java question, but I have been in many java forums, and the theory seems to contradict the real thing... I have a very simple function that creates memory, do something with it, and returns: static void test(int k) { byte [] buff = new byte[k]; //do som

[android-beginners] problems with bitmaps

2009-04-09 Thread jj
Hi everybody I am having a problem with the BitmapFactory: this is my function, that reads a stream, and returns a bitmap: static Bitmap getBitmap(InputStream is) throws IOException { Bitmap bmp=null; //do some stuff... bmp=BitmapFactory.decodeS

[android-beginners] progressDialog

2009-04-09 Thread jj
Hi everybody I am having a problem displayin a ProgressDialog. I hope someone can show me what I am doing wrong... void doStuff() { myProgressDialog = ProgressDialog.show(layout.getContext(),"Please wait...", "Downloading content...", true); /* Here I do my stuff */ myProgressDialog

[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: WebKit

2009-03-07 Thread jj
hey man! thanks it works now On Mar 7, 8:58 pm, Mark Murphy wrote: > jj wrote: > > Hi all > > I am trying to open a web page using webKit > > > I am doing this > > > WebView myWeb = new WebView(this); > > myWeb.loadUrl("http://www.google.com"

[android-beginners] WebKit

2009-03-07 Thread jj
Hi all I am trying to open a web page using webKit I am doing this WebView myWeb = new WebView(this); myWeb.loadUrl("http://www.google.com";); setContentView(myWeb); but I cannot see anything please, can anybody tell me what I am missing? Thanks a lot! --~--~-~--~~~---

[android-beginners] Add contact to G1

2009-01-28 Thread JJ
Hi all. I have made a program that it add contact to the G1, but this is in Favorites and not in the correct section Contacts. My code is: ContentValues values = new ContentValues(); Uri phoneUri = null; values.put(Contacts.People.NAME, "New Contact 1"); //1 = th

[android-beginners] Authentication using login / password with Android.

2009-01-26 Thread JJ
Hi all. I have to make a program with authenticacion in a page where is need use login and password. I dont know how can i do it... i see some examples of this, but there isnt any example i can use to do it. ¿For where can i begin to make this?... ¿what class i have to see first?. Thanks for

[android-beginners] Problem with DateFormat.format

2009-01-19 Thread JJ
Hi all. I have a problem using *DateFormat.format *because i think the last class of DateFormat have been changed in the last SDK. Now, i dont think how can i do the format of date and if the correct class to do it is java.sql.Date or java.util.Date... The code is: String fecha = DateFormat.fo

[android-beginners] changing the position of a Layout in runtime

2008-12-12 Thread jj
Hi there is it possible to change the position (or size) of a layout, defined in the xml file as: android:layout_width="378px" android:layout_height="62px" android:layout_marginLeft="7px" android:layout_marginTop="44px" in runtime, this is, using j

[android-beginners] Re: : How to change postion of Button at Runtime

2008-12-12 Thread jj
Hi did you find the problem to it? I am in the same situation... thanks On Oct 29, 1:18 pm, Imran wrote: > let me put the question in this way > > in main.xml  for Button we write > > android:id="@+id/widget38" > android:layout_width="50px" > android:layout_height="37px" > android:text="Butto

[android-beginners] position UI components

2008-12-07 Thread jj
Hi is there a way of placing UI components (EditText, Button, etc..) in a specific place of the screen? (apart from the xml code, I want to do this programatically) Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

[android-beginners] 2D over 3D

2008-11-20 Thread jj
Hi I am porting an application based on the sdk 3.0, and I am having countless problems... now, I am struggling trying to put 2D graphics on top of a 3D scene... After a lot of headache, I managed to create a opengl context, which now works, but when I try to put 2D graphics on top of it, this