[android-beginners] Re: Get list from Website ( PHP , MySQL , HTTP request , XML )

2009-04-09 Thread Mark Murphy
DemOlitioN wrote: > I found a tutorial from Apress called 'Apress Android Tutorials July > 2008' and found an example that was about 90% similar to what i want > (with the source code) but when i try it i get errors and I cant find > a way to contact Apress(site is down etc) That tutorial is rath

[android-beginners] Re: Install Android on a LapTop

2009-04-09 Thread Mark Murphy
Jean Guillon wrote: > Can I install Android on a Laptop ? That would probably be a question for whoever might be working on porting Android to work on your variety of laptop. You might consider scanning the archives of the [android-porting] Google Group to see if anyone is porting Android to you

[android-beginners] Re: How to: (new) HTTP API

2009-04-09 Thread Mark Murphy
yves wrote: > I've read a lot of tutorials explaining how to use the HTTP Client > from the previous Android SDK. > With SDK 1.1 r1 this API has totally changed. > > Is there any tutorial for this new API? HttpClient is a product of the Apache Foundation. Documentation, including examples, can b

[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] Re: Change the location of the tab in a TabLayout

2009-04-09 Thread Gopalkrishna Sharma
I don't think a Gallery would work for what I'm trying to do. I've attached something of a schematic of what I'm trying to do to this reply. Hopefully it attaches fine. It's a crude diagram, but it should convey the intent. In case the image doesn't show up, here's a description: In the default t

[android-beginners] Re: Change the location of the tab in a TabLayout

2009-04-09 Thread rylance
Where is it you plan on moving the tab to? if you plan on using a vertical tab arrangement is it not easier to use a gallery view. Sorry still a little confused on what you plan on doing. On Wed, Apr 8, 2009 at 5:19 AM, gps wrote: > > Bump! > > Is this possible?? > > On Mar 1, 6:20 pm, Nathan Ma

[android-beginners] Re: Using GDATA from within Android for calendar access?

2009-04-09 Thread gps
Does your AndroidManifest.xml mention that your app needs internet access? If you don't then you would get an exception when you do anything that tries to use the internet. Look up permissions if you don't know what I'm referring to. >From the looks of it you just had eclipse fill in an auto gene

[android-beginners] Get list from Website ( PHP , MySQL , HTTP request , XML )

2009-04-09 Thread DemOlitioN
Im having a problem. I am trying to build a software that communicates with a website. simply, i would like to have a php webpage that when i click a button it creates an alert on the phone. I planned on doing that by using a mysql database to with the website where the click from the webpage wi

[android-beginners] selling android-games based on Google Maps

2009-04-09 Thread DogenX
Hi, I want to develop an Android-Game, which is going to make use of Google Maps. Can I actually sell that game or has it to be free of any charge? I have read the "Terms and Conditions" of the Google Maps API and that is the reason why I am not sure if I can actually sell my game. My game is n

[android-beginners] Install Android on a LapTop

2009-04-09 Thread Jean Guillon
Can I install Android on a Laptop ? Thx --~--~-~--~~~---~--~~ 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 grou

[android-beginners] OnDraw in subclass of ImageView not working with custom canvas drawing

2009-04-09 Thread George
I subclassed the ImageView class inorder to draw a Picture in an ImageView. The ImageView is added to a Gallery In my activity class: Gallery g = (Gallery) findViewById(R.id.gallery); g.setAdapter(new ImageAdapter(this)); My Adapter class: private class ImageAdapter extends BaseAdapter{ .. public

[android-beginners] How to determine where a CheckedTextView is 'clicked'

2009-04-09 Thread JP
Hello, I want to know if a user has selected the text portion or the check box graphic portion of a CheckedTextView. I want different behaviour depending on where they select. If they click on the text then I want to edit the underlying object and if they select the check box then I want to close

[android-beginners] Subclassed ImageView does not draw in Gallery View

2009-04-09 Thread George
I am subclassing the ImageView class and adding to the Gallery View. But, nothing seems to get drawn in the expected location; though I can fling through the Gallery list. I added an image from a resource, and it shows up correctly in the Gallery. Any idea on why this may be happening? Here is t

[android-beginners] get information from web service

2009-04-09 Thread Zee
I am new at this and I was hoping someone can point me in the right direction. I created an endpoint (web service) in MSSQL Server. I know that that uses soap to communicate. How do I go about using that web service in android. A tutorial would be great. I have seen some tutorials using kSOAP bu

[android-beginners] Emulator boot without the GUI interface, just show the "ADDROID" screen saver

2009-04-09 Thread sherman
Hi all I had fellow the "To check out the cupcake branch (http:// source.android.com/roadmap/cupcake)" instruction to check out the "cupcake" branch of android. After "make" the cupcake source code, i copy those three image files (ramdisk.img,system.img,userdata.img) @ /out/target/product/gener

[android-beginners] How to: (new) HTTP API

2009-04-09 Thread yves
I've read a lot of tutorials explaining how to use the HTTP Client from the previous Android SDK. With SDK 1.1 r1 this API has totally changed. Is there any tutorial for this new API? Is it possible to interact with a J EE application? I mean, on the one side there is the J EE Application on the

[android-beginners] MVC model state change requires creating an Intent?

2009-04-09 Thread nick.titatingmembr...@googlemail.com
Hi, I have a main activity class that launches a couple of my subordinate activities from a tabHost. Periodically (actually when I receive an incoming message on a socket), I want to inform the subordinate activities that application state has changed so that they can refresh their views. In Sw

[android-beginners] Re: Spinner development

2009-04-09 Thread swati shamkuwar
Hi Abhijeet Refer this link maybe it helps you :- http://developer.android.com/guide/tutorials/views/hello-spinner.html On Tue, Apr 7, 2009 at 7:23 PM, Abhijeet Naik wrote: > > Hello all, > > I am a newbie to Android. I would like to know how to start about > developing a spinner, text fields a

[android-beginners] Multicast problem

2009-04-09 Thread Thiago B.
Hi, I'm trying to develop an application that need to send UDP Multicast packets to the local network. There is a few equipments that respond to this packets and send back some informations. I'm not worried with the server right now, because there is a server on the same network that collect all t

[android-beginners] Emulator boot without the GUI interface, just show the "ADDROID" screen saver

2009-04-09 Thread sherman
Hi all I had fellow the "To check out the cupcake branch (http:// source.android.com/roadmap/cupcake)" instruction to check out the "cupcake" branch of android. After "make" the cupcake source code, i copy those three image files (ramdisk.img,system.img,userdata.img) @ /out/target/product/gener

[android-beginners] Re: Change the location of the tab in a TabLayout

2009-04-09 Thread gps
Bump! Is there a way to do this? This would be incredibly useful when having a tab layout in horizontal screen orientation. The tabs themselves take up a lot of vertical screen space... On Mar 1, 6:20 pm, Nathan Maves wrote: > Is there a way to place the tabs on the side or better yet the botto

[android-beginners] Seeking shipping info for dew phone to Australia

2009-04-09 Thread jm
Thinking of purchasing an Android Dev Phone, but can't find any info of the price of shipping to Australia. Not wishing to pay $US25 to join the market place just to find pricing I've been searching the web and discussing it on the local Linux User Group mailing list. So far I've found a coupl

[android-beginners] Emulator boot without the GUI interface, just show the "ADDROID" screen saver

2009-04-09 Thread sherman
Hi all I had fellow the "To check out the cupcake branch (http:// source.android.com/roadmap/cupcake)" instruction to check out the "cupcake" branch of android. After "make" the cupcake source code, i copy those three image files (ramdisk.img,system.img,userdata.img) @ /out/target/product/gener

[android-beginners] Handler location for asynchronous operations?

2009-04-09 Thread ParanoidAndroid
I use handlers to display Toasts. These handler must be inside of an Activity, right? Now I wonder what happens when I want to show that toast with a certain delay due to an asynchronous operation. E.g. I retrieve some details from a server and want to notify the user of the result. The activity

[android-beginners] Re: how to connect Android with Sqlite3.

2009-04-09 Thread anand m joseph
haiii i will send some code for go thro in that and make the one object of that one in u r activity class and use this... import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.SQLException; import android.database.sqlite.S

[android-beginners] Re: Change the location of the tab in a TabLayout

2009-04-09 Thread gps
Bump! Is this possible?? On Mar 1, 6:20 pm, Nathan Maves wrote: > Is there a way to place the tabs on the side or better yet the bottom   > of the layout? > > Nathan Maves > nathan.ma...@gmail.com --~--~-~--~~~---~--~~ You received this message because you are s

[android-beginners] Restoring the active Activity while resuming the application - sent again

2009-04-09 Thread Omer Saatcioglu
Hello all, I have two activities running: MainActivity and ChildActivity. Whenever the user clicks in the button in MainActivity, the ChildActivity is launched. What I want to do is this: When the active activity is the ChildActivity and the user clicks the home button then relaunch the applicat

[android-beginners] Using GDATA from within Android for calendar access?

2009-04-09 Thread andreas
Hi, I'm really just a beginner and fiddling a little bit around with java and my G1. I'd like to create a calendar event from the phone and learned, that there is no Android API for the calendar. I thought it should be possible to access the google calendar via web. I googled a bit and found som

[android-beginners] Scrolling TextView without the dimming effect?

2009-04-09 Thread sh...@kfold.org
When scrolling in a TextView it has an annoying effect that dims the background while scrolling (touch scrolling). This makes the text very hard to read and difficult for the user to know when to stop scrolling. See RoboTop application in the market to see what I mean. I'm not sure what is causin

[android-beginners] How to: (new) HTTP API

2009-04-09 Thread yves
I've read a lot of tutorials explaining how to use the HTTP Client from the previous Android SDK. With SDK 1.1 r1 this API has totally changed. Is there any tutorial for this new API? Is it possible to interact with a J EE application? I mean, on the one side there is the J EE Application on the

[android-beginners] Restoring the active Activity while resuming the application

2009-04-09 Thread Omer Saatcioglu
Hello all, I have two activities running: MainActivity and ChildActivity. Whenever the user clicks in the button in MainActivity, the ChildActivity is launched. What I want to do is this: When the active activity is the ChildActivity and the user clicks the home button then relaunch the applicati

[android-beginners] Restoring the active Activity while resuming the application

2009-04-09 Thread Omer Saatcioglu
Hello all, I have two activities running: MainActivity and ChildActivity. Whenever the user clicks in the button in MainActivity, the ChildActivity is launched. What I want to do is this: When the active activity is the ChildActivity and the user clicks the home button then relaunch the applicat

[android-beginners] Re: How to destroy an Activity in android

2009-04-09 Thread raj.10788
hi, as per mark told you use the finish() method to end the activity. when you finish() the activity the onDestroy() will get called. I hope your don the onCreat() and OnDestroy() methods well. On Apr 8, 8:39 am, Rohit Kundalkar wrote: > @Override >     public void onDestroy() { >         su

[android-beginners] Scrolling TextView without the dimming effect?

2009-04-09 Thread sh...@kfold.org
I have an application that uses TextView with scrolling and it has a very annoying effect that dims the text when touch based scrolling is used so you can barely see the text you are trying to scroll. (Same effect in the emulator when you click the mouse and scroll). I'm not sure where this effec

[android-beginners] Restoring the active Activity while resuming the application

2009-04-09 Thread Omer Saatcioglu
Hello all, I have two activities running: MainActivity and ChildActivity. Whenever the user clicks in the button in MainActivity, the ChildActivity is launched. What I want to do is this: When the active activity is the ChildActivity and the user clicks the home button then relaunch the applicat

[android-beginners] Handing incoming calls

2009-04-09 Thread marc.poppleton
Hi, I'm having issues using the android.intent.action.ANSWER Intent. >From what I understand in the reference documentation, it's an Activity Action, not a Broadcast Action. This means that I can't "wake up" my app by setting a intent-filter on it, it means I can send the intent to ask android t

[android-beginners] Re: progressDialog

2009-04-09 Thread Arnaud Weber
If i understand correctly, you're showing it and closing it in the same thread and in the same method... That seem wrong to me in event driven development. I would have a piloting thread (like the one which instantiate your activity) that launch your long process IN ANOTHER THREAD, and create the

[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] Re: Button in Custom View

2009-04-09 Thread ayush
hi, the LayoutInflater Class is used to obtain the View (i.e. buttons, textfields etc) from a layout specified in an XML document. in your case, the XML file contains Button elements. to use these button elements in your program, you have to first use the LayoutInflater class, which will take