[android-developers] Hybrid App: Need some help with showing Listview.

2012-09-29 Thread Guru, Sowmya
Hi there, 

I'm developing a hybrid app and I need to show a listview in my native code 
and the values for the view are fetched from a HTML. How do I achieve that? 

Regards,
Sowmya 

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Emulator displays a Blue screen and not displaying the google map

2012-05-30 Thread sowmya kukkadapu
May be u r seeing a location where there is an ocean... so check ur
coordiinates...

On Wed, May 30, 2012 at 11:43 AM, lbendlin l...@bendlin.us wrote:

 Verify your map center coordinates.


 On Tuesday, May 29, 2012 9:07:53 AM UTC-4, subramania...@googlemail.comwrote:

 I am trying the very basic google maps api code. But it just gives me
 a blank blue page.

 My program is this

 Java code::

 package com.project1;

 import android.os.Bundle;

 import com.google.android.maps.**GeoPoint;
 import com.google.android.maps.**MapActivity;
 import com.google.android.maps.**MapController;
 import com.google.android.maps.**MapView;

 public class Testmap22Activity extends MapActivity {
 /** Called when the activity is first created. */
 @Override
 public void onCreate(Bundle savedInstanceState) {
 super.onCreate(**savedInstanceState);
 setContentView(R.layout.main);
 MapView mapview = (MapView) findViewById(R.id.mapview);
 GeoPoint gp = new GeoPoint(130810,802740);
 MapController mvc = mapview.getController();
 mvc.setCenter(gp);
 mapview.**setBuiltInZoomControls(true);
 }

 @Override
 protected boolean isRouteDisplayed() {
 // TODO Auto-generated method stub
 return false;
 }
 }

 main.xml is

 ?xml version=1.0 encoding=utf-8?

  com.google.android.maps.**MapView
  
 xmlns:android=http://**schemas.android.com/apk/res/http://schemas.android.com/apk/res/
 android
   android:id=@+id/mapview
  android:layout_width=fill_**parent
  android:layout_height=fill_**parent
  android:enabled=true
  android:clickable=true
  android:apiKey=Key
  /

 Manifest file

 ?xml version=1.0 encoding=utf-8?
 manifest 
 xmlns:android=http://schemas.**android.com/apk/res/androidhttp://schemas.android.com/apk/res/android

 package=com.project1
 android:versionCode=1
 android:versionName=1.0 

 uses-sdk android:minSdkVersion=15 /
 uses-permission
 android:name=android.**permission.ACCESS_COARSE_**LOCATION/
 uses-permission
 android:name=android.**permission.ACCESS_FINE_**LOCATION/
 uses-permission android:name=android.**permission.INTERNET/


 application
 android:icon=@drawable/ic_**launcher
 android:label=@string/app_**name 
 activity
 android:name=.**Testmap22Activity
 android:label=@string/app_**name 
 intent-filter
 action android:name=android.intent.**action.MAIN /

 category
 android:name=android.intent.**category.LAUNCHER /
 /intent-filter
 /activity
 uses-library android:name=com.google.**android.maps/
 /application

 /manifest

 All I get is a blank blue page with Zoom enabled. Need your help on
 this...

 Subbu

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Thanks  Regards,
Sowmya Kukkadapu

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Show output on screen

2012-02-23 Thread sowmya kukkadapu
Hi,

First create a textview in main.xml if you want to see the msg displayed on
main.

and in your activity class, you can access that textview using this code

TextView t = (TextView)findViewById(R.id.textView1);//textView1 is the id
of textview that you have created in main.xml

t.setText(This is 1);

It should be helpful. Try it out.


-- 
Thanks  Regards,
Sowmya Kukkadapu

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Regarding an android phone acting as server and client

2012-02-22 Thread sowmya kukkadapu
Hi,

To uniquely identify another android device, can I use Android_ID as a key
or is there any other efficient way to send file to the clients from the
server?

On Wed, Feb 22, 2012 at 1:27 AM, moktarul anam mokta...@gmail.com wrote:

 Yes u can run server on android phone

 Moktarul

 On Feb 21, 10:24 pm, sahiti sowmya...@gmail.com wrote:
  Hi,
 
  Can any one suggest me whether an android phone could act both as a
  server and a client in a program?

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Thanks  Regards,
Sowmya Kukkadapu

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Regarding an android phone acting as server and client

2012-02-22 Thread sowmya kukkadapu
Hi Moktarul,

To uniquely identify another android device, can I use Android_ID as a key
or is there any other efficient way to send file to the clients from the
server?


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] Link error : when linking with 3rd party static library

2010-11-11 Thread sowmya meda
Observed No rule to make target `NOTICE-TARGET-STATIC_LIBRARIES-lib*',
needed by `out/target/product/generic/system/plugins/*.so


I observed this err even after using the macro
LOCAL_WHOLE_STATIC_LIBRARIES



Can some one help me reg this error

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] gstreamer-android : error observed while playing the audio pipeline using audioflinger Failed to create AudioFlinger for format 3

2010-10-06 Thread sowmya meda
I am observing the error while using the audioflinger.
Here is the log:

gst-launch-0.10 filesrc location= /sdcard/jurassic.3gp ! qtdemux
name=d d.audio_00 ! ffdec_aac ! audioflingersink

(gst-launch-0.10:297): GStreamer-WARNING **: Failed to load plugin '/
system/plugins/libgstaudiotestsrc.so': Cannot load library:
alloc_info[277]:   296 too many libraries when loading
libgstaudiotestsrc.so

(gst-launch-0.10:296): GStreamer-WARNING **: Failed to load plugin '/
system/plugins/libgstaudiotestsrc.so': Cannot load library:
alloc_info[277]:   296 too many libraries when loading
libgstaudiotestsrc.so
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/
GstAudioFlingerSink:audioflingersink0: Could not get/set settings from/
on resource.
Additional debug info:
external/gst-plugins-android/sink/audioflingersink/
gstaudioflingersink.c(442): gst_audioflinger_sink_prepare (): /
GstPipeline:pipeline0/GstAudioFlingerSink:audioflingersink0:
Failed to create AudioFlinger for format 3
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...


And the logcat shows Invalid channel mask:

D/MediaScannerService(  188): done scanning volume external
D/dalvikvm(   62): GC_FOR_MALLOC freed 10028 objects / 538984 bytes in
232ms
D/GstPlayer(  285): [285], DEBUG   audioflinger_wrapper.cpp:69,
audioflinger_device_create(): Create AudioTrack successfully
E/AudioTrack(  285): Invalid channel mask
D/GstPlayer(  285): [287], DEBUG   audioflinger_wrapper.cpp:118,
audioflinger_device_set(): Set AudioTrack, status: -22, streamType: 2,
sampleRate: 32000, channelCount: 2, bufferCount: 6400
D/GstPlayer(  285): [285], DEBUG   audioflinger_wrapper.cpp:141,
audioflinger_device_release(): Enter
D/GstPlayer(  285): [285], DEBUG   audioflinger_wrapper.cpp:143,
audioflinger_device_release(): Release AudioTrack
D/GstPlayer(  288): [288], DEBUG   audioflinger_wrapper.cpp:69,
audioflinger_device_create(): Create AudioTrack successfully
E/AudioTrack(  288): Invalid channel mask


please help me in resolving this error.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Image encoders and decoders

2010-10-04 Thread sowmya
Hi All ,

I want to know the APIs which i can call from my activity to get image
information like image width,height,decodedbuffer etc .similarly i
want to the image encoder apis(jpeg) to encode rawdata

Thanks and Regards,
Sowmya

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] shared library

2010-07-31 Thread sowmya
Hi ,
I have a static c library which i want to port in android .i have c
porting files . i have written jni interface and build shared library
combining all above (c porting files,static library ,jni -cpp)
Now i have to write ui for this . my doubt is How to build
package .can i develop a separate apk with the shared library . if it
is possible how can i do this . what and all i should define in
manifest file .please let me know

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en