[android-beginners] Application not scrolling

2010-07-05 Thread Tanay M. Kapoor
Ok this is probably a stupid question but, i have an activity in my application, its a form with lots of editTexts and buttons and it is longer than the screen can show in one time... and in my emulator when a click the down button to move to the next editText the screen does now scroll with it...

[android-beginners] Application not scrolling

2010-07-05 Thread Tanay M. Kapoor
ok this might be a very stupid question... but im using eclipse for my android development i have an activity which contains a form which exceeds the length of the screen... but when i press the down button while running the app on the emulator to move the cursor to the lower editTexts, the

Re: [android-beginners] Using Methods in a Service from an Activity

2010-04-20 Thread Tom F M White
: Tom F M White wrote: I'm calling start a relatively long time later, several seconds. Do I need to call onServiceConnected() myself? No, it should be called shortly after you call bindService(). This suggests that your bindService() call is failing for some reason (e.g., your service

[android-beginners] Images Reused in a ListView

2010-04-20 Thread Tom F M White
I've made a custom ListAdaptor, with associated View, that displays an icon on the left of each list item, with three lines of text to the right. In MyView.onCreate(), the icons are populated using imageView.setImageDrawable(Drawable.createFromStream(URL)); each item on the list is it's own

Re: [android-beginners] Images Reused in a ListView

2010-04-20 Thread Tom F M White
you paste some code On Tue, Apr 20, 2010 at 5:19 PM, Tom F M White fred...@gmail.com mailto:fred...@gmail.com wrote: I've made a custom ListAdaptor, with associated View, that displays an icon on the left of each list item, with three lines of text to the right. In MyView.onCreate

Re: [android-beginners] Images Reused in a ListView

2010-04-20 Thread Tom F M White
Thanks for your help. On 20/04/2010 15:37, Mark Murphy wrote: Tom F M White wrote: TripleText is just an object for storing 4 strings, 3 for the text, 1 for the image URL. Rest of the code follows, sorry it's quite long... TripleTextView: public class TripleTextView extends LinearLayout

[android-beginners] Media Player App

2010-04-19 Thread Tom F M White
Hi I'm making a simple media player app, that streams files from a site. Currently the fundamentals of my app work, it is downloading the track info, and playing the files fine. However, at the moment it isn't working in a user-friendly manner, and usually getting it to play more than one song

Re: [android-beginners] Media Player App

2010-04-19 Thread Tom F M White
... -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Mon, Apr 19, 2010 at 10:47 AM, Tom F M White fred...@gmail.com mailto:fred...@gmail.com wrote: Hi

[android-beginners] Using Methods in a Service from an Activity

2010-04-19 Thread Tom F M White
Further to my previous email, I have sketched out how my Media Player will work with the actual MediaPlayer object in a separate service, MediaService. I can't work out how to make calls, and retrieve data from the service. Following tutorials online has lead me to this: MyApp.java - top level

Re: [android-beginners] Using Methods in a Service from an Activity

2010-04-19 Thread Tom F M White
On 19/04/2010 21:36, Mark Murphy wrote: Tom F M White wrote: Further to my previous email, I have sketched out how my Media Player will work with the actual MediaPlayer object in a separate service, MediaService. I can't work out how to make calls, and retrieve data from the service

Re: [android-beginners] Using Methods in a Service from an Activity

2010-04-19 Thread Tom F M White
On 19/04/2010 21:43, Mark Murphy wrote: Tom F M White wrote: I'm calling start a relatively long time later, several seconds. Do I need to call onServiceConnected() myself? No, it should be called shortly after you call bindService(). This suggests that your bindService() call

[android-beginners] Moving the first gallery item to left

2010-03-26 Thread Shyam M
Hi, Looking at the Gallery example in the link http://developer.android.com/guide/tutorials/views/hello-gallery.html I see that the first item in the gallery is placed at Center Is there a way to move the first gallery item to left?? any thoughts would be of help. Thanks, Shyam -- You received

[android-beginners] RSS feeds

2010-03-14 Thread Tanay M. Kapoor
ok i just started with some android application development !!! and want to get data from RSS feeds of a few websites... how do i do that ? I've looked in quite a few books and online but cudnt really find anything substantial... can any1 help me out ? -- You received this message because you

[android-beginners] Re: RSS feeds

2010-03-14 Thread Tanay M. Kapoor
i've looked at webviews... the only use i can derive out of these are displaying the webpage within my activity... but what im looking to do is making an application which will read rss feeds from different websites and let me display the feeds at will... webview just enable me to show the web

[android-beginners] Re: [android-developers] Select wallpaper from..

2010-02-25 Thread Manjunatha M
Can anyone from android help me on this?? On Mon, Feb 22, 2010 at 12:30 PM, Manjunatha M man...@gmail.com wrote: Hi Dianne et al, Can any one help me on this?? regards, Manju On Thu, Feb 18, 2010 at 10:34 PM, Manjunatha M man...@gmail.com wrote: Hi, To hide my activity from the list

[android-beginners] Fast way of drawing lines between two points anywhere on screen. OpenGL ES.

2010-02-21 Thread M
Hi guys, I'm getting closer to wrapping up my game project but facing an interesting issue now with the game so looking for help on how to do this. I need to draw lines (lasers) in orthogonal 2D coordinate space using OpenGL but I cannot nail down a quick way to do so. Usually I draw everything

[android-beginners] Re: Traceview, OutOfMemoryError - How to make it work again

2010-02-09 Thread M
What confuses the living daylights out of me is that I'm running TraceView via command line. Just using basic : traceview.bat traceFile or traceview traceFile Am I supposed to give the parameters ... where again? I googled how to increase the heap size on Eclipse and it said that after the

[android-beginners] Re: Traceview, OutOfMemoryError - How to make it work again

2010-02-09 Thread M
I'm guessing the -xmx1024M is the one that tells the max amount if memory if I'm correct.. but uhh... I still don't see how it works. I'm just bogged about this. I tried all sorts of variations of the original one and this one but ... nope, nothing. -- You received this message because you are

[android-beginners] Re: Traceview, OutOfMemoryError - How to make it work again

2010-02-09 Thread M
Oh wow, even more confusing. The batch nor the init file has nothing even remotely related to -Dcom.android.traceview... ... I just cannot get this thing to work. Hmmh... Seriously, why did google provide such akward to use tools to accompany Android? Watching their speaks from youtube makes me

[android-beginners] Re: Traceview, OutOfMemoryError - How to make it work again

2010-02-09 Thread M
Ok let's try this again. I vented out my initial frustration, now I'm back on my seat and trying to figure out this once again. :) So here goes. Here you can see my traceview.bat and eclipse.ini files: http://pastebin.com/m6537e1c8 They are the original ones again. I'm absolutely clueless

[android-beginners] Re: NullPoinerException in XML

2010-02-03 Thread Mike M
Can you provide the LogCat output? Then we can see where the NullPointerException is coming from... As far as scroll bars, you can wrap the root element in the tab (which would be the TableLayout in the above example) with a ScrollView. On Feb 3, 10:39 am, Chirayu Dalwadi

[android-beginners] How to add a toggle list to a view

2010-01-13 Thread Mike M
Hey all, I've seen some of the demos to create a list that you can add items to (toggle list). There's an example in the API Demos (http:// tinyurl.com/yfscgl9). This creates an activity that is nothing but a toggle list (it extends the ListActivity) I want to add a list that I can add items

[android-beginners] Launching Browser in Preference Activity.

2010-01-11 Thread Manjunatha M
Hi folks, I want to List Item in Preference activity. and I want to launch a Browser with a URL which can change dynamically, When I click on that Item. Can anyone let me know how can i Achieve??? -- Regards, Manjunatha -- You received this message because you are subscribed to the Google

[android-beginners] Re: MD5 Hash is wrong

2009-12-10 Thread Mike M
static String MD5_Hash(String s) { MessageDigest m = null; try { m = MessageDigest.getInstance(MD5); } catch (NoSuchAlgorithmException e) { e.printStackTrace(); } m.update(s.getBytes(),0,s.length()); String hash = new

[android-beginners] how to open another application with Intent

2009-12-10 Thread Mike M
I am wondering if there is a way to open another Application (not Activity) with intents. I want users to be able to look at the pictures on their device, so when they push a button, it will open the GalleryPicker that comes on Android devices. I've debugged my Droid when I am on the Home screen

[android-beginners] Re: how to open another application with Intent

2009-12-10 Thread Mike M
Samuh, thanks for the link. I was able to get what I wanted with the following code: Intent i = new Intent(); i.setAction(Intent.ACTION_VIEW); i.setComponent(new ComponentName(com.android.gallery, com.android.camera.ImageGallery));

[android-beginners] Re: move a triangle...

2009-12-06 Thread M
is quite. Will the phone be able to handle all those calculations? That’s why I was first trying to see if there is a class with a suitable behavior for me to extend. In the spirit of Android, M ;-))) On Dec 1, 12:40 pm, M mila.crid...@yahoo.com wrote: Hi! I am trying to move a triangle

[android-beginners] MD5 Hash is wrong

2009-12-06 Thread Mike M
Hey guys, I'm trying to get an MD5 Hash in my Android app, but it's not giving the correct hash. For example, in my app I have this: MD5_Hash hash = new MD5_Hash(); myHash = hash.Hash(What I want to Hash); I get this from the above code: 306a801b82d299c8e965c2bf1d7fc18 I go to a website

[android-beginners] Dynamically added ImageView pacement

2009-12-02 Thread Mike M
Hey all, I'm trying to add ImageView's dynamically, and I want them to be placed next to each other. Everything I try just puts them on top of each other: for (int i=0; i num_photos; i++) { ImageView iv = new ImageView(this); iv.setLayoutParams(new

[android-beginners] move a triangle...

2009-12-02 Thread M
scratch calculating if the user clicks inside of the triangle (which would be a closed Path) and then the coordinates of the triangle to move it subsequently? Thanks to ya'! M ;-))) -- You received this message because you are subscribed to the Google Groups Android Beginners group. To post

[android-beginners] Re: Unable to display ContextMenu in a ListView with multiple components

2009-11-15 Thread Gray-M
I've had a similar problem. I believe that the issue is that the ListView does not like to have 'focusable' items. I wanted a CheckBox I could initialize but then I lost the context menu. I've reverted to using CheckedTextView instead. This has problems if you want to set the initial state of the

[android-beginners] How to create context menus when using CursorAdapter in ListActivity's

2009-11-11 Thread Gray-M
I cannot figure out how to get a context menu when using a class derived from CursorAdapter in my ListActivity. Using a SimpleCursorAdapter works fine ... onCreate(Bundle b) { ... SimpleCursorAdapter sca = new SimpleCursorAdapter(...); setListAdapter(sca);

[android-beginners] Edit Text === Problem..please help

2009-10-29 Thread Nat M
Hi all, My AVD automatically takes = (equal) sign in edit texts. I have changed my AVD several times already. As soon as some edit text shows up on screen it starts filling = sign in it and keeps on doing it. Please Help. Thanks --~--~-~--~~~---~--~~ You

[android-beginners] LinearLayout consumes extra space inside TableLayout

2009-10-26 Thread J. L. M.
I'm working on the UI for my first application. I have a TableLayout with a grid of buttons. There are three buttons in each row. Each button should take up 1/3 of the horizontal space. In the last cell of this table, I want two buttons, each taking up half of the cell's horizontal space (so 1/6

[android-beginners] Android Emulator

2009-10-25 Thread Nat M
Hi, My android emulator on eclipse takes = (Equal to) sign in its default google toolbar and doesnt allows any of my activities/projects to load. Does anyone know about this issue?? If so please tell me what am I doing wrong? Thanks in Advance.

[android-beginners] Focus android widget.

2009-09-25 Thread Manjunatha M
Hi, Is there a way to highlight the widget in the android home screen by using DPAD, and on selecting the widget using the keypad, launches the app for the widget. Where do I make change in Launcher.java or workspace.java??? -- Regards, Manjunatha

[android-beginners] Re: Focus android widget.

2009-09-25 Thread Manjunatha M
should i make the layout of the widget as focusable? or is there any other way to do that?? On Fri, Sep 25, 2009 at 12:38 PM, Romain Guy romain...@google.com wrote: No change needed, make the widget focusable/clickable. On Sep 25, 2009 12:05 AM, Manjunatha M man...@gmail.com wrote: Hi

[android-beginners] Re: Focus android widget.

2009-09-25 Thread Manjunatha M
android:initialLayout=@layout/widget_new / But no luck.. Could you please help me on this?? On Fri, Sep 25, 2009 at 12:38 PM, Romain Guy romain...@google.com wrote: No change needed, make the widget focusable/clickable. On Sep 25, 2009 12:05 AM, Manjunatha M man...@gmail.com wrote: Hi, Is there a way

[android-beginners] Enable / Disable android widgets runtime.

2009-09-22 Thread Manjunatha M
Hi All, I am writing an widget application for android. I have a requirement where i need to disable the widget on some intent, i.e., I have the remove the widget from the android home screen and remove from menu options so that the user cannot add the widget further. I have to enable the

[android-beginners] problem in

2009-09-09 Thread Mahsa M
Hi I want to down load one .apk file to my SDcard from the URL, but I got error when i want to create the file, if any body know the problem can you please help me, my code crash on the red line, my code is public class download extends Activity { /** Called when the activity is first

[android-beginners] Issue with using fill_parent on Donut

2009-08-26 Thread m
Here is the XML of a camera test application that worked on the cupcake branch. The preview size spans the entire screen on cupcake. However the same app does not work on the Donut branch without explicitly setting the width and height to 800 and 400 dp respectively? Why doesn't fill_parent work

[android-beginners] Problem in opening the Stream

2009-08-21 Thread M Awais
HI i m facing an urgent issue, as i tried to open the following URL through coding it gives me exception at OpenStream().. illegal Character at home index 0: the URL is: http://viralmesh_iphone.s3.amazonaws.com/lowURcholesterol/myplan.json i also tried to encode the URL bt no vail... here

[android-beginners] textview inside listview

2009-06-30 Thread Tanay M. Kapoor
Hi, i am trying to make a address book application to do this i have prepared a textview to represent each contact info and a list view in which i want to place this textview. but i am unable to do this some one please help out if you could sent me the code my email is tmkap...@gmail.com Thank

[android-beginners] Imageview / Event problem

2009-05-05 Thread Oliver M. Batista
the event affects only the imageview clicked( which is the result that I want) What do I have to change to having the same result but using the same drawable? thank u for advance -- Oliver M. Batista --~--~-~--~~~---~--~~ You received this message because you

[android-beginners] Re: Eclipse android setup, cannot for the life of me!

2009-04-29 Thread m...@josephlancaster.com
Did you figure it out? I have similar issue. --~--~-~--~~~---~--~~ 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

[android-beginners] Re: ImageView Listener

2009-04-24 Thread Oliver M. Batista
are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Apr 22, 4:11 pm, Oliver M. Batista olivermbati...@gmail.com wrote: Hello guys, i'm having a problem with this imageview listener (see code below) well the click event

[android-beginners] ImageView Listener

2009-04-23 Thread Oliver M. Batista
Hello guys, i'm having a problem with this imageview listener (see code below) well the click event is only triggered when I click on the square00 item (this is ok) but on the onclick method that does the action, i use the reference passed by the method and the action is applied to all the

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

2009-04-09 Thread anand m joseph
to connect Android with Sqlite3. To: android-beginners@googlegroups.com Dear Group, Actually i m working in an Android application on which i want to connect the Android with Sqlite3.0.i wrote the code for connecting that one,but not connected,plz help me -- Thanks

[android-beginners] Suggestion needed

2009-03-04 Thread Niranjani M
Hi all, I wanna develop or enhance one of google android's applications.Could someone suggest which application would be better to start with as am a beginner apart from notepad application? Regards, Niranjani --~--~-~--~~~---~--~~ You received this message

[android-beginners] core Android mail - access to emails from other applications

2009-02-26 Thread Piotr M
Is there any possibility to get the emails downloaded to the mobile from other application than core android mail client? Since there's no content provider for email, I suppose no. Am I right? Does anybody know is there going to be any mail provider in the future? Thanks in advance. Piotr M

[android-beginners] autocompletetextview without keyboard input

2008-11-30 Thread John M.
Hello, This is what i am doing, I have a AutoCompleteTextView that filters the contact names while you type them similar to what the sms app does right now. In my app I have a virtual keyboard and I need the same functionality to happen when I type with my VK. For example, When I open the

[android-beginners] what Eclipse do i need ?

2008-11-12 Thread Rajesh Pandian M
what IDE do need for supporting Android SDK ? i.e what should i download from here http://www.eclipse.org/downloads/ either Eclipse Java or C/C++ or J2EE ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-beginners] Re: Could Not Find HelloAndroid.apk!

2008-09-26 Thread Kevin M
Here's the error: Description: Error generating final archive: Unable to get debug signature key Resource: HelloAndroid Location: Unknown Type: Generic ADT Problem --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-beginners] Re: Could Not Find HelloAndroid.apk!

2008-09-25 Thread Kevin M
[2008-09-25 17:17:21 - HelloAndroid] Android Launch! [2008-09-25 17:17:21 - HelloAndroid] adb is running normally. [2008-09-25 17:17:21 - HelloAndroid] Could not find HelloAndroid.apk! --~--~-~--~~~---~--~~ You received this message because you are subscribed to