[android-developers] Problem Launching Emulator after integrating codec

2008-12-04 Thread Yogi

Hi All,

I have facing problem in launching emulator from the source code.
I have also set the environment variable ANDROID_PRODUCT_OUT.
I am getting the following error message,

~/bin# out/host/linux-x86/bin/emulator
Cannot locate system directory, which contains 'system.img' and other
system files.  Please specify one by using '-system directory' or by
defining the environment variable ANDROID_PRODUCT_OUT.

After that i tried with the following command :

~/bin# out/host/linux-x86/bin/emulator -system out/target/product/
generic
Cannot find file: out/target/product/generic/kernel-qemu
Please specify a valid -kernel file

I am still getting the error message.
I have integrated my codec library onto android.Is this causing the
problem?
Do i need to allocate memory in emulator?
Please help me out.

Thanks in advance,
Yogesh

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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] Debug android source code

2008-12-04 Thread Yogi

Hi All,

I want to debug android codec source code and want to know how the
audio/video graph is build.
Can we debug the codec source code with the help of ADB?
Please help me out.

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



[android-developers] How to enable codec component PV log

2008-12-10 Thread Yogi

Hi All,

i have enabled the complete pv log by doing the following step:

1.changed extlibs/pv/oscl/pvlogger/src/pvlogger.h:

/* Release mode-- No logging */
#define PVLOGGER_INST_LEVEL 0  Changed this value to 5

and extlibs/pv/android/thread_init.cpp:

#if 0- Changed this value to 1
PVLoggerAppender *appender = new
AndroidLogAppenderTimeAndIdLayout,1024();
...
...
#endif

but i am not getting codec components logs.
How i can enable particular component logs?

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



[android-developers] Re: Java Application and Native Library Integration

2009-04-09 Thread Yogi

I am not able to find android-ndk group.
Can you please send us the link.

- Yogi

On Apr 9, 9:23 am, Dianne Hackborn hack...@android.com wrote:
 Native code is not currently supported for third party apps.  If this is
 something you are interested, you might want to follow the android-ndk
 group.



 On Wed, Apr 8, 2009 at 8:24 PM, scs sek scs...@gmail.com wrote:

  Hi All,

  I have developed bluetooth application where native library will be
  initiated by Java application (using JNI wrapper).
  JNI will call the entry function of the native library and then it
  will create Pthread to for scanning the device. Once Scanning is over,
  i will get the callback which i registered during the entry function
  of the native lib (called by app).

  But i havent received the callback, but if i run the same native
  library in the shell (executable from the shell terminal) it is
  working fine.

  Can any one help me, if there is any specific architecture needs to
  follow while developing Java application based on native lib?

  Thanks in Advance.

  Thanks  Regards,
  SCS

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



[android-developers] Calling method of Listactivity from Activity

2009-04-19 Thread Yogi

Hi All.

Can i call method of Listactivity from Activity class?
I have creates Intent object of myListActivity class and called
startIntent() from myActivity class.

Please help me.

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



[android-developers] Re: Calling method of Listactivity from Activity

2009-04-20 Thread Yogi

Thanks for your quick response.
I want to call the method of ListActivity from Activity class.
Code is as below:
 MyActivity.java---
public class MyAcivity extends Activity
{
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.home);

bStart = (Button)findViewById(R.id.browse);
bStart.setOnClickListener(new clicker());

   class clicker extends Activity implements Button.OnClickListener
{

public void onClick(View v)
{
  if(v == bStart)
  {
 Intent scanIntent = new Intent(MyActivity.this,
displayList.class);
 startActivity(scanIntent);
 // TODO:
  }
}
}
}
-
displayList.java---
public class displayList extends ListActivity
{
@Override

public void onCreate(Bundle icicle) {

try {

super.onCreate(icicle);

updateList();

} catch (NullPointerException e) {

Log.v(getString(R.string.app_name), e.getMessage());

}

}


   public void updateList()
   {


  MyList = new ArrayAdapterString
(mmCnt,R.layout.item,ServerList);

  setListAdapter(MyList);

   }
}

How I can call updateList() of displayList from MyActivity class?
Can i call the method by Intent name?
Please help me..

Thanks,
Yogi

On Apr 19, 10:58 pm, Mark Murphy mmur...@commonsware.com wrote:
 Yogi wrote:
  Can i call method of Listactivity from Activity class?

 That depends on what you mean. The amount of help you can get from
 forums like this depends on how much detail you can supply.

  I have creates Intent object of myListActivity class and called
  startIntent() from myActivity class.

 That will start up your ListActivity and pause/stop (but not destroy)
 the activity that called startActivity().

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://twitter.com/commonsguy

 Warescription: Three Android Books, Plus Updates, $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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Virtual keypad in landscape mode

2009-12-22 Thread Yogi
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


[android-developers] Re: rtsp/http Streaming

2009-05-22 Thread Yogi

Hi All,

I am also having the same doubt.
Can you please suggest what can be done?

Thanks in advance,
Yogi

On Apr 30, 3:33 pm, Zhubham sahilz...@gmail.com wrote:
 Hi Experts,

 Can you please give a quick reply to my queries.

 Thanks for ur time.

 Regards,
 Zhubham

 On Apr 29, 8:30 pm, Zhubham sahilz...@gmail.com wrote:

  Hi People,

  I need your help regarding streaming in android. I read some of the
  previous discussions but I have a few doubts which i thought of
  clarifying from you . Please help me with the following aspects:

  (i) Does android supports RTSP and HTTP streaming ??

  (ii) One discussion read - Streaming does not work in the emulator
  environment due to some firewall issues in the emulator network
  layer. Is this issue not resolved till now??

  (iii) I used the api demo code available @ \ApiDemos\src\com\example
  \android\apis\media\MediaPlayerDemo_Video.java

  Here I set the path as-  path = Rtsp://10.2.5.220/sample_50kbit.
  3gp;
  OR as - path = rtsp://10.2.5.220/sample_100kbit.mp4

  THIS IS CRASHING @ mMediaPlayer.prepare(); (I am using darwin
  streaming server)

  This is playing fine in local playback. But, I am not able to
  understand why it is crashing here. Please suggest.

  (iv) The supported codecs are MPEG4 Video, AVC, MPEG4 Audio, AMR, and
  H263. Am I correct??

  I await your response. Kindly assist.

  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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Sending data to an application running of device from host

2009-06-01 Thread yogi

Is there any way of possibly sending data to an application running on
device from the host(device is connected to host using usb cable)
I was thinking of two approaches of doing it but could not find ways
to implement it in andorid
1) i can push a file to device using adb
is there any way the application can get notification that a file has
been pushed

2) i can transfer data through sockets.
There is a way to open a server socket on device. But is there any way
for the client running on the host to connect to that socket on device

any help would be really appreciated

Thanks
Yogesh

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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] Sending data to an application running of device from host

2009-06-01 Thread yogi

Is there any way of possibly sending data to an application running on
device from the host(device is connected to host using usb cable)

I was thinking of two approaches of doing it but could not find ways
to implement it in andorid
1) i can push a file to device using adb
is there any way the application can get notification that a file has
been pushed

2) i can transfer data through sockets.
There is a way to open a server socket on device. But is there any way
for the client running on the host to connect to that socket on device

any help would be really appreciated

Thanks
Yogesh

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
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] Painting in webkit's webview

2010-12-29 Thread yogi
hi all,



I am looking into the code of webview.java.and one thing i want to
know that how this webview class is holding other objects in a
webpage...my requirement is that whenever user clicks on the checkbox
on a page the focusring  should not go off until the the checkbox
loose focus
other doubt is  the focusring normally drawn by the webcore in other
platform but it is happening in android platform   because if i want
to clear the focusring forcefully how to do that action...

Regards
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


[android-developers] Problem in Browser App

2010-12-29 Thread yogi
When i try to scroll in webview(say for example YAHOOMAIL inbox page).
There are multiple Focus-Ring is visible around the check box in that
page.
This happen only when i touch the screen and drag it.

Regards
Yogendra.

-- 
You received this message because you are subscribed to the Google
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] Need Info

2010-12-30 Thread yogi
Hi All
 Can  any buddy provide me some info regarding the use of CachedNode
and CacheFrame in webkit native code.
Regards
Yogendra

-- 
You received this message because you are subscribed to the Google
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] Browser Video Plugin

2011-01-06 Thread yogi
Hi All,

I just want to know when ever there is a video to play in a
webpage(youtube.com) how browser invoke some other app for play the
video, because my requirement is while playing the video then user
presses the home key and again launches the browser. the Player
should not be shown aagain.

Thanks is advance...
Regards
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


[android-developers] Backlight is blinking.

2011-01-06 Thread yogi
Hi All,,

I  am facing a problem, while working any operation on browser
activity or when the phone screen lock(display timeout) my device back
light blinks for 2-3 times. Anyone have any idea about this problem.

Thanks in advance
Regards
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


[android-developers] A Requirement in Browser.

2011-01-10 Thread yogi
Hi All,

I have a requirement like open http://www.google.com/support/accounts/
bin/answer.py?hl=enanswer=55393from=48601rd=1
in this page there is  Language Change option which contains list of
language to choose. As an Dialog Box . My requirement is showing this
dialog as a Activity screen...how to handle this screen...
Thanks in Advance.

Regards
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


[android-developers] Changing the height of ContextMenu at runtime

2011-01-10 Thread yogi
Hi All,

I have a requirement in which i have to  adjust the height of the
contextMenu at run time.The List already have enough element to  make
scroll in the context menu (11-12 items). so that I can shrink and
expand the contextual menu.

Thanks in Advance..
Regards
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


[android-developers] webview inside the dialogbox.

2011-01-13 Thread yogi
Hi all,

I m launching the dialog with webview inside it. Now on that webview I
have a textbox (like google sign in page).When I tap on the field the
Softkeyboard is not showing.

Its not even working in emulator..
Thanks in Advance.

Regards
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


[android-developers] Problem with textview(WebTextView)

2011-01-20 Thread yogi
Hi All,

 I am have a problem, I created app in with webview in it.
Now when i open google.com and search a word. After that i just copy
and paste the content of the textview  again  again.
I saw that after some  repeated pastes the text is overlapping on the
with the previously existing text.
I was looking thought WebTextView.java but did not find any solution
here also for this problem.

Regards
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


[android-developers] Customizing the UserAgent for browser.

2011-01-24 Thread yogi
Hi All,
I need to modify the UserAgent for browser. I want to know here to
change in the code so that it will store in the complied code.
Thanks in Advance.
Regards
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


[android-developers] separate thread for browser,webkit.

2011-01-31 Thread yogi
Hi all,

Since webkit is a huge libary so i suggest to open a separate thread
for discussion on webkit,browser stuff specific to android platform.
And i also request to join all the member to that group who are
working or facing problem in these area.So kindly create a separate
group and linked that one with this big group.And if it already exist
please let us know.

Regards
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


[android-developers] Problem in Handler

2011-02-02 Thread yogi
e.printStackTrace();
}
msg.obj= i;
msg.what=1;
handler.sendMessage(msg);
}

}

});

Handler handler = new Handler(){
@Override
public void handleMessage(Message msg) {
// TODO Auto-generated method stub
super.handleMessage(msg);
switch(msg.what){
case 1:
Toast.makeText(getApplicationContext(), 
msg.obj.toString(),
1).show();
break;
case 2:

tw.setText(msg.obj.toString());
removeMessages(msg.what, msg.obj);
break;
}
}

};


Button button;
TextView tw;
}



Thanks in Advance
Regards
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


[android-developers] basic problem with the Handler.

2011-02-02 Thread yogi
Hi All,
I have created a thread in a activity which is sleeping for 1 sec and
then send a message to the main thread using Handler(),
No as the thread start it crashes. with the log as

02-03 09:40:19.598: ERROR/AndroidRuntime(1684):
android.util.AndroidRuntimeException: { what=1000 when=2469427 obj=4 }
This message is already in use.

Did any one have any idea regarding this.

Thanks in Advance
Regards
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


[android-developers] Data connectivity problem

2011-02-10 Thread yogi
Hi,
i am working on froyo but i notice one thing that when ever i open
'www.gameloft.com'  in browser
i got a popup error saying 'the page contains too many server
redirects. And then browser does not downlaod further,
Do any one face the same problem.And Idea or work around

Regards
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


[android-developers] Problem with xml inflate

2011-02-14 Thread yogi
Hi All,
While working on browser I got the following log and a force close.Do
any one have idea what does this android.view.InflateException:
Binary XML file line #38: Error inflating class unknown and how can
i debug this.
Thanks in advance
Regards
Yogi

: Starting activity: Intent { act=android.intent.action.VIEW
dat=http://m.google.com/privacy
cmp=com.android.browser/.BrowserActivity }
02-15 10:50:04.798 E/AndroidRuntime(13071): FATAL EXCEPTION: main
02-15 10:50:04.798 E/AndroidRuntime(13071):
java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.android.browser/
com.android.browser.BrowserActivity}: android.view.InflateException:
Binary XML file line #38: Error inflating class unknown
02-15 10:50:04.798 E/AndroidRuntime(13071): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2663)
02-15 10:50:04.798 E/AndroidRuntime(13071): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2679)
02-15 10:50:04.798 E/AndroidRuntime(13071): at
android.app.ActivityThread.access$2300(ActivityThread.java:125)
02-15 10:50:04.798 E/AndroidRuntime(13071): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
02-15 10:50:04.798 E/AndroidRuntime(13071): at
android.os.Handler.dispatchMessage(Handler.java:99)
02-15 10:50:04.798 E/AndroidRuntime(13071): at
android.os.Looper.loop(Looper.java:123)
02-15 10:50:04.798 E/AndroidRuntime(13071): at
android.app.ActivityThread.main(ActivityThread.java:4627)
02-15 10:50:04.798 E/AndroidRuntime(13071): at
java.lang.reflect.Method.invokeNative(Native Method)
02-15 10:50:04.798 E/AndroidRuntime(13071): at
java.lang.reflect.Method.invoke(Method.java:521)
02-15 10:50:04.798 E/AndroidRuntime(13071): at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:858)
02-15 10:50:04.798 E/AndroidRuntime(13071): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
02-15 10:50:04.798 E/AndroidRuntime(13071): at
dalvik.system.NativeStart.main(Native Method)
02-15 10:50:04.798 E/AndroidRuntime(13071): Caused by:
android.view.InflateException: Binary XML file line #38: Error
inflating class unknown
02-15 10:50:04.798 E/AndroidRuntime(13071): at
android.view.LayoutInflater.createView(LayoutInflater.java:513)
02-15 10:50:04.798 E/AndroidRuntime(13071): at
android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:565)
02-15 10:50:04.798 E/AndroidRuntime(13071): at
android.view.LayoutInflater.rInflate(LayoutInflater.java:618)
02-15 10:50:04.798 E/AndroidRuntime(13071): at
android.view.LayoutInflater.rInflate(LayoutInflater.java:621)
02-15 10:50:04.798 E/AndroidRuntime(13071): at
android.view.LayoutInflater.rInflate(LayoutInflater.java:621)
02-15 10:50:04.798 E/AndroidRuntime(13071): at
android.view.LayoutInflater.inflate(LayoutInflater.java:407)
02-15 10:50:04.798 E/AndroidRuntime(13071): at
android.view.LayoutInflater.inflate(LayoutInflater.java:320)
02-15 10:50:04.798 E/AndroidRuntime(13071): at
android.view.LayoutInflater.inflate(LayoutInflater.java:276)
02-15 10:50:04.798 E/AndroidRuntime(13071): at
com.android.browser.BrowserActivity.onCreate(BrowserActivity.java:326)
02-15 10:50:04.798 E/AndroidRuntime(13071): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
1049)
02-15 10:50:04.798 E/AndroidRuntime(13071): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2627)
02-15 10:50:04.798 E/AndroidRuntime(13071): ... 11 more
02-15 10:50:04.798 E/AndroidRuntime(13071): Caused by:
java.lang.reflect.InvocationTargetException
02-15 10:50:04.798 E/AndroidRuntime(13071): at
com.android.browser.WebGLZoomView.init(WebGLZoomView.java:116)
02-15 10:50:04.798 E/AndroidRuntime(13071): at
java.lang.reflect.Constructor.constructNative(Native Method)
02-15 10:50:04.798 E/AndroidRuntime(13071): at
java.lang.reflect.Constructor.newInstance(Constructor.java:446)
02-15 10:50:04.798 E/AndroidRuntime(13071): at
android.view.LayoutInflater.createView(LayoutInflater.java:500)
02-15 10:50:04.798 E/AndroidRuntime(13071): ... 21 more
02-15 10:50:04.798 E/AndroidRuntime(13071): Caused by:
java.lang.NullPointerException
02-15 10:50:04.798 E/AndroidRuntime(13071): at
com.android.browser.WebGLZoomRenderer.init(WebGLZoomView.java:1096)
02-15 10:50:04.798 E/AndroidRuntime(13071): at
com.android.browser.WebGLZoomView.init(WebGLZoomView.java:126)
02-15 10:50:04.798 E/AndroidRuntime(13071): ... 25 more
02-15 10:50:04.814 W/ActivityManager( 2609):   Force finishing
activity com.android.browser/.BrowserActivity
02-15 10:50:04.814 W/ActivityManager( 2609):   Force finishing
activity com.google.android.youtube/.SettingsActivity

-- 
You received this message because you are subscribed to the Google
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

[android-developers] Acid2 test is failing

2011-03-28 Thread yogi
Hi,

I got a issue on Gingerbread,
The problem is the acid2.acidtest.org is failing.
I have only basic idea of JS., I didnt understand why it is failing
although it is working fine for froyo.
can anyone help in find the root cause for the problem.

Regards
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


[android-developers] How to build libraries

2011-04-05 Thread yogi
Hi all,
I download the android 2.3 source code and build it.Now onwards i want
to build only webkit lib.
Is there any command for the this, I tried make -j4 libwebcore, but
it does not work for me.

Regards
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


[android-developers] Error while emulating on SDK

2011-04-06 Thread yogi
I have SDK and NDK installed for which I have written  a small program
in .c file which displays Hello from Native code.

The java code for the native code is as follows:

public class flash extends Activity {
  // load the library - name matches jni/Android.mk
static {
System.loadLibrary(AndroidFlash);
}
// declare the native code function - must match ndkfoo.c
private native String invokeNativeFunction();
/** Called when the activity is first created. */
//@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

 // this is where we call the native code
   String hello = invokeNativeFunction();
   new AlertDialog.Builder(this).setMessage(hello).show();
}
}




The native .C code for the above is as follows:


jstring
Java_com_mindtherobot_samples_ndkfoo_NdkFooActivity_invokeNativeFunction(JNIEnv*
env, jobject javaThis){
return (*env)-NewStringUTF(env, Hello from native code!);
}



When I build, it builds successfully,but when I run the program as
emulator, the application crashes after some time and my native code
is never displayed. Plz let me know what could be the problem.


This is the log which I have dumped during error using DDMS:

Error Dump:


04-06 10:10:35.674: INFO/vold(27): Aborting start of /sdcard
(bootstrap = 1)
04-06 10:10:35.674: INFO/vold(27): Volmgr not ready to handle device
04-06 10:10:35.674: ERROR/vold(27): Error opening switch name path '/
sys/class/switch/test' (No such file or directory)
04-06 10:10:35.674: ERROR/vold(27): Error bootstrapping switch '/sys/
class/switch/test' (No such file or directory)
04-06 10:10:35.674: ERROR/vold(27): Error opening switch name path '/
sys/class/switch/test2' (No such file or directory)
04-06 10:10:35.674: ERROR/vold(27): Error bootstrapping switch '/sys/
class/switch/test2' (No such file or directory)

04-06 10:10:46.755: INFO/dalvikvm(30): System server process 52 has
been created
04-06 10:10:46.755: INFO/Zygote(30): Accepting command socket
connections
04-06 10:10:46.864: DEBUG/dalvikvm(52): Trying to load lib /system/lib/
libandroid_servers.so 0x0
04-06 10:10:47.044: DEBUG/dalvikvm(52): Added shared lib /system/lib/
libandroid_servers.so 0x0
04-06 10:10:47.054: ERROR/BatteryService(52): usbOnlinePath not found
04-06 10:10:47.054: ERROR/BatteryService(52): batteryVoltagePath not
found
04-06 10:10:47.054: ERROR/BatteryService(52): batteryTemperaturePath
not found
04-06 10:10:47.064: INFO/sysproc(52): Entered system_init()

04-06 10:10:47.064: INFO/SurfaceFlinger(52): SurfaceFlinger's main
thread ready to run. Initializing graphics H/W...
04-06 10:10:47.073: ERROR/SurfaceFlinger(52): Couldn't open /sys/power/
wait_for_fb_sleep or /sys/power/wait_for_fb_wake
04-06 10:10:47.085: INFO/gralloc(52): using (fd=22)
04-06 10:10:47.085: INFO/gralloc(52): id   =

devname='qwerty' propName='hw.keyboards.0.devname' keylayout='/system/
usr/keylayout/qwerty.kl'
04-06 10:10:51.014: INFO/EventHub(52): New device: path=/dev/input/
event0 name=qwerty id=0x1 (of 0x1) index=1 fd=48 classes=0x2f
04-06 10:10:51.014: ERROR/EventHub(52): could not get driver version
for /dev/input/mouse0, Not a typewriter
04-06 10:10:51.014: ERROR/EventHub(52): could not get driver version
for /dev/input/mice, Not a typewriter
04-06 10:10:51.014: INFO/KeyInputQueue(52): Device added: id=0x0,
name=qwerty, classes=2f
04-06 10:10:51.014: INFO/KeyInputQueue(52):   X: unknown values
04-06 10:10:51.023: INFO/KeyInputQueue(52):   Y: unknown values

04-06 10:10:51.254: INFO/SystemServer(52): Registering null Bluetooth
Service (emulator)
04-06 10:10:51.264: ERROR/System(52): Failure starting core service
04-06 10:10:51.264: ERROR/System(52): java.lang.SecurityException
04-06 10:10:51.264: ERROR/System(52): at
android.os.BinderProxy.transact(Native Method)
04-06 10:10:51.264: ERROR/System(52): at
android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:
146)
04-06 10:10:51.264: ERROR/System(52): at
android.os.ServiceManager.addService(ServiceManager.java:72)
04-06 10:10:51.264: ERROR/System(52): at
com.android.server.ServerThread.run(SystemServer.java:176)
04-06 10:10:51.273: ERROR/AndroidRuntime(52): Crash logging skipped,
no checkin service
04-06 10:10:51.273: INFO/SystemServer(52): Status Bar
04-06 10:10:51.443: INFO/SystemServer(52): Clipboard Service

04-06 10:11:00.477: DEBUG/dalvikvm(94): GC freed 3860 objects / 233648
bytes in 373ms
04-06 10:11:00.666: ERROR/ActivityThread(94): Failed to find provider
info for android.server.checkin
04-06 10:11:00.666: WARN/Checkin(94): Can't update stat
PHONE_GSM_REGISTERED:

04-06 10:11:02.235: DEBUG/TelephonyProvider(94): Setting numeric
'310260' to be the current operator
04-06 10:11:02.315: ERROR/ActivityThread(94): Failed to find provider
info for android.server.checkin
04-06 10:11:02.315: WARN/Checkin(94): Can't update 

[android-developers] http proxy

2011-05-04 Thread yogi
Hi all,

I am creating a app for setting the http-proxy and port for wifi.
Can any buddy provide me any API or class for this.
I searched in the android docs but didn't find any thing related with
this.
Regards
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


[android-developers] http proxy

2011-05-04 Thread yogi
Hi all,

I want to change the http proxy and port manually (through adb).
Can any buddy have idea about this...
Regards
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


[android-developers] *** FATAL EXCEPTION IN SYSTEM PROCESS: WifiWatchdogStateMachine

2012-09-19 Thread yogi
hi,
 
i get the below exception when trying to connect my test phone running JB 
with cisco ap 1252, 
seems like the issue is with cisco ap not providing default dhcp gateway or 
ip info due to which my test phone acting as STA does a soft reboot.
is there a way i could specify default configuration parameters in case 
remote ap does not provide one. 
 
there is no issue if i uncheck *Avoid poor connections  *option in wlan 
advance settings i dont see below issue however when the setting is 
selected i wish to fix soft reboot issue.
 
i am not using ipv6.
 
logs
==
 
W/dalvikvm( 2199): threadid=47: thread exiting with uncaught exception 
(group=0xb3550300)
E/AndroidRuntime( 2199): *** FATAL EXCEPTION IN SYSTEM PROCESS: 
WifiWatchdogStateMachine
E/AndroidRuntime( 2199): java.lang.IllegalArgumentException: IPv6 
unsupported
E/AndroidRuntime( 2199):  at android.net.arp.ArpPeer.init(ArpPeer.java:62)
E/AndroidRuntime( 2199):  at 
android.net.wifi.WifiWatchdogStateMachine.doArpTest(WifiWatchdogStateMachine.java:866)
E/AndroidRuntime( 2199):  at 
android.net.wifi.WifiWatchdogStateMachine.access$2600(WifiWatchdogStateMachine.java:89)
E/AndroidRuntime( 2199):  at 
android.net.wifi.WifiWatchdogStateMachine$VerifyingLinkState.processMessage(WifiWatchdogStateMachine.java:654)
E/AndroidRuntime( 2199):  at 
com.android.internal.util.StateMachine$SmHandler.processMsg(StateMachine.java:895)
E/AndroidRuntime( 2199):  at 
com.android.internal.util.StateMachine$SmHandler.handleMessage(StateMachine.java:756)
E/AndroidRuntime( 2199):  at 
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2199):  at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2199):  at 
android.os.HandlerThread.run(HandlerThread.java:60)
Regards,
Yogesh
 

-- 
You received this message because you are subscribed to the Google
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] *** FATAL EXCEPTION IN SYSTEM PROCESS: WifiWatchdogStateMachine

2012-09-20 Thread yogi
Hi Irfan,
 
Thank you for the reply, i do not wish to manually provide ip address. i 
wish to fix the soft reboot issue which occur due to no default gatway 
address provided by certain AP for e.g. cisco ap 1252.
refering to file *system/core/libnetutils/dhcp_utils.c *
and refering to config parameter dhcp.wlan0.gatway which is refered in 
the dhcp_utils.c file, i need to know where i could provide a default value 
for e.g. 0.0.0.0 something like init.rc
 
to be specific can i provide the below in init.rc
setprop dhcp.wlan0.gatway 0.0.0.0 
 
Regards,
yogesh
 
 
 

On Wednesday, September 19, 2012 9:11:23 PM UTC+5:30, Irfan Sheriff wrote:

 Known issue. It will be fixed with an update.

 If you want to change config settings - you can use static IP by long 
 pressing on a network and modifying it

 On Tue, Sep 18, 2012 at 5:51 AM, yogi yogeshk...@gmail.com 
 javascript:wrote:

 hi,
  
 i get the below exception when trying to connect my test phone running JB 
 with cisco ap 1252, 
 seems like the issue is with cisco ap not providing default dhcp gateway 
 or ip info due to which my test phone acting as STA does a soft reboot.
 is there a way i could specify default configuration parameters in case 
 remote ap does not provide one. 
  
 there is no issue if i uncheck *Avoid poor connections  *option in 
 wlan advance settings i dont see below issue however when the setting is 
 selected i wish to fix soft reboot issue.
  
 i am not using ipv6.
  
 logs
 ==
  
 W/dalvikvm( 2199): threadid=47: thread exiting with uncaught exception 
 (group=0xb3550300)
 E/AndroidRuntime( 2199): *** FATAL EXCEPTION IN SYSTEM PROCESS: 
 WifiWatchdogStateMachine
 E/AndroidRuntime( 2199): java.lang.IllegalArgumentException: IPv6 
 unsupported
 E/AndroidRuntime( 2199):  at 
 android.net.arp.ArpPeer.init(ArpPeer.java:62)
 E/AndroidRuntime( 2199):  at 
 android.net.wifi.WifiWatchdogStateMachine.doArpTest(WifiWatchdogStateMachine.java:866)
 E/AndroidRuntime( 2199):  at 
 android.net.wifi.WifiWatchdogStateMachine.access$2600(WifiWatchdogStateMachine.java:89)
 E/AndroidRuntime( 2199):  at 
 android.net.wifi.WifiWatchdogStateMachine$VerifyingLinkState.processMessage(WifiWatchdogStateMachine.java:654)
 E/AndroidRuntime( 2199):  at 
 com.android.internal.util.StateMachine$SmHandler.processMsg(StateMachine.java:895)
 E/AndroidRuntime( 2199):  at 
 com.android.internal.util.StateMachine$SmHandler.handleMessage(StateMachine.java:756)
 E/AndroidRuntime( 2199):  at 
 android.os.Handler.dispatchMessage(Handler.java:99)
 E/AndroidRuntime( 2199):  at android.os.Looper.loop(Looper.java:137)
 E/AndroidRuntime( 2199):  at 
 android.os.HandlerThread.run(HandlerThread.java:60)
 Regards,
 Yogesh
  

 -- 
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 
 android-d...@googlegroups.comjavascript:
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com javascript:
 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] Re: Transfer medical images to galaxy tab(android)

2011-11-09 Thread yogi
I came across this Dicom viewer for android.
https://sites.google.com/site/adiview/
This would be one of the solutions.

Other solution that I can think of is an HTML5 canvas based viewer for
dicom over WADO.

Having said that, I agree with earlier posts, we need a PACS server in
middle to hold images. This server can have simple CIFS/FTP/SMB FIle
interface or DICOM/WADO type interface.

This brings me to my question, probably not right place but here it
is: Is there a way for an AE to be configured on the fly as in like
UPnP?

Yogi


On Nov 9, 3:32 pm, Efi Merdler-Kravitz efi.merd...@gmail.com wrote:
 Well...it's not that simple. As John stated you need some kind of an
 intermediate server (a PACS server) to hold the images for you.
 Usually imaging machines are connected to the network using cables and
 not wireless (mainly because of speed).

 On Nov 9, 6:44 am, John Coryat cor...@gmail.com wrote:







  You might try to rephrase your problem into one like:

  How can I view ultrasound images in a browser?

  If you can do this, then you've solved 90% of the issues and the rest is
  trivial. Check the documentation of your machine to see what it has in
  terms of internet capabilities. If you can't get the images into a browser,
  then you're really going to have difficulties getting them to view on any
  outside device.

  -John Coryat

-- 
You received this message because you are subscribed to the Google
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