[android-developers] Re: Flash works in WebView on the left but not the right!?!

2012-09-12 Thread squall dai
Hi, did you find out the solution? I meet the same problem. The flash 
calculate the edge from the left, although the webview is not created from 
the left edge of the activity.

Do you know how to set it??

Thanks

在 2012年5月28日星期一UTC+8上午5时12分14秒,Matt Dubs写道:
>
> I have a really strange problem playing flash in a WebView on Android 3.1 
> (Thinkpad Slate Tablet; hardware accel is enabled for the app).  The 
> WebView is in a LinearLayout which splits the screen evenly with a 
> SurfaceView that I'm drawing to from native code.  If the screen is split 
> vertically, flash works fine whether the WebView is on top or bottom.  If 
> the screen is split horizontally, flash works fine if the WebView is on the 
> left.  But if the WebView is on the right, I only get audio!  The log cat 
> messages for OMXCodec appear to be identical for the two cases.
>
> Any ideas?
>
> -- Matt
>

-- 
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

[android-developers] Does googlequciksearchbox open source?

2012-07-30 Thread Chen Dai
Hi all,

I installed the googleQuicksearchbox.apk, and I find there is an open
source license in it, and the license is Apache.

So where can I get these source code?

There is a quciksearchbox in AOSP, but it is not googleQuicksearchbox.


Thanks,
Chen

-- 
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


[android-developers] How do I change android to 24 bpp?

2011-08-29 Thread dai dongfei
My lcd supports 24 bpp(RGB888) and it can work normal in
bootloader. I know the default setting of Android is 16 bpp. How do I
change it to 24 bpp.My android is 2.3.1

-- 
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


[android-developers] Force close when launching one apk in Android2.3.1 Phone.

2011-02-24 Thread Fendy Dai
Source code :

main.xml

http://schemas.android.com/apk/res/android";
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
>




























   
   





src code:
public class aa extends ListActivity {

protected TabHost myTabHost;

/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
this.myTabHost = (TabHost) this
.findViewById(R.id.th_settings_menu_tabhost);
this.setupTabs();
myTabHost.setOnTabChangedListener(changeListener);
}
private void setupTabs() {
this.myTabHost.setup();
TabSpec logging = this.myTabHost
.newTabSpec("A");
logging.setIndicator(getResources().getString(R.string.log),
getResources().getDrawable(R.drawable.log));
logging.setContent(R.id.log);
this.myTabHost.addTab(logging);

TabSpec settings = this.myTabHost
.newTabSpec("B");
 
settings.setIndicator(getResources().getString(R.string.setting),
getResources().getDrawable(R.drawable.setting));
settings.setContent(R.id.settings);
this.myTabHost.addTab(settings);

TabSpec records = this.myTabHost
.newTabSpec("C");
 
records.setIndicator(getResources().getString(R.string.records),
getResources().getDrawable(R.drawable.order_info));
records.setContent(R.id.records);
this.myTabHost.addTab(records);

this.myTabHost.setCurrentTab(0);

}
OnTabChangeListener changeListener = new OnTabChangeListener(){
@Override
public void onTabChanged(String tabId) {
setTitle(tabId);


}

};

@Override
protected void onStart(){
super.onStart();
Log.i("TestService","onStart");
}


@Override
protected void onDestroy(){
super.onDestroy();
finish();
}

@Override
protected void onPause() {

super.onPause();
Log.i("TestService","onPause");
}

@Override
protected void onResume() {
super.onResume();
Log.i("TestService","onResume");

}
}



This test apk run fine on emulator android2.3.1,android3.0,but force
close when launching on one android2.3.1 real phone.

Log is:
I/ActivityManager(  207): Start proc com.aa for activity com.aa/.aa:
pid=2159 uid=1000 gids={1007, 3002, 3003, 3001, 2001,
 1015}
E/dalvikvm( 2159): could not disable core file generation for pid
2159: Operatio
n not permitted
I/TestService( 2159): onCreate
I/TestService( 2159): onStart...
I/TestService( 2159): onResume...
D/AndroidRuntime( 2159): Shutting down VM
W/dalvikvm( 2159): threadid=1: thread exiting with uncaught exception
(group=0x4
0018560)
E/AndroidRuntime( 2159): FATAL EXCEPTION: main
E/AndroidRuntime( 2159): java.lang.ClassCastException:
android.widget.LinearLayo
ut$LayoutParams
E/AndroidRuntime( 2159):at
android.widget.FrameLayout.onLayout(FrameLayo
ut.java:293)
E/AndroidRuntime( 2159):at android.view.View.layout(View.java:
7184)
E/AndroidRuntime( 2159):at
android.widget.LinearLayout.setChildFrame(Lin
earLayout.java:1254)
E/AndroidRuntime( 2159):at
android.widget.LinearLayout.layoutVertical(Li
nearLayout.java:1130)
E/AndroidRuntime( 2159):at
android.widget.LinearLayout.onLayout(LinearLa
yout.java:1047)
E/AndroidRuntime( 2159):at android.view.View.layout(View.java:
7184)
E/AndroidRuntime( 2159):at
android.widget.FrameLayout.onLayout(FrameLayo
ut.java:338)
E/AndroidRuntime( 2159):at android.view.View.layout(View.java:
7184)
E/AndroidRuntime( 2159):at
android.widget.LinearLayout.setChildFrame(Lin
earLayout.java:1254)
E/AndroidRuntime( 2159):at
android.widget.LinearLayout.layoutVertical(Li
nearLayout.java:1130)
E/AndroidRuntime( 2159):at
android.widget.LinearLayout.onLayout(LinearLa
yout.java:1047)
E/AndroidRuntime( 2159):at android.view.View.layout(View.java:
7184)
E/AndroidRuntime( 2159):at
android.widget.FrameLayout.onLayout(FrameLayo
ut.java:338)
E/AndroidRuntime( 2159):at android.view.View.layout(View.java:
7184)
E/AndroidRuntime( 2159):at
android.view.ViewRoot.performTraversals(ViewR
oot.java:1140)
E/AndroidRuntime( 2159):at
android.view.ViewRoot.handleMessage(ViewRoot.
java:1859)
E/And

[android-developers] keep webview in one activity

2010-01-10 Thread dai
hi, folks.

Does some please let me know how to use webview?
I want to make a webview keep to work wthin in a layout without
opening new web browser when clicking a link tag.

For instance, you can see the "Hello" text and google web page on a
display. Then if you click the "help" or "news" or "settings" links,
the android boots new web window and shows the web page.

I want to keep/fix the webview to open web page. I dont want to start
android embedded web browser.
Does anyone know the way to do this??


WebSettings webSettings = webview.getSettings();
webSettings.setJavaScriptEnabled(true);
webview.loadUrl("http://www.google.co.jp/";);



http://schemas.android.com/apk/res/
android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">




 


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

Re: [android-developers] Re: custom keyboard

2009-12-29 Thread Dai Hiro
This class manages input method settings :
http://developer.android.com/reference/android/provider/Settings.Secure.html

Unfortunately you can only read those settings and not modify them.
I think you should find an other way to do what you want to do.

Kwaku

On Mon, Dec 28, 2009 at 5:38 PM, schwiz  wrote:
> Ok that was the problem thanks.  This leaves me with two questions,
> how do I enable the keyboard without making the user do it, and how do
> I make it the default keyboard for my app.  Thanks for the reply!
>
> On Dec 28, 10:06 am, Dai Hiro  wrote:
>> Hi,
>>
>> Did you activate it in Locale & Text Settings ?
>>
>> Kwaku
>>
>>
>>
>> On Sun, Dec 27, 2009 at 11:53 PM, schwiz  wrote:
>> > I am wanting to add a custom keyboard for my app, I was taking a look
>> > at the softkeyboard example on the included sample code in the SDK.
>> > When I install it in the emulator it isn't showing up though.  I try
>> > to access it by longpressing an input box and then clicking select
>> > input when the context menu pops up.  However, the latin keyboard made
>> > in the example doesn't show up as one of the options.  Am I missing
>> > something?  Anyone have advice or know of another example I can look
>> > at?
>>
>> > --
>> > 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


Re: [android-developers] custom keyboard

2009-12-28 Thread Dai Hiro
Hi,

Did you activate it in Locale & Text Settings ?

Kwaku

On Sun, Dec 27, 2009 at 11:53 PM, schwiz  wrote:
> I am wanting to add a custom keyboard for my app, I was taking a look
> at the softkeyboard example on the included sample code in the SDK.
> When I install it in the emulator it isn't showing up though.  I try
> to access it by longpressing an input box and then clicking select
> input when the context menu pops up.  However, the latin keyboard made
> in the example doesn't show up as one of the options.  Am I missing
> something?  Anyone have advice or know of another example I can look
> at?
>
> --
> 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: [android-developers] Virtual keypad in landscape mode

2009-12-22 Thread Dai Hiro
Hi,

I guess your are testing your software with the emulator.
You should set the option 'keyboard support' to false on your avd in this case.

Dai

On Tue, Dec 22, 2009 at 11:28 PM, Yogi  wrote:
> Hi ,
>    I am working currently on an application which is in landscape
> mode by default. I want the virtual kepad to be poped up whenever I
> click on the edit box. Please, help me for the same.
>
> Thanks in advance,
> Yogi
>
> --
> 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


[android-developers] Random crashes when adding a new word to the user dictionary

2009-12-21 Thread Dai
Hi!

I am having random crashes when adding a new word to the user
dictionary with android 1.6.
Here is a copy of my stacktrace :

java.lang.IllegalArgumentException: Unknown URL content://user_dictionary/words
at android.content.ContentResolver.insert(ContentResolver.java:476)
at android.provider.UserDictionary$Words.addWord(UserDictionary.java:
133)
at com.asigbe.slidekeyboard.SlideKeyboard.addWordToDictionary
(SlideKeyboard.java:576)
at com.asigbe.slidekeyboard.SlideKeyboard.handleSeparator
(SlideKeyboard.java:770)
at com.asigbe.slidekeyboard.SlideKeyboard.onKey(SlideKeyboard.java:
634)
at com.asigbe.slidekeyboard.SlideKeyboardView.detectAndSendKey
(SlideKeyboardView.java:981)
at com.asigbe.slidekeyboard.SlideKeyboardView.onTouchEvent
(SlideKeyboardView.java:1446)
at android.view.View.dispatchTouchEvent(View.java:3675)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:923)
at android.gesture.GestureOverlayView.dispatchTouchEvent
(GestureOverlayView.java:503)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:923)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:923)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:923)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:923)
at com.android.internal.policy.impl.PhoneWindow
$DecorView.superDispatchTouchEvent(PhoneWindow.java:1757)
at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent
(PhoneWindow.java:1211)
at android.app.Dialog.dispatchTouchEvent(Dialog.java:609)
at com.android.internal.policy.impl.PhoneWindow
$DecorView.dispatchTouchEvent(PhoneWindow.java:1741)
at android.view.ViewRoot.handleMessage(ViewRoot.java:1819)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4321)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
(ZygoteInit.java:791)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
at dalvik.system.NativeStart.main(Native Method)

I really don't know how it is possible, because this exception is
only  thrown when the provider URL doesn't exist.

Any help would be much appreciated.
Thanks,
Koku

-- 
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


[android-developers] unsubscribe

2009-11-18 Thread Sou Dai
-- 
All those moments will be lost in time, just like tears in rain.

-- 
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

[android-developers] Proceeding the GPS information in a photo

2009-11-16 Thread Sou Dai
Would any one help me with this? I want to pick a photo from the device
with:

Intent intent = new Intent(Intent.ACTION_GET_CONTENT,
null);
intent.setType("image/*");
//intent.putExtra("crop", "true");
intent.putExtra("return-data", true);

startActivityForResult(Intent.createChooser(intent,
"Picking photo"), PR.action.ACTION_TYPE_PICK_PHOTO);

But I want to get the GPS information, file name etc. too. How could I do
it? Thanks!
P.S. How can I map the GPS coordinate into human readable address?

Best regards,
-- 
All those moments will be lost in time, just like tears in rain.

-- 
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: [android-developers] Re: Android Market Anti-Piracy

2009-11-16 Thread Sou Dai
To be honest, I don't like the unknown permitssion.  I have ever used an
input method which is amazing. But it needs locating permitssion. I don't
know why. So, I abandoned it.

2009/11/17 Jason Van Anden 

> On Mon, Nov 16, 2009 at 4:17 PM, nEx.Software
>  wrote:
> > If I don't believe an application should require Internet, I don't
> > install it. I hope that there are others who do the same. To require
> > internet permissions (with the current generic internet permission) on
> > an app which really does not need it, such as aiFlashlight, gives me
> > reason to question the motives of that developer. I ask myself "Now,
> > why the heck would a flashlight app require internet permissions?" ...
>
> Here's an answer: Maybe its a good way to understand if the
> application works in the field, like ... to get error messages and
> such?  Or perhaps its a good way to understand how and if users
> actually use the app or prefer particular features?
>
> I have some paranoid user who regularly updates a comment on my apps
> Market listing with something like "Why would a music app that plays
> local files need internet access?  Spying?"  Um ... so if I had a
> streaming music app ... uh, then what?  There would be no suspicion of
> spying?
>
> :)
>
> --
> 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




-- 
All those moments will be lost in time, just like tears in rain.

-- 
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

[android-developers] Re: Got 12 Google Wave invitations to use, let me know if you need

2009-11-09 Thread dai
Hi, Dave. I'd appriciate if you give it to me..Grazie so much!

On 11月10日, 午前1:12, dave  wrote:
> Hi all,
>
> I just got 12 Google Wave invitations to use, please let me know if
> you need one.
>
> Cheers.
>
> Dave

-- 
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


[android-developers] Re: webview extracting html

2009-01-30 Thread dai

Hi Fred, thanks for your response. Which one is the crayon css
example? Is this embedded into the API demos or something?
Are you meaning that we can only get images file information just from
css??

Grazie,



On 1月31日, 午前9:53, "Fred Grott(shareme)"  wrote:
> Hello Dai, welcome to the new hacking trend Hybrid Moble RIAs
>
> Yes, any html manipulation you do in other RIAs you can do in
> webview..
>
> For example that crayon css example where the picture is created with
> just css can be done in webview and among other examples.
>
> I would start exploring html 5 entity called canvas..
>
> On Jan 30, 4:34 pm, dai  wrote:
>
> > guys, is it possible to extranct html content from webview component/
> > class?
> > I wanna show an img file from getting rid of  tag from html of
> > webivew.
>
> > grazie so much
>
>
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] webview extracting html

2009-01-30 Thread dai

guys, is it possible to extranct html content from webview component/
class?
I wanna show an img file from getting rid of  tag from html of
webivew.

grazie so much
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Daemon

2008-10-25 Thread dai

hi, this might be a trivial question but do me a favor please..

Can the android application we develop observe applications' process,
cpu performance, memory allocation?
Are the android allowed to have kind of this application?


Thank you so much
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: save file with byte[] argument

2008-10-15 Thread dai

ahh, yes..I should have used fos.write(byte[])and it does work
now..

Thank you so much Jason.

On 10月15日, 午前7:35, Jason Proctor <[EMAIL PROTECTED]> wrote:
> why not use fos.write(buffer) as your "standard java platform" example does?
>
> you don't want to use Writers here, because
> you're dealing with binary data. i think you
> might be confused by your corresponding read(),
> where you presumably (and properly) use Writers
> to write the encoded Base64 strings.
>
> also, close your streams in a finally block. that
> way they'll be closed if something inside the try
> block throws. otherwise you'll leave file
> descriptors hanging.
>
> hth
>
> >does anyone have an idea? I want to set byte[] as argument..
>
> >On 10åé13ì™, åþå“11:58, dai <[EMAIL PROTECTED]> wrote:
> >>  Hi, could you anybody know how to save data using FileoutputStream
> >>  like below with byte[] argument?
> >>  Upon standard java platform, I could save data as zip using
> >>  FileOutputStream with byte[] argument however on Android platform, the
> >>  method does not have wirte(byte[]) but it does have write(byte[]).
>
> >>  Is thie meaning that I can only chante byte[] to String looking around
> >>  web pages? Or is there anything that I have to consider because of
> >>  android specific manners like this..??
>
> >>  // Android Platform
> >>          public void write(Context context, String data){
> >>                  byte[] outdata = Base64.decode(data);
> >>                  FileOutputStream fos = null;
> >>                  BufferedWriter out = null;
> >>                  try {
> >>                          fos = context.openFileOutput("output.zip", 0);
> >>                          out = new
> >>BufferedWriter(new OutputStreamWriter(fos));
> >>                          out.write( ? );
> >>                          out.flush();
> >>                          out.close();
> >>                          fos.close();
> >>                 } catch(
>
> >>  // Standard Java Platform
> >>          public void write(String data){
> >>                 try {
> >>                          byte[] outdata =
> >>Base64.decodeBase64(data.getBytes());
>
> >>                          File of = new File("output.zip");
> >>                          FileOutputStream osf = new FileOutputStream(of);
> >>                          osf.write(outdata);
> >>                          osf.flush();
> >>                 } catch 
>
> >>  Thank you so much
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: save file with byte[] argument

2008-10-14 Thread dai

does anyone have an idea? I want to set byte[] as argument..

On 10月13日, 午後11:58, dai <[EMAIL PROTECTED]> wrote:
> Hi, could you anybody know how to save data using FileoutputStream
> like below with byte[] argument?
> Upon standard java platform, I could save data as zip using
> FileOutputStream with byte[] argument however on Android platform, the
> method does not have wirte(byte[]) but it does have write(byte[]).
>
> Is thie meaning that I can only chante byte[] to String looking around
> web pages? Or is there anything that I have to consider because of
> android specific manners like this..??
>
> // Android Platform
> public void write(Context context, String data){
> byte[] outdata = Base64.decode(data);
> FileOutputStream fos = null;
> BufferedWriter out = null;
> try {
> fos = context.openFileOutput("output.zip", 0);
> out = new BufferedWriter(new OutputStreamWriter(fos));
> out.write( ? );
> out.flush();
> out.close();
> fos.close();
>} catch(
>
> // Standard Java Platform
> public void write(String data){
>try {
> byte[] outdata = Base64.decodeBase64(data.getBytes());
>
> File of = new File("output.zip");
> FileOutputStream osf = new FileOutputStream(of);
> osf.write(outdata);
> osf.flush();
>} catch 
>
> Thank you so much
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] save file with byte[] argument

2008-10-13 Thread dai

Hi, could you anybody know how to save data using FileoutputStream
like below with byte[] argument?
Upon standard java platform, I could save data as zip using
FileOutputStream with byte[] argument however on Android platform, the
method does not have wirte(byte[]) but it does have write(byte[]).

Is thie meaning that I can only chante byte[] to String looking around
web pages? Or is there anything that I have to consider because of
android specific manners like this..??

// Android Platform
public void write(Context context, String data){
byte[] outdata = Base64.decode(data);
FileOutputStream fos = null;
BufferedWriter out = null;
try {
fos = context.openFileOutput("output.zip", 0);
out = new BufferedWriter(new OutputStreamWriter(fos));
out.write( ? );
out.flush();
out.close();
fos.close();
   } catch(


// Standard Java Platform
public void write(String data){
   try {
byte[] outdata = Base64.decodeBase64(data.getBytes());

File of = new File("output.zip");
FileOutputStream osf = new FileOutputStream(of);
osf.write(outdata);
osf.flush();
   } catch 

Thank you so much
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: How did android.R.id.list got into android.R.java file??

2008-10-05 Thread dai

Satya, you could not edit R.java manually. This have been generated
automatically by understanding layout files etc.

 is correct. R.id. comes
from  "android:id="@+id/"
(the "+" means that Android platform creates automatically the id on
condition that the id does not exsist yet)

 id is displayed in R.java sooner when you wirte @+id.


Satya Komatineni のメッセージ:
> Can one change R.java file manually? (I take it is auto generated
> based on res files)
>
> How did "android.R.id.list" constant got into android.R.java file?
>
> was there a layout in android that said
>
> "
>
> Thanks
> Satya
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: httpclient and timeout

2008-10-05 Thread dai

I dont a bug about it, but how'bout using SDK1.0?

On 10月5日, 午後6:27, arnouf <[EMAIL PROTECTED]> wrote:
> Nobody have a solution? Or an idea?
>
> Regards
>
> On 4 oct, 20:43, arnouf <[EMAIL PROTECTED]> wrote:
>
> > Hello all,
>
> > in previous versions there was a bug on setTimeOut(long) checking a
> > lost web connection.
> > Is there a solution now? I'm using SDK 0.9 but I didn't find a
> > solution.
>
> > Thanks a lot by advance.
>
> > 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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: httpclient and timeout

2008-10-05 Thread dai

I dont use setTimeout(long) method in the package(http://
code.google.com/android/reference/org/apache/http/conn/params/
ConnManagerParamBean.html...?)

I'm using the HttpConnectionParams#setConnectionTimeout() in
org.apache.commons.httpclient.params package.
When setting time out, no error happens.

/** start */
private static HttpConnection connection;
.
public void connect() throws IOException {
if (!connection.isOpen()) {
connection.open();
connection.setSocketTimeout(1000);
} else {
Log.v(TAG, "ServiceConnectoin : Already Connected");
}
}
/** end */

hope this might help

On 10月5日, 午後7:10, arnouf <[EMAIL PROTECTED]> wrote:
> Thanks dai.
> I'm using 0.9...could you give me a part of your code where you use
> the setTimeout?
>
> Regards
>
> On 5 oct, 11:58, dai <[EMAIL PROTECTED]> wrote:
>
> > I dont a bug about it, but how'bout using SDK1.0?
>
> > On 10月5日, 午後6:27, arnouf <[EMAIL PROTECTED]> wrote:
>
> > > Nobody have a solution? Or an idea?
>
> > > Regards
>
> > > On 4 oct, 20:43, arnouf <[EMAIL PROTECTED]> wrote:
>
> > > > Hello all,
>
> > > > in previous versions there was a bug on setTimeOut(long) checking a
> > > > lost web connection.
> > > > Is there a solution now? I'm using SDK 0.9 but I didn't find a
> > > > solution.
>
> > > > Thanks a lot by advance.
>
> > > > 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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Why did I delete the project, but it still run ?

2008-10-05 Thread dai

If what you are saying "project" is an Android project on Eclipse, you
maybe delete app(.apk) via DDMS view.
You can go there by DDMS view, then go down data/app folder. You'd see
apps you've build so far.


On 10月5日, 午後5:16, Ludwig <[EMAIL PROTECTED]> wrote:
> If nothing helps, read the 
> documentation:http://code.google.com/android/intro/develop-and-debug.html#uninstalling
>
> 2008/10/5 Baonq86 <[EMAIL PROTECTED]>
>
>
>
> > I have a project. I don't need it more and I deleted it. But when I
> > run android simulator, I still see it and it still run well. How can I
> > delete my project ? I deleted this project in workspace and clear the
> > Temp Folder in Window, but there isn't effect. Please 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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Developing in C\C++ for Android

2008-10-04 Thread dai

Would someone (Google folks) mind if you give me more date info about
android open
source..?

Thank you so much in advance,

On 10月5日, 午前9:10, Mark Murphy <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > I read somewhere that it is possible to run Hello-World written in C,
> > on Android.
>
> > Could anyone please tell me:
> > 1. how to start with native development for Android?
> > 2. What native libraries are supported?
>
> Via the SDK, this is not really supported.
>
> Once Android is released as open source, you can (presumably) develop
> whatever you want in C, but you may only be able to distribute the
> results via your own firmware distribution.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
>
> Android Training on the Ranch! -- Mar 16-20, 
> 2009http://www.bignerdranch.com/schedule.shtml
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Android Application for salesforce.com

2008-10-03 Thread dai

Ciao, gentlemen. I've started Android open-source project targeting
Salesforce (http://www.salesforce.com/) using Apex API (http://
www.salesforce.com/developer/).

This app is to connect to salesforce thru soap base web serivce
(really really fandamental part :)), and now I'm planing to open the
source code to do enhance with lots of folks.

I've post my code to google code page below. You could download and
run on google android.
http://code.google.com/p/salesforceandroid/

Salesforce is B2B saas/paas company that deals with sfa, marketing,
support, hr, mainly.

This app is really um-matured. This is read-only for now.

[Avaialble Salesforce Standard Object on my app]
- Event
- Task
- Lead
- Account
- Contact
- Case
- Opportunity

- Chart Viewer (google chart api)
- Web Viewer (Visualforce viewer. you could see 2 visualforce pages if
you log in as hard-coded user)

With this app, username is harded coded but you could change it to
your user name that has Salesforce API enable option.

If you are interested in it, please come in the page :
http://code.google.com/p/salesforceandroid/
Some gentlemen said to me to help the project :)

Thank you very much,
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] android:label

2008-09-24 Thread dai

Hi, are we allowed to change android:label of AndroidManifest.xml via
program dynamically?

Thank you so much
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] run emulator on eclipse

2008-09-18 Thread dai

hi, I heard that we dont need to re-run android emulator with eclipse
every time source code has been compiled because the emulator would
change dynamically. Is it truth? If yes, does anyone know the way to
do so??
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Arc : LinearLayout

2008-09-13 Thread dai

HI, do you know how to set arc on the edge of LinerLayout? Is it
possible to do it?

Thanks
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] "back button" function

2008-09-12 Thread dai

ciao, does someone know what/how android implements the back button?
If I add back button myself, Do I have to do something(use stack to
remember activity) myself?

Thank you so much
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] transition

2008-09-12 Thread dai

hi, are there transition samplaes when changing display?
I know android demo has 3Dtransition sample but I want to do
2Dtransition(?) like iPhone...

Any ideas??
Thank you very much
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: WebView display nothing with TabHost

2008-09-11 Thread dai

elephantbug, what kind of web page are you trying to display? Perhaps
http://www.google.com?

If you do try to show web pages using javascript like...above page,
you have to set-on javascript.

/** enabling js manually */
webView.getSettings().setJavaScriptEnabled(true);

hope this helps


On 9月12日, 午前10:50, elephantbug <[EMAIL PROTECTED]> wrote:
> Mark,
>
> I tried that. The problem still persists...
>
> I even tried to some simple Html in onCreate method... nothing
> displayed at all..
>
> On Sep 11, 4:18 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
>
> > elephantbug wrote:
> > > The WebView shows nothing the very first time, however, if you switch
> > > to other TAB and return back, everything is displayed.
>
> > Don't put WebView in a ScrollView. It does its own scrolling.
>
> > I don't know if that is your problem, but it is worth a try.
>
> > --
> > Mark Murphy (a Commons Guy)http://commonsware.com
> > Warescription: All titles, revisions, & ebook formats, just $35/year
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: WebView

2008-09-07 Thread dai

Hi...somebody knows the way to keep web surfing on WebView
component..?
Does WebView allow to show web page at first so far?

Thanks in advnace

On 9月7日, 午後5:53, "Dai Odahara" <[EMAIL PROTECTED]> wrote:
> hi I mean that I do nt open new window. Is it possible not to open web
> window from web view comp?
>
> On 9/7/08, dai <[EMAIL PROTECTED]> wrote:
>
>
>
> > I'm trying to display web page (html / javascript) on WebView
> > component.
> > You know, it's ok to show the page on the WebView comp initially but
> > after clicking a link (like weather, finance), the web-browser
> > embedded on Android originally.
>
> > Does someone know how to keep showing web page on the WebView
> > componenet??
>
> > Thank you very much
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: WebView loadUrl does not seem to work...

2008-09-07 Thread dai

Hi, Megha. Thank you very much. it works well by enabling javasript.
Grazie so much

On 9月7日, 午後7:01, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
> 2008/9/7 dai <[EMAIL PROTECTED]>
>
>
>
> > Hi, Mark. I'm also wondering why accessting to google.com shows
> > white..
> > it might be happening because of javasript or something..?
>
> Yes you are on the right track...please see the resolution at the link
> below:http://code.google.com/p/android/issues/detail?id=678
>
>
>
> > Thank you so much
>
> > On 9月6日, 午前9:57, Mark Murphy <[EMAIL PROTECTED]> wrote:
> > > RPO wrote:
> > > > This sample is from your book (which I subscribed to)!
>
> > > Well, then *clearly* some moron wrote that example!
>
> > > Oh, wait...
>
> > > ;-)
>
> > > More seriously, version 1.2 of the book -- certified for Android 0.9 SDK
> > > -- should be available within 48 hours, barring a shift in 'urricane
> > > 'anna's path to cause me problems.
>
> > > By eyeball, the only serious difference I see between yours and my
> > > updated one is your choice of URLs to load.
>
> > > And I just tried it, and usingwww.google.comfailsfor me too.
>
> > > I ran into this problem with M5 as well. I tried Google's home page, got
> > > nothing, tried mine, got it to work, and wrote it off as a
> > > browser-sniffing problem on Google's server.
>
> > > And it's not like I broke into the Android version control system and
> > > hacked it to only show the CommonsWare site -- 
> > > news.google.comandwww.yahoo.comworkfine, as I've tried them just now.
>
> > > So, I'm still chalking it up to being something with the Google home
> > > page. After all, there's virtually no code to the sample, so it's
> > > difficult to imagine how it could be right for these other pages and
> > > wrong for the Google home page.
>
> > > I apologize for the difficulty. And thanks for subscribing!
>
> > > --
> > > Mark Murphy (a Commons Guy)http://commonsware.com
> > > _The Busy Coder's Guide to Android Development_ Version 1.1 Published!
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: WebView

2008-09-07 Thread Dai Odahara

hi I mean that I do nt open new window. Is it possible not to open web
window from web view comp?

On 9/7/08, dai <[EMAIL PROTECTED]> wrote:
>
> I'm trying to display web page (html / javascript) on WebView
> component.
> You know, it's ok to show the page on the WebView comp initially but
> after clicking a link (like weather, finance), the web-browser
> embedded on Android originally.
>
> Does someone know how to keep showing web page on the WebView
> componenet??
>
> Thank you very much
> >
>

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: WebView loadUrl does not seem to work...

2008-09-07 Thread dai

Hi, Mark. I'm also wondering why accessting to google.com shows
white..
it might be happening because of javasript or something..?

Thank you so much

On 9月6日, 午前9:57, Mark Murphy <[EMAIL PROTECTED]> wrote:
> RPO wrote:
> > This sample is from your book (which I subscribed to)!
>
> Well, then *clearly* some moron wrote that example!
>
> Oh, wait...
>
> ;-)
>
> More seriously, version 1.2 of the book -- certified for Android 0.9 SDK
> -- should be available within 48 hours, barring a shift in 'urricane
> 'anna's path to cause me problems.
>
> By eyeball, the only serious difference I see between yours and my
> updated one is your choice of URLs to load.
>
> And I just tried it, and usingwww.google.comfails for me too.
>
> I ran into this problem with M5 as well. I tried Google's home page, got
> nothing, tried mine, got it to work, and wrote it off as a
> browser-sniffing problem on Google's server.
>
> And it's not like I broke into the Android version control system and
> hacked it to only show the CommonsWare site -- news.google.com 
> andwww.yahoo.comwork fine, as I've tried them just now.
>
> So, I'm still chalking it up to being something with the Google home
> page. After all, there's virtually no code to the sample, so it's
> difficult to imagine how it could be right for these other pages and
> wrong for the Google home page.
>
> I apologize for the difficulty. And thanks for subscribing!
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 1.1 Published!
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] WebView

2008-09-07 Thread dai

I'm trying to display web page (html / javascript) on WebView
component.
You know, it's ok to show the page on the WebView comp initially but
after clicking a link (like weather, finance), the web-browser
embedded on Android originally.

Does someone know how to keep showing web page on the WebView
componenet??

Thank you very much
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] 2 tier view of tab list

2008-09-02 Thread dai

ciao, do you know it's possible to set multi-tier view of tab host?
Because sideway width of tab host is fixed (meaning there is no
sideways scroll), I want to add multi-tab host view..

Thank yuo so much
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: color at margin

2008-08-30 Thread dai

I'll check it, thank you!

On 8月30日, 午後8:53, Mark Murphy <[EMAIL PROTECTED]> wrote:
> dai wrote:
> > hi, can some please let me know how to set color on each list?
> > I mean that color between list is white like below.
> >http://code.google.com/android/adc_gallery/app.html?id=17
>
> > tha default color is white. I want to change it to other
> > color..becuase my app's background color is white so that I cant find
> > any color boundary...
>
> The lines between list entries are called dividers. In layout XML, you
> can use android:divider to set the color and android:dividerHeight to
> set the height (in pixels, millimeters, etc).
>
> These equate to setDivider() and setDividerHeight() in Java, though note
> that setDivider() takes a Drawable.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 1.1 Published!
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] color at margin

2008-08-30 Thread dai

hi, can some please let me know how to set color on each list?
I mean that color between list is white like below.
http://code.google.com/android/adc_gallery/app.html?id=17

tha default color is white. I want to change it to other
color..becuase my app's background color is white so that I cant find
any color boundary...

thankyou very much
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: tabhost nextfocus

2008-08-28 Thread dai

Ok...let me know please if you have examples.

On 8月28日, 午後10:02, "dyonis" <[EMAIL PROTECTED]> wrote:
> someone has examples of a program to Android
>
> - Original Message -
> From: "dai" <[EMAIL PROTECTED]>
> To: "Android Developers" 
> Sent: Thursday, August 28, 2008 8:59 AM
> Subject: [android-developers] tabhost nextfocus
>
> > Hi, guys. Does anyone know how to set nextFoucsUp/Down/Left/Right
> > within Tabhost View?
> > I wanna move focus within each tab..
>
> > 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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] tabhost nextfocus

2008-08-28 Thread dai

Hi, guys. Does anyone know how to set nextFoucsUp/Down/Left/Right
within Tabhost View?
I wanna move focus within each tab..

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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: java.net.SocketException: unknown error

2008-08-25 Thread dai

Did you add  to your manifest?
This tag is mandatory for beta 0.9 version. Without it, you could not
connect to the internet.

On 8月25日, 午前9:30, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I try to consume my soap webservice writted with cxf apache.
> Java client works fine and now, i want to create android client.
> I found a sample 
> =>http://groups.google.com/group/android-developers/browse_thread/threa...
> And i try to update it to work with the last android sdk version. (0.9
> beta)
> So i decided to use ksoap2 snapshot + SE extension and write a
> sample..
>
> the source code :
>
> public class Adder extends Activity {
> private static final String SOAP_ACTION = "RegistrationService";
> private static final String METHOD_NAME = "register";
> private static final String NAMESPACE = "http://
> unknown.namespace";
> private static final String URL = "http://192.168.0.5:8080/poker-
> flex/ws/RegistrationService?wsdl";
>
> /** Called when the activity is first created. */
> @Override
> public void onCreate(Bundle icicle) {
> super.onCreate(icicle);
> setContentView(R.layout.main);
> findViewById(R.id.cmdCalculate).setOnClickListener(new
> OnClickListener() {
> public void onClick(View view) {
> 
> ((TextView)findViewById(R.id.lblStatus)).setText("... Invoking Web
> Service ...");
> SoapObject request = new 
> SoapObject(NAMESPACE, METHOD_NAME);
> SoapSerializationEnvelope envelope = new
> SoapSerializationEnvelope(SoapEnvelope.VER11);
> envelope.setOutputSoapObject(request);
> Transport androidHttpTransport = new HttpTransportSE
> (URL);
> try {
> androidHttpTransport.call(SOAP_ACTION, 
> envelope);
> Object result = envelope.bodyIn;
>
> ((TextView)findViewById(R.id.lblStatus)).setText(result.toString());
> } catch(Throwable E) {
> 
> ((TextView)findViewById(R.id.lblStatus)).setText("ERROR:" +
> E.getClass().getName() + ": " + E.getMessage());
> }
> }
> });
> }
>
> }
>
> but I have an exception during calling "
> androidHttpTransport.call(SOAP_ACTION, envelope); "
> at the line 68 from the file HttpTransportSE.java "
> connection.connect(); "
> => java.net.SocketException: unknown error
>
> someone use successfully cxf and android client? :-/
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] TabHost view having activities

2008-08-24 Thread dai

Does anyone know how to keep tabhost view show on the top of display
always shile showing/changing other activities under the tabhost?

I know that I can do it by creating the same tabhost every I start
other activities...
Any smarter ways to do it??

Thank you so much 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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Images from Google Chart API

2008-08-22 Thread dai

Thank you for your sample code, justin. It's working well ;)


On 8月23日, 午前8:57, "Justin (Google Employee)" <[EMAIL PROTECTED]> wrote:
> Yes.
>
> import java.net.URL;
> import android.graphics.Bitmap;
> import android.widget.ImageView;
>
> URL img = new URL("http://chart.apis.google.com/chart?
> chs=460x230&chd=t:62&cht=p&chl=Google");
> ImageView imgViewer = new ImageView(this);
> imgViewer.setImageBitmap(Bitmap.decodeStream(img.openStream());
>
> Cheers,
> Justin
> Android Team @ Google
>
> On Aug 22, 9:52 am, dai <[EMAIL PROTECTED]> wrote:
>
> > Ciao, can anyhone get image files from Google Chart API?
> > I'm trying to get image 
> > fromhttp://chart.apis.google.com/chart?chs=460x230&chd=t:62&cht=p&chl=Google,
> > but I could not do well..
>
> > Any hints on this...?
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Images from Google Chart API

2008-08-22 Thread dai

Ciao, can anyhone get image files from Google Chart API?
I'm trying to get image from 
http://chart.apis.google.com/chart?chs=460x230&chd=t:62&cht=p&chl=Google,
but I could not do well..

Any hints on this...?
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: TabHost view

2008-08-22 Thread dai

Ahh, I've found out "public TabHost.TabSpec  setIndicator(CharSequence
label, Drawable icon) " of TabHost class..

On 8月22日, 午後11:21, dai <[EMAIL PROTECTED]> wrote:
> Hi, is it possible to display icon(jpg, png) within tab? I'd like to
> add icon and text(setIndicator("***")) within tab..
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] TabHost view

2008-08-22 Thread dai

Hi, is it possible to display icon(jpg, png) within tab? I'd like to
add icon and text(setIndicator("***")) within tab..
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: running httpclient with beta 0.9

2008-08-21 Thread dai


Yup, it's working well ;) Thank you so much for caring.



On 8月22日, 午前8:07, "Justin (Google Employee)" <[EMAIL PROTECTED]> wrote:
> Ah, and Mark already got this one. Such a mess in here with the
> changed subject lines! :-)
>
> Cheers,
> Justin
> Android Team @ Google
>
> On Aug 21, 4:07 pm, "Justin (Google Employee)" <[EMAIL PROTECTED]>
> wrote:
>
> > You'll need to add
> > 
> > to your manifest file if your application wishes to use data.
>
> > Cheers,
> > Justin
> > Android Team @ Google
> > On Aug 20, 12:43 am, DeMorgan <[EMAIL PROTECTED]> wrote:
>
> > > Justine:
> > > "I'm able to use HttpClient just fine (in fact, just posted some
> > > sample
> > > code for doing multipart posts). "
>
> > > Hi Justine,
> > > I have tried to migrate to new http client, in previous release I was
> > > using classes:
> > > import org.apache.commons.httpclient.HttpClient;
> > > import org.apache.commons.httpclient.HttpStatus;
> > > import org.apache.commons.httpclient.methods.ByteArrayRequestEntity;
> > > import org.apache.commons.httpclient.methods.PostMethod;
>
> > > Now I have moved to new http client, but I am getting en exception:
> > > java.net.SocketException: unknown error
> > > at
> > > org.apache.harmony.luni.platform.OSNetworkSystem.createSocketImpl(Native
> > > Method)
> > > at
> > > org.apache.harmony.luni.platform.OSNetworkSystem.createSocket(OSNetworkSystem.java:
> > > 79)
> > > at
> > > org.apache.harmony.luni.net.PlainSocketImpl2.create(PlainSocketImpl2.java:
> > > 59)
> > > at java.net.Socket.checkClosedAndCreate(Socket.java:763)
> > > at java.net.Socket.connect(Socket.java:910)
> > > at
> > > org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:
> > > 117)
> > > at
> > > org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:
> > > 129)
> > > at
> > > org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:
> > > 164)
> > > at
> > > org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:
> > > 119)
> > > at
> > > org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:
> > > 348)
> > > at
> > > org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:
> > > 555)
> > > at
> > > org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:
> > > 487)
> > > at
> > > org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:
> > > 465)
>
> > > If you have working examples with new client, please let me know where
> > > I can find them.
>
> > > Regards,
> > > Nick
>
> > > On Aug 20, 3:40 am, dai <[EMAIL PROTECTED]> wrote:
>
> > > > aahh, I'm so sorry.. What I said I could run was with RC5.
>
> > > > Thank you, I'll post code later.
>
> > > > > I'm confused -- you say for HTTPS, you get the exception, then later,
> > > > > you say you use HTTPS and it works. Which is it? Or does the exception
> > > > > come and go?
>
> > > > On Aug 20, 9:35 am, Mark Murphy <[EMAIL PROTECTED]> wrote:
>
> > > > > dai wrote:
> > > > > > Yes, I can access web sites via build in web browser. I mainly use
> > > > > > https:443.. then run into unknownhost exception.
> > > > > > I aslo tried to access via http:80, same error happened.
>
> > > > > > Speaking of https:443, I could reach the target host without 
> > > > > > problems.
>
> > > > > I'm confused -- you say for HTTPS, you get the exception, then later,
> > > > > you say you use HTTPS and it works. Which is it? Or does the exception
> > > > > come and go?
>
> > > > > > Are you be able to access web sites now from you own app with 
> > > > > > beta0.9
> > > > > > - httpclient..?
>
> > > > > I won't be updating that chapter in my book until this weekend, in all
> > > > > likelihood. Too many code samples, too little time...
>
> > > > > But, as Justin pointed out, others can use the new HttpClient just 
> > > > > fine.
> > > > > Can you post some code that demonstrates the problem?
>
> > > > > --
> > > > > Mark Murphy (a Commons Guy)http://commonsware.com
> > > > > Warescription: All titles, revisions, & ebook formats, just $35/year
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: URL class using server url with "|"

2008-08-21 Thread dai

Additional Info...Speaking of goole char api server, you'd see the
same error even if you do encode (URLEncoder.encode(path)).
The server seems that %7C (encoded "|") would not fit into the
server...The server returns one html page sayingBad Request...

On 8月21日, 午後11:09, dai <[EMAIL PROTECTED]> wrote:
> hi, does anyone know how to avoid an IllegalArgumentException?
> When accessing to a web server with URL class on android platform,
> this error occurs. According to an error message, the "|" is invalid.
> Here is a sample code.
>
> /** sample code */
> String host = "chart.apis.google.com";
> String path = "chart?cht=p3&chd=t:
> 60,40&chs=250x100&chl=Hello|World";
>
> URL url = new URL("http", host, 80, "/" + path);
> HttpURLConnection urlcon = (HttpURLConnection)
> url.openConnection();
> InputStream fileIS = urlcon.getInputStream();
>
> But you can see it work well on strandard jdk platfrom (I dont know
> right way to say standard platform).
> For example, with JDK 1.6.xx.xx, you can access to google api server
> without an IllegalArgumentException.
>
> Does anybody have an idea to access to the google api chart server?
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] URL class using server url with "|"

2008-08-21 Thread dai

hi, does anyone know how to avoid an IllegalArgumentException?
When accessing to a web server with URL class on android platform,
this error occurs. According to an error message, the "|" is invalid.
Here is a sample code.

/** sample code */
String host = "chart.apis.google.com";
String path = "chart?cht=p3&chd=t:
60,40&chs=250x100&chl=Hello|World";

URL url = new URL("http", host, 80, "/" + path);
HttpURLConnection urlcon = (HttpURLConnection)
url.openConnection();
InputStream fileIS = urlcon.getInputStream();

But you can see it work well on strandard jdk platfrom (I dont know
right way to say standard platform).
For example, with JDK 1.6.xx.xx, you can access to google api server
without an IllegalArgumentException.

Does anybody have an idea to access to the google api chart server?
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: running httpclient with beta 0.9

2008-08-20 Thread Dai Odahara
No, I did not add the tag,...so it's working well now by adding the tag!

Grazie so much

On Wed, Aug 20, 2008 at 8:30 PM, Mark Murphy <[EMAIL PROTECTED]>wrote:

>
> DeMorgan wrote:
> > Hi Justine,
> > I have tried to migrate to new http client, in previous release I was
> > using classes:
> > import org.apache.commons.httpclient.HttpClient;
> > import org.apache.commons.httpclient.HttpStatus;
> > import org.apache.commons.httpclient.methods.ByteArrayRequestEntity;
> > import org.apache.commons.httpclient.methods.PostMethod;
> >
> > Now I have moved to new http client, but I am getting en exception:
> > java.net.SocketException: unknown error
>
> Did you add:
>
> 
>
> to your AndroidManifest.xml? That's a new requirement in 0.9.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com
> Warescription: All titles, revisions, & ebook formats, just $35/year
>
> >
>

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: running httpclient with beta 0.9

2008-08-19 Thread dai

aahh, I'm so sorry.. What I said I could run was with RC5.

Thank you, I'll post code later.

> I'm confused -- you say for HTTPS, you get the exception, then later,
> you say you use HTTPS and it works. Which is it? Or does the exception
> come and go?

On Aug 20, 9:35 am, Mark Murphy <[EMAIL PROTECTED]> wrote:
> dai wrote:
> > Yes, I can access web sites via build in web browser. I mainly use
> > https:443.. then run into unknownhost exception.
> > I aslo tried to access via http:80, same error happened.
>
> > Speaking of https:443, I could reach the target host without problems.
>
> I'm confused -- you say for HTTPS, you get the exception, then later,
> you say you use HTTPS and it works. Which is it? Or does the exception
> come and go?
>
> > Are you be able to access web sites now from you own app with beta0.9
> > - httpclient..?
>
> I won't be updating that chapter in my book until this weekend, in all
> likelihood. Too many code samples, too little time...
>
> But, as Justin pointed out, others can use the new HttpClient just fine.
> Can you post some code that demonstrates the problem?
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> Warescription: All titles, revisions, & ebook formats, just $35/year
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: running httpclient with beta 0.9

2008-08-19 Thread dai

Thank you. I'll post my code later.(when back to home)

I dont use proxy at all...uummm

On Aug 20, 9:26 am, "Justin (Google Employee)" <[EMAIL PROTECTED]>
wrote:
> I'm able to use HttpClient just fine (in fact, just posted some sample
> code for doing multipart posts).
>
> If the browser does succeed in loading the site, can you post your
> code? There are a lot of variables and code will make it a lot easier.
> The emulator at least used to have issues accessing site through
> proxies networks, I'm not sure this is currently the case.
>
> Cheers,
> Justin
> Android Team @ Google
>
> On Aug 19, 5:22 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
>
> > dai wrote:
> > > hi, I'm running into "UnknownHostException" on my android app with
> > > beta 0.9 release. (yes, the host is avaiable)
> > > To reach the host, I'm using apache common httpclient (included the
> > > android sdk)
>
> > > On RC5 platform, I can reach the host I set without exception like
> > > this...using the apache common httpclient..
>
> > > Does anyone know what has been changed about http client..?
>
> > Well, it's a new version, but that may or may not be the problem.
>
> > Can you access the Web site via the built-in browser activity? If not,
> > it's probably not an HttpClient thing, but something else, as I doubt
> > the WebKit browser is running through HttpClient for its HTTP access.
> > There's probably something more fundamental preventing your emulator
> > from accessing that server.
>
> > If the site *does* come up in the browser activity, is there anything
> > else unusual about the HttpClient request you're making (HTTPS, not port
> > 80, using a proxy, etc.)?
>
> > --
> > Mark Murphy (a Commons Guy)http://commonsware.com
> > Warescription: All titles, revisions, & ebook formats, just $35/year
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: running httpclient with beta 0.9

2008-08-19 Thread dai

Yes, I can access web sites via build in web browser. I mainly use
https:443.. then run into unknownhost exception.
I aslo tried to access via http:80, same error happened.

Speaking of https:443, I could reach the target host without problems.

Are you be able to access web sites now from you own app with beta0.9
- httpclient..?

On Aug 20, 9:22 am, Mark Murphy <[EMAIL PROTECTED]> wrote:
> dai wrote:
> > hi, I'm running into "UnknownHostException" on my android app with
> > beta 0.9 release. (yes, the host is avaiable)
> > To reach the host, I'm using apache common httpclient (included the
> > android sdk)
>
> > On RC5 platform, I can reach the host I set without exception like
> > this...using the apache common httpclient..
>
> > Does anyone know what has been changed about http client..?
>
> Well, it's a new version, but that may or may not be the problem.
>
> Can you access the Web site via the built-in browser activity? If not,
> it's probably not an HttpClient thing, but something else, as I doubt
> the WebKit browser is running through HttpClient for its HTTP access.
> There's probably something more fundamental preventing your emulator
> from accessing that server.
>
> If the site *does* come up in the browser activity, is there anything
> else unusual about the HttpClient request you're making (HTTPS, not port
> 80, using a proxy, etc.)?
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> Warescription: All titles, revisions, & ebook formats, just $35/year
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] running httpclient with beta 0.9

2008-08-19 Thread dai

hi, I'm running into "UnknownHostException" on my android app with
beta 0.9 release. (yes, the host is avaiable)
To reach the host, I'm using apache common httpclient (included the
android sdk)

On RC5 platform, I can reach the host I set without exception like
this...using the apache common httpclient..

Does anyone know what has been changed about http client..?

Does anyone see the same 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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---