[android-beginners] Application not scrolling
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... I have confirmed that i can input in the text filed and even click the buttons...but hte screen does not move down to show these elements ...? is there any setting i have to do to make this happen??? -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Application not scrolling
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 screen does not move down with it... the editTexts are not visible to me... and i have confirmed that they are there and i am also able to enter values in them and click teh buttons but the screen just doesnt scroll down is there a setting to make this happen... please help :/ Thank you -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Using Methods in a Service from an Activity
Ok, I've found the problem, for anyone else having trouble. In the tutorial, onBind() returns null, I created a MediaBinder class within MediaService, that implemented my MediaInterface, calling the relevant methods in MediaService. This works nicely. 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 is failing for some reason (e.g., your service is not registered in your manifest). Here is a sample project from one of my books showing the use of bindService(): http://github.com/commonsguy/cw-android/tree/master/Service/WeatherPlus/ -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Images Reused in a ListView
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 object, so each of these is done individually for each list item. However when viewing the list, the first few items display correctly, but as you scroll down the list, those images that were not visible initially are replaced with the same images used in the top few items, so 4/5 images end up reused for the entire list. The text for each list item is correct. What is going wrong? Tom -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Images Reused in a ListView
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 { private TextView mText1; private TextView mText2; private TextView mText3; private String imageURL; private ImageView image; private Drawable imageDrawable; public TripleTextView(Context context, TripleText tt) { super(context); this.setOrientation(HORIZONTAL); //add image imageURL = tt.getImageURL(); try { Log.v(TTV,Loading Drawable from: +imageURL); imageDrawable = Drawable.createFromStream(new URL(imageURL).openStream(), src); Log.v(TTV,Image created ok); } catch (MalformedURLException e) { Log.v(TTV,Malformed URL); } catch (IOException e) { Log.v(TTV,IO Exception); } image = new ImageView(context); image.setImageDrawable(imageDrawable); addView(image, new LinearLayout.LayoutParams( LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); LinearLayout subLayout = new LinearLayout(context); subLayout.setOrientation(VERTICAL); mText1 = new TextView(context); mText1.setText(tt.getText1()); subLayout.addView(mText1, new LinearLayout.LayoutParams( LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); mText2 = new TextView(context); mText2.setText(tt.getText2()); subLayout.addView(mText2, new LinearLayout.LayoutParams( LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); mText3 = new TextView(context); mText3.setText(tt.getText3()); subLayout.addView(mText3, new LinearLayout.LayoutParams( LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); addView(subLayout, new LinearLayout.LayoutParams( LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); } public void setText1(String words) { mText1.setText(words); } public void setText2(String words) { mText2.setText(words); } public void setText3(String words) { mText3.setText(words); } public void setImageURL(String imageURL) { this.imageURL = imageURL; } } TripleListAdapter: public class TripleListAdapter extends BaseAdapter { private Context mContext; private ListTripleText mItems = new ArrayListTripleText(); public TripleListAdapter(Context context) { mContext = context; } public void addItem(TripleText it) { mItems.add(it); } public void setListItems(ListTripleText lit) { mItems = lit; } public int getCount() { return mItems.size(); } public Object getItem(int position) { return mItems.get(position); } public boolean areAllItemsSelectable() { return false; } public boolean isSelectable(int position) { try{ return mItems.get(position).isSelectable(); }catch (IndexOutOfBoundsException aioobe){ return false; } } public long getItemId(int position) { return position; } public View getView(int position, View convertView, ViewGroup parent) { TripleTextView ttv; if (convertView == null) { ttv = new TripleTextView(mContext, mItems.get(position)); } else { ttv = (TripleTextView) convertView; ttv.setText1(mItems.get(position).getText1()); ttv.setText2(mItems.get(position).getText2()); ttv.setText3(mItems.get(position).getText3()); ttv.setImageURL(mItems.get(position).getImageURL()); } return ttv; } } On 20/04/2010 15:25, Martin Obreshkov wrote: Can 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(), the icons are populated using imageView.setImageDrawable(Drawable.createFromStream(URL)); each item on the list is it's own object, so each of these is done individually for each list item. However when viewing the list, the first few items display correctly, but as you scroll down the list, those images that were not visible initially are replaced with the same images used in the top few items, so 4/5 images end up reused for the entire list. The text for each list item is correct. What is going wrong? Tom -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android
Re: [android-beginners] Images Reused in a ListView
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 { private TextView mText1; private TextView mText2; private TextView mText3; private String imageURL; private ImageView image; private Drawable imageDrawable; public TripleTextView(Context context, TripleText tt) { super(context); this.setOrientation(HORIZONTAL); //add image imageURL = tt.getImageURL(); try { Log.v(TTV,Loading Drawable from: +imageURL); imageDrawable = Drawable.createFromStream(new URL(imageURL).openStream(), src); Log.v(TTV,Image created ok); } catch (MalformedURLException e) { Log.v(TTV,Malformed URL); } catch (IOException e) { Log.v(TTV,IO Exception); } image = new ImageView(context); image.setImageDrawable(imageDrawable); addView(image, new LinearLayout.LayoutParams( LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); LinearLayout subLayout = new LinearLayout(context); subLayout.setOrientation(VERTICAL); mText1 = new TextView(context); mText1.setText(tt.getText1()); subLayout.addView(mText1, new LinearLayout.LayoutParams( LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); mText2 = new TextView(context); mText2.setText(tt.getText2()); subLayout.addView(mText2, new LinearLayout.LayoutParams( LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); mText3 = new TextView(context); mText3.setText(tt.getText3()); subLayout.addView(mText3, new LinearLayout.LayoutParams( LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); addView(subLayout, new LinearLayout.LayoutParams( LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); } public void setText1(String words) { mText1.setText(words); } public void setText2(String words) { mText2.setText(words); } public void setText3(String words) { mText3.setText(words); } public void setImageURL(String imageURL) { this.imageURL = imageURL; } } TripleListAdapter: public class TripleListAdapter extends BaseAdapter { private Context mContext; private ListTripleText mItems = new ArrayListTripleText(); public TripleListAdapter(Context context) { mContext = context; } public void addItem(TripleText it) { mItems.add(it); } public void setListItems(ListTripleText lit) { mItems = lit; } public int getCount() { return mItems.size(); } public Object getItem(int position) { return mItems.get(position); } public boolean areAllItemsSelectable() { return false; } public boolean isSelectable(int position) { try{ return mItems.get(position).isSelectable(); }catch (IndexOutOfBoundsException aioobe){ return false; } } public long getItemId(int position) { return position; } public View getView(int position, View convertView, ViewGroup parent) { TripleTextView ttv; if (convertView == null) { ttv = new TripleTextView(mContext, mItems.get(position)); } else { ttv = (TripleTextView) convertView; ttv.setText1(mItems.get(position).getText1()); ttv.setText2(mItems.get(position).getText2()); ttv.setText3(mItems.get(position).getText3()); ttv.setImageURL(mItems.get(position).getImageURL()); } return ttv; } } In getView(), in the case where convertView is not null, you are calling setImageURL(), then doing nothing with that value to actually load in the replacement image. Also, you are downloading the images on the main application thread. That's going to be a problem -- your UI will freeze, and eventually Android may kill it off with an application not responding error. Please download your images off the main application thread, such as via an AsyncTask. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Media Player App
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 is a big problem. Here is the basic structure: The main Activity is a ListActivity, on which the list of tracks on the site is displayed. Clicking these launches a Details Activity, which shows track info, artwork etc. and a play button. The play button launches the NowPlaying Activity, where the content is fetched and played. The idea is that once a track is playing, the user can continue to browse other tracks, and return to the NowPlaying Activity via the menu. At the moment, I can go back to the list, or to the Details Activity for the song that is playing, but loading up the Details Activity for another song causes the sound to stop, and then trying to play other songs doesn't work, they do not buffer or play. I'm pretty sure this is because rather than re-using the same Details/NowPlaying Activities to display different content, new ones are getting spawned but I'm not sure about this, or sure how I would overcome this. In particular it is important there is only one NowPlaying Activity, as this handles Notifications, and contains the MediaPlayer object, of which I only want one. I'm not really sure what to ask for, perhaps my explanation of the problem can help someone point out what I'm doing wrong. Thanks in advance Tom -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Media Player App
Thanks for your reply, I'm looking into the documentation for Services now. Tom On 19/04/2010 19:31, Justin Anderson wrote: First, whatever is playing the music should run as a service and not as an activity... I would probably create a NowPlayingService and a NowPlayingActivity. Activities don't run in the background. When they are no longer visible they are paused by the OS. Services are allowed to run in the background and that is exactly how the built-in music player on Android works. It has a service in the background that actually plays the music. You can find more about this here: http://developer.android.com/guide/topics/fundamentals.html#servlife If you are already doing that then I'm not sure offhand what the problem is exactly. You may need to provide more details unless someone else has any idea... -- 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 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 is a big problem. Here is the basic structure: The main Activity is a ListActivity, on which the list of tracks on the site is displayed. Clicking these launches a Details Activity, which shows track info, artwork etc. and a play button. The play button launches the NowPlaying Activity, where the content is fetched and played. The idea is that once a track is playing, the user can continue to browse other tracks, and return to the NowPlaying Activity via the menu. At the moment, I can go back to the list, or to the Details Activity for the song that is playing, but loading up the Details Activity for another song causes the sound to stop, and then trying to play other songs doesn't work, they do not buffer or play. I'm pretty sure this is because rather than re-using the same Details/NowPlaying Activities to display different content, new ones are getting spawned but I'm not sure about this, or sure how I would overcome this. In particular it is important there is only one NowPlaying Activity, as this handles Notifications, and contains the MediaPlayer object, of which I only want one. I'm not really sure what to ask for, perhaps my explanation of the problem can help someone point out what I'm doing wrong. Thanks in advance Tom -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com mailto:android-beginners%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Using Methods in a Service from an Activity
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 Activity, in onCreate(): ... MediaConnection conn = new MediaConnection(); StateApp state = (StateApp) getApplicationContext(); bindService( new Intent(this,MediaService.class), conn, Context.BIND_AUTO_CREATE); state.setMediaConnection(conn); ... MediaView.java - View for playing media files, in play button onClick(): ... StateApp state = (StateApp) context.getApplicationContext(); MediaConnection conn = state.getMediaConnection(); conn.start(mediaLocation); ... MediaConnection implements ServiceConnection: public class MediaConnection implements ServiceConnection, MediaInterface{ private Binder service; public void start(String loc){ MediaInterface i = (MediaInterface)service; i.start(loc); } public void onServiceDisconnected(ComponentName cn){ Log.i(INFO, Service unbound ); } public void onServiceConnected(ComponentName cn, IBinder b){ service = (Binder)b; Log.i(INFO, Service bound ); } } Which throws a NullPointerException at i.start(loc). Can anyone tell me what I'm doing wrong? -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Using Methods in a Service from an Activity
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. Following tutorials online has lead me to this: MyApp.java - top level Activity, in onCreate(): ... MediaConnection conn = new MediaConnection(); StateApp state = (StateApp) getApplicationContext(); bindService( new Intent(this,MediaService.class), conn, Context.BIND_AUTO_CREATE); state.setMediaConnection(conn); ... MediaView.java - View for playing media files, in play button onClick(): ... StateApp state = (StateApp) context.getApplicationContext(); MediaConnection conn = state.getMediaConnection(); conn.start(mediaLocation); ... MediaConnection implements ServiceConnection: public class MediaConnection implements ServiceConnection, MediaInterface{ private Binder service; public void start(String loc){ MediaInterface i = (MediaInterface)service; i.start(loc); } public void onServiceDisconnected(ComponentName cn){ Log.i(INFO, Service unbound ); } public void onServiceConnected(ComponentName cn, IBinder b){ service = (Binder)b; Log.i(INFO, Service bound ); } } Which throws a NullPointerException at i.start(loc). Can anyone tell me what I'm doing wrong? Off the cuff, I would guess that you are calling start() before Android calls onServiceConnected(). I'm calling start a relatively long time later, several seconds. Do I need to call onServiceConnected() myself? -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Using Methods in a Service from an Activity
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 is failing for some reason (e.g., your service is not registered in your manifest). Here is a sample project from one of my books showing the use of bindService(): http://github.com/commonsguy/cw-android/tree/master/Service/WeatherPlus/ Some strange behaviour, the service is being started ok, and bindService() is returning true, yet onServiceConnected() never seems to be called, and I can't seem to find a reason. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Moving the first gallery item to left
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 this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-beginners] RSS feeds
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 are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: RSS feeds
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 page... is there a way to make the web view read rss feeds??? -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: [android-developers] Select wallpaper from..
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 in Select wallpaper from I have actually written a BroadcastReceiver which on boot completed, does the following. @Override public void onReceive(Context context, Intent intent) { ComponentName componentName = new ComponentName( com.android.manju, com.android.manju.MyActivity.class); int component_state = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT; if (toEnable) { component_state = PackageManager.COMPONENT_ENABLED_STATE_ENABLED; } else { component_state = PackageManager.COMPONENT_ENABLED_STATE_DISABLED; } if (context.getPackageManager().getComponentEnabledSetting( componentName) == component_state) return; PackageManager pm = context.getPackageManager(); pm.setComponentEnabledSetting(componentName, component_state, PackageManager.DONT_KILL_APP); } Though the activity is disabled, I could still see my activity in the Select wallpaper from menu.. Please help on this.. On Sun, Feb 14, 2010 at 1:30 AM, Dianne Hackborn hack...@android.comwrote: Use PackageManager.setComponentEnabledSetting() to disable that activity when you don't want it displayed. On Sat, Feb 13, 2010 at 1:44 AM, Manjunatha M man...@gmail.com wrote: yes.. I want that to be configurable. sometimes to show and sometimes not to show in the list of select wallpaper from On Sat, Feb 13, 2010 at 12:07 PM, venkat ranjit ranjit0...@gmail.comwrote: Hi manjuntha ur question is not clear , tell me clearly, in my understanding u want shortcut of ur activity (custom activity). in wallpaper , i want clarity k Regards, Ranjit On Sat, Feb 13, 2010 at 10:03 AM, Manjunatha M man...@gmail.comwrote: Hi Folks, I want to show my Activity in HomeScreen-Menu Press-Wallpapers. This should be dynamic, so that, for some check this should show, and otherwise it should not show. Could anyone please help on this?? -- Regards, Manjunatha -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-develop...@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-develop...@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Regards, Manjunatha -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-develop...@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-develop...@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Regards, Manjunatha -- Regards, Manjunatha -- Regards, Manjunatha -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Fast way of drawing lines between two points anywhere on screen. OpenGL ES.
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 using gl.glDrawArrays(); and it's proven to be fairly good way of rendering everything in my tile based world. But the lasers are giving me a headache. I need to be able to draw line between two points and the two points can be anywhere on the screen. This makes it next to impossible to predefine the lines. If I only had to do horizontal / vertical lines I could easily solve this but since the two points can be anywhere on the screen and I need to be able to draw a line between them no matter the angle / direction. My current implementation is a really lousy one and definitely hits the FPS a bit too heavily. When ever I need to draw a line between two points (which is quite often) I call a shoot method that takes in two positions (start and end of the line) and draws a line between them. It defines the vertices everytime I call shoot. I define them by doing the whole thing: // CODE START // PASTEBIN LINK FOR THE SAME CODE : http://pastebin.com/m4faa750b float lineVertices[] = { pos1.x, pos1.y, pos2.x, pos.y }; ByteBuffer bb = ByteBuffer.allocateDirect(lineVertices.length * 4); bb.order(ByteOrder.nativeOrder()); line = bb.asFloatBuffer(); line.put(lineVertices); line.position(0); // CODE END And after that I can render it using the gl.glDrawArrays(); easily. Anyone got any better solution? Any way of predefining all the possible lines or other fancy stuff to optimize it a bit. It's obvious that this current implementation is horrible. Causes excessive GC and just slows things down. So looking ways of drawing simple lines between two arbitary points on screen as fast as possible because it happens often. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Traceview, OutOfMemoryError - How to make it work again
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 eclipse command line parameters or the eclipse.ini. This is my eclipse.ini file: --- ECLIPSE.INIT START -startup plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519 -product org.eclipse.epp.package.jee.product --launcher.XXMaxPermSize 1024M -showsplash org.eclipse.platform --launcher.XXMaxPermSize 1024m -vmargs -Dosgi.requiredJavaVersion=1.5 -Xms1024m -Xmx1024m - ECLIPSE.INI END --- I tried randomly changing the values that could be the right values but nothing good came out of this, still the same problem... umm... So.. I didn't really get anywhere, obviously because I have no clue of what I'm doing so a bit more help and I should be there. Thank you. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Traceview, OutOfMemoryError - How to make it work again
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 subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Traceview, OutOfMemoryError - How to make it work again
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 really feel like they really thought of this but working with this makes me want to kill myself at times. It's so furiously frustrating. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Traceview, OutOfMemoryError - How to make it work again
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 about this at point. Didn't get me any wiser even though I read Eclipses FAQ on how to increase the heap sice, got nothing out of it. The answer is staring me right in the face but I just cannot see it... Anyone? Want to push me around a bit more? -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: NullPoinerException in XML
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 chirayu.dalw...@gmail.com wrote: Guys please help me out On Wed, Feb 3, 2010 at 5:26 PM, Chirayu Dalwadi chirayu.dalw...@gmail.comwrote: Hi all, In the below XML, I'm getting NullPointerException. What is the reason behind that? I also want scroll bars in th same XML. How to do that? ? xml version=*1.0* encoding=*utf-8*? ? xml version=*1.0* encoding=*utf-8*? TabHost xmlns:android=*http://schemas.android.com/apk/res/android* android:id =*@+id/my_tabhost* android:layout_width =*fill_parent* android:layout_height =*fill_parent* android:background =*#ff* TabWidget android:id=*@android:id/tabs* android:layout_width=*fill_parent* android:layout_height=*65px*/ FrameLayout android:id=*@android:id/tabcontent* android:layout_width=*fill_parent* android:layout_height=*200px* android:paddingTop=*65px* TableLayout android:id=*@+id/TableLayout01* android:layout_width=*fill_parent* android:layout_height=*fill_parent* xmlns:android=*http://schemas.android.com/apk/res/android* TableRow TextView android:id=*@+id/lbl1* android:layout_width=*wrap_content* android:layout_height=*wrap_content* android:layout_column=*0* **android:layout_marginTop=*10dip* android:text=*@string/lbl1*/ Spinner android:id=*@+id/spinner* android:layout_width=*fill_parent* android:layout_height=*wrap_content* android:drawSelectorOnTop=*true* android:prompt=*@string/planet_prompt*/ / TableRow / TableLayout / FrameLayout / TabHost Warm Regards, Chirayu Dalwadi -- Warm Regards, Chirayu Dalwadi Cell Number: +91-997-470-4341 Email: chirayu.dalw...@gmail.com Profile:http://www.google.com/profiles/chirayu.dalwadi Pain is temporary. Quitting lasts forever. -- Lance Armstrong -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] How to add a toggle list to a view
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 to the bottom of by using an EditText area and a button. But I want this to be PART of my activity, not the entire activity. I've tried the code below, but it's not working: private ListView mAdapter; private ArrayAdapterString listViewArrayAdapter; private ArrayListString mStrings = new ArrayListString(); setContentView(R.layout.test); mAdapter = new ListView(this); listViewArrayAdapter = new ArrayAdapterString(this, android.R.layout.simple_list_item_1, mStrings); mAdapter.setAdapter(listViewArrayAdapter); The layout has a List view: ListView android:id=@id/android:list android:layout_width=fill_parent android:layout_height=0dip android:layout_weight=1 android:stackFromBottom=true android:transcriptMode=normal / I don't know if I'm going in the right direction. Can someone explain how to do this? Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Launching Browser in Preference Activity.
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 Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: MD5 Hash is wrong
Hey guys, Thanks for all the replies. I am sending the hash in a URL to a website to verify the information being sent. Every time I sent it with the above hash, it didn't work. When I sent it with a hash from another source (like a website that creates hashes), it worked. Niko20, sorry I didn't reference the function. I didn't realize it wasn't a built in API. I imported another library for my project, and I guess it gets imported from there. I eventually used code similar to the sample you provided and it worked. Thanks for the suggestion. The code I ended up using is: public 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 BigInteger(1, m.digest()).toString(16); return hash; } On Dec 7, 1:55 pm, Kevin Duffey andjar...@gmail.com wrote: Dan Niko20, little uptight this morning? It's amazing what happens when you're actually nice in responses instead of so harsh. If you're going to help out, why send a 3rd reply with such an attitude. On Mon, Dec 7, 2009 at 12:36 PM, niko20 nikolatesl...@yahoo.com wrote: And what the hell is your MD5_Hash function look like anyway? That's not a built in android API. Crimony, give some info next time! Obviously your MD5 function is messed up. -niko On Dec 7, 2:33 pm, niko20 nikolatesl...@yahoo.com wrote: Try this: public String md5(String s) { try { // Create MD5 Hash MessageDigest digest = java.security.MessageDigest.getInstance (MD5); digest.update(s.getBytes()); byte messageDigest[] = digest.digest(); // Create Hex String StringBuffer hexString = new StringBuffer(); for (int i=0; imessageDigest.length; i++) hexString.append(Integer.toHexString(0xFF messageDigest [i])); return hexString.toString(); } catch (NoSuchAlgorithmException e) { e.printStackTrace(); } return ; } Found it on google search On Dec 7, 2:32 pm, niko20 nikolatesl...@yahoo.com wrote: Just a a side note, why do you care if it doesn't match? Unless you are comparing MD5's to ones generated elsewhere, you are still getting a unique hash. And as long as you compare to only hashes generated by android it will always match -niko On Dec 7, 1:14 pm, Justin Anderson janderson@gmail.com wrote: Have you verified the website is correct by checking with a couple different hash generation sites? On Dec 6, 2009 11:00 PM, Mike M mike.mos...@gmail.com wrote: 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 that will calculate MD5 hashes, and enter What I want to Hash, and get this: 306a8001b82d299c8e965c2bf1d7fc18. It does this every time; for some reason it strips one of the 0's. Has anyone noticed this? Is there another / bettter way to get a hash ? Thanks -- 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 email to android-beginners+unsubscr...@googlegroups.comandroid-beginners%2Bunsubscr i...@googlegroups.comandroid-beginners%2Bunsubscr i...@googlegroups.com For more options, visit this group athttp:// groups.google.com/group/android-beginners?hl=en -- 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 email to android-beginners+unsubscr...@googlegroups.comandroid-beginners%2Bunsubscr i...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- 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 email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] how to open another application with Intent
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 and I open the GalleryPicker. Here's the debugs: INFO/ActivityManager(1015): Starting activity: Intent { act=android.intent.action.MAIN cat= [android.intent.category.LAUNCHER] flg=0x1020 cmp=com.android.camera/.GalleryPicker } I am trying to use this code: Intent i = new Intent(); i.addCategory(Intent.CATEGORY_LAUNCHER); i.setAction(Intent.ACTION_MAIN); i.setComponent(new ComponentName(com.android.camera, .GalleryPicker)); i.setFlags(0x1020); startActivity(i); When I hit the button, here is what I get in the debugs: INFO/ActivityManager(1015): Starting activity: Intent { act=android.intent.action.MAIN cat= [android.intent.category.LAUNCHER] flg=0x1020 pkg=com.android.camera cmp=com.android.camera/.GalleryPicker } ERROR/AndroidRuntime(31059): android.content.ActivityNotFoundException: Unable to find explicit activity class {com.android.camera/.GalleryPicker}; have you declared this activity in your AndroidManifest.xml? Any ideas, or is this futile? Thanks -- 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 email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: how to open another application with Intent
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)); i.setData(Uri.parse(content://media/internal/images/media)); startActivity(i); I guess I was trying to open the wrong area. This will open the gallery to view all the media on the sdcard. Thanks On Dec 10, 7:33 am, Samuh samuh.va...@gmail.com wrote: Hi, this might help: http://android-developers.blogspot.com/2009/11/integrating-applicatio... -- 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 email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: move a triangle...
So, again, I need help with a design issue. ;-))) I am trying to translate and rotate, following user input, a couple of triangles for a game. Sure enough, to get the user input, I have: public class TangroidView extends SurfaceView implements SurfaceHolder.Callback Only, what class should I use/extend for the triangles? Or should I go from scratch? I could extend View because it get user input but View is rectangular which is not OK for clicking on the triangle. By the way, may View be other than rectangular? Should I extend ShapeDrawable which takes a Path but, as it, does not take user input? Create a png file of the triangle but... the ImageView will be rectangular again? Or yet, go with OpenGL 3D but use only the 2D? They seem to have some nice methods to move and rotate shapes... Or go totally from scratch calculating if the user clicks inside of the triangle (a closed Path) and the coordinates to move the triangle subsequently? By the way, none of existing graphic objects (Path, for instance) keeps track and return the coordinates of the points that have been used to create them. And... it doesn't look like there is a Coordinates class. So, I feel like there is no suitable class to extend for them, so should I go from scratch? Meaning… getting the coordinates of the user clicks, then calculating, using determinants, to see if it falls on the triangle and which one, then move or rotate this particular triangle by calculating its new coordinates… which 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 for a graphic application following user input. May a View be other than rectangular? Should I extend ShapeDrawable which, as it, does not take user input? Create a png file of the triangle but the ImageView will be rectangular again? Or go totally from 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 to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] MD5 Hash is wrong
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 that will calculate MD5 hashes, and enter What I want to Hash, and get this: 306a8001b82d299c8e965c2bf1d7fc18. It does this every time; for some reason it strips one of the 0's. Has anyone noticed this? Is there another / bettter way to get a hash ? Thanks -- 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 email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Dynamically added ImageView pacement
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 LayoutParams(45, 45)); iv.setAdjustViewBounds(true); iv.setScaleType(ImageView.ScaleType.CENTER_INSIDE); iv.setPadding(0, 0, 0, 0); RelativeLayout rl = (RelativeLayout) findViewById (R.id.rl); //I've tried: rl.addView(iv); //I've tried: rl.addView(iv, 2); //I've tried: rl.addView(iv, new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); } Any ideas? Thanks in advance... -- 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 email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] move a triangle...
Hi! I am trying to move a triangle for a graphic application following user input. May a View be other than rectangular? Should I extend ShapeDrawable which, as it, does not take user input? Create a png file of the triangle but the ImageView will be rectangular again? Or go totally from 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 to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Unable to display ContextMenu in a ListView with multiple components
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 check boxes (say to reflect cached values from a dB) as it always appears to set the items unchecked. On Nov 12, 7:16 pm, mattd matt.se...@gmail.com wrote: Hi all, I have a layout that I can't invoke the ContextMenu on. My XML for the layout and individual row for each item is here: http://www.pastie.org/695992 If I take out the LinearLayout and CheckBox component in the row xml (leaving only the TextView component), I can invoke the ContextMenu. But not when those other two elements are there. Why is that? -- 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 email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] How to create context menus when using CursorAdapter in ListActivity's
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); registerForContextMenu(getListView()); } Overriding onCreateContextMenu(...) and onContextMenuItemSelected(...) all work fine with the context menu behaving as expected (ie appearing an functioning) However, changing to use a class derived from CursorAdapter results in no callbacks to either of the two above methods. I have noticed that in this version the List View items don't get 'highlighted' when I click on them - so there is probably some problem in linking the View created in the CursorAdapter back to the register function Here is the code protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.adapted_list); mDbHelper = new MyDbAdapter(this); mDbHelper.open(); Cursor cursor = mDbHelper.getAllEntries(); startManagingCursor(cursor); setListAdapter(new CheckBoxAdapter(this, cursor)); registerForContextMenu(getListView()); } CheckBoxAdapter derives from CursorAdapter and implements the newView and bindView overrides. The objective being to have each list row as a number of widgets (text, checkBox) etc. This part is working fine including the callback to the checkBox. I've not shown onCreateContextMenu(...) and onContextMenuItemSelected(...) as they are not being called. -- 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 email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Edit Text === Problem..please help
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 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 email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] LinearLayout consumes extra space inside TableLayout
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 of the screen width in size). I thought that the way to do this was to put a LinearLayout into the TableRow, and the two buttons into that. What happens, is that the cell grows a little bit in size, even though there is plenty of space to accommodate the two buttons. So the first two buttons are not 1/3 of the screen width each. The following XML is a simple case to show the problem. I have three tables, the first shows the size of the buttons for a regular row with only three buttons. The second shows what happens when I put one button into the LinearLayout. This looks good, and is just what I expect. The third table shows what happens when I put the second button into the LinearLayout. Suddenly, the first two buttons are smaller, even though I see no reason for the LinearLayout to require extra space. By setting the two buttons inside the LinearLayout to wrap_content, you can clearly see that there is still extra space to the right of the fourth button in this table. I have played with a number of XML attributes in the LinearLayout to try and get not to expand, but I have had no success. If anyone knows what I am doing wrong here I would be grateful for their wisdom. Thank you for your time. ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent !-- First table, to show relative button sizes -- TableLayout android:layout_width=fill_parent android:layout_height=wrap_content android:stretchColumns=0,1,2 TableRow Button android:id=@+id/button_1 android:text=1 android:textSize=10.5pt / Button android:id=@+id/button_2 android:text=2 android:textSize=10.5pt / Button android:id=@+id/button_3 android:text=3 android:textSize=10.5pt / /TableRow /TableLayout !-- Second table, one button in the LinearLayout, button sizes ok -- TableLayout android:layout_width=fill_parent android:layout_height=wrap_content android:stretchColumns=0,1,2 TableRow Button android:id=@+id/button_4 android:text=4 android:textSize=10.5pt / Button android:id=@+id/button_5 android:text=5 android:textSize=10.5pt / LinearLayout android:orientation=horizontal android:layout_width=wrap_content android:padding=0px android:layout_marginTop=0px android:layout_marginBottom=0px android:layout_marginLeft=0px android:layout_marginRight=0px Button android:id=@+id/button_6 android:text=6 android:textSize=10.5pt android:layout_width=wrap_content android:layout_height=fill_parent / /LinearLayout /TableRow /TableLayout !-- Third table, same as second, but with a second button in the LinearLayout. Now buttons 7 and 8 are smaller. Since the two buttons in the LinearLayout do not consume all of the screen space, the other buttons do not need to be made smaller -- TableLayout android:layout_width=fill_parent android:layout_height=wrap_content android:stretchColumns=0,1,2 TableRow Button android:id=@+id/button_7 android:text=7 android:textSize=10.5pt / Button android:id=@+id/button_8 android:text=8 android:textSize=10.5pt / LinearLayout android:orientation=horizontal android:layout_width=wrap_content android:padding=0px android:layout_marginTop=0px android:layout_marginBottom=0px android:layout_marginLeft=0px android:layout_marginRight=0px Button android:id=@+id/button_9 android:text=9 android:textSize=10.5pt android:layout_width=wrap_content android:layout_height=fill_parent / !-- If this button is commented out, buttons 7 and 8 are the right size, and button 9 is placed in the correct location. -- Button android:id=@+id/button_a android:text=A android:textSize=10.5pt android:layout_width=wrap_content android:layout_height=fill_parent / /LinearLayout /TableRow /TableLayout /LinearLayout --~--~-~--~~~---~--~~ 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 email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Android Emulator
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. --~--~-~--~~~---~--~~ 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 email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Focus android widget.
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 --~--~-~--~~~---~--~~ 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 email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Focus android widget.
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, 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 -- Regards, Manjunatha --~--~-~--~~~---~--~~ 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 email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Focus android widget.
Hi Romain, I tried with the following xml. ?xml version=1.0 encoding=utf-8? appwidget-provider xmlns:android= http://schemas.android.com/apk/res/android; android:minWidth=146dp android:minHeight=146dp android:focusable=true android:updatePeriodMillis=8640 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 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 -- Regards, Manjunatha --~--~-~--~~~---~--~~ 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 email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Enable / Disable android widgets runtime.
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 widget on some intent, so that, the framework automatically adds the widget to the home screen, by calculating the empty position available on the home screen, and the many option re-appears in order to add the widget further. Please let me know if this can be possible.. Regards, Manjunatha --~--~-~--~~~---~--~~ 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 email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] problem in
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 created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); final int mode=this.MODE_PRIVATE; setContentView(R.layout.main); final Button btn=(Button)findViewById(R.id.Button01); btn.setOnClickListener(new Button.OnClickListener() { public void onClick(View v) { try{ URL sourceUrl = new URL( http://www.androidfreeware.org/getfile/OperaMini_4.0.apk;); HttpURLConnection conn= (HttpURLConnection)sourceUrl.openConnection(); conn.setDoInput(true); conn.connect(); InputStream is = conn.getInputStream(); FileOutputStream fos = openFileOutput(/sdcard/mahsa.apk, mode); int read = 0; byte[] buffer = new byte[512]; BufferedInputStream bis = new BufferedInputStream(is); do{ read = bis.read(buffer); if(read 0){ fos.write(buffer, 0, read); } }while(read != -1); }catch (Exception e) { Log.e(error, bad application); } } }); } } --~--~-~--~~~---~--~~ 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 email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Issue with using fill_parent on Donut
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 on the Donut branch? Example XML ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=fill_parent android:layout_height=fill_parent android:gravity=center_horizontal SurfaceView android:id=@+id/preview_surface android:layout_width=800dp-- These lines HAVE to be added for donut android:layout_height=480dp -- but not for cupcake to get full screen preview android:layout_alignParentLeft=true android:layout_alignParentTop=true /SurfaceView /LinearLayout Thanks! --~--~-~--~~~---~--~~ 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 email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Problem in opening the Stream
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 is my code also: URL httpURL = null; URLConnection con = null; httpURL = new URL(page_URL); con = httpURL.openConnection(); StringBuffer jsonText = new StringBuffer(readInputStreamData (con.getInputStream())); thnx in advance --~--~-~--~~~---~--~~ 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 email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] textview inside listview
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 you... --~--~-~--~~~---~--~~ 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 email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Imageview / Event problem
Hi guys, i have a class that dinamically create one imageview and a event listener to make a change on the imageview. When I create 2 instances of this class using the same drawable (from R) and click on one of the imageviews both imageviews are been changed AND when I use different drawables 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 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 email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Eclipse android setup, cannot for the life of me!
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 group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: ImageView Listener
Hi Jack, well you guess right. It's a board game so I use the same drawable/image at the begining. The layout is this basically, squares using the same image. Can't I use the same image all over my game? Sorry don't send you the layout file it's because i'm writing from work =P thanks 2009/4/23 Jack Ha (T-Mobile USA) jack...@t-mobile.com Can you post your layout file here? Are the other imageviews on the activity pointing to the same image as square00? -- Jack Ha 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 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 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 imageviews on the Activity but I want the action to be apllied only for the square00 imageview. Somebody knows what's wrong? public class HelloDroid extends Activity implements OnClickListener { /** Called when the activity is first created. */ // Create an anonymous implementation of OnClickListener private OnClickListener mCorkyListener = new OnClickListener() { public void onClick(View v) { // do something when the button is clicked ImageView asd = (ImageView)v; asd.setAlpha(50); } }; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); // Capture our img from layout ImageView img2 = (ImageView)findViewById(R.id.square00); // Register the onClick listener with the implementation above img2.setOnClickListener(mCorkyListener); } } -- Oliver M. Batista --~--~-~--~~~---~--~~ 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 email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] ImageView Listener
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 imageviews on the Activity but I want the action to be apllied only for the square00 imageview. Somebody knows what's wrong? public class HelloDroid extends Activity implements OnClickListener { /** Called when the activity is first created. */ // Create an anonymous implementation of OnClickListener private OnClickListener mCorkyListener = new OnClickListener() { public void onClick(View v) { // do something when the button is clicked ImageView asd = (ImageView)v; asd.setAlpha(50); } }; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); // Capture our img from layout ImageView img2 = (ImageView)findViewById(R.id.square00); // Register the onClick listener with the implementation above img2.setOnClickListener(mCorkyListener); } } --~--~-~--~~~---~--~~ 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 email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: how to connect Android with Sqlite3.
access helper class. Defines the basic CRUD operations * for the notepad example, and gives the ability to list all notes as well as * retrieve or modify a specific note. * * This has been improved from the first version of this tutorial through the * addition of better error handling and also using returning a Cursor instead * of using a collection of inner classes (which is less scalable and not * recommended). */ public class NotesDbAdapter { public static final String KEY_TITLE = title; public static final String KEY_BODY = body; public static final String KEY_ROWID = _id; private static final String TAG = NotesDbAdapter; private DatabaseHelper mDbHelper; private static SQLiteDatabase mDb; static boolean firsttime=false; /** * Database creation sql statement */ private static final String DATABASE_CREATE = create table notes (_id integer primary key autoincrement, + title text not null, body text not null);; private static final String DATABASE_NAME = Nightdtdb; private static final String DATABASE_TABLE = notes; private static final int DATABASE_VERSION = 2; private final Context mCtx; private static class DatabaseHelper extends SQLiteOpenHelper { DatabaseHelper(Context context) { super(context, DATABASE_NAME, null, DATABASE_VERSION); } @Override public void onCreate(SQLiteDatabase db) { firsttime=true; db.execSQL(DATABASE_CREATE); } @Override public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { Log.w(TAG, Upgrading database from version + oldVersion + to + newVersion + , which will destroy all old data); db.execSQL(DROP TABLE IF EXISTS notes); onCreate(db); } } public NotesDbAdapter(Context ctx) { this.mCtx = ctx; } public NotesDbAdapter open() throws SQLException { mDbHelper = new DatabaseHelper(mCtx); mDb = mDbHelper.getWritableDatabase(); return this; } public void close() { mDbHelper.close(); } public void createNote(String title, String body) { ContentValues initialValues = new ContentValues(); initialValues.put(KEY_TITLE, title); initialValues.put(KEY_BODY, body); mDb.insert(DATABASE_TABLE, null, initialValues); } public static void createNotefirsttime() { if(firsttime==true){ String title1 = null,body1 = null; for(int i=1;i8;i++){ ContentValues initialValues = new ContentValues(); if(i==1){ title1=bule; body1=bule; initialValues.put(KEY_TITLE, title1); initialValues.put(KEY_BODY, body1); mDb.insert(DATABASE_TABLE, null, initialValues); } } } } public boolean deleteNote(long rowId) { return mDb.delete(DATABASE_TABLE, KEY_ROWID + = + rowId, null) 0; } public Cursor fetchAllNotes() { return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE, KEY_BODY}, null, null, null, null, null); } public Cursor fetchNote(long rowId) throws SQLException { Cursor mCursor = mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE, KEY_BODY}, KEY_ROWID + = + rowId, null, null, null, null, null); if (mCursor != null) { mCursor.moveToFirst(); } else{ } return mCursor; } public void updateNote1(String title, String body) { ContentValues args = new ContentValues(); int rowId1=1; args.put(KEY_TITLE, title); args.put(KEY_BODY, body); mDb.update(DATABASE_TABLE, args, KEY_ROWID + = + rowId1, null); } public void secupdateNote(String title, String body) { ContentValues args = new ContentValues(); int rowId1=2; args.put(KEY_TITLE, title); args.put(KEY_BODY, body); mDb.update(DATABASE_TABLE, args, KEY_ROWID + = + rowId1, null); } } -- Forwarded message -- From: sharman sengar sharma...@gmail.com Date: Thu, Apr 9, 2009 at 12:17 PM Subject: [android-beginners] how 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 and Regards Sharman Singh Sengar -- Anand M Joseph Software Engineer Aymex Services Pvt. Ltd. Cherukomorothu Road, Mamangalam, Palarivattom P.O., Kochi – 682 025, Kerala, India Tel: +91 484 405 5750 / 405 5285 / 405 5725 Mob:919744343272 E-mail : anandmampuzha...@gmail.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google
[android-beginners] Suggestion needed
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 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 email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] core Android mail - access to emails from other applications
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 --~--~-~--~~~---~--~~ 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 email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] autocompletetextview without keyboard input
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 keyboard I can put in K in this texfield and I will see a list with names starting with K, but if I press my k button I do not get anything. What I am doing is, concatenating strings into this textField, so when my k button is pressed I add a k to the string that is already there, my question is how can I have the TextView automatically start filtering when I press my button, I have looked and do not see anything that stands out in the API. Thanks --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] what Eclipse do i need ?
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 Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Could Not Find HelloAndroid.apk!
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 group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Could Not Find HelloAndroid.apk!
[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 the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---