Fwd: [android-developers] 【android-developers】 AndroidManifest.xml android:icon
Hi dude go drawable folder in res ...check images aaa...change if you want to change -- Forwarded message -- From: 安藤玲生 ando.reo...@gmail.com Date: Fri, Aug 31, 2012 at 11:47 AM Subject: [android-developers] 【android-developers】 AndroidManifest.xml android:icon To: android-developers@googlegroups.com im japanese programer. service android:name=.Service android:icon=@drawable/aaa intent-filter action android:name= / /intent-filter /service android:icon=@drawable/aaa Where is the icon set up here used? help me. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: Fwd: [android-developers] 【android-developers】 AndroidManifest.xml android:icon
please eazy english. im japanese thanks. (2012/08/31 15:47), Parthi K wrote: Hi dude go drawable folder in res ...check images aaa...change if you want to change -- Forwarded message -- From: *安藤玲生* ando.reo...@gmail.com mailto:ando.reo...@gmail.com Date: Fri, Aug 31, 2012 at 11:47 AM Subject: [android-developers] 【android-developers】 AndroidManifest.xml android:icon To: android-developers@googlegroups.com mailto:android-developers@googlegroups.com im japanese programer. service android:name=.Service android:icon=@drawable/aaa intent-filter action android:name= / /intent-filter /service android:icon=@drawable/aaa Where is the icon set up here used? help me. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com mailto:android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com mailto:android-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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Fwd: [android-developers] Communication between two android emulators located on two PCs connected via LAN(wired)
I need to test calling to a emulator which is located another machine in my LAN(wired) from my P's emulator. Any help on this? thanks for help in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Fwd: [android-developers] Problem : Compass Direction with 1km far latitude longitude
thanks, thanks a lot lbendlin -- Forwarded message -- From: lbendlin l...@bendlin.us Date: Fri, Jul 13, 2012 at 10:45 PM Subject: Re: [android-developers] Problem : Compass Direction with 1km far latitude longitude To: android-developers@googlegroups.com here's a pointer to get you thinking http://www.movable-type.co.uk/scripts/latlong.html On Friday, July 13, 2012 7:37:37 AM UTC-4, Rajan wrote: Thank you for replying me but i am new in android and this is my first app. so if it is possible can you please help me for understanding the concept of : finding(means calculating) the lat. lon. point of 1km far away from the user's location. that means how earth coordinates are working ?? and what input i needed to achive my goal i have - current location (lat lng) - degree ( calculationg from NOTH - 0*(degree)) is it enough to achive my goal. ??? On Fri, Jul 13, 2012 at 12:05 PM, TreKing treking...@gmail.com wrote: On Wed, Jul 11, 2012 at 4:17 AM, Rajan r.d.thak...@gmail.com wrote: i didn't get how can i find latitude longitude of 1km far away place form the user's current location in the SAME DIRECTION. This has nothing to do with Android. Use Google to find a help on doing the math you need to achieve your goals. --**--** --**--- TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@** googlegroups.com android-developers@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=enhttp://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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Fwd: [android-developers]
hello i have problem in this file xml please help me Could not create tab content because could not find view with id -1 this is my code xml ?xml version=1.0 encoding=utf-8? TabHost xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/tabs android:layout_width=fill_parent android:layout_height=wrap_content LinearLayout android:orientation=vertical ?xml version=1.0 encoding=utf-8? TabHost xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/tabs android:layout_width=fill_parent android:layout_height=wrap_content LinearLayout android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent TabWidget android:id=@android:id/tabs android:layout_width=fill_parent android:layout_height=wrap_content / FrameLayout android:id=@android:id/tabcontent android:layout_width=fill_parent android:layout_height=wrap_content ScrollView android:layout_width=fill_parent android:layout_height=wrap_content include android:id=@+id/content1 layout=@layout/tab_today / /ScrollView ScrollView android:layout_width=fill_parent android:layout_height=wrap_content include android:id=@+id/content2 layout=@layout/tab_qibla / /ScrollView /FrameLayout /LinearLayout /TabHost?xml version=1.0 encoding=utf-8? TabHost xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/tabs android:layout_width=fill_parent android:layout_height=wrap_content LinearLayout android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent TabWidget android:id=@android:id/tabs android:layout_width=fill_parent android:layout_height=wrap_content / FrameLayout android:id=@android:id/tabcontent android:layout_width=fill_parent android:layout_height=wrap_content ScrollView android:layout_width=fill_parent android:layout_height=wrap_content include android:id=@+id/content1 layout=@layout/tab_today / /ScrollView ScrollView android:layout_width=fill_parent android:layout_height=wrap_content include android:id=@+id/content2 layout=@layout/tab_qibla / /ScrollView /FrameLayout /LinearLayout /TabHost -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Fwd: [android-developers] using custom views in xml layouts
Hi magouyaware, Thanks for replay, Thanks for time, yes i am sure CustomView class is in the net.pocketmagic.customangletext package Thanks Naveen. -- Forwarded message -- From: Justin Anderson magouyaw...@gmail.com Date: Wed, Mar 7, 2012 at 12:26 AM Subject: Re: [android-developers] using custom views in xml layouts To: android-developers@googlegroups.com http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/LabelView.html http://developer.android.com/resources/samples/ApiDemos/res/layout/custom_view_1.html The first link is a sample of a custom class and the second is a sample of how to use that custom class in XML. The question I asked in your other (almost duplicate) post still stands though... Are you SURE that the CustomView class is in the net.pocketmagic. customangletext package? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Mar 6, 2012 at 4:01 AM, Todd Grigsby tgrigsby...@gmail.com wrote: Not specific enough. Have you stepped through this code in debug to see what line is giving you the problem? On Mar 6, 2012 1:07 AM, chowdary nani naveenneeli...@gmail.com wrote: Hi All, i am working with custom views using in xml layouts Following is my custom view code: public class CustomTextView extends View { private int m_nColor; private Typeface m_tTypeface; private int m_nSize; private int m_nRotationAngle, m_nRotationW, m_nRotationH; private String m_szText; public CustomTextView(Context context) { super(context); // set default parameters Log.d(dghgfhf, dfghgfh); m_nColor = Color.WHITE; m_nSize = 14; m_nRotationAngle = 0; m_nRotationW = 0; m_nRotationH = 0; m_tTypeface = Typeface.create(arial, Typeface.NORMAL); } public CustomTextView(Context context, AttributeSet attrs) { super(context, attrs); } public void SetColor(int newcolor) { m_nColor = newcolor; this.invalidate(); } public void SetTextSize(int newsize) { m_nSize = newsize; this.invalidate(); } // style: normal-0,bold-1,italic-2,bold-italic-3, public void SetFont(String newfontface, int style) { m_tTypeface = Typeface.create(newfontface, style); this.invalidate(); } public void SetRotation(int newangle, int neww, int newh) { m_nRotationAngle = newangle; m_nRotationW = neww; m_nRotationH = newh; this.invalidate(); } public void SetText(String newtext) { m_szText = newtext; this.invalidate(); } @Override protected void onDraw(Canvas canvas) { super.onDraw(canvas); Paint paint = new Paint(); paint.setTypeface(m_tTypeface); paint.setStyle(Paint.Style.FILL); paint.setColor(m_nColor); // paint.setShadowLayer(1, 0, 1, Color.parseColor(#00)); paint.setTextSize(m_nSize); canvas.rotate(m_nRotationAngle, m_nRotationW, m_nRotationH); canvas.drawText(m_szText, 0, 0, paint); } } Following is my layout: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; xmlns:GUI= http://schemas.android.com/apk/res/net.pocketmagic.customangletext; android:layout_width=fill_parent android:layout_height=fill_parent android:orientation=vertical view android:id=@+id/yourID android:layout_width=wrap_content android:layout_height=wrap_content android:layout_margin=10dp class=net.pocketmagic.customangletext.CustomTextView / /LinearLayout i am getting null pointer exception i am unable find where i am going wrong please help me Thanks Naveen. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at
Fwd: [android-developers] Real-time video streaming/disabling or configuring MediaPlayer caching-buffering
Giving this a last bump in hopes of a response...any ideas or otherwise not commonly known or documented information on the Android MediaPlayer would be extremely welcome. Thanks, Brad Brad O'Hearne Founder / Lead Developer Big Hill Software LLC http://www.bighillsoftware.com Begin forwarded message: From: Brad O'Hearne br...@bighillsoftware.com Subject: [android-developers] Real-time video streaming/disabling or configuring MediaPlayer caching-buffering Date: January 11, 2012 2:05:05 PM MST To: Android Developers android-developers@googlegroups.com Reply-To: android-developers@googlegroups.com Hello, I am trying to play a real-time video stream with the Android MediaPlayer. The use case prioritizes real-time rendering to the screen over smooth playback. Restated, I am not interested in smooth un-interrupted playback such as watching a movie or YouTube video or webcast, where video is typically buffered, if even minimally, to achieve smooth playback. What I need to do is eliminate as much latency as possible between the video source stream and playback, so that the delay between a direct rendering at the source and the playback of the stream on an Android tablet is as small as possible. Presently, I have an app which plays an RTSP stream with the MediaPlayer, and I'm encountering a latency of around 4 seconds, which is unacceptable for this use case. I am seeking 1 second latency. I have been looking high and low for any way to configure the MediaPlayer, and it doesn't appear that there are really any knobs or switches on it to adjust. Specifically what I'd like to do is the following: 1. Adjust or disable entirely caching and buffering within the MediaPlayer. 2. Tell the MediaPlayer to ignore any processing for audio, which is not needed in this use case. 3. Potentially be able to control or monitor the network transport of the stream (much less important than #1). 4. It would be great to be able to get some statistical data on what part of the pipeline latency exists: network transport, buffering, decoding, rendering, etc. (again, much less important than #1). If anyone has any ideas or suggestions for the above, I'd really appreciate it. Even alternative solutions for accomplishing the need are welcome (though this is a commercial application, and so GPL source isn't an alternative), though the ideal solution would be to leverage the native MediaPlayer. Thanks in advance for your assistance. Regards, Brad Brad O'Hearne Founder / Lead Developer Big Hill Software LLC http://www.bighillsoftware.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Fwd: [android-developers] need help in twitter integration
Hi dEEPESH PPM , Thanks for help, Thanks for replay, I am currently working with emulator and i am getting this problem will u please help me Thanks Naveen. ** * * *Please check your device clock and adjust with current time. I had the same issue in my app. I am solving this issue bu correcting the android device time.You can solve this issue* * * *Regards* * * *Deepesh C* On Mon, Jan 9, 2012 at 3:45 PM, chowdary nani naveenneeli...@gmail.comwrote: Hi All, i am working on twitter integration in android but i am getting error in my applicatio at this place please help me. here my code public class OAuthRequestTokenTask extends AsyncTaskVoid, Void, Void { final String TAG = getClass().getName(); private Context context; private OAuthProvider provider; private OAuthConsumer consumer; public OAuthRequestTokenTask(Context context, OAuthConsumer consumer, OAuthProvider provider) { this.context = context; this.consumer = consumer; this.provider = provider; } @Override protected Void doInBackground(Void... params) { try { Log.i(TAG, Retrieving request token from Google servers); final String url = provider.retrieveRequestToken(consumer, Constants.OAUTH_CALLBACK_URL); Log.i(TAG, Popping a browser with the authorize URL : + url); Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)) .setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP | Intent.FLAG_ACTIVITY_NO_HISTORY | Intent.FLAG_FROM_BACKGROUND); context.startActivity(intent); } catch (Exception e) { Log.e(TAG, Error during OAUth retrieve request token, e); } return null; } } Thanks Naveen -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Fwd: [android-developers] Need help in twitter integration
-- Forwarded message -- From: chowdary nani naveenneeli...@gmail.com Date: Sat, Jan 7, 2012 at 6:16 PM Subject: Re: [android-developers] Need help in twitter integration To: android-developers@googlegroups.com *Hi, Mukesh Kumar*, Thanks for replay , Thanks for checking mail,thanks for replay. but i am still getting the same error as OAuthRequestTokenTask(1695): Error during OAUth retrieve request token please help me in solving this error in twitter integration. Thanks Swathi. On Fri, Jan 6, 2012 at 12:32 PM, Mukesh Srivastav mukicha...@gmail.comwrote: Naveen, The solution is very simple, you create a Twitterutil class and use it for sending Tweets and also getting the Tweets. Below is my example to do it. public class TwitterUtils { public static boolean isAuthenticated(SharedPreferences prefs) { String token = prefs.getString(OAuth.OAUTH_TOKEN, ); String secret = prefs.getString(OAuth.OAUTH_TOKEN_SECRET, ); AccessToken a = new AccessToken(token, secret); Twitter twitter = new TwitterFactory().getInstance(); twitter.setOAuthConsumer(AppConstants.CONSUMER_KEY, AppConstants.CONSUMER_SECRET); twitter.setOAuthAccessToken(a); try { twitter.getAccountSettings(); return true; } catch (TwitterException e) { return false; } } public static void sendTweet(SharedPreferences prefs, String msg) throws Exception { String token = prefs.getString(OAuth.OAUTH_TOKEN, ); String secret = prefs.getString(OAuth.OAUTH_TOKEN_SECRET, ); AccessToken a = new AccessToken(token, secret); Twitter twitter = new TwitterFactory().getInstance(); twitter.setOAuthConsumer(AppConstants.CONSUMER_KEY, AppConstants.CONSUMER_SECRET); twitter.setOAuthAccessToken(a); twitter.updateStatus(msg); } public static String getTweets(SharedPreferences prefs) { String token = prefs.getString(OAuth.OAUTH_TOKEN, ); String secret = prefs.getString(OAuth.OAUTH_TOKEN_SECRET, ); StringBuffer stb = new StringBuffer(); AccessToken a = new AccessToken(token, secret); Twitter twitter = new TwitterFactory().getInstance(); twitter.setOAuthConsumer(AppConstants.CONSUMER_KEY, AppConstants.CONSUMER_SECRET); twitter.setOAuthAccessToken(a); try { ResponseListStatus liststatus = twitter.getFriendsTimeline(); for (Status status : liststatus) { stb.append(status.getText()); // System.out.println(I am reading other Twitter Status + // status.getText()); } } catch (TwitterException e) { // TODO Auto-generated catch block e.printStackTrace(); } return stb.toString(); } To use it.. if (TwitterUtils.isAuthenticated(prefs)) { //if user logged in , send the twit sendTweet(); // } public void sendTweet() { Thread t = new Thread() { public void run() { try { TwitterUtils.sendTweet(prefs,getTweetMsg()); mTwitterHandler.post(mUpdateTwitterNotification); } catch (Exception ex) { ex.printStackTrace(); } } }; t.start(); } -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Fri, Jan 6, 2012 at 11:57 AM, chowdary nani naveenneeli...@gmail.comwrote: Hi All, I am working on twittwer in tegration in android I am trying to post tweet on my twitter but i am getting error as Error during OAUth retrieve request token here is the followin code: tweet.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { if (TwitterUtils.isAuthenticated(prefs)) { sendTweet(); } else { Intent i = new Intent(getApplicationContext(), PrepareRequestTokenActivity.class); i.putExtra(tweet_msg, getTweetMsg()); startActivity(i); } } }); public void sendTweet() { Thread t = new Thread() { public void run() { try { TwitterUtils.sendTweet(prefs, getTweetMsg()); mTwitterHandler.post(mUpdateTwitterNotification); } catch (Exception ex) { ex.printStackTrace(); } } }; t.start(); } public class PrepareRequestTokenActivity extends Activity { final String TAG = getClass().getName(); private OAuthConsumer consumer; private OAuthProvider provider; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); try { this.consumer = new CommonsHttpOAuthConsumer( Constants.CONSUMER_KEY, Constants.CONSUMER_SECRET); this.provider = new CommonsHttpOAuthProvider(Constants.REQUEST_URL, Constants.ACCESS_URL, Constants.AUTHORIZE_URL); } catch (Exception e) { Log.e(TAG, Error creating consumer / provider, e); } Log.i(TAG, Starting task to retrieve request token.); new OAuthRequestTokenTask(this, consumer, provider).execute(); } @Override public void onNewIntent(Intent intent) { super.onNewIntent(intent); SharedPreferences prefs = PreferenceManager .getDefaultSharedPreferences(this); final Uri uri = intent.getData(); if (uri != null uri.getScheme().equals(Constants.OAUTH_CALLBACK_SCHEME)) { Log.i(TAG, Callback received : + uri); Log.i(TAG, Retrieving Access
Fwd: [android-developers] hyperlink using textview
Just refer the following links http://mgmblog.com/2009/01/06/four-different-ways-of-opening-a-web-page-in-android/ http://pareshnmayani.wordpress.com/2011/07/08/android-textview-autolink-attribute/ -- Forwarded message -- From: Pawan Singh Rathore pawan.s.rath...@gmail.com Date: Wed, Nov 9, 2011 at 6:52 PM Subject: Re: [android-developers] hyperlink using textview To: android-developers@googlegroups.com Why are you keep asking such a simple questions. No one gonna write codes for you,and giving you suggestions. Try out yourself. If you'll have some issue thn post your code here. Thanks BR, Pawan Rathore On Wed, Nov 9, 2011 at 6:46 PM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: hey friends, can anyone please suggest me how to use textview as a hyperlink.. Thnx in advance.. NSR.. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Fwd: [android-developers] attachment through mail
Try this one public static void sendAsAttachment(Context context, File file){ Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND); emailIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL,new String[] { cta...@gmail.com }); emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, Note Taker Image); emailIntent.putExtra(Intent.EXTRA_TEXT, Image Sent from AndroidPhone); emailIntent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(file)); emailIntent.setType(vnd.android.cursor.dir/email); try{ ((Activity) context).startActivity(Intent.createChooser(emailIntent, Send file as attachment)); }catch (Exception e) { Toast.makeText(context, No application has been installed to support this operation., 250).show(); } } context - context of the Activity from where you are calling this method file - the file which you want to send as attachment -- Forwarded message -- From: LaxmiRamGanesh ganeshpa...@gmail.com Date: Wed, Nov 9, 2011 at 10:17 AM Subject: [android-developers] attachment through mail To: Android Developers android-developers@googlegroups.com Hi, i have issue on my application , coding sucessfully executed , but file not attach in my email , its only shows filename , but not image . code: Intent emailintent = new Intent(Intent.ACTION_SEND); emailintent.setType(image/jpg); emailintent.putExtra(android.content.Intent.EXTRA_EMAIL,Uri.fromParts(mailto, cta...@gmail.com, null)); emailintent.putExtra(Intent.EXTRA_SUBJECT, Note Taker Image); emailintent.putExtra(Intent.EXTRA_TEXT, Image Sent from Android Phone); emailintent.putExtra(Intent.EXTRA_STREAM, Uri.parse(file://mnt/ sdcard/e-Diary/image7115332.jpg)); //emailintent.putExtra(Intent.EXTRA_STREAM, ); startActivity(emailintent); regards, Ganez -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Fwd: [android-developers] extending view class not working but not throwing errors or force close
TreKing I should clarify, I have a button in XML, however java setContentView points to another created java class. It is this class that is meant to be able to create a canvas colored blue with an image of a cloud 'floating' across it, (if understand the tutorial). This is the first time I have tried to create using this type of setContentView set up, and am obviously missing something. -- Forwarded message -- From: Chris Cullington-Johnson chriscj...@gmail.com Date: Wed, Oct 26, 2011 at 1:50 PM Subject: Re: [android-developers] extending view class not working but not throwing errors or force close To: android-developers@googlegroups.com There lies the problem, I am lost. I followed tutorial however no other mention of adding button to Java via view class. however does mention adding intent to manifest. Do you need more code to check? What else can I try. On Oct 26, 2011 1:02 PM, TreKing treking...@gmail.com wrote: On Tue, Oct 25, 2011 at 7:18 AM, Chris Cullington-Johnson chriscj...@gmail.com wrote: I am doing a tutorial through you tube I have my java correct but still my button wont enable the view class, it's like button is not linked. There is no Button in the code you posted. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Fwd: [android-developers] Strechable View
Forwarded conversation Subject: Strechable View From: *sourabh sahu* souruit...@gmail.com Date: Fri, Oct 21, 2011 at 5:16 PM To: android-developers android-developers@googlegroups.com How to make Strechable view.I need UI just like My Files application on android.In which one view is strechable. Sample code is appreciated. Thanks, Sourabh -- From: *TreKing* treking...@gmail.com Date: Fri, Oct 21, 2011 at 5:42 PM To: android-developers@googlegroups.com Is everyone here supposed to know what My Files is, how it works, or what strechable means? You should add some details. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- From: *sourabh sahu* souruit...@gmail.com Date: Fri, Oct 21, 2011 at 8:03 PM To: android-developers@googlegroups.com Sorry! I want my application view should be similar to My File native application on android 2.2.In which view is divided into two parts.On the left part there is browser which shows files hierarchy and on click of a particular folder on the view on right side, its content gets displayed.We can strech first part. Thanks, Sourabh -- From: *sourabh sahu* souruit...@gmail.com Date: Fri, Oct 21, 2011 at 8:37 PM To: treking...@gmail.com Forwarded conversation Subject: Strechable View From: *sourabh sahu* souruit...@gmail.com Date: Fri, Oct 21, 2011 at 5:16 PM To: android-developers android-developers@googlegroups.com -- From: *TreKing* treking...@gmail.com Date: Fri, Oct 21, 2011 at 5:42 PM To: android-developers@googlegroups.com -- From: *sourabh sahu* souruit...@gmail.com Date: Fri, Oct 21, 2011 at 8:03 PM To: android-developers@googlegroups.com -- From: *TreKing* treking...@gmail.com Date: Fri, Oct 21, 2011 at 8:39 PM To: sourabh sahu souruit...@gmail.com OK - and strech means what? -- From: *sourabh sahu* souruit...@gmail.com Date: Fri, Oct 21, 2011 at 8:42 PM To: TreKing treking...@gmail.com On android tab, my files has vertical line in between to views.On tap of that line and sliding it horizontally view gets streched and shrinks. Please help me. Sourabh -- From: *sourabh sahu* souruit...@gmail.com Date: Fri, Oct 21, 2011 at 8:49 PM To: TreKing treking...@gmail.com -- From: *TreKing* treking...@gmail.com Date: Fri, Oct 21, 2011 at 8:59 PM To: sourabh sahu souruit...@gmail.com Please reply to the whole group. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Fwd: [android-developers] Re: soap webservie (celsius to fareheit
while accessing the webservice am getting socketexception 09-08 19:28:24.206: WARN/System.err(526): java.net.SocketException: The operation timed out 09-08 19:28:24.213: WARN/System.err(526): at org.apache.harmony.luni. platform.OSNetworkSystem.connectStreamWithTimeoutSocketImpl(Native Method) 09-08 19:28:24.213: WARN/System.err(526): at org.apache.harmony.luni.platform.OSNetworkSystem.connect(OSNetworkSystem.java:115) 09-08 19:28:24.223: WARN/System.err(526): at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:244) 09-08 19:28:24.233: WARN/System.err(526): at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:533) 09-08 19:28:24.233: WARN/System.err(526): at java.net.Socket.connect(Socket.java:1055) 09-08 19:28:24.243: WARN/System.err(526): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnection.init(HttpConnection.java:62) 09-08 19:28:24.243: WARN/System.err(526): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionPool.get(HttpConnectionPool.java:88) 09-08 19:28:24.243: WARN/System.err(526): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.getHTTPConnection(HttpURLConnectionImpl.java:927) 09-08 19:28:24.254: WARN/System.err(526): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:909) 09-08 19:28:24.254: WARN/System.err(526): at org.ksoap2.transport.ServiceConnectionSE.connect(ServiceConnectionSE.java:46) 09-08 19:28:24.254: WARN/System.err(526): at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:68) 09-08 19:28:24.263: WARN/System.err(526): at com.Tracking.Tracking.onCreate(Tracking.java:38) 09-08 19:28:24.263: WARN/System.err(526): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) 09-08 19:28:24.263: WARN/System.err(526): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627) 09-08 19:28:24.263: WARN/System.err(526): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679) 09-08 19:28:24.273: WARN/System.err(526): at android.app.ActivityThread.access$2300(ActivityThread.java:125) 09-08 19:28:24.273: WARN/System.err(526): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033) 09-08 19:28:24.273: WARN/System.err(526): at android.os.Handler.dispatchMessage(Handler.java:99) 09-08 19:28:24.273: WARN/System.err(526): at android.os.Looper.loop(Looper.java:123) 09-08 19:28:24.283: WARN/System.err(526): at android.app.ActivityThread.main(ActivityThread.java:4627) 09-08 19:28:24.283: WARN/System.err(526): at java.lang.reflect.Method.invokeNative(Native Method) 09-08 19:28:24.283: WARN/System.err(526): at java.lang.reflect.Method.invoke(Method.java:521) 09-08 19:28:24.283: WARN/System.err(526): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) 09-08 19:28:24.293: WARN/System.err(526): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) 09-08 19:28:24.293: WARN/System.err(526): at dalvik.system.NativeStart.main(Native Method) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: Fwd: [android-developers] Re: soap webservie (celsius to fareheit
Why is a SocketException being reported as 'WARN'? This is a fatal error, not a mere warning. And this trace does not contain enough information for us to see why it is timing out. You would be better off running Wireshark to see if you get to the network at all, double check the URL, IP address and ports. Make sure you have access to that port through any firewalls you are traversing. On Sep 8, 7:06 am, arun kumar arun.kata...@gmail.com wrote: while accessing the webservice am getting socketexception 09-08 19:28:24.206: WARN/System.err(526): java.net.SocketException: The operation timed out 09-08 19:28:24.213: WARN/System.err(526): at org.apache.harmony.luni. platform.OSNetworkSystem.connectStreamWithTimeoutSocketImpl(Native Method) 09-08 19:28:24.213: WARN/System.err(526): at org.apache.harmony.luni.platform.OSNetworkSystem.connect(OSNetworkSystem.java:115) 09-08 19:28:24.223: WARN/System.err(526): at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:244) 09-08 19:28:24.233: WARN/System.err(526): at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:533) 09-08 19:28:24.233: WARN/System.err(526): at java.net.Socket.connect(Socket.java:1055) 09-08 19:28:24.243: WARN/System.err(526): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnection.init(HttpConnection.java:62) 09-08 19:28:24.243: WARN/System.err(526): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionPool.get(HttpConnectionPool.java:88) 09-08 19:28:24.243: WARN/System.err(526): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.getHTTPConnection(HttpURLConn...) 09-08 19:28:24.254: WARN/System.err(526): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl...) 09-08 19:28:24.254: WARN/System.err(526): at org.ksoap2.transport.ServiceConnectionSE.connect(ServiceConnectionSE.java:46) 09-08 19:28:24.254: WARN/System.err(526): at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:68) 09-08 19:28:24.263: WARN/System.err(526): at com.Tracking.Tracking.onCreate(Tracking.java:38) 09-08 19:28:24.263: WARN/System.err(526): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) 09-08 19:28:24.263: WARN/System.err(526): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627) 09-08 19:28:24.263: WARN/System.err(526): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679) 09-08 19:28:24.273: WARN/System.err(526): at android.app.ActivityThread.access$2300(ActivityThread.java:125) 09-08 19:28:24.273: WARN/System.err(526): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033) 09-08 19:28:24.273: WARN/System.err(526): at android.os.Handler.dispatchMessage(Handler.java:99) 09-08 19:28:24.273: WARN/System.err(526): at android.os.Looper.loop(Looper.java:123) 09-08 19:28:24.283: WARN/System.err(526): at android.app.ActivityThread.main(ActivityThread.java:4627) 09-08 19:28:24.283: WARN/System.err(526): at java.lang.reflect.Method.invokeNative(Native Method) 09-08 19:28:24.283: WARN/System.err(526): at java.lang.reflect.Method.invoke(Method.java:521) 09-08 19:28:24.283: WARN/System.err(526): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) 09-08 19:28:24.293: WARN/System.err(526): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) 09-08 19:28:24.293: WARN/System.err(526): at dalvik.system.NativeStart.main(Native Method) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Fwd: [android-developers] Support against corruption
Thanks and Regards:- Ankur Goel 09019040351 S/W Engg. -- Forwarded message -- From: Avinash Nigam aviundefi...@gmail.com Date: Thu, Aug 18, 2011 at 5:40 PM Subject: [android-developers] Support against corruption To: Avinash Nigam iitk.avinash.ni...@gmail.com To show your support for *Anna Hazare* and *Janlokpal Bill* – employees of various organizations have decided to *Wear Black Dress* on 19th August at work. Please spread the message to your colleagues and wear black dress on 19th August when you come to work. You may also wear a black arm band if you wish. Show your support against Corruption. This is the least you can do even if you can join the protest because of your office work. Let us make it successful. The Government has put condition to get 25 crore people to support * JanLokPal*. To give your support call *02261550789* (as given by Kiran Bedi) from your mobile no. Your Call will disconnect after 1 ring and your no registered automatically. You will get an SMS confirming this. Do it along to all your friends. Forward to as many people as you know .. verbally, by mails, by messages. Support Anti-corruption campaign lead by Anna Hazare ...Jai Hind. This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Fwd: [android-developers] what will be the parameter of HttpGet httpget = new HttpGet(http://10.91.28.203);
so how to config device to access the internet -- Forwarded message -- From: Kostya Vasilyev kmans...@gmail.com Date: Wed, May 18, 2011 at 4:37 PM Subject: Re: [android-developers] what will be the parameter of HttpGet httpget = new HttpGet(http://10.91.28.203;); To: android-developers@googlegroups.com 18.05.2011 14:58, Rocky пишет: 10.91.28.203 its not reachable , but localhost is reachable, while www.google.com is also not reachable from adb shell Then your device is not configured to access the Internet. -- Kostya Vasilyev -- http://kmansoft.wordpress.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thanks Regards Rakesh Kumar Jha Software Developer Symphony Services Corp (India) Pvt Ltd Bangalore (O) +918030274295 (R) +919886336619 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Fwd: [android-developers] Re: Regarding screen resolution
Hi, I had make entry of support-screens tag in the AndroidManifest.xml, but the header which i customized is stil not coming in proper format. Please help!! Thanks!! -- Forwarded message -- From: Nicholas Johnson metthejohn...@gmail.com Date: Sun, Mar 27, 2011 at 9:58 PM Subject: [android-developers] Re: Regarding screen resolution To: android-developers@googlegroups.com Cc: Laxmi Verma laxmiverma.andr...@gmail.com Different screen resolutions started to get support in API Level 4 (1.6). So, I recommend using API Level 4 and then reading the documention on the Android Dev sitehttp://developer.android.com/guide/practices/screens_support.html. It's really good. Nick -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: Fwd: [android-developers] Re: Regarding screen resolution
Please read the link I posted in my original comment. It'll tell you where to go from there. Nick -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Fwd: [android-developers] redirct the an alert or replay to the device that send sms
*can u give me any site or coderelated to this *? -- Forwarded message -- From: Marcin Orlowski webnet.andr...@gmail.com Date: Fri, Mar 4, 2011 at 2:16 PM Subject: Re: [android-developers] redirct the an alert or replay to the device that send sms To: vineeshkc kcvine...@gmail.com On 4 March 2011 05:56, vineeshkc kcvine...@gmail.com wrote: Hearty Thanks Marcin is it possible to send an alert or some SMS to the same device that send the SMS Sure, you can send your SMS back on such event. You got all you need from incoming SMS (incl. senders' number). About an alert - there's no such thing like crossplatform alert (whatever it should be) feature you could use to notify sender's device. -- Regards, Marcin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Fwd: [android-developers] Radio Waves
On 19 February 2011 04:19, Ricardo Torquato ricardo.t...@gmail.com wrote: Is possible to issue radio waves by andoid? Sure. All the wifi and gsm/cdma is just pure radio waves. Buf if you mean FM broadcasting then no. -- Regards, Marcin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Fwd: [android-developers] Problem in Handler
plz tell ,me how to handle key dispatch timed out error in android. I have developed a small quiz application. If i double click my app two times then it shows *key dispatch timed out error* . Plz help me if any one knows -- Forwarded message -- From: yogi yogi.ru...@gmail.com Date: Thu, Feb 3, 2011 at 9:46 AM Subject: [android-developers] Problem in Handler To: Android Developers android-developers@googlegroups.com Hi all, I have created to thread in an application, and from these threads i am sending a value. But the App has started but after 5-6 seconds it crashes and with the following log error. 02-03 09:40:19.598: ERROR/AndroidRuntime(1684): FATAL EXCEPTION: main 02-03 09:40:19.598: ERROR/AndroidRuntime(1684): android.util.AndroidRuntimeException: { what=1000 when=2469427 obj=4 } This message is already in use. 02-03 09:40:19.598: ERROR/AndroidRuntime(1684): at android.os.MessageQueue.enqueueMessage(MessageQueue.java:171) 02-03 09:40:19.598: ERROR/AndroidRuntime(1684): at android.os.Handler.sendMessageAtTime(Handler.java:457) 02-03 09:40:19.598: ERROR/AndroidRuntime(1684): at android.os.Handler.sendMessageDelayed(Handler.java:430) 02-03 09:40:19.598: ERROR/AndroidRuntime(1684): at android.os.Handler.sendEmptyMessageDelayed(Handler.java:394) 02-03 09:40:19.598: ERROR/AndroidRuntime(1684): at android.os.Handler.sendEmptyMessage(Handler.java:379) 02-03 09:40:19.598: ERROR/AndroidRuntime(1684): at android.view.ViewRoot.scheduleTraversals(ViewRoot.java:652) 02-03 09:40:19.598: ERROR/AndroidRuntime(1684): at android.view.ViewRoot.requestLayout(ViewRoot.java:596) 02-03 09:40:19.598: ERROR/AndroidRuntime(1684): at android.view.View.requestLayout(View.java:8125) 02-03 09:40:19.598: ERROR/AndroidRuntime(1684): at android.view.View.requestLayout(View.java:8125) 02-03 09:40:19.598: ERROR/AndroidRuntime(1684): at android.view.View.requestLayout(View.java:8125) 02-03 09:40:19.598: ERROR/AndroidRuntime(1684): at android.view.View.requestLayout(View.java:8125) 02-03 09:40:19.598: ERROR/AndroidRuntime(1684): at android.view.View.requestLayout(View.java:8125) 02-03 09:40:19.598: ERROR/AndroidRuntime(1684): at android.widget.TextView.checkForRelayout(TextView.java:5378) 02-03 09:40:19.598: ERROR/AndroidRuntime(1684): at android.widget.TextView.setText(TextView.java:2688) 02-03 09:40:19.598: ERROR/AndroidRuntime(1684): at android.widget.TextView.setText(TextView.java:2556) 02-03 09:40:19.598: ERROR/AndroidRuntime(1684): at android.widget.TextView.setText(TextView.java:2531) 02-03 09:40:19.598: ERROR/AndroidRuntime(1684): at com.demo.app.handlerapp$3.handleMessage(handlerapp.java:95) 02-03 09:40:19.598: ERROR/AndroidRuntime(1684): at android.os.Handler.dispatchMessage(Handler.java:99) Please refer to the following code which i have written. package com.demo.app; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.TextView; import android.widget.Toast; public class handlerapp extends Activity implements OnClickListener{ /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); button=(Button)findViewById(R.id.Button01); tw=(TextView)findViewById(R.id.TextView01); tw.setText(click button to start); button.setOnClickListener(this); } @Override public void onClick(View v) { // TODO Auto-generated method stub switch(v.getId()){ case R.id.Button01: Toast.makeText(getApplicationContext(), clicked, 2).show(); if(!th.isAlive()) th.start(); if(!th1.isAlive()) th1.start(); break; } } Thread th= new Thread(new Runnable(){ @Override public void run() { // TODO Auto-generated method stub Message msg= handler.obtainMessage(); for(int i=2;i1000;i++) { try { Thread.sleep(5000); } catch (InterruptedException e) { // TODO Auto-generated catch block e.printStackTrace(); } msg.obj= i; msg.what=2; handler.sendMessage(msg); } } }); Thread th1= new Thread(new Runnable(){ @Override public void run() { // TODO Auto-generated method stub
Fwd: [android-developers] to use only a single frame layout for oading different-2 images from drawable folder
-- Forwarded message -- From: Alok Upadhyay maddy.luck...@gmail.com Date: Wed, Nov 10, 2010 at 1:35 PM Subject: [android-developers] to use only a single frame layout for oading different-2 images from drawable folder To: Android Developers android-developers@googlegroups.com hi, i am working on a image based yoga project.In which i am thinking to use a single framelayout. In each screen there are different-2 yoga steps/images.And on each screen back and next buttons.I have done this using number of xmls and .java files as intent,set class and start activity(bad approach).Means on clicking next buttons(using intents and setclass) a new class file is called with new layout and so on this cause 26 .java files/classes. In new approach just want to use single framrlayout(a common layout for all images having back/next buttons) and on clicking next and back buttons different-2 yoga steps/images get uploaded from drawable folder. How to do this ?please guide! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@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 -- Thanks Regards Alok Upadhyay 9555758721 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: Fwd: [android-developers] Re: locale change does not affect menu
All phones would support locales. May be emulators don't but I guess if devices are not supporting multiple locales, and it is an important thing for the user, he will not buy that phone or return it. -Kumar Bibek http://techdroid.kbeanie.com On Sep 30, 10:27 am, dinesh adwani dinesh.adwa...@gmail.com wrote: use ..getBaseContext().getResources().getConfiguration().updateFrom(newConfig) -- Forwarded message -- From: dinesh adwani dinesh.adwa...@gmail.com Date: Thu, Sep 30, 2010 at 10:54 AM Subject: Re: [android-developers] Re: locale change does not affect menu To: android-developers@googlegroups.com Hi all, normally locale change comes under configuration change and if you have overrided onConfigurationChanged thenit is called onchanging locale since in normal case when we change locale activity destroy and create again to change locale at runtime...but if u have kept ur activity as singleInstance...it wont destroy on changing localefor that assign string again in onCreateOptionMenu..since it is called only once so assign it inside onPrepareOptionsMenu also... this code below... Localelocale= newLocale(language code here); Locale.setDefault(locale); Configuration config = new Configuration(); config.locale=locale; getBaseContext().getResources().updateConfiguration(config, getResources().getDisplayMetrics()); is forcing locale to change when you want to change it. On Wed, Sep 29, 2010 at 5:52 PM, Adrian Vintu adrianvi...@gmail.comwrote: I also added a setLocale in onStart and onConfigurationChanged, but this is really getting out of control :( BR, Adrian Vintu http://adrianvintu.com On Wed, Sep 29, 2010 at 1:38 PM, Adrian Vintu adrianvi...@gmail.comwrote: Hi Engin, I also noticed this behaviour - albeit, only in the emulator. I cannot test on a 2.2 phone. Unfortunately, I did have enough time to find out why this happens, so I made a hack. First, some info: this resetting of the locale probably happens somewhere after the onResume(). This means that not only the menu gets reset to the default locale, but also, for example, in onTextChanged if we show a validation message, this message will also be displayed in the default system locale. What I did is identify the key events that can happen in my application AFTER the onResume. I see that the user will either: a. onPrepareOptionsMenu or b. onTextChanged So two events - pretty easy for me. I added in those methods something like this: if (!hasSetLocaleSpecial) { setLocale(); hasSetLocaleSpecial = true; } Basically, I am calling the setLocale again, in the FIRST event that can happen after onResume. It is a horrible hack, but until I can get more info on why this happens, I will stick to it. I hope this will help you a little bit. Best Regards, Adrian Vintu http://adrianvintu.com PS another developer asked this question, but until now, no answer http://groups.google.com/group/android-developers/browse_thread/threa... On Wed, Jul 28, 2010 at 3:24 PM, Engin Arslan enginarsla...@gmail.comwrote: Richard, no it is not what i am trying to do. Suppose that I have an telephone which does not support Germany but i want to develop application supporting many languages as well as Germany . if the only way of changing language of application is changing Locale from telephone settings , it is impossible to . To summarize , i only want user to be able to choose my application language using application's settings. I partially achieved this using site that ı posted link. however, menu does not change when ı apply that way On Jul 28, 2:57 pm, RichardC richard.crit...@googlemail.com wrote: For multi-language apps you don't need to do any of this. Have a read of localization in the docs: http://developer.android.com/guide/topics/resources/localization.html you will get the collect localized resources loaded automatically by the platform. If however you are trying to switch language/localein a running app, then as DH pointed out the platform does not support this. I have not looked into the platform code for lanuage/locale(s) but I suppect that Android has no concept of an applicaton onlylocaleonly systemlocale. If I am correct then are you trying to change thelocalefor the whole system? On Jul 28, 12:41 pm, Engin Arslan enginarsla...@gmail.com wrote: Hi, i am not trying to fight with system. i am just trying to publish application having multilanguage capability. so this should not be fighting. Whatever, http://adrianvintu.com/blogengine/post/Force-Locale-on-Android.aspx in this link i have found alternative way of doing this. by this way all texts changed proposed language, however there is
Fwd: [android-developers] Re: locale change does not affect menu
use ..getBaseContext().getResources().getConfiguration().updateFrom(newConfig) -- Forwarded message -- From: dinesh adwani dinesh.adwa...@gmail.com Date: Thu, Sep 30, 2010 at 10:54 AM Subject: Re: [android-developers] Re: locale change does not affect menu To: android-developers@googlegroups.com Hi all, normally locale change comes under configuration change and if you have overrided onConfigurationChanged thenit is called onchanging locale since in normal case when we change locale activity destroy and create again to change locale at runtime...but if u have kept ur activity as singleInstance...it wont destroy on changing localefor that assign string again in onCreateOptionMenu..since it is called only once so assign it inside onPrepareOptionsMenu also... this code below... Localelocale= newLocale(language code here); Locale.setDefault(locale); Configuration config = new Configuration(); config.locale=locale; getBaseContext().getResources().updateConfiguration(config, getResources().getDisplayMetrics()); is forcing locale to change when you want to change it. On Wed, Sep 29, 2010 at 5:52 PM, Adrian Vintu adrianvi...@gmail.comwrote: I also added a setLocale in onStart and onConfigurationChanged, but this is really getting out of control :( BR, Adrian Vintu http://adrianvintu.com On Wed, Sep 29, 2010 at 1:38 PM, Adrian Vintu adrianvi...@gmail.comwrote: Hi Engin, I also noticed this behaviour - albeit, only in the emulator. I cannot test on a 2.2 phone. Unfortunately, I did have enough time to find out why this happens, so I made a hack. First, some info: this resetting of the locale probably happens somewhere after the onResume(). This means that not only the menu gets reset to the default locale, but also, for example, in onTextChanged if we show a validation message, this message will also be displayed in the default system locale. What I did is identify the key events that can happen in my application AFTER the onResume. I see that the user will either: a. onPrepareOptionsMenu or b. onTextChanged So two events - pretty easy for me. I added in those methods something like this: if (!hasSetLocaleSpecial) { setLocale(); hasSetLocaleSpecial = true; } Basically, I am calling the setLocale again, in the FIRST event that can happen after onResume. It is a horrible hack, but until I can get more info on why this happens, I will stick to it. I hope this will help you a little bit. Best Regards, Adrian Vintu http://adrianvintu.com PS another developer asked this question, but until now, no answer http://groups.google.com/group/android-developers/browse_thread/thread/3c9b74cb8eb555e9/7ead8fd7ada84233?hl=en On Wed, Jul 28, 2010 at 3:24 PM, Engin Arslan enginarsla...@gmail.comwrote: Richard, no it is not what i am trying to do. Suppose that I have an telephone which does not support Germany but i want to develop application supporting many languages as well as Germany . if the only way of changing language of application is changing Locale from telephone settings , it is impossible to . To summarize , i only want user to be able to choose my application language using application's settings. I partially achieved this using site that ı posted link. however, menu does not change when ı apply that way On Jul 28, 2:57 pm, RichardC richard.crit...@googlemail.com wrote: For multi-language apps you don't need to do any of this. Have a read of localization in the docs: http://developer.android.com/guide/topics/resources/localization.html you will get the collect localized resources loaded automatically by the platform. If however you are trying to switch language/localein a running app, then as DH pointed out the platform does not support this. I have not looked into the platform code for lanuage/locale(s) but I suppect that Android has no concept of an applicaton onlylocaleonly systemlocale. If I am correct then are you trying to change thelocalefor the whole system? On Jul 28, 12:41 pm, Engin Arslan enginarsla...@gmail.com wrote: Hi, i am not trying to fight with system. i am just trying to publish application having multilanguage capability. so this should not be fighting. Whatever, http://adrianvintu.com/blogengine/post/Force-Locale-on-Android.aspx in this link i have found alternative way of doing this. by this way all texts changed proposed language, however there is still problem in Menu even if i recreatemenuafter changinglocale. On Jul 27, 5:00 pm, RichardC richard.crit...@googlemail.com wrote: You have already asked this and got a - don't do this - reply from Dianne Hackborn. DH You are blowing away the current configuration in the resources with your own you have created
Fwd: [android-developers] Digest for android-developers@googlegroups.com - 9 Messages in 7 Topics
Hi All, This is my themes.xml file resources style name=Theme.Blue parent=android:Theme item name=android:windowBackground@drawable/bodyimg_blue/item item name=android:colorBackground@color/royalblue/item item name=android:textColor@color/midnightblue/item item name=android:textViewStyle@style/TextViewBlue/item /style resources This is main activity code snippet public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setTheme(R.style.Theme_Blue); setContentView(R.layout. main_screen); ... The background image is not getting loaded but the text color and textViewStyle got changed. The background image remains the defalult one -blank screen. If I am setting the theme in android manifest file then it works properly. Can anybody tell me the reason for this? Warm Regards, Sudeep -- Warm Regards, Sudeep -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Fwd: [android-developers] Re: character chinese or korea
OS : Win XP Source Document : Excel I've set the Eclipse in preferences menu with UTF-8 too Thanks -- Forwarded message -- From: Frank Weiss fewe...@gmail.com Date: 2010/1/30 Subject: Re: [android-developers] Re: character chinese or korea To: android-developers@googlegroups.com I assume that you can see the characters correctly in the source document, so it's strange you can't in Eclipse. What OS are you using and what kind of document did you copy the text from? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: Fwd: [android-developers] androidmarket search
http://developer.android.com/intl/de/guide/publishing/publishing.html#marketintent On Jan 25, 6:23 pm, David Toledo dtole...@gmail.com wrote: Hi I need is redirect to androidmarket and find some my application. I found one android application similar. thanks David -- Forwarded message -- From: Mark Murphy mmur...@commonsware.com Date: 2010/1/25 Subject: Re: [android-developers] androidmarket search To: android-developers@googlegroups.com DAVIDT wrote: How to search on the androidmarket from my Application I do not believe there is an API for that. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android App Developer Training:http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@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 athttp://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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [Fwd: [android-developers] how to capture browser activity or callback]
You have specified in your intent filter that you match against the host com.edwardawebb.myapp.class but the URI in your message from the browser doesn't have a host name at all. Even if you fix that, I don't think this is the approach you want to take, because at the point where the URI is started the best outcome is that the user is prompted to pick either your app or the browser to view it. (In Donut you will be able to create a URI that is limited to a specific package for intent resolution, which should help you get around that problem.) On Mon, Sep 14, 2009 at 1:18 PM, Pedro Fernandes pe...@isr.uc.pt wrote: My activity calls a browser activity where the users submits their info to retrieve a PIN. That PIN is then sent as a parameter to a url specified in the request. I tried adding a scheme to my activity -- data android:scheme=myscheme android:pathPrefix=myscheme android:host=com.edwardawebb.myapp.class / -- And setting the callback url to myscheme://?reponseParameter=868668687 I want the method below to recieve the callback, but it gets nothing -- public class PinReceiver extends BroadcastReceiver{ // retrive PIN after user links withwebsite thorugh browser @Override public void onReceive(Context context, Intent intent){ // Send a text notification to the screen. NotificationManager nm = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); } } -- What Happens; -The browser launches (first page loads successfully) -User enters info -But the browser just says the webpage myscheme://?reponseParameter=868668687 is not available How do I get the browser to recognize myscheme:// as an internal scheme? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
Re: [Fwd: [Fwd: [Fwd: [android-developers] Re: apk installation on mobilefromLinux machine]]]
android-1.5r3 adb already supports Galaxy device (if that is what you were looking for as official Google support) -Dan On Mon, Sep 14, 2009 at 1:18 PM, Pedro Fernandes pe...@isr.uc.pt wrote: I usually do the following. sudo ./adb kill-server sudo ./adb devices sudo ./adb -d install -r someFile.apk On Sep 14, 12:40 pm, André Charles Legendre andre.legen...@gmail.com wrote: Hi Thank's to Dilli and Tauno I have enabled USB debugging. When I do adb devices I get no devices. If I look in /var/log/messages I see that mobile is detected when it is connected. The system give it a disk alias (sdb) and a network alias /dev/ttyACM But no devices is detected by adb. Any help welcome. Andre --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
Re: [Fwd: [Fwd: [Fwd: [android-developers] Re: apk installation on mobilefromLinux machine]]]
Hi Dan For what I haved experimented with my Galaxy from Kubuntu 9.04 : I had to use the patched adb, dowloded from : http://floe.butterbrot.org/external/adb.gz the standard adb from android-1.5r3 did'nt detect the phone. I had to put the following line in /etc/udev/rules.d/51-android.rules: SUBSYSTEM==usb, SYSFS{idVendor}==04e8, MODE=0666 (note that idVendor O4e8 is specific to Samsung Galaxy). then I had to stop and start adb server : adb kill-server followed by adb start-server And only then adb install and adb devices worked with my Samsung Galaxy from Kubuntu. Some detailed explanations about the patch here : https://review.source.android.com/#change,10728 Andre --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[Fwd: [android-developers] Re: WebView Catch 22 - Same Window, Except For New Domain]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- It seems like what you want to happen is this: - if domain of URL is http://photics.com, display result in your webview - if it is not http://photics.com, go to the URL in a new window I think the answer is in this thread. I don't trust your solution. I don't understand why it would work twice. Try going to an external URL and then to photics.com It looks to me like the second access will have the WebViewClient set to null, so I don't see how your photics logic will be called. Mark Murphy provided an answer referring to starting a new activity. I think the answer is there. If you override shouldOverrideUrlLoading: - false means that the WebViewClient should display the contents of the URL (just load photics.com please) - true means that the code is handling it and you want something else to happen. (I've got this) How to open a browser with an intent and activity. See the nice article here: http://www.androidcompetencycenter.com/2009/08/view-site-in-a-new-windowbrowser/ Intent viewIntent = *new* Intent(“android.intent.action.VIEW”, Uri.*parse* (http://twitter.com/CarmenDelessio;)); startActivity(viewIntent); Putting it together, your code should do something like: public boolean shouldOverrideUrlLoading(WebView view, String url) { if (url.contains(http://photics.com;)) { return false; }else{ //url being called was passed to override shouldOverrideUrlLoading Intent viewIntent = *new* Intent(“android.intent.action.VIEW”, Uri .*parse*(url)); startActivity(viewIntent); return true; } Caveat - I haven't tested this. Another method I have overridden is: onPageStarted (WebView view, String url, Bitmap favicon) It seemed to be that onPageStarted was always called, but that there were cases when shouldOverrideUrlLoading was not. Might want to test that by logging what is called. Carmen http://www.twitter.com/CarmenDelessio On Mon, Sep 14, 2009 at 11:22 AM, Photics m...@photics.com wrote: OK... first... a correction in my previous post. every link opens in a new window ...the word external should have been added. Local files can work great. My problem is that I'm trying to create exceptions. I have to do this to make my advertisers happy. So OK... I have a fix... it's ugly... but it seems to work. mWebView.loadUrl(http://photics.com/games/conquest;); mWebView.getSettings().setCacheMode (WebSettings.LOAD_NO_CACHE); mWebView.setWebViewClient(new WebViewClient() { public boolean shouldOverrideUrlLoading(WebView view, String url) { if (url.contains(http://photics.com;)) { return false; } else mWebView.setWebViewClient(null); return false; } I seem to have the solution to my problem, but I'm not happy that I don't exactly understand how I did it. It seems incredibly odd to me that returning false twice worked. :-) I'm going to investigate this some more before I publish my app. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [android-developers] Re: ADC2 entries so far...]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- On Sep 13, 7:12 pm, Mobidev android.mobi...@gmail.com wrote: Bookworm http://andappstore.com/AndroidApplications/apps/734 Bookworm's category is Education/Reference thanks pskink --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [android-developers] Re: ADC2 entries so far...]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- Screebl is in the Prod/Tools category. On Sep 13, 1:12 pm, Mobidev android.mobi...@gmail.com wrote: Its mid September and ADC team will soon launch the ADC 2 judging application. So far its been a great job by the ADC team with sticking to the submission deadline and swift uploads(leaving aside package name confusion among the participants). Meanwhile, below are about 105 ADC2 entries posted on forum. In case of new additions or corrections please reply to this discussion with category app name links. ADC1 saw about 1788 apps and my guess is ADC2 will see a tleast 2500 apps considering the tight deadline (could have been much higher(4K+) otherwise). From the trend it seems that the Miscellaneous category has far less entries than Prod/Tools and Games(both) categories. Possibly, 21st ranking entry under Prod/Tools could be much better than 3rd ranking entry under Misc category. Unlike ADC1, this time Category will be a key factor in winning; along with Originality, Effective Platform Use, Polish and Indispensability. ----- Education/Reference Librarium IIhttp://steveoliverc.squarespace.com/ Math Jungle Mystic Maggiehttp://www.phdgaming.com/general_media/mm/ Vivify picture: mathhttp://vivifypicture.com/ Entertainment Daisy Gardenhttp://www.tomgibara.com/android/daisy/garden/ Taps Of Firehttp://code.google.com/p/tapsoffire Games: Arcade/Action CowPotato 3Dhttp://www.froogloid.com/cowpotato FRGhttp://www.woogames.com/ Galactic Guardian: Zap GPShttp://sites.google.com/site/mysticlakesoftware/ Graviturnhttp://www.cyrket.com/package/com.fheft.graviturn Head To Head Racinghttp://headtoheadracing.appspot.com/ Light Racer 3D Trial ProjectINFhttp://www.chickenbrickstudios.com/ UrbanGolf X-Dischttp://www.youtube.com/watch?v=3EkH-b15fPY Zepto Wars - RTS Games: Casual/Puzzle Furdiburbhttp://www.sheado.net/ Goobers Vs. Boogershttp://goobersvsboogers.blogspot.com/ ongPayhttp://www.yakloingames.com/ Relativiahttp://www.polyclefsoftware.com/relativia.html Splat!: Bugs IIhttp://dkdroid.com What the Doodle!? Lifestyle Beer Cloudhttp://greatbrewers.com/story/beercloud-mobile-app Bottle Buzz DoIthttp://curvefish.com/apps/doit.htm FoxyRing http://www.levelupstudio.fr/foxyring Gigboxhttp://www.mygigbox.com/ NetDroid NotiMe!http://www.youtube.com/watch?v=wFjoZmrj40k ReaderScopehttp://www.altcanvas.com/android/readerscope Rhythmatics Alphahttp://www.twitter.com/brownbaggames SpecTrek Media Gallery Map geoPastehttp://www.geopaste.com/ Mediafly Mobile Audio Podcast Client MicroJam MicroJam MyPODhttp://www.my-pod.org/ PackRathttp://packrat.unwesen.de/ Time-Lapsehttp://www.sheado.net/ Uloopshttp://www.uloops.net/ Misc Local Agentshttp://local-agents.appspot.com/ picjiggles litehttp://www.yakloingames.com/ Productivity/Tools Alarmoidhttp://www.youtube.com/watch?v=yNcVkP_vK08 aListhttp://androidalist.blogspot.com AppManagerhttp://curvefish.com/apps/appmanager.htm GeoAlerthttp://sites.google.com/site/appyoursmobile/geoalert Hoccerhttp://www.hoccer.com/ MobileWrite Mobisle Noteshttp://www.facebook.com/pages/MobisleApps/127994296229 MyPageshttp://www.youtube.com/watch?v=75lR4zLy_LQ OpenLoopzhttp://sites.iode.co.uk/openloopz/ Personalyticshttp://personalytics.net/ Skiba PDF Readerhttp://www.anddev.org/skiba_pdf_reader-t6122.html Smart Lockhttp://www.youtube.com/watch?v=ipue9Yhi5VA Talking Calendarhttp://www.pwnwithyourphone.com/ Taskerhttp://tasker.dinglisch.net/ Thinking Spacehttp://homepages.nildram.co.uk/~bakachu/screenshot.png Tracklethttp://tracklet.appspot.com txeethttp://txeet.com Voice Caller IDhttp://www.pwnwithyourphone.com/ WebReaderhttp://webreader.vamsee.in/ What Zip?http://www.usnaviguide.com/zip.htm Xeeku Search Social Networking A-GLOBAL-MINDhttp://a-global-mind.blogspot.com/ Cartoon
[Fwd: [android-developers] Re: Saving Intents to use later (WAY LATER!)]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- Roger L wrote: Well, this is what i am doing Calling ACTION_PICK_ACTIVITY for result, i get back Intent { action=android.intent.action.MAIN categories= {android.intent.category.LAUNCHER} comp={com.android.alarmclock/ com.android.alarmclock.AlarmClock} } Most likely, you are getting back an Intent object which dumps the above as the result of a call to toString(). do I have to somehow parse this and save the info, and then add .addActivity, .addCategory, and .setClassName? Parse? Use getter methods on the Intent object. In this case, you want getAction(), getCategories(), and getComponent(). The last one will return a ComponentName(), which in turn has getClassName() and getPackageName() getter methods. Persist all four of those values. Then, when you need the Intent back, use setClassName(), setAction(), and addCategory() to rebuild it from the pieces. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [android-developers] Re: locked up my Android device...]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- A bug would be great. Please send me the link. Thanks! On Mon, Sep 14, 2009 at 8:49 AM, michael maitlen mgmait...@gmail.comwrote: After trying to get the bug to occur all weekend, I was finally able to get it to happen this morning. Once the screen freezes and the Force Close Dialog comes up, non of the buttons have any effect with on the screen. In the logs though, the Home button, triggers a DeadObjectException...I've got an extensive log that I could supply, I assume it'd be better to post it on the bug page? Another interesting thing...the device is completely unresponsive, I even tried to call it from my home phone with no response at all, and I'm positive I had the correct phone number. On Sep 11, 8:59 pm, Dianne Hackborn hack...@android.com wrote: 10 threads is still a lot. All of the devices you will run on the foreseeable future are only going to have one cpu, so one thread, maybe two (you might get some parallelism out of decoding while another thread is reading through problem not much) should be more than enough. Going up to ten has a good chance of having worse performance than just a couple, since the scheduler is now needing to bounce around between all those threads (plus until 1.6 we are only relying on the Linux nice level for scheduling threads, so the more threads you have doing work in the background, the more time you will take away from the main thread as it wants slices to interact with the user). Anyway nothing you do should make the system freeze, so there is definitely a system bug there. :) Does pressing the home button not work either? On Fri, Sep 11, 2009 at 7:00 PM, Mark Murphy mmur...@commonsware.com wrote: michael m wrote: What I am doing, which I question, is loading each image via a thread as it is retrieved from the ImageCache...I pass back a default image if the bitmap is null, then update the default image in the ImageViews with the Bitmap is loaded from the sdcard; I'm doing this by posting to a Handler in the Adapter from the thread that loads the image. I suspect you are going to get in trouble with that many threads. So if the number of threads is the problem I'm thinking of loading all the bitmaps when the app is first initiated, probably using the AsyncTask class. That is probably too far in the other extreme. A question I have though about this is that the docs say that you can only call execute() once...what's happens if some of my Bitmaps are garbage collected?? Do I then call individual threads to reload? I've looked through some of the Google apps, Shelves and Photostream, but they don't seem to be using Bitmaps wrapped in SoftReferences. I've wrapped up this pattern in a ThumbnailAdapter: http://github.com/commonsguy/cwac-thumbnail/tree/master Basically, I use AsyncTaskEx, which is my fork of AsyncTask that allows for 10 parallel threads -- not infinite, but not only 1. I also gave up on SoftReferences, as posts in this list from a month or two ago gave me the impression that SoftReferences are effectively pointless with the current Dalvik garbage collection implementation. Instead, I use an LRU cache, (re)loading images on demand via AsyncTaskEx. It may be, though, that ThumbnailAdapter will just work for you, though I have not tried it for images starting on the SD card -- I was focused on caching them off the Internet. I don't have much in the way of documentation at this point, but there is a sample app in the github project. While I suspect I'll be upgrading the implementation in the coming months, the API (put the URL of the image to be loaded in the ImageView's setTag()) should remain constant. If you give it a whirl and run into problems, ping me on the cw-android Google Group, and I may be able to help: http://groups.google.com/group/cw-android -- Mark Murphy (a Commons Guy) http://commonsware.com|http://twitter.com/commonsguy Android Development Wiki:http://wiki.andmob.org -- 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. -- Dianne Hackborn Android
[Fwd: [android-developers] Re: How send DTMF in android?]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- HI all, Any response on this thread. Its important for my company product. Thanks, Gulfam On Sep 10, 12:14 pm, legerb drim...@gmail.com wrote: ToneGenerator won't help here - This API is not for generating tones over the uplink audio path. On Sep 8, 12:44 pm, Mark Ellul mark.el...@gmail.com wrote: Hi Gulfam, Did you solve the issue? I am trying to do the same thing and only have a HTC Hero to test with and its failing as well. Please if you have resolved the issue let me know... I have seen this classhttp://developer.android.com/reference/android/media/ToneGenerator.html but I am not sure if it will help in this case. Regards Mark On Aug 28, 8:55 am, Gulfam gulfa...@gmail.com wrote: Hi all, I am facing a problem on sendingDTMFin android. I am sendingDTMFin this format tel:+15187127050,9563547896# Its working fine on G1 but when i install the app on HTC Hero /HTC Magic its dispalying error message like this (Invalid MMI) Any one can help me regarding this. Thanks in advance. Gulfam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [android-developers] Where are the provided android applications?]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- I would like to step through the ViewContactActivity using the Eclipse debugger to gain a better understanding of how it is assembled. I can see the source code when I explore the source tree, but I do not see any of the classes inside Eclipse when using Ctrl+Shift+T to open the type. Also, when I open the type hierarchy with F4 to see what extends ListActivity, I do not see ViewContactActivity. Any clues? Peace, Scott --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [android-developers] Question about custom Views in ListView]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- Question about custom Views in ListView This app is building custom Views for elements of a list view. How can the custom view be made to fill the entire width of the list view? This XML for the element’s view is inflated from this: ?xml version=1.0 encoding=utf-8? LinearLayout android:id=@+id/LinearLayout01 android:layout_width=fill_parent xmlns:android=http://schemas.android.com/apk/res/android; android:background=#D0D0D0 android:orientation=vertical android:layout_height=wrap_content TextView android:text=TextView01 android:id=@+id/TextView01 android:layout_height=wrap_content android:textColor=#FF android:textSize=10pt android:textStyle=normal android:typeface=normal android:layout_width=fill_parent android:gravity=center_horizontal / /LinearLayout In the Eclipse layout editor it looks great. The string “TextView01” is centered in a gray box centered horizontally in the parent LinearLayout. But when displayed by the ListView, as returned from Adapter.getView (), it is all to the left. Like the parent LinearLayout.layout_width was reset to “wrap_content” rather than “fill_parent.” I want the entire width of the ListView to be filled with this view. Any ideas?? Thank you! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [android-developers] Re: setText]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- It does not appear to fit in its parent. If changing textSize to something smaller than 40sp makes it fit, then you will need to either shrink the text or increase the available space in the parent. Yusuf Saib Android ·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 Sep 13, 8:41 am, WoodManEXP woodman...@gmail.com wrote: I do not know the answer to this but I might experiment with setting a width other than wrap_content just to see how it behaves. Maybe try setting width to something like 100dip as a starter and see if the same behavior occurs. On Sep 13, 3:47 am, Anastasiya Dremina anastasiya.drem...@gmail.com wrote: Example was 9|15 must be 10|15 10|1 is shown 2009/9/13 Anastasiya anastasiya.drem...@gmail.com Hi guys My problem I have TextView android:id=@+id/myText android:layout_width=wrap_content android:layout_height=wrap_content android:layout_alignParentRight=true android:layout_alignParentTop=true android:textSize=40sp / I use setText method in code. Sometimes all text is not displayed for a second (I have enough space.. And previous text can have width current width). Does anyone know decision?- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [android-developers] Re: WebView Catch 22 - Same Window, Except For New Domain]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- It seems like what you want to happen is this: - if domain of URL is http://photics.com, display result in your webview - if it is not http://photics.com, go to the URL in a new window I think the answer is in this thread. I don't trust your solution. I don't understand why it would work twice. Try going to an external URL and then to photics.com It looks to me like the second access will have the WebViewClient set to null, so I don't see how your photics logic will be called. Mark Murphy provided an answer referring to starting a new activity. I think the answer is there. If you override shouldOverrideUrlLoading: - false means that the WebViewClient should display the contents of the URL (just load photics.com please) - true means that the code is handling it and you want something else to happen. (I've got this) How to open a browser with an intent and activity. See the nice article here: http://www.androidcompetencycenter.com/2009/08/view-site-in-a-new-windowbrowser/ Intent viewIntent = *new* Intent(“android.intent.action.VIEW”, Uri.*parse* (http://twitter.com/CarmenDelessio;)); startActivity(viewIntent); Putting it together, your code should do something like: public boolean shouldOverrideUrlLoading(WebView view, String url) { if (url.contains(http://photics.com;)) { return false; }else{ //url being called was passed to override shouldOverrideUrlLoading Intent viewIntent = *new* Intent(“android.intent.action.VIEW”, Uri .*parse*(url)); startActivity(viewIntent); return true; } Caveat - I haven't tested this. Another method I have overridden is: onPageStarted (WebView view, String url, Bitmap favicon) It seemed to be that onPageStarted was always called, but that there were cases when shouldOverrideUrlLoading was not. Might want to test that by logging what is called. Carmen http://www.twitter.com/CarmenDelessio On Mon, Sep 14, 2009 at 11:22 AM, Photics m...@photics.com wrote: OK... first... a correction in my previous post. every link opens in a new window ...the word external should have been added. Local files can work great. My problem is that I'm trying to create exceptions. I have to do this to make my advertisers happy. So OK... I have a fix... it's ugly... but it seems to work. mWebView.loadUrl(http://photics.com/games/conquest;); mWebView.getSettings().setCacheMode (WebSettings.LOAD_NO_CACHE); mWebView.setWebViewClient(new WebViewClient() { public boolean shouldOverrideUrlLoading(WebView view, String url) { if (url.contains(http://photics.com;)) { return false; } else mWebView.setWebViewClient(null); return false; } I seem to have the solution to my problem, but I'm not happy that I don't exactly understand how I did it. It seems incredibly odd to me that returning false twice worked. :-) I'm going to investigate this some more before I publish my app. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [android-developers] Re: WebView Catch 22 - Same Window, Except For New Domain]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- It seems like what you want to happen is this: - if domain of URL is http://photics.com, display result in your webview - if it is not http://photics.com, go to the URL in a new window I think the answer is in this thread. I don't trust your solution. I don't understand why it would work twice. Try going to an external URL and then to photics.com It looks to me like the second access will have the WebViewClient set to null, so I don't see how your photics logic will be called. Mark Murphy provided an answer referring to starting a new activity. I think the answer is there. If you override shouldOverrideUrlLoading: - false means that the WebViewClient should display the contents of the URL (just load photics.com please) - true means that the code is handling it and you want something else to happen. (I've got this) How to open a browser with an intent and activity. See the nice article here: http://www.androidcompetencycenter.com/2009/08/view-site-in-a-new-windowbrowser/ Intent viewIntent = *new* Intent(“android.intent.action.VIEW”, Uri.*parse* (http://twitter.com/CarmenDelessio;)); startActivity(viewIntent); Putting it together, your code should do something like: public boolean shouldOverrideUrlLoading(WebView view, String url) { if (url.contains(http://photics.com;)) { return false; }else{ //url being called was passed to override shouldOverrideUrlLoading Intent viewIntent = *new* Intent(“android.intent.action.VIEW”, Uri .*parse*(url)); startActivity(viewIntent); return true; } Caveat - I haven't tested this. Another method I have overridden is: onPageStarted (WebView view, String url, Bitmap favicon) It seemed to be that onPageStarted was always called, but that there were cases when shouldOverrideUrlLoading was not. Might want to test that by logging what is called. Carmen http://www.twitter.com/CarmenDelessio On Mon, Sep 14, 2009 at 11:22 AM, Photics m...@photics.com wrote: OK... first... a correction in my previous post. every link opens in a new window ...the word external should have been added. Local files can work great. My problem is that I'm trying to create exceptions. I have to do this to make my advertisers happy. So OK... I have a fix... it's ugly... but it seems to work. mWebView.loadUrl(http://photics.com/games/conquest;); mWebView.getSettings().setCacheMode (WebSettings.LOAD_NO_CACHE); mWebView.setWebViewClient(new WebViewClient() { public boolean shouldOverrideUrlLoading(WebView view, String url) { if (url.contains(http://photics.com;)) { return false; } else mWebView.setWebViewClient(null); return false; } I seem to have the solution to my problem, but I'm not happy that I don't exactly understand how I did it. It seems incredibly odd to me that returning false twice worked. :-) I'm going to investigate this some more before I publish my app. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [android-developers] Re: Saving Intents to use later (WAY LATER!)]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- That was just what I needed. Thank you! Again you prevail! On Sep 14, 9:41 am, Mark Murphy mmur...@commonsware.com wrote: Roger L wrote: Well, this is what i am doing Calling ACTION_PICK_ACTIVITY for result, i get back Intent { action=android.intent.action.MAIN categories= {android.intent.category.LAUNCHER} comp={com.android.alarmclock/ com.android.alarmclock.AlarmClock} } Most likely, you are getting back an Intent object which dumps the above as the result of a call to toString(). do I have to somehow parse this and save the info, and then add .addActivity, .addCategory, and .setClassName? Parse? Use getter methods on the Intent object. In this case, you want getAction(), getCategories(), and getComponent(). The last one will return a ComponentName(), which in turn has getClassName() and getPackageName() getter methods. Persist all four of those values. Then, when you need the Intent back, use setClassName(), setAction(), and addCategory() to rebuild it from the pieces. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [android-developers] Re: HTC Magic as dev phone]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- Bear in mind that if you develop and test your app on a device w/o a sliding kb, it may not run as expected on a device with one, and vice versa. Yusuf Saib Android ·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 Sep 12, 1:06 pm, Mark Murphy mmur...@commonsware.com wrote: dashman wrote: i'd like to buy the HTC Magic for my dev phone - i don't want the physical sliding keyboard. with the HTC magic work as the dev phone. You can test SDK applications using an HTC Magic. does HTC provide updated android updates for it. Please contact your mobile provider for details regarding device updates. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android App Developer Training:http://commonsware.com/training.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [android-developers] Re: Saving Intents to use later (WAY LATER!)]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- Somehow this doesn't seem to be documented, but this is the method you want: http://developer.android.com/reference/android/content/Intent.html#toURI() Ah the current source tree has documentation: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/content/Intent.java On Mon, Sep 14, 2009 at 9:11 AM, Roger L rogerl.andr...@gmail.com wrote: I am banging my head into a brick wall! I want to save an intent pick from the ACTION_PICK_ACTIVITY into a preference/database/etc... and use it as a result for my application every time it runs. But, there is no way to save the right data type (Intent) into preferences or a database, or anyway that I can see to convert from a string or such back into the (Intent)!! Someone please point me in the right direction?!? -- 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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [android-developers] Re: HTC Magic as dev phone]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- Bear in mind that if you develop and test your app on a device w/o a sliding kb, it may not run as expected on a device with one, and vice versa. Yusuf Saib Android ·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 Sep 12, 1:06 pm, Mark Murphy mmur...@commonsware.com wrote: dashman wrote: i'd like to buy the HTC Magic for my dev phone - i don't want the physical sliding keyboard. with the HTC magic work as the dev phone. You can test SDK applications using an HTC Magic. does HTC provide updated android updates for it. Please contact your mobile provider for details regarding device updates. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android App Developer Training:http://commonsware.com/training.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [Fwd: [android-developers] Re: ADC2 entries so far...]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- On Sep 13, 7:12 pm, Mobidev android.mobi...@gmail.com wrote: Bookworm http://andappstore.com/AndroidApplications/apps/734 Bookworm's category is Education/Reference thanks pskink --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message---
[Fwd: [android-developers] Request helping for writting HTTP Request in Android]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- package com.example.helloandroid; import java.io.IOException; import java.io.InputStream; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; import org.apache.http.HttpResponse; import org.apache.http.HttpStatus; import org.apache.http.client.*; import org.apache.http.client.methods.*; import org.apache.http.impl.client.DefaultHttpClient; //import org.apache.http.util.EntityUtils; public class HelloAndroid extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); try { HttpClient hc = new DefaultHttpClient(); HttpGet get = new HttpGet(http://www.yahoo.com;); HttpResponse rp = hc.execute(get); if(rp.getStatusLine().getStatusCode() == HttpStatus.SC_OK) { //String str = EntityUtils.toString(rp.getEntity()); InputStream is = rp.getEntity().getContent(); String str = is.toString(); TextView tv = new TextView(this); tv.setText(str); setContentView(tv); } else { System.out.println(halo,baby.); } }catch(IOException e){ return; } } } the above is my code. but it seems there are some problems here. I want to send the HTTP request to yahoo and get back the returned response and show it out. So, Anyone can give me some ideas on it? Thank you. Carmen Lau --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [Fwd: [android-developers] Re: WebView Catch 22 - Same Window, Except For New Domain]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- It seems like what you want to happen is this: - if domain of URL is http://photics.com, display result in your webview - if it is not http://photics.com, go to the URL in a new window I think the answer is in this thread. I don't trust your solution. I don't understand why it would work twice. Try going to an external URL and then to photics.com It looks to me like the second access will have the WebViewClient set to null, so I don't see how your photics logic will be called. Mark Murphy provided an answer referring to starting a new activity. I think the answer is there. If you override shouldOverrideUrlLoading: - false means that the WebViewClient should display the contents of the URL (just load photics.com please) - true means that the code is handling it and you want something else to happen. (I've got this) How to open a browser with an intent and activity. See the nice article here: http://www.androidcompetencycenter.com/2009/08/view-site-in-a-new-windowbrowser/ Intent viewIntent = *new* Intent(“android.intent.action.VIEW”, Uri.*parse* (http://twitter.com/CarmenDelessio;)); startActivity(viewIntent); Putting it together, your code should do something like: public boolean shouldOverrideUrlLoading(WebView view, String url) { if (url.contains(http://photics.com;)) { return false; }else{ //url being called was passed to override shouldOverrideUrlLoading Intent viewIntent = *new* Intent(“android.intent.action.VIEW”, Uri .*parse*(url)); startActivity(viewIntent); return true; } Caveat - I haven't tested this. Another method I have overridden is: onPageStarted (WebView view, String url, Bitmap favicon) It seemed to be that onPageStarted was always called, but that there were cases when shouldOverrideUrlLoading was not. Might want to test that by logging what is called. Carmen http://www.twitter.com/CarmenDelessio On Mon, Sep 14, 2009 at 11:22 AM, Photics m...@photics.com wrote: OK... first... a correction in my previous post. every link opens in a new window ...the word external should have been added. Local files can work great. My problem is that I'm trying to create exceptions. I have to do this to make my advertisers happy. So OK... I have a fix... it's ugly... but it seems to work. mWebView.loadUrl(http://photics.com/games/conquest;); mWebView.getSettings().setCacheMode (WebSettings.LOAD_NO_CACHE); mWebView.setWebViewClient(new WebViewClient() { public boolean shouldOverrideUrlLoading(WebView view, String url) { if (url.contains(http://photics.com;)) { return false; } else mWebView.setWebViewClient(null); return false; } I seem to have the solution to my problem, but I'm not happy that I don't exactly understand how I did it. It seems incredibly odd to me that returning false twice worked. :-) I'm going to investigate this some more before I publish my app. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message---
[Fwd: [android-developers] Re: apk installation on mobilefromLinux machine]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- I usually do the following. sudo ./adb kill-server sudo ./adb devices sudo ./adb -d install -r someFile.apk On Sep 14, 12:40 pm, André Charles Legendre andre.legen...@gmail.com wrote: Hi Thank's to Dilli and Tauno I have enabled USB debugging. When I do adb devices I get no devices. If I look in /var/log/messages I see that mobile is detected when it is connected. The system give it a disk alias (sdb) and a network alias /dev/ttyACM But no devices is detected by adb. Any help welcome. Andre --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [android-developers] Re: Countries for selling priced applications in Android Market]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- What about Taiwan where HTC the company made the first android phone is from? Definitely many Taiwanese developers including HTC employees are eager to buy and sell on Android market! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [android-developers] Activitity View Window?]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- English is not my first language. I've been working with android for about a week now, and some things really start to annoy me. What I'm trying to do is very simple. An app with three windows and a background service. The background service polls information from a webservice and adds this to a few objects. First window you choose what kind data you want to list and look at. Second window shows the list you wanted to see, click a list item you want detailed info about Third window shows the info associated with the list item clicked. Now each window has it's own Activity (1,3 = Activity, 2 = ListActivity). First of all I'd like to follow android coding standards/conventions. But I can't really find any? For example I'd like to NOT start new activities as they are expansive to start. And I have had a hard time finding something that would just stop a child activity and not kill it as I heard finish() will do. And using activities I'm having problems being able to go from window 3 to 1, and it would feel strange to finish both the info activity and then finish the list activity if the result from info activity is set to something. This is how I solved it now. Then sometime in the future I should add update callbacks to the activities when I poll updated data but I'd like to understand the basic design concepts. But as I said I'm not happy with the solution at all. And the application is just an early prototype for now and will be a lot bigger in the future. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [Fwd: [android-developers] Re: HTC Magic as dev phone]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- Bear in mind that if you develop and test your app on a device w/o a sliding kb, it may not run as expected on a device with one, and vice versa. Yusuf Saib Android ·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 Sep 12, 1:06 pm, Mark Murphy mmur...@commonsware.com wrote: dashman wrote: i'd like to buy the HTC Magic for my dev phone - i don't want the physical sliding keyboard. with the HTC magic work as the dev phone. You can test SDK applications using an HTC Magic. does HTC provide updated android updates for it. Please contact your mobile provider for details regarding device updates. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android App Developer Training:http://commonsware.com/training.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message---
[Fwd: [Fwd: [android-developers] Re: ADC2 entries so far...]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- here's a link for a video of the ADC version (1.0.0) of Light Racer 3D. http://www.youtube.com/watch?v=cpghliDfzdI On Sep 14, 11:54 am, dadical keyes...@gmail.com wrote: Screebl is in the Prod/Tools category. On Sep 13, 1:12 pm, Mobidev android.mobi...@gmail.com wrote: Its mid September and ADC team will soon launch the ADC 2 judging application. So far its been a great job by the ADC team with sticking to the submission deadline and swift uploads(leaving aside package name confusion among the participants). Meanwhile, below are about 105 ADC2 entries posted on forum. In case of new additions or corrections please reply to this discussion with category app name links. ADC1 saw about 1788 apps and my guess is ADC2 will see a tleast 2500 apps considering the tight deadline (could have been much higher(4K+) otherwise). From the trend it seems that the Miscellaneous category has far less entries than Prod/Tools and Games(both) categories. Possibly, 21st ranking entry under Prod/Tools could be much better than 3rd ranking entry under Misc category. Unlike ADC1, this time Category will be a key factor in winning; along with Originality, Effective Platform Use, Polish and Indispensability. ----- Education/Reference Librarium IIhttp://steveoliverc.squarespace.com/ Math Jungle Mystic Maggiehttp://www.phdgaming.com/general_media/mm/ Vivify picture: mathhttp://vivifypicture.com/ Entertainment Daisy Gardenhttp://www.tomgibara.com/android/daisy/garden/ Taps Of Firehttp://code.google.com/p/tapsoffire Games: Arcade/Action CowPotato 3Dhttp://www.froogloid.com/cowpotato FRGhttp://www.woogames.com/ Galactic Guardian: Zap GPShttp://sites.google.com/site/mysticlakesoftware/ Graviturnhttp://www.cyrket.com/package/com.fheft.graviturn Head To Head Racinghttp://headtoheadracing.appspot.com/ Light Racer 3D Trial ProjectINFhttp://www.chickenbrickstudios.com/ UrbanGolf X-Dischttp://www.youtube.com/watch?v=3EkH-b15fPY Zepto Wars - RTS Games: Casual/Puzzle Furdiburbhttp://www.sheado.net/ Goobers Vs. Boogershttp://goobersvsboogers.blogspot.com/ ongPayhttp://www.yakloingames.com/ Relativiahttp://www.polyclefsoftware.com/relativia.html Splat!: Bugs IIhttp://dkdroid.com What the Doodle!? Lifestyle Beer Cloudhttp://greatbrewers.com/story/beercloud-mobile-app Bottle Buzz DoIthttp://curvefish.com/apps/doit.htm FoxyRing http://www.levelupstudio.fr/foxyring Gigboxhttp://www.mygigbox.com/ NetDroid NotiMe!http://www.youtube.com/watch?v=wFjoZmrj40k ReaderScopehttp://www.altcanvas.com/android/readerscope Rhythmatics Alphahttp://www.twitter.com/brownbaggames SpecTrek Media Gallery Map geoPastehttp://www.geopaste.com/ Mediafly Mobile Audio Podcast Client MicroJam MicroJam MyPODhttp://www.my-pod.org/ PackRathttp://packrat.unwesen.de/ Time-Lapsehttp://www.sheado.net/ Uloopshttp://www.uloops.net/ Misc Local Agentshttp://local-agents.appspot.com/ picjiggles litehttp://www.yakloingames.com/ Productivity/Tools Alarmoidhttp://www.youtube.com/watch?v=yNcVkP_vK08 aListhttp://androidalist.blogspot.com AppManagerhttp://curvefish.com/apps/appmanager.htm GeoAlerthttp://sites.google.com/site/appyoursmobile/geoalert Hoccerhttp://www.hoccer.com/ MobileWrite Mobisle Noteshttp://www.facebook.com/pages/MobisleApps/127994296229 MyPageshttp://www.youtube.com/watch?v=75lR4zLy_LQ
[Fwd: [android-developers] Multiple frame based animations]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- Hi all. I'm trying to concatenate two frame based animations. I've tried some approaches without success: 1.- I've tried to use an ImageView and change the backgroundResource when required but the resource isn't changed. 2.- I've tried also using two ImageViews, set one animation to each and set visibility to Invisible for the second. At the moment of changing, the only change is to switch visibilities and start the second animation. Also doesn't work. I've found something interesting that is, using the same scenario as in 2. Starting the activity with both imageViews visibile, the concatenation is successfull. Even setting the first imageView to invisible!! But I cannot go ahead with the first frame of the second animation being visible while the first animation is running. Any advice? Thanks. Carlos --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [android-developers] Re: TranslateAnimation leaves traces]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- I have the same problem in an application that I'm developing; just to say that you are not the only one having this issue. If I find a solution, I'll post it here (could you please do the same? :) ) so to help you, if needed. Maybe it's only a matter of firmware and in the next release of Android the performances will improver and this issue will be solved with no need to change the code. Best regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [Fwd: [android-developers] Re: HTC Magic as dev phone]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- Bear in mind that if you develop and test your app on a device w/o a sliding kb, it may not run as expected on a device with one, and vice versa. Yusuf Saib Android ·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 Sep 12, 1:06 pm, Mark Murphy mmur...@commonsware.com wrote: dashman wrote: i'd like to buy the HTC Magic for my dev phone - i don't want the physical sliding keyboard. with the HTC magic work as the dev phone. You can test SDK applications using an HTC Magic. does HTC provide updated android updates for it. Please contact your mobile provider for details regarding device updates. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android App Developer Training:http://commonsware.com/training.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message---
[Fwd: [android-developers] Communication over USB with Program on Computer]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- Goal: Send Data from the phone to the computer (and the other way) using only the USB cable. We need this to synchronize data between the a program on the android phone and a program on the computer. Over Wifi is not an option. It has to work over the USB cable. We need this for a university project and would be glad if anyone could enlighten us on this matter. Thank you already for the help. Greetings Patrick Boos --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [Fwd: [android-developers] Re: WebView Catch 22 - Same Window, Except For New Domain]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- It seems like what you want to happen is this: - if domain of URL is http://photics.com, display result in your webview - if it is not http://photics.com, go to the URL in a new window I think the answer is in this thread. I don't trust your solution. I don't understand why it would work twice. Try going to an external URL and then to photics.com It looks to me like the second access will have the WebViewClient set to null, so I don't see how your photics logic will be called. Mark Murphy provided an answer referring to starting a new activity. I think the answer is there. If you override shouldOverrideUrlLoading: - false means that the WebViewClient should display the contents of the URL (just load photics.com please) - true means that the code is handling it and you want something else to happen. (I've got this) How to open a browser with an intent and activity. See the nice article here: http://www.androidcompetencycenter.com/2009/08/view-site-in-a-new-windowbrowser/ Intent viewIntent = *new* Intent(“android.intent.action.VIEW”, Uri.*parse* (http://twitter.com/CarmenDelessio;)); startActivity(viewIntent); Putting it together, your code should do something like: public boolean shouldOverrideUrlLoading(WebView view, String url) { if (url.contains(http://photics.com;)) { return false; }else{ //url being called was passed to override shouldOverrideUrlLoading Intent viewIntent = *new* Intent(“android.intent.action.VIEW”, Uri .*parse*(url)); startActivity(viewIntent); return true; } Caveat - I haven't tested this. Another method I have overridden is: onPageStarted (WebView view, String url, Bitmap favicon) It seemed to be that onPageStarted was always called, but that there were cases when shouldOverrideUrlLoading was not. Might want to test that by logging what is called. Carmen http://www.twitter.com/CarmenDelessio On Mon, Sep 14, 2009 at 11:22 AM, Photics m...@photics.com wrote: OK... first... a correction in my previous post. every link opens in a new window ...the word external should have been added. Local files can work great. My problem is that I'm trying to create exceptions. I have to do this to make my advertisers happy. So OK... I have a fix... it's ugly... but it seems to work. mWebView.loadUrl(http://photics.com/games/conquest;); mWebView.getSettings().setCacheMode (WebSettings.LOAD_NO_CACHE); mWebView.setWebViewClient(new WebViewClient() { public boolean shouldOverrideUrlLoading(WebView view, String url) { if (url.contains(http://photics.com;)) { return false; } else mWebView.setWebViewClient(null); return false; } I seem to have the solution to my problem, but I'm not happy that I don't exactly understand how I did it. It seems incredibly odd to me that returning false twice worked. :-) I'm going to investigate this some more before I publish my app. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message---
[Fwd: [Fwd: [android-developers] Re: locked up my Android device...]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- A bug would be great. Please send me the link. Thanks! On Mon, Sep 14, 2009 at 8:49 AM, michael maitlen mgmait...@gmail.comwrote: After trying to get the bug to occur all weekend, I was finally able to get it to happen this morning. Once the screen freezes and the Force Close Dialog comes up, non of the buttons have any effect with on the screen. In the logs though, the Home button, triggers a DeadObjectException...I've got an extensive log that I could supply, I assume it'd be better to post it on the bug page? Another interesting thing...the device is completely unresponsive, I even tried to call it from my home phone with no response at all, and I'm positive I had the correct phone number. On Sep 11, 8:59 pm, Dianne Hackborn hack...@android.com wrote: 10 threads is still a lot. All of the devices you will run on the foreseeable future are only going to have one cpu, so one thread, maybe two (you might get some parallelism out of decoding while another thread is reading through problem not much) should be more than enough. Going up to ten has a good chance of having worse performance than just a couple, since the scheduler is now needing to bounce around between all those threads (plus until 1.6 we are only relying on the Linux nice level for scheduling threads, so the more threads you have doing work in the background, the more time you will take away from the main thread as it wants slices to interact with the user). Anyway nothing you do should make the system freeze, so there is definitely a system bug there. :) Does pressing the home button not work either? On Fri, Sep 11, 2009 at 7:00 PM, Mark Murphy mmur...@commonsware.com wrote: michael m wrote: What I am doing, which I question, is loading each image via a thread as it is retrieved from the ImageCache...I pass back a default image if the bitmap is null, then update the default image in the ImageViews with the Bitmap is loaded from the sdcard; I'm doing this by posting to a Handler in the Adapter from the thread that loads the image. I suspect you are going to get in trouble with that many threads. So if the number of threads is the problem I'm thinking of loading all the bitmaps when the app is first initiated, probably using the AsyncTask class. That is probably too far in the other extreme. A question I have though about this is that the docs say that you can only call execute() once...what's happens if some of my Bitmaps are garbage collected?? Do I then call individual threads to reload? I've looked through some of the Google apps, Shelves and Photostream, but they don't seem to be using Bitmaps wrapped in SoftReferences. I've wrapped up this pattern in a ThumbnailAdapter: http://github.com/commonsguy/cwac-thumbnail/tree/master Basically, I use AsyncTaskEx, which is my fork of AsyncTask that allows for 10 parallel threads -- not infinite, but not only 1. I also gave up on SoftReferences, as posts in this list from a month or two ago gave me the impression that SoftReferences are effectively pointless with the current Dalvik garbage collection implementation. Instead, I use an LRU cache, (re)loading images on demand via AsyncTaskEx. It may be, though, that ThumbnailAdapter will just work for you, though I have not tried it for images starting on the SD card -- I was focused on caching them off the Internet. I don't have much in the way of documentation at this point, but there is a sample app in the github project. While I suspect I'll be upgrading the implementation in the coming months, the API (put the URL of the image to be loaded in the ImageView's setTag()) should remain constant. If you give it a whirl and run into problems, ping me on the cw-android Google Group, and I may be able to help: http://groups.google.com/group/cw-android
[Fwd: [android-developers] Request for a log when Hibernate (alarm) fails.]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- This is a request for another developer, probably with a US phone, maybe a Hero to try out my Beta app and send me the log if it Force Closes. It may be there is already a place where I can request this (getting a log from another phone) - in which case apologies. Background: I have written an app (Hibernate (Alarm)) which is now in the Android Market as a Beta. It reads the system settings (changes a few), looks at whether the GPS is enabled, lists all of the installed apps and turns on Airplane Mode. I don't believe I have done anything Google wouldn't approve of. I tested it thoroughly both on the the emulator and on my G1 (T-Mobile UK) and using JUnit. I have also desk checked the code to here and infinity and for extra inspiration banged my head on the same desk. I have also considered/ tried other things such as varying phone settings and locale and triple checked I have the correct permissions. However several people have reported that it causes Force Close - probably (they never give much detail) straight away. What I am requesting: I don't think I will ever manage to solve this with-out a log of the error (or buying loads of phones) as I now believe it must be something different in the phone (or more likely the Android build) they are using. So if some-one very kindly could download the app from the market (or I'll happily email you the .apk) and email me the log (*) of it failing it would really make my day. Even just getting a detailed report on your phone and what you did (especially at what point it failed) might help. Lastly if any-one knows of any important issues specific to the UK T- Mobile G1 (or major differences in other phones) I'd also really appreciate that as it may give me a clue. Remember you may be in this position one day - when I sincerely hope I can return the favour (I'm in the UK that's how we spell favor). In fact I am offering to do exactly that now for any-one who asks. Thanks in anticipation, Pete * - this is a developers forum so I hope I am assuming every-one knows how to do this. However I have found the SendLog app to be a really easy way to send logs. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [android-developers] Programmatically set typeface and textsize of Spinner / ComboBox]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- For other items settypeface and settextsize are available, but not for Spinner. I would like to have a mechanism that dynamically changes the Spinner without using a fixed XML definition. I am trying to re- program the default android.R.layout.simple_spinner_item and android.R.layout.simple_spinner_dropdown_item containers. I have tried the following code without success. Where am I going wrong? class ComboBox extends Spinner { private int listid; private ArrayListString alist = new ArrayListString(); private TextView ssi; private CheckedTextView ssdi; public ComboBox (Context context,int listid) { super(context); this.listid = listid; ArrayAdapterString ladapt = new ArrayAdapterString(context, android.R.layout.simple_spinner_item, alist); ladapt.setDropDownViewResource (android.R.layout.simple_spinner_dropdown_item); setAdapter(ladapt); ssi = (TextView)findViewById (android.R.layout.simple_spinner_item); ssdi = (CheckedTextView)findViewById (android.R.layout.simple_spinner_dropdown_item); } public int getId() { return listid; } public void addItem(String txt) { alist.add(txt); } public void setTypeface(Typeface tf) { ssi.setTypeface(tf); ssdi.setTypeface(tf); } public void setTextColor(int colour) { ssi.setTextColor(colour); ssdi.setTextColor(colour); } public void setTextSize(int sz) { ssi.setTextSize(sz); ssdi.setTextSize(sz); } } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [Fwd: [android-developers] Where are the provided android applications?]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- I would like to step through the ViewContactActivity using the Eclipse debugger to gain a better understanding of how it is assembled. I can see the source code when I explore the source tree, but I do not see any of the classes inside Eclipse when using Ctrl+Shift+T to open the type. Also, when I open the type hierarchy with F4 to see what extends ListActivity, I do not see ViewContactActivity. Any clues? Peace, Scott --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message---
[Fwd: [Fwd: [android-developers] Re: Saving Intents to use later (WAY LATER!)]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- Roger L wrote: Well, this is what i am doing Calling ACTION_PICK_ACTIVITY for result, i get back Intent { action=android.intent.action.MAIN categories= {android.intent.category.LAUNCHER} comp={com.android.alarmclock/ com.android.alarmclock.AlarmClock} } Most likely, you are getting back an Intent object which dumps the above as the result of a call to toString(). do I have to somehow parse this and save the info, and then add .addActivity, .addCategory, and .setClassName? Parse? Use getter methods on the Intent object. In this case, you want getAction(), getCategories(), and getComponent(). The last one will return a ComponentName(), which in turn has getClassName() and getPackageName() getter methods. Persist all four of those values. Then, when you need the Intent back, use setClassName(), setAction(), and addCategory() to rebuild it from the pieces. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message---
[Fwd: [Fwd: [android-developers] Re: Saving Intents to use later (WAY LATER!)]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- Somehow this doesn't seem to be documented, but this is the method you want: http://developer.android.com/reference/android/content/Intent.html#toURI() Ah the current source tree has documentation: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/content/Intent.java On Mon, Sep 14, 2009 at 9:11 AM, Roger L rogerl.andr...@gmail.com wrote: I am banging my head into a brick wall! I want to save an intent pick from the ACTION_PICK_ACTIVITY into a preference/database/etc... and use it as a result for my application every time it runs. But, there is no way to save the right data type (Intent) into preferences or a database, or anyway that I can see to convert from a string or such back into the (Intent)!! Someone please point me in the right direction?!? -- 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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message---
[Fwd: [android-developers] codeBeamer, Collaborative ALM Solution for Git and Android]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- Intland Software announces the availability of codeBeamer 5.4, the award winning Collaborative Application Lifecycle Management Solution for distributed software development. Today's challenge is to tackle *Android sized projects* with 2GB of code and hundreds of thousands of change sets, and codeBeamer 5.4 is capable of processing these repositories. Version highlights: * Issue escalation with hierarchic working calendars * Calculated tracker fields with rich formula * Wiki page editing directly in Microsoft Word * Scalable version control management * Major enhancements in supporting Git and Mercurial * Revised search: more relevancy, richer query syntax, friendlier interface Links: * Product homepage: http://www.intland.com/products/cb/overview.html * FREE download (no expiration!): http://www.intland.com/products/download.html#download * FREE hosted version: http://www.intland.com/products/download.html#trial --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [Fwd: [android-developers] Re: Saving Intents to use later (WAY LATER!)]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- That was just what I needed. Thank you! Again you prevail! On Sep 14, 9:41 am, Mark Murphy mmur...@commonsware.com wrote: Roger L wrote: Well, this is what i am doing Calling ACTION_PICK_ACTIVITY for result, i get back Intent { action=android.intent.action.MAIN categories= {android.intent.category.LAUNCHER} comp={com.android.alarmclock/ com.android.alarmclock.AlarmClock} } Most likely, you are getting back an Intent object which dumps the above as the result of a call to toString(). do I have to somehow parse this and save the info, and then add .addActivity, .addCategory, and .setClassName? Parse? Use getter methods on the Intent object. In this case, you want getAction(), getCategories(), and getComponent(). The last one will return a ComponentName(), which in turn has getClassName() and getPackageName() getter methods. Persist all four of those values. Then, when you need the Intent back, use setClassName(), setAction(), and addCategory() to rebuild it from the pieces. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message---
[Fwd: [android-developers] usb for android]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- Hi, How USB adb /USB ohci / USB Gadget works on User Space ie Middleware, Which daemon and libraries were used to connect kernal space. I found android architecture document for other drivers like audio, bluetooth but not USB in pdk/docs. Could you please explain the android USB architecture for userspace and kernal space and if any document please share with me. thanks Regds, Jayasree --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [android-developers] How to remove contact from a group]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- I have i little problem, I can create groups for contacts, can add persons to this group, can edit group, can also delete a group but I can NOT remove a contact from a group. Can anyone help me with this problem? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [Fwd: [android-developers] Re: setText]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- It does not appear to fit in its parent. If changing textSize to something smaller than 40sp makes it fit, then you will need to either shrink the text or increase the available space in the parent. Yusuf Saib Android ·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 Sep 13, 8:41 am, WoodManEXP woodman...@gmail.com wrote: I do not know the answer to this but I might experiment with setting a width other than wrap_content just to see how it behaves. Maybe try setting width to something like 100dip as a starter and see if the same behavior occurs. On Sep 13, 3:47 am, Anastasiya Dremina anastasiya.drem...@gmail.com wrote: Example was 9|15 must be 10|15 10|1 is shown 2009/9/13 Anastasiya anastasiya.drem...@gmail.com Hi guys My problem I have TextView android:id=@+id/myText android:layout_width=wrap_content android:layout_height=wrap_content android:layout_alignParentRight=true android:layout_alignParentTop=true android:textSize=40sp / I use setText method in code. Sometimes all text is not displayed for a second (I have enough space.. And previous text can have width current width). Does anyone know decision?- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message---
[Fwd: [Fwd: [android-developers] Question about custom Views in ListView]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- Question about custom Views in ListView This app is building custom Views for elements of a list view. How can the custom view be made to fill the entire width of the list view? This XML for the element’s view is inflated from this: ?xml version=1.0 encoding=utf-8? LinearLayout android:id=@+id/LinearLayout01 android:layout_width=fill_parent xmlns:android=http://schemas.android.com/apk/res/android; android:background=#D0D0D0 android:orientation=vertical android:layout_height=wrap_content TextView android:text=TextView01 android:id=@+id/TextView01 android:layout_height=wrap_content android:textColor=#FF android:textSize=10pt android:textStyle=normal android:typeface=normal android:layout_width=fill_parent android:gravity=center_horizontal / /LinearLayout In the Eclipse layout editor it looks great. The string “TextView01” is centered in a gray box centered horizontally in the parent LinearLayout. But when displayed by the ListView, as returned from Adapter.getView (), it is all to the left. Like the parent LinearLayout.layout_width was reset to “wrap_content” rather than “fill_parent.” I want the entire width of the ListView to be filled with this view. Any ideas?? Thank you! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message---
[Fwd: [Fwd: [android-developers] Re: How send DTMF in android?]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- HI all, Any response on this thread. Its important for my company product. Thanks, Gulfam On Sep 10, 12:14 pm, legerb drim...@gmail.com wrote: ToneGenerator won't help here - This API is not for generating tones over the uplink audio path. On Sep 8, 12:44 pm, Mark Ellul mark.el...@gmail.com wrote: Hi Gulfam, Did you solve the issue? I am trying to do the same thing and only have a HTC Hero to test with and its failing as well. Please if you have resolved the issue let me know... I have seen this classhttp://developer.android.com/reference/android/media/ToneGenerator.html but I am not sure if it will help in this case. Regards Mark On Aug 28, 8:55 am, Gulfam gulfa...@gmail.com wrote: Hi all, I am facing a problem on sendingDTMFin android. I am sendingDTMFin this format tel:+15187127050,9563547896# Its working fine on G1 but when i install the app on HTC Hero /HTC Magic its dispalying error message like this (Invalid MMI) Any one can help me regarding this. Thanks in advance. Gulfam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message---
[Fwd: [android-developers] scrollbarSize problem]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- I have a problem when trying to set scrollbar to something bigger then default. Here what I'm trying: ListView android:id=@android:id/list android:layout_width=fill_parent android:layout_height=fill_parent android:fastScrollEnabled=true android:scrollbarSize=20dip/ For some reason android:scrollbarSize setting is ignored. Does anyone knows what's the problem? Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [android-developers] Feature request/query: Possible to read Java properties format files for i18n strings?]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- Dear Android Developers, I have an application which we are writing to be both a MIDP application using LWUIT as well as an Android application. We attempt to share as much common code as possible between the two platforms. I'd also really like to be able to share the localization strings when possible. Reading through the docs in: http://developer.android.com/guide/topics/resources/resources-i18n.html it looks like Android uses an XML format to specify name-value pairs, e.g.: {{{ string name=go_online_messageYou are currently offline. Go online? This will use the data network/string }}} while LWUIT uses the standard Java properties file format: {{{ f.go_online.you_are_currently_offine=You are currently offline. Go online? This will use the data network }}} I understand why the Android XML format has advantages (e.g. ability to add extra formatting info), but I was wondering if it's somehow possible to also read in localization resource strings from a standard Java properties file, so I could use the same string resource file. Looking through the Android code, it seems like support for Properties files is there, but not integrated into the Resources infrastructure, but maybe I missed something. Is it possible to use the Resource framework to read in from Java Properties files as well as the Android- specific XML format string files? If so, can someone point me in the right direction? If not, can I request that it might be nice for the Android Resources framework to also support reading string resource files in in Java properties file format? Cheers, Michael --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---
[Fwd: [Fwd: [Fwd: [android-developers] Re: Saving Intents to use later (WAY LATER!)]]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- Somehow this doesn't seem to be documented, but this is the method you want: http://developer.android.com/reference/android/content/Intent.html#toURI() Ah the current source tree has documentation: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/content/Intent.java On Mon, Sep 14, 2009 at 9:11 AM, Roger L rogerl.andr...@gmail.com wrote: I am banging my head into a brick wall! I want to save an intent pick from the ACTION_PICK_ACTIVITY into a preference/database/etc... and use it as a result for my application every time it runs. But, there is no way to save the right data type (Intent) into preferences or a database, or anyway that I can see to convert from a string or such back into the (Intent)!! Someone please point me in the right direction?!? -- 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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message--- ---End Message---
[Fwd: [Fwd: [android-developers] scrollbarSize problem]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- I have a problem when trying to set scrollbar to something bigger then default. Here what I'm trying: ListView android:id=@android:id/list android:layout_width=fill_parent android:layout_height=fill_parent android:fastScrollEnabled=true android:scrollbarSize=20dip/ For some reason android:scrollbarSize setting is ignored. Does anyone knows what's the problem? Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message---
[Fwd: [Fwd: [Fwd: [android-developers] Re: Saving Intents to use later (WAY LATER!)]]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- Roger L wrote: Well, this is what i am doing Calling ACTION_PICK_ACTIVITY for result, i get back Intent { action=android.intent.action.MAIN categories= {android.intent.category.LAUNCHER} comp={com.android.alarmclock/ com.android.alarmclock.AlarmClock} } Most likely, you are getting back an Intent object which dumps the above as the result of a call to toString(). do I have to somehow parse this and save the info, and then add .addActivity, .addCategory, and .setClassName? Parse? Use getter methods on the Intent object. In this case, you want getAction(), getCategories(), and getComponent(). The last one will return a ComponentName(), which in turn has getClassName() and getPackageName() getter methods. Persist all four of those values. Then, when you need the Intent back, use setClassName(), setAction(), and addCategory() to rebuild it from the pieces. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message--- ---End Message---
[Fwd: [Fwd: [android-developers] Feature request/query: Possible to read Java properties format files for i18n strings?]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- Dear Android Developers, I have an application which we are writing to be both a MIDP application using LWUIT as well as an Android application. We attempt to share as much common code as possible between the two platforms. I'd also really like to be able to share the localization strings when possible. Reading through the docs in: http://developer.android.com/guide/topics/resources/resources-i18n.html it looks like Android uses an XML format to specify name-value pairs, e.g.: {{{ string name=go_online_messageYou are currently offline. Go online? This will use the data network/string }}} while LWUIT uses the standard Java properties file format: {{{ f.go_online.you_are_currently_offine=You are currently offline. Go online? This will use the data network }}} I understand why the Android XML format has advantages (e.g. ability to add extra formatting info), but I was wondering if it's somehow possible to also read in localization resource strings from a standard Java properties file, so I could use the same string resource file. Looking through the Android code, it seems like support for Properties files is there, but not integrated into the Resources infrastructure, but maybe I missed something. Is it possible to use the Resource framework to read in from Java Properties files as well as the Android- specific XML format string files? If so, can someone point me in the right direction? If not, can I request that it might be nice for the Android Resources framework to also support reading string resource files in in Java properties file format? Cheers, Michael --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message---
[Fwd: [Fwd: [Fwd: [android-developers] Re: How send DTMF in android?]]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- HI all, Any response on this thread. Its important for my company product. Thanks, Gulfam On Sep 10, 12:14 pm, legerb drim...@gmail.com wrote: ToneGenerator won't help here - This API is not for generating tones over the uplink audio path. On Sep 8, 12:44 pm, Mark Ellul mark.el...@gmail.com wrote: Hi Gulfam, Did you solve the issue? I am trying to do the same thing and only have a HTC Hero to test with and its failing as well. Please if you have resolved the issue let me know... I have seen this classhttp://developer.android.com/reference/android/media/ToneGenerator.html but I am not sure if it will help in this case. Regards Mark On Aug 28, 8:55 am, Gulfam gulfa...@gmail.com wrote: Hi all, I am facing a problem on sendingDTMFin android. I am sendingDTMFin this format tel:+15187127050,9563547896# Its working fine on G1 but when i install the app on HTC Hero /HTC Magic its dispalying error message like this (Invalid MMI) Any one can help me regarding this. Thanks in advance. Gulfam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message--- ---End Message---
[Fwd: [Fwd: [android-developers] Re: WebView Catch 22 - Same Window, Except For New Domain]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- It seems like what you want to happen is this: - if domain of URL is http://photics.com, display result in your webview - if it is not http://photics.com, go to the URL in a new window I think the answer is in this thread. I don't trust your solution. I don't understand why it would work twice. Try going to an external URL and then to photics.com It looks to me like the second access will have the WebViewClient set to null, so I don't see how your photics logic will be called. Mark Murphy provided an answer referring to starting a new activity. I think the answer is there. If you override shouldOverrideUrlLoading: - false means that the WebViewClient should display the contents of the URL (just load photics.com please) - true means that the code is handling it and you want something else to happen. (I've got this) How to open a browser with an intent and activity. See the nice article here: http://www.androidcompetencycenter.com/2009/08/view-site-in-a-new-windowbrowser/ Intent viewIntent = *new* Intent(“android.intent.action.VIEW”, Uri.*parse* (http://twitter.com/CarmenDelessio;)); startActivity(viewIntent); Putting it together, your code should do something like: public boolean shouldOverrideUrlLoading(WebView view, String url) { if (url.contains(http://photics.com;)) { return false; }else{ //url being called was passed to override shouldOverrideUrlLoading Intent viewIntent = *new* Intent(“android.intent.action.VIEW”, Uri .*parse*(url)); startActivity(viewIntent); return true; } Caveat - I haven't tested this. Another method I have overridden is: onPageStarted (WebView view, String url, Bitmap favicon) It seemed to be that onPageStarted was always called, but that there were cases when shouldOverrideUrlLoading was not. Might want to test that by logging what is called. Carmen http://www.twitter.com/CarmenDelessio On Mon, Sep 14, 2009 at 11:22 AM, Photics m...@photics.com wrote: OK... first... a correction in my previous post. every link opens in a new window ...the word external should have been added. Local files can work great. My problem is that I'm trying to create exceptions. I have to do this to make my advertisers happy. So OK... I have a fix... it's ugly... but it seems to work. mWebView.loadUrl(http://photics.com/games/conquest;); mWebView.getSettings().setCacheMode (WebSettings.LOAD_NO_CACHE); mWebView.setWebViewClient(new WebViewClient() { public boolean shouldOverrideUrlLoading(WebView view, String url) { if (url.contains(http://photics.com;)) { return false; } else mWebView.setWebViewClient(null); return false; } I seem to have the solution to my problem, but I'm not happy that I don't exactly understand how I did it. It seems incredibly odd to me that returning false twice worked. :-) I'm going to investigate this some more before I publish my app. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message---
[Fwd: [Fwd: [android-developers] Re: apk installation on mobilefromLinux machine]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- I usually do the following. sudo ./adb kill-server sudo ./adb devices sudo ./adb -d install -r someFile.apk On Sep 14, 12:40 pm, André Charles Legendre andre.legen...@gmail.com wrote: Hi Thank's to Dilli and Tauno I have enabled USB debugging. When I do adb devices I get no devices. If I look in /var/log/messages I see that mobile is detected when it is connected. The system give it a disk alias (sdb) and a network alias /dev/ttyACM But no devices is detected by adb. Any help welcome. Andre --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message---
[Fwd: [Fwd: [Fwd: [android-developers] Re: ADC2 entries so far...]]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- On Sep 13, 7:12 pm, Mobidev android.mobi...@gmail.com wrote: Bookworm http://andappstore.com/AndroidApplications/apps/734 Bookworm's category is Education/Reference thanks pskink --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message--- ---End Message---
[Fwd: [Fwd: [Fwd: [android-developers] Re: WebView Catch 22 - Same Window, Except For New Domain]]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- It seems like what you want to happen is this: - if domain of URL is http://photics.com, display result in your webview - if it is not http://photics.com, go to the URL in a new window I think the answer is in this thread. I don't trust your solution. I don't understand why it would work twice. Try going to an external URL and then to photics.com It looks to me like the second access will have the WebViewClient set to null, so I don't see how your photics logic will be called. Mark Murphy provided an answer referring to starting a new activity. I think the answer is there. If you override shouldOverrideUrlLoading: - false means that the WebViewClient should display the contents of the URL (just load photics.com please) - true means that the code is handling it and you want something else to happen. (I've got this) How to open a browser with an intent and activity. See the nice article here: http://www.androidcompetencycenter.com/2009/08/view-site-in-a-new-windowbrowser/ Intent viewIntent = *new* Intent(“android.intent.action.VIEW”, Uri.*parse* (http://twitter.com/CarmenDelessio;)); startActivity(viewIntent); Putting it together, your code should do something like: public boolean shouldOverrideUrlLoading(WebView view, String url) { if (url.contains(http://photics.com;)) { return false; }else{ //url being called was passed to override shouldOverrideUrlLoading Intent viewIntent = *new* Intent(“android.intent.action.VIEW”, Uri .*parse*(url)); startActivity(viewIntent); return true; } Caveat - I haven't tested this. Another method I have overridden is: onPageStarted (WebView view, String url, Bitmap favicon) It seemed to be that onPageStarted was always called, but that there were cases when shouldOverrideUrlLoading was not. Might want to test that by logging what is called. Carmen http://www.twitter.com/CarmenDelessio On Mon, Sep 14, 2009 at 11:22 AM, Photics m...@photics.com wrote: OK... first... a correction in my previous post. every link opens in a new window ...the word external should have been added. Local files can work great. My problem is that I'm trying to create exceptions. I have to do this to make my advertisers happy. So OK... I have a fix... it's ugly... but it seems to work. mWebView.loadUrl(http://photics.com/games/conquest;); mWebView.getSettings().setCacheMode (WebSettings.LOAD_NO_CACHE); mWebView.setWebViewClient(new WebViewClient() { public boolean shouldOverrideUrlLoading(WebView view, String url) { if (url.contains(http://photics.com;)) { return false; } else mWebView.setWebViewClient(null); return false; } I seem to have the solution to my problem, but I'm not happy that I don't exactly understand how I did it. It seems incredibly odd to me that returning false twice worked. :-) I'm going to investigate this some more before I publish my app. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at
[Fwd: [Fwd: [android-developers] Request helping for writting HTTP Request in Android]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- package com.example.helloandroid; import java.io.IOException; import java.io.InputStream; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; import org.apache.http.HttpResponse; import org.apache.http.HttpStatus; import org.apache.http.client.*; import org.apache.http.client.methods.*; import org.apache.http.impl.client.DefaultHttpClient; //import org.apache.http.util.EntityUtils; public class HelloAndroid extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); try { HttpClient hc = new DefaultHttpClient(); HttpGet get = new HttpGet(http://www.yahoo.com;); HttpResponse rp = hc.execute(get); if(rp.getStatusLine().getStatusCode() == HttpStatus.SC_OK) { //String str = EntityUtils.toString(rp.getEntity()); InputStream is = rp.getEntity().getContent(); String str = is.toString(); TextView tv = new TextView(this); tv.setText(str); setContentView(tv); } else { System.out.println(halo,baby.); } }catch(IOException e){ return; } } } the above is my code. but it seems there are some problems here. I want to send the HTTP request to yahoo and get back the returned response and show it out. So, Anyone can give me some ideas on it? Thank you. Carmen Lau --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message---
Re: [Fwd: [Fwd: [Fwd: [android-developers] Re: Saving Intents to use later (WAY LATER!)]]]
FWIW, Intent.toURI() is what Home uses to store shortcuts. All shortcuts on your Home screen are just intents stored in a sqlite database. On Mon, Sep 14, 2009 at 10:55 AM, Pedro Fernandes pe...@isr.uc.pt wrote: Roger L wrote: Well, this is what i am doing Calling ACTION_PICK_ACTIVITY for result, i get back Intent { action=android.intent.action.MAIN categories= {android.intent.category.LAUNCHER} comp={com.android.alarmclock/ com.android.alarmclock.AlarmClock} } Most likely, you are getting back an Intent object which dumps the above as the result of a call to toString(). do I have to somehow parse this and save the info, and then add .addActivity, .addCategory, and .setClassName? Parse? Use getter methods on the Intent object. In this case, you want getAction(), getCategories(), and getComponent(). The last one will return a ComponentName(), which in turn has getClassName() and getPackageName() getter methods. Persist all four of those values. Then, when you need the Intent back, use setClassName(), setAction(), and addCategory() to rebuild it from the pieces. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.0 In Print! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. 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-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[Fwd: [android-developers] Re: ADC2 entries so far...]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- here's a link for a video of the ADC version (1.0.0) of Light Racer 3D. http://www.youtube.com/watch?v=cpghliDfzdI On Sep 14, 11:54 am, dadical keyes...@gmail.com wrote: Screebl is in the Prod/Tools category. On Sep 13, 1:12 pm, Mobidev android.mobi...@gmail.com wrote: Its mid September and ADC team will soon launch the ADC 2 judging application. So far its been a great job by the ADC team with sticking to the submission deadline and swift uploads(leaving aside package name confusion among the participants). Meanwhile, below are about 105 ADC2 entries posted on forum. In case of new additions or corrections please reply to this discussion with category app name links. ADC1 saw about 1788 apps and my guess is ADC2 will see a tleast 2500 apps considering the tight deadline (could have been much higher(4K+) otherwise). From the trend it seems that the Miscellaneous category has far less entries than Prod/Tools and Games(both) categories. Possibly, 21st ranking entry under Prod/Tools could be much better than 3rd ranking entry under Misc category. Unlike ADC1, this time Category will be a key factor in winning; along with Originality, Effective Platform Use, Polish and Indispensability. ----- Education/Reference Librarium IIhttp://steveoliverc.squarespace.com/ Math Jungle Mystic Maggiehttp://www.phdgaming.com/general_media/mm/ Vivify picture: mathhttp://vivifypicture.com/ Entertainment Daisy Gardenhttp://www.tomgibara.com/android/daisy/garden/ Taps Of Firehttp://code.google.com/p/tapsoffire Games: Arcade/Action CowPotato 3Dhttp://www.froogloid.com/cowpotato FRGhttp://www.woogames.com/ Galactic Guardian: Zap GPShttp://sites.google.com/site/mysticlakesoftware/ Graviturnhttp://www.cyrket.com/package/com.fheft.graviturn Head To Head Racinghttp://headtoheadracing.appspot.com/ Light Racer 3D Trial ProjectINFhttp://www.chickenbrickstudios.com/ UrbanGolf X-Dischttp://www.youtube.com/watch?v=3EkH-b15fPY Zepto Wars - RTS Games: Casual/Puzzle Furdiburbhttp://www.sheado.net/ Goobers Vs. Boogershttp://goobersvsboogers.blogspot.com/ ongPayhttp://www.yakloingames.com/ Relativiahttp://www.polyclefsoftware.com/relativia.html Splat!: Bugs IIhttp://dkdroid.com What the Doodle!? Lifestyle Beer Cloudhttp://greatbrewers.com/story/beercloud-mobile-app Bottle Buzz DoIthttp://curvefish.com/apps/doit.htm FoxyRing http://www.levelupstudio.fr/foxyring Gigboxhttp://www.mygigbox.com/ NetDroid NotiMe!http://www.youtube.com/watch?v=wFjoZmrj40k ReaderScopehttp://www.altcanvas.com/android/readerscope Rhythmatics Alphahttp://www.twitter.com/brownbaggames SpecTrek Media Gallery Map geoPastehttp://www.geopaste.com/ Mediafly Mobile Audio Podcast Client MicroJam MicroJam MyPODhttp://www.my-pod.org/ PackRathttp://packrat.unwesen.de/ Time-Lapsehttp://www.sheado.net/ Uloopshttp://www.uloops.net/ Misc Local Agentshttp://local-agents.appspot.com/ picjiggles litehttp://www.yakloingames.com/ Productivity/Tools Alarmoidhttp://www.youtube.com/watch?v=yNcVkP_vK08 aListhttp://androidalist.blogspot.com AppManagerhttp://curvefish.com/apps/appmanager.htm GeoAlerthttp://sites.google.com/site/appyoursmobile/geoalert Hoccerhttp://www.hoccer.com/ MobileWrite Mobisle Noteshttp://www.facebook.com/pages/MobisleApps/127994296229 MyPageshttp://www.youtube.com/watch?v=75lR4zLy_LQ OpenLoopzhttp://sites.iode.co.uk/openloopz/ Personalyticshttp://personalytics.net/ Skiba PDF Readerhttp://www.anddev.org/skiba_pdf_reader-t6122.html Smart Lockhttp://www.youtube.com/watch?v=ipue9Yhi5VA Talking Calendarhttp://www.pwnwithyourphone.com/ Taskerhttp://tasker.dinglisch.net/ Thinking Spacehttp://homepages.nildram.co.uk/~bakachu/screenshot.png Tracklethttp://tracklet.appspot.com txeethttp://txeet.com Voice Caller
[Fwd: [Fwd: [Fwd: [android-developers] Re: HTC Magic as dev phone]]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- Bear in mind that if you develop and test your app on a device w/o a sliding kb, it may not run as expected on a device with one, and vice versa. Yusuf Saib Android ·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 Sep 12, 1:06 pm, Mark Murphy mmur...@commonsware.com wrote: dashman wrote: i'd like to buy the HTC Magic for my dev phone - i don't want the physical sliding keyboard. with the HTC magic work as the dev phone. You can test SDK applications using an HTC Magic. does HTC provide updated android updates for it. Please contact your mobile provider for details regarding device updates. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android App Developer Training:http://commonsware.com/training.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message--- ---End Message---
[Fwd: [Fwd: [Fwd: [android-developers] Re: ADC2 entries so far...]]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- here's a link for a video of the ADC version (1.0.0) of Light Racer 3D. http://www.youtube.com/watch?v=cpghliDfzdI On Sep 14, 11:54 am, dadical keyes...@gmail.com wrote: Screebl is in the Prod/Tools category. On Sep 13, 1:12 pm, Mobidev android.mobi...@gmail.com wrote: Its mid September and ADC team will soon launch the ADC 2 judging application. So far its been a great job by the ADC team with sticking to the submission deadline and swift uploads(leaving aside package name confusion among the participants). Meanwhile, below are about 105 ADC2 entries posted on forum. In case of new additions or corrections please reply to this discussion with category app name links. ADC1 saw about 1788 apps and my guess is ADC2 will see a tleast 2500 apps considering the tight deadline (could have been much higher(4K+) otherwise). From the trend it seems that the Miscellaneous category has far less entries than Prod/Tools and Games(both) categories. Possibly, 21st ranking entry under Prod/Tools could be much better than 3rd ranking entry under Misc category. Unlike ADC1, this time Category will be a key factor in winning; along with Originality, Effective Platform Use, Polish and Indispensability. ----- Education/Reference Librarium IIhttp://steveoliverc.squarespace.com/ Math Jungle Mystic Maggiehttp://www.phdgaming.com/general_media/mm/ Vivify picture: mathhttp://vivifypicture.com/ Entertainment Daisy Gardenhttp://www.tomgibara.com/android/daisy/garden/ Taps Of Firehttp://code.google.com/p/tapsoffire Games: Arcade/Action CowPotato 3Dhttp://www.froogloid.com/cowpotato FRGhttp://www.woogames.com/ Galactic Guardian: Zap GPShttp://sites.google.com/site/mysticlakesoftware/ Graviturnhttp://www.cyrket.com/package/com.fheft.graviturn Head To Head Racinghttp://headtoheadracing.appspot.com/ Light Racer 3D Trial ProjectINFhttp://www.chickenbrickstudios.com/ UrbanGolf X-Dischttp://www.youtube.com/watch?v=3EkH-b15fPY Zepto Wars - RTS Games: Casual/Puzzle Furdiburbhttp://www.sheado.net/ Goobers Vs. Boogershttp://goobersvsboogers.blogspot.com/ ongPayhttp://www.yakloingames.com/ Relativiahttp://www.polyclefsoftware.com/relativia.html Splat!: Bugs IIhttp://dkdroid.com What the Doodle!? Lifestyle Beer Cloudhttp://greatbrewers.com/story/beercloud-mobile-app Bottle Buzz DoIthttp://curvefish.com/apps/doit.htm FoxyRing http://www.levelupstudio.fr/foxyring Gigboxhttp://www.mygigbox.com/ NetDroid NotiMe!http://www.youtube.com/watch?v=wFjoZmrj40k ReaderScopehttp://www.altcanvas.com/android/readerscope Rhythmatics Alphahttp://www.twitter.com/brownbaggames SpecTrek Media Gallery Map geoPastehttp://www.geopaste.com/ Mediafly Mobile Audio Podcast Client MicroJam MicroJam MyPODhttp://www.my-pod.org/ PackRathttp://packrat.unwesen.de/ Time-Lapsehttp://www.sheado.net/ Uloopshttp://www.uloops.net/ Misc Local Agentshttp://local-agents.appspot.com/ picjiggles
[Fwd: [Fwd: [android-developers] Re: TranslateAnimation leaves traces]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- I have the same problem in an application that I'm developing; just to say that you are not the only one having this issue. If I find a solution, I'll post it here (could you please do the same? :) ) so to help you, if needed. Maybe it's only a matter of firmware and in the next release of Android the performances will improver and this issue will be solved with no need to change the code. Best regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message---
[Fwd: [Fwd: [android-developers] codeBeamer, Collaborative ALM Solution for Git and Android]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- Intland Software announces the availability of codeBeamer 5.4, the award winning Collaborative Application Lifecycle Management Solution for distributed software development. Today's challenge is to tackle *Android sized projects* with 2GB of code and hundreds of thousands of change sets, and codeBeamer 5.4 is capable of processing these repositories. Version highlights: * Issue escalation with hierarchic working calendars * Calculated tracker fields with rich formula * Wiki page editing directly in Microsoft Word * Scalable version control management * Major enhancements in supporting Git and Mercurial * Revised search: more relevancy, richer query syntax, friendlier interface Links: * Product homepage: http://www.intland.com/products/cb/overview.html * FREE download (no expiration!): http://www.intland.com/products/download.html#download * FREE hosted version: http://www.intland.com/products/download.html#trial --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message---
[Fwd: [Fwd: [android-developers] Programmatically set typeface and textsize of Spinner / ComboBox]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- For other items settypeface and settextsize are available, but not for Spinner. I would like to have a mechanism that dynamically changes the Spinner without using a fixed XML definition. I am trying to re- program the default android.R.layout.simple_spinner_item and android.R.layout.simple_spinner_dropdown_item containers. I have tried the following code without success. Where am I going wrong? class ComboBox extends Spinner { private int listid; private ArrayListString alist = new ArrayListString(); private TextView ssi; private CheckedTextView ssdi; public ComboBox (Context context,int listid) { super(context); this.listid = listid; ArrayAdapterString ladapt = new ArrayAdapterString(context, android.R.layout.simple_spinner_item, alist); ladapt.setDropDownViewResource (android.R.layout.simple_spinner_dropdown_item); setAdapter(ladapt); ssi = (TextView)findViewById (android.R.layout.simple_spinner_item); ssdi = (CheckedTextView)findViewById (android.R.layout.simple_spinner_dropdown_item); } public int getId() { return listid; } public void addItem(String txt) { alist.add(txt); } public void setTypeface(Typeface tf) { ssi.setTypeface(tf); ssdi.setTypeface(tf); } public void setTextColor(int colour) { ssi.setTextColor(colour); ssdi.setTextColor(colour); } public void setTextSize(int sz) { ssi.setTextSize(sz); ssdi.setTextSize(sz); } } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message---
[Fwd: [Fwd: [Fwd: [android-developers] Re: HTC Magic as dev phone]]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- Bear in mind that if you develop and test your app on a device w/o a sliding kb, it may not run as expected on a device with one, and vice versa. Yusuf Saib Android ·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 Sep 12, 1:06 pm, Mark Murphy mmur...@commonsware.com wrote: dashman wrote: i'd like to buy the HTC Magic for my dev phone - i don't want the physical sliding keyboard. with the HTC magic work as the dev phone. You can test SDK applications using an HTC Magic. does HTC provide updated android updates for it. Please contact your mobile provider for details regarding device updates. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android App Developer Training:http://commonsware.com/training.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message--- ---End Message---
[Fwd: [Fwd: [android-developers] How to remove contact from a group]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- I have i little problem, I can create groups for contacts, can add persons to this group, can edit group, can also delete a group but I can NOT remove a contact from a group. Can anyone help me with this problem? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message---
[Fwd: [Fwd: [Fwd: [android-developers] Re: setText]]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- It does not appear to fit in its parent. If changing textSize to something smaller than 40sp makes it fit, then you will need to either shrink the text or increase the available space in the parent. Yusuf Saib Android ·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 Sep 13, 8:41 am, WoodManEXP woodman...@gmail.com wrote: I do not know the answer to this but I might experiment with setting a width other than wrap_content just to see how it behaves. Maybe try setting width to something like 100dip as a starter and see if the same behavior occurs. On Sep 13, 3:47 am, Anastasiya Dremina anastasiya.drem...@gmail.com wrote: Example was 9|15 must be 10|15 10|1 is shown 2009/9/13 Anastasiya anastasiya.drem...@gmail.com Hi guys My problem I have TextView android:id=@+id/myText android:layout_width=wrap_content android:layout_height=wrap_content android:layout_alignParentRight=true android:layout_alignParentTop=true android:textSize=40sp / I use setText method in code. Sometimes all text is not displayed for a second (I have enough space.. And previous text can have width current width). Does anyone know decision?- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message--- ---End Message---
[Fwd: [Fwd: [Fwd: [android-developers] Re: locked up my Android device...]]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- A bug would be great. Please send me the link. Thanks! On Mon, Sep 14, 2009 at 8:49 AM, michael maitlen mgmait...@gmail.comwrote: After trying to get the bug to occur all weekend, I was finally able to get it to happen this morning. Once the screen freezes and the Force Close Dialog comes up, non of the buttons have any effect with on the screen. In the logs though, the Home button, triggers a DeadObjectException...I've got an extensive log that I could supply, I assume it'd be better to post it on the bug page? Another interesting thing...the device is completely unresponsive, I even tried to call it from my home phone with no response at all, and I'm positive I had the correct phone number. On Sep 11, 8:59 pm, Dianne Hackborn hack...@android.com wrote: 10 threads is still a lot. All of the devices you will run on the foreseeable future are only going to have one cpu, so one thread, maybe two (you might get some parallelism out of decoding while another thread is reading through problem not much) should be more than enough. Going up to ten has a good chance of having worse performance than just a couple, since the scheduler is now needing to bounce around between all those threads (plus until 1.6 we are only relying on the Linux nice level for scheduling threads, so the more threads you have doing work in the background, the more time you will take away from the main thread as it wants slices to interact with the user). Anyway nothing you do should make the system freeze, so there is definitely a system bug there. :) Does pressing the home button not work either? On Fri, Sep 11, 2009 at 7:00 PM, Mark Murphy mmur...@commonsware.com wrote: michael m wrote: What I am doing, which I question, is loading each image via a thread as it is retrieved from the ImageCache...I pass back a default image if the bitmap is null, then update the default image in the ImageViews with the Bitmap is loaded from the sdcard; I'm doing this by posting to a Handler in the Adapter from the thread that loads the image. I suspect you are going to get in trouble with that many threads. So if the number of threads is the problem I'm thinking of loading all the bitmaps when the app is first initiated, probably using the AsyncTask class. That is probably too far in the other extreme. A question I have though about this is that the docs say that you can only call execute() once...what's happens if some of my Bitmaps are garbage collected?? Do I then call individual threads to reload? I've looked through some of the Google apps, Shelves and Photostream, but they don't seem to be using Bitmaps wrapped in SoftReferences. I've wrapped up this pattern in a ThumbnailAdapter: http://github.com/commonsguy/cwac-thumbnail/tree/master Basically, I use AsyncTaskEx, which is my fork of AsyncTask that allows for 10 parallel threads -- not infinite, but not only 1. I also gave up on SoftReferences, as posts in this list from a month or two ago gave me the impression that SoftReferences are effectively pointless with the current Dalvik garbage collection implementation. Instead, I use an LRU cache, (re)loading images on demand via AsyncTaskEx. It may be, though, that ThumbnailAdapter will just work for you, though I have not tried it for images starting on the SD card -- I was focused
[Fwd: [Fwd: [android-developers] Activitity View Window?]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- English is not my first language. I've been working with android for about a week now, and some things really start to annoy me. What I'm trying to do is very simple. An app with three windows and a background service. The background service polls information from a webservice and adds this to a few objects. First window you choose what kind data you want to list and look at. Second window shows the list you wanted to see, click a list item you want detailed info about Third window shows the info associated with the list item clicked. Now each window has it's own Activity (1,3 = Activity, 2 = ListActivity). First of all I'd like to follow android coding standards/conventions. But I can't really find any? For example I'd like to NOT start new activities as they are expansive to start. And I have had a hard time finding something that would just stop a child activity and not kill it as I heard finish() will do. And using activities I'm having problems being able to go from window 3 to 1, and it would feel strange to finish both the info activity and then finish the list activity if the result from info activity is set to something. This is how I solved it now. Then sometime in the future I should add update callbacks to the activities when I poll updated data but I'd like to understand the basic design concepts. But as I said I'm not happy with the solution at all. And the application is just an early prototype for now and will be a lot bigger in the future. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message---
[Fwd: [Fwd: [android-developers] Multiple frame based animations]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- Hi all. I'm trying to concatenate two frame based animations. I've tried some approaches without success: 1.- I've tried to use an ImageView and change the backgroundResource when required but the resource isn't changed. 2.- I've tried also using two ImageViews, set one animation to each and set visibility to Invisible for the second. At the moment of changing, the only change is to switch visibilities and start the second animation. Also doesn't work. I've found something interesting that is, using the same scenario as in 2. Starting the activity with both imageViews visibile, the concatenation is successfull. Even setting the first imageView to invisible!! But I cannot go ahead with the first frame of the second animation being visible while the first animation is running. Any advice? Thanks. Carlos --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message---
[Fwd: [Fwd: [android-developers] Communication over USB with Program on Computer]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- Goal: Send Data from the phone to the computer (and the other way) using only the USB cable. We need this to synchronize data between the a program on the android phone and a program on the computer. Over Wifi is not an option. It has to work over the USB cable. We need this for a university project and would be glad if anyone could enlighten us on this matter. Thank you already for the help. Greetings Patrick Boos --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message--- ---End Message---
[Fwd: [Fwd: [Fwd: [android-developers] Re: WebView Catch 22 - Same Window, Except For New Domain]]]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- It seems like what you want to happen is this: - if domain of URL is http://photics.com, display result in your webview - if it is not http://photics.com, go to the URL in a new window I think the answer is in this thread. I don't trust your solution. I don't understand why it would work twice. Try going to an external URL and then to photics.com It looks to me like the second access will have the WebViewClient set to null, so I don't see how your photics logic will be called. Mark Murphy provided an answer referring to starting a new activity. I think the answer is there. If you override shouldOverrideUrlLoading: - false means that the WebViewClient should display the contents of the URL (just load photics.com please) - true means that the code is handling it and you want something else to happen. (I've got this) How to open a browser with an intent and activity. See the nice article here: http://www.androidcompetencycenter.com/2009/08/view-site-in-a-new-windowbrowser/ Intent viewIntent = *new* Intent(“android.intent.action.VIEW”, Uri.*parse* (http://twitter.com/CarmenDelessio;)); startActivity(viewIntent); Putting it together, your code should do something like: public boolean shouldOverrideUrlLoading(WebView view, String url) { if (url.contains(http://photics.com;)) { return false; }else{ //url being called was passed to override shouldOverrideUrlLoading Intent viewIntent = *new* Intent(“android.intent.action.VIEW”, Uri .*parse*(url)); startActivity(viewIntent); return true; } Caveat - I haven't tested this. Another method I have overridden is: onPageStarted (WebView view, String url, Bitmap favicon) It seemed to be that onPageStarted was always called, but that there were cases when shouldOverrideUrlLoading was not. Might want to test that by logging what is called. Carmen http://www.twitter.com/CarmenDelessio On Mon, Sep 14, 2009 at 11:22 AM, Photics m...@photics.com wrote: OK... first... a correction in my previous post. every link opens in a new window ...the word external should have been added. Local files can work great. My problem is that I'm trying to create exceptions. I have to do this to make my advertisers happy. So OK... I have a fix... it's ugly... but it seems to work. mWebView.loadUrl(http://photics.com/games/conquest;); mWebView.getSettings().setCacheMode (WebSettings.LOAD_NO_CACHE); mWebView.setWebViewClient(new WebViewClient() { public boolean shouldOverrideUrlLoading(WebView view, String url) { if (url.contains(http://photics.com;)) { return false; } else mWebView.setWebViewClient(null); return false; } I seem to have the solution to my problem, but I'm not happy that I don't exactly understand how I did it. It seems incredibly odd to me that returning false twice worked. :-) I'm going to investigate this some more before I publish my app. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at
[Fwd: [android-developers] Creating a Highscore system?]
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---BeginMessage--- Hey guys, I'm just finishing up my first android app. It's a simple game, but I'd like to implement a way to track and store the user's highscores. Do you guys have any suggestions on ways to approach this? I'm not looking for global/online rankings, just scores for the user. Thanks, John --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- ---End Message---