[android-developers] How does Manifest recognize the particular activity as a main or first activity in android?

2014-02-18 Thread Meena Rengarajan
Hi all, I am having muliple activities named as first, second, third and 
fourth activity. I have to launch third activity (ie Instruction activity) 
than first activity (ie. Login activity). Here, how does manifest recognize 
the activity as a main activity and all the multiple activities may have 
launcher and specifies the action item as .MAIN.

For an example,

application
   android:icon=@drawable/ic_launcher
   android:label=@string/app_name
   android:theme=@style/AppTheme 
   activity
   android:name=.MainActivity
   android:label=@string/app_title 
   intent-filter
   action android:name=android.intent.action.MAIN /
   category android:name=android.intent.category.LAUNCHER /
   /intent-filter
   /activity
   activity
   android:name=.OtherActivity
   android:label=@string/other_title
   android:icon=@drawable/ic_other_launcher 
   intent-filter
   action android:name=android.intent.action.MAIN /
   category android:name=android.intent.category.LAUNCHER /
   /intent-filter
   /activity
/application
here how does the manifest recognize the activity as a first or main 
activity and launch it as a first activity among multiple activities?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-developers] Why I couldnt be able to download the video files completely in sd card, android ?

2013-06-12 Thread Meena Rengarajan
Hi all, 
 I could be able to download the video from URL and storing it in 
sd card. After Downloading process is completed , I couldnt be able to view 
the video files completely from sd card.

Whats the problem here? Why Video files are not downloading completely and 
it is stucking up in half of the video? When i try to play the video only 
playing half of the video so what mistake I have done here ?

How should i do this? Please any one can suggest / help me kindly ?

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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] How to send Text and Documents using webservices from client to server in android ?

2013-06-12 Thread Meena Rengarajan
Hi all, 
   I have uploaded Images from client to server using SOAP library via 
Webservices, android . It has been done successfully. What about these text 
files and documents and how can I send it by using webservices, android ?

I could be able to view an Image in server side also. Now whats my doubt 
is, how can I view the Text and Document files using webservices in server 
side. Do I need to apply any other things for sending Text and Document 
files from client to server by programmatically.

Please anyone suggest me ?


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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Why does Highlighting functionalities is not working in 4.0.4 Tablet?

2013-04-19 Thread Meena Rengarajan
I have selected the Text within a Webview. Once I typed the Word on 
Edittext Box then If i Clicked Search Button it will search the specific 
word within a Webview. After Searching the word, It will Highlight the 
specific selected text within a webview by using some color. 

It works fine in Android Emulator, versions are 2.2 and 4.0.3 but not 
working in Android Tablet version, 4.0.4.

My code :-

Method m = WebView.class.getMethod(setFindIsUp, Boolean.TYPE);  
m.invoke(wv, true);  

It is working in 2.2 Android Emulator but not in Android Tablet, version is 
4.0.4.

So, I tried this way, See below Code :-

Because, In android 4.0.3, seems the setFindIsUp is a private method. So 
above code won't work. As getMethod() method won't return the private 
methods. Following is a work-around to call the private method which works 
for 4.0.3.

 
 for(Method m : WebView.class.getDeclaredMethods())
 {
 if(m.getName().equals(setFindIsUp))
 {
 m.setAccessible(true);
 m.invoke(wv, true);
 break;
 }
 }


This method is also not Working in Android Tablet Version, 4.0.4.

Why it is not highlighting the Selected Text in Android 4.0.4 Version in a 
Tablet?

Whats the reason for this ? Kindly can anyone tell me ?

kindly anyone suggest me how to make this working on Tablet ?

Any help/ suggestions would be highy appreciated, 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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] How to do both Swiping and Zoom In and Out (using setBuilt In Zoom controls) in a Webview Android 2.2?

2013-04-05 Thread Meena Rengarajan


This is my Code i have done both SWIPING and ZOOM IN and ZOOM OUT 
functions. But both doesnt worked in my app inside webview.

My problem is, If i do comment this line, then Swiping works fine !

webSettings.setBuiltInZoomControls(true);

If i don't comment this above line, then Zoom In and Out is working fine 
but swiping does not works here !


public class ZoomInandOutActivity extends Activity {
  private GestureDetector gestureDetector;
  WebView webviewSwiping;
  WebSettings webSettings;
  String data1 = html  +  bodyh1Hello, Android Aspect!/h1/body  + 
 /html;
  String data2 = html  +  bodyh1Hellos, Android Aspectz!/h1/body  
+  /html;
/* The Minimum distance a finger must travel in order to register a swipe event 
*/
private static final int SWIPE_MIN_DISTANCE = 120;
private static final int SWIPE_MAX_OFF_PATH = 250;
private static final int SWIPE_THRESHOLD_VELOCITY = 200;
/** Called when the activity is first created. */@Overridepublic void 
onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
webviewSwiping=new WebView(this);
webSettings =webviewSwiping.getSettings();
webviewSwiping.setOnTouchListener(new View.OnTouchListener() {@Override
public boolean onTouch(View v, MotionEvent event) {
return gestureDetector.onTouchEvent(event);
}
});
 webSettings.setJavaScriptEnabled(true);
 webSettings.setBuiltInZoomControls(true); // used for Zooming and scrolling
/* Gesture Detection */
gestureDetector=new GestureDetector(this, new MyGestureDetector());
setContentView(webviewSwiping);}class  MyGestureDetector extends 
SimpleOnGestureListener{
@Override
public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, 
float velocityY) {
 try {
 if (Math.abs(e1.getY() - e2.getY())  SWIPE_MAX_OFF_PATH) 
 return false;
  /* right to left swipe*/
 if(e1.getX() - e2.getX()  SWIPE_MIN_DISTANCE  
Math.abs(velocityX)  SWIPE_THRESHOLD_VELOCITY) {
 webviewSwiping.loadData(data1, text/html, UTF-8); 
 Toast.makeText(ZoomInandOutActivity.this, Left Swipe, 
Toast.LENGTH_LONG).show();
 }  else if (e2.getX() - e1.getX()  SWIPE_MIN_DISTANCE  
Math.abs(velocityX)  SWIPE_THRESHOLD_VELOCITY) {
 webviewSwiping.loadData(data2, text/html, UTF-8); 
 Toast.makeText(ZoomInandOutActivity.this, Right Swipe, 
Toast.LENGTH_LONG).show();}
 } catch (Exception e) {
 // nothing
 }
return false;
}}


What i wanted is, If i do left or right swipe at that time zoom in and out 
should not work. If i do Zoom in and out those webview contents at that time 
left and right swiping must not work.

Like, When i do enable Swiping, Zooming must be disabled and when i do Zooming 
enabled at this time Swiping event must be disabled !

Moreover, I have a doubt that can i be able to achieve this both events inside 
webview by using setBuiltInZoom controls in Android 2.2 ?

How shall i achieve this both events in webview??

Please kindly anyone help me !

Any help or suggestions would be highly appreciated, 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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] why cannot we play local videos from SD card using Iframe inside webview?

2013-03-20 Thread Meena Rengarajan
I have googled a lot. I read about Stagewebview Bridge and Adobe Air...

In some articles they have said , 
1) can enable Browser plugins 
2) Can play via Flash player (So have to Install it)

Now, i am getting a Question. Cant we play local videos from SD card inside 
webview using Iframe tag on Android 2.2 version ?

Please anyone suggest me about this !

I am struggling for this !

Any help or suggestions is highly appreciated, 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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: How can i play the video from SD card in webview using Iframe, android?

2013-03-19 Thread Meena Rengarajan
HTML5 video support is there in WebView. Whereas in Videoview, it displays
videos like an ImageView. So i go for Webview .

I am sorry if i am wrong . But i go for webview for this reason !

On Mon, Mar 18, 2013 at 9:52 AM, bob b...@coolfone.comze.com wrote:

 Why must you use a WebView?


 Why not just use a *VideoView* where this can be done without much hassle?

 Thanks.






 On Monday, March 18, 2013 5:39:46 AM UTC-5, Meena Rengarajan wrote:

 I am using webview to play youtube videos . This is working fine. But i
 wanted to try this. How can i play the videos from SD card in Webview using
 Iframe in android.

 I have googled alot about this.

 Anyone can suggest me about this?

 Any suggestions / ideas would be highly appreciated. 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
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/qjMfJ8T37kk/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: How can i play the video from SD card in webview using Iframe, android?

2013-03-19 Thread Meena Rengarajan
I have to confirm this first - Is it possible to play videos from SD card
in webview using Iframe in android ?

Kindly please suggest me !!!

On Tue, Mar 19, 2013 at 12:55 AM, Meena Rengarajan
meenasoft...@gmail.comwrote:

 HTML5 video support is there in WebView. Whereas in Videoview, it displays
 videos like an ImageView. So i go for Webview .

 I am sorry if i am wrong . But i go for webview for this reason !


 On Mon, Mar 18, 2013 at 9:52 AM, bob b...@coolfone.comze.com wrote:

 Why must you use a WebView?


 Why not just use a *VideoView* where this can be done without much
 hassle?

 Thanks.






 On Monday, March 18, 2013 5:39:46 AM UTC-5, Meena Rengarajan wrote:

 I am using webview to play youtube videos . This is working fine. But i
 wanted to try this. How can i play the videos from SD card in Webview using
 Iframe in android.

 I have googled alot about this.

 Anyone can suggest me about this?

 Any suggestions / ideas would be highly appreciated. 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
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/qjMfJ8T37kk/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] How can i play the video from SD card in webview using Iframe, android?

2013-03-18 Thread Meena Rengarajan


I am using webview to play youtube videos . This is working fine. But i 
wanted to try this. How can i play the videos from SD card in Webview using 
Iframe in android.

I have googled alot about this.

Anyone can suggest me about this?

Any suggestions / ideas would be highly appreciated. 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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: How to do sketch by programmatically in Android?

2013-02-20 Thread Meena Rengarajan
Nice joke. Thats fine. Have you looked at that Video ? See that video. How
to do that. Just share your knowledge or ideas.

Any ideas / suggestions would be appreciated .

On Wed, Feb 20, 2013 at 9:19 PM, bob b...@coolfone.comze.com wrote:

 I believe the image you posted was sketched by pencil on paper:

 http://www.jwjonline.net/pencil2/painting/Fist/

 I have never seen a computer able to accurately replicate pencil shading.

 If you need such stuff, you should probably get a pencil, some paper, and
 a scanner.



 On Tuesday, February 19, 2013 11:55:47 PM UTC-6, Meena Rengarajan wrote:

 Hi,
   Anyone worked on Sketcher- Lite app in Android. I have tried alot
 and googled so. I dont find any sources or links regarding Sketching in
 android

 Refer Video : 
 http://www.youtube.com/**watch?v=NG988owhORYhttp://www.youtube.com/watch?v=NG988owhORY

 Please Help :-

 I have worked on Paint in my app. It works fine normally. What i need is,
 If User wish to draw something like shaded paintings or shadow diagrams
 then if he/she clicks the shaded button then they must be able to draw the
 shaded diagrams. How to do this?

 Like this above video, the User must be able to draw shaded paintings. I
 have googled a lot about this. No link i have found :(

 Any links or examples or articles are there for this app?

 Any ideas or suggestions would be highly appreciated, 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
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] How to do sketch by programmatically in Android?

2013-02-19 Thread Meena Rengarajan
Hi, 
  Anyone worked on Sketcher- Lite app in Android. I have tried alot and 
googled so. I dont find any sources or links regarding Sketching in android 

Refer Video : http://www.youtube.com/watch?v=NG988owhORY

Please Help :-

I have worked on Paint in my app. It works fine normally. What i need is, 
If User wish to draw something like shaded paintings or shadow diagrams 
then if he/she clicks the shaded button then they must be able to draw the 
shaded diagrams. How to do this?

Like this above video, the User must be able to draw shaded paintings. I 
have googled a lot about this. No link i have found :(

Any links or examples or articles are there for this app?

Any ideas or suggestions would be highly appreciated, 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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


attachment: sketch.jpg

Re: [android-developers] Re: How to draw or write a text like MS-Paint in android using onTouch Event?

2013-02-14 Thread Meena Rengarajan
http://www.agressar.in/?p=145#  I have done based on this link only in
MotionEvent.ACTION_MOVE. But i am not getting continuity when im moving my
finger on a screen. I am getting like the dots after once i release my
finger then lines or what i drew appears.

Could anyone tell me kindly , what does mx1, mx2 and my1, my2 does here?
And why they have initialized here ?



On Tue, Feb 12, 2013 at 9:45 AM, skink psk...@gmail.com wrote:



 Meena Rengarajan wrote:
  no, i have not done anything in MotionEvent.ACTION_MOVE. But i wrote code
  only in ACTION_DOWN and ACTION_UP
 

 so why did you say:

 cite
 But, MotionEvent.ACTION_
 MOVE is not working
 properly.
 /cite

 pskink

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




-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: How to draw or write a text like MS-Paint in android using onTouch Event?

2013-02-14 Thread Meena Rengarajan
 ACTION_MOVE in my app - I could be able to draw but not visible when im
drawing and while moving my finger on a screen . Once after i release my
finger , i can be able to see what i drew on the screen completely. When
i'm trying to draw with my mouse, continuity is not good . Appearing as
dots when iam moving my finger on the screen. Once i released my finger
what i drew it appears fine !

On Thu, Feb 14, 2013 at 2:11 AM, skink psk...@gmail.com wrote:



 Meena Rengarajan wrote:
  http://www.agressar.in/?p=145#  I have done based on this link only in
  MotionEvent.ACTION_MOVE. But i am not getting continuity when im moving
 my
  finger on a screen. I am getting like the dots after once i release my
  finger then lines or what i drew appears.
 
  Could anyone tell me kindly , what does mx1, mx2 and my1, my2 does here?
  And why they have initialized here ?
 
 
 

 so what exactly is your code doing in response to ACTION_MOVE event?

 pskink

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




-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: How to draw or write a text like MS-Paint in android using onTouch Event?

2013-02-14 Thread Meena Rengarajan
please anyone help me. I am trying from last week. Not yet i found a
solution. Have tried many possible ways.



On Thu, Feb 14, 2013 at 2:26 AM, Meena Rengarajan meenasoft...@gmail.comwrote:

  ACTION_MOVE in my app - I could be able to draw but not visible when im
 drawing and while moving my finger on a screen . Once after i release my
 finger , i can be able to see what i drew on the screen completely. When
 i'm trying to draw with my mouse, continuity is not good . Appearing as
 dots when iam moving my finger on the screen. Once i released my finger
 what i drew it appears fine !


 On Thu, Feb 14, 2013 at 2:11 AM, skink psk...@gmail.com wrote:



 Meena Rengarajan wrote:
  http://www.agressar.in/?p=145#  I have done based on this link only in
  MotionEvent.ACTION_MOVE. But i am not getting continuity when im moving
 my
  finger on a screen. I am getting like the dots after once i release my
  finger then lines or what i drew appears.
 
  Could anyone tell me kindly , what does mx1, mx2 and my1, my2 does here?
  And why they have initialized here ?
 
 
 

 so what exactly is your code doing in response to ACTION_MOVE event?

 pskink

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





-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: How to draw or write a text like MS-Paint in android using onTouch Event?

2013-02-12 Thread Meena Rengarajan
no, i have not done anything in MotionEvent.ACTION_MOVE. But i wrote code
only in ACTION_DOWN and ACTION_UP

On Tue, Feb 12, 2013 at 9:20 PM, bob b...@coolfone.comze.com wrote:

 Why do you say MotionEvent.ACTION_MOVE is not working properly?

 Are you redrawing after a move event?  You probably need to call
 invalidate().



 On Tuesday, February 12, 2013 12:34:28 AM UTC-6, Meena Rengarajan wrote:

 How to draw or write a text like MS-Paint in android using onTouch Event?

 I have tried alot, googled and as many possibilities coded on. No use.
 please anyone help/suggest about this issue !

  Can refer this Video - 
 http://www.youtube.com/**watch?v=v65AUWyfjo0http://www.youtube.com/watch?v=v65AUWyfjo0

 I have created a panel with the collection of different colors,
 pencil, eraser and different shapes similar to MS-Paint. I could be able to
 draw or write on a screen using Touch Event method. But when i draw
 something on a screen (when i touch the screen), MotionEvent.ACTION_Down
 method is calling. So it works fine. When i release my finger from the
 screen, MotionEvent.ACTION_up method is calling and works fine.

 So, my problem is, like MS-PAINT i couldnt be able to see what i drew or
 wrote before i releasing the finger on a screen. For an example, can refer
 this video link- Using pencil. User can see when he dragged the shapes or
 trying to draw a pencil. Also, in this link user draws using pencil and it
 is visible without releasing a finger on the screen.

 But, when i draw something on the screen, once i released the finger only
 it appears.

 What i need is, when user touch the screen itself if he/she moves the
 finger on the screen, user must be able to see what they are trying to draw
 or write on the screen.

 For an Example : If i try to write some word like Apple on a screen , i
 am trying to put A . But when i write letter A, it is invisible unless
 i take my finger from the screen. Once if i released my finger from the
 screen after i drew letterA then only the text or picture has been
 appeared on a screen what i drew.

 So, I have done MotionEvent.ACTION_DOWN and MotionEVent.ACTION_UP. Its
 work fine.

 But, MotionEvent.ACTION_MOVE is not working properly.

 Can you suggest me or any ideas ?

 Any help/suggestions would be highly appreciated, 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
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] How to draw or write a text like MS-Paint in android using onTouch Event?

2013-02-11 Thread Meena Rengarajan
How to draw or write a text like MS-Paint in android using onTouch Event? 

I have tried alot, googled and as many possibilities coded on. No use. 
please anyone help/suggest about this issue !

 Can refer this Video - http://www.youtube.com/watch?v=v65AUWyfjo0

I have created a panel with the collection of different colors, 
pencil, eraser and different shapes similar to MS-Paint. I could be able to 
draw or write on a screen using Touch Event method. But when i draw 
something on a screen (when i touch the screen), MotionEvent.ACTION_Down 
method is calling. So it works fine. When i release my finger from the 
screen, MotionEvent.ACTION_up method is calling and works fine. 

So, my problem is, like MS-PAINT i couldnt be able to see what i drew or 
wrote before i releasing the finger on a screen. For an example, can refer 
this video link- Using pencil. User can see when he dragged the shapes or 
trying to draw a pencil. Also, in this link user draws using pencil and it 
is visible without releasing a finger on the screen. 

But, when i draw something on the screen, once i released the finger only 
it appears.

What i need is, when user touch the screen itself if he/she moves the 
finger on the screen, user must be able to see what they are trying to draw 
or write on the screen.

For an Example : If i try to write some word like Apple on a screen , i 
am trying to put A . But when i write letter A, it is invisible unless 
i take my finger from the screen. Once if i released my finger from the 
screen after i drew letterA then only the text or picture has been 
appeared on a screen what i drew.

So, I have done MotionEvent.ACTION_DOWN and MotionEVent.ACTION_UP. Its work 
fine.

But, MotionEvent.ACTION_MOVE is not working properly. 

Can you suggest me or any ideas ? 

Any help/suggestions would be highly appreciated, 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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] How to write on EditText without using Keyboard support by programmatically like we scribbled in onTouch screen in android?

2012-10-28 Thread Meena Rengarajan
Could anyone help / suggest me please ?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 do if User focussed on Edittext, menus should be displayed?

2012-10-27 Thread Meena Rengarajan


My needs : If i click or focussed on EditText, it should call Menus . In 
Menus, i wanna create two options. That is, normal writing and keyboard 
writing. 

If user selects keyboard writing, it looks like Android Keyboard. Should be 
able to type it from keyboard. And next one, normal writing. This is like 
normal.

In Menus, if user selects normal writing then one screen should appear when 
it is clicked like MS-Paint application . With pencil , user should be able 
to write like we'll almost write in a paint application. 

I am new to Android and learning though !

In my code, where should i do all the Functionalities of Menus ?

How could i do this ? Any helps or suggestion greatly appreciated !

And this is my Code :

else if(q.trim().equals(A))

{
fillUp=new EditText(context);
fillUp.setOnClickListener(new View.OnClickListener() {public void onClick(View 
arg0) {
 }});
fillUp.setBackgroundResource(R.drawable.option);
fillUp.setId(9);
fillUp.setOnCreateContextMenuListener(new OnCreateContextMenuListener() {public 
void onCreateContextMenu(ContextMenu arg0, View arg1,ContextMenuInfo arg2) {}});
fillUp.setOnFocusChangeListener(new View.OnFocusChangeListener() {public void 
onFocusChange(View v, boolean hasFocus) {Toast.makeText(context, Focused, 
Toast.LENGTH_LONG).show();if (hasFocus) {
context.getWindow();
context.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE);
}
}
});
fillUp.setLayoutParams(Rl);
fillUp.setGravity(Gravity.CENTER); 
fillUp.setId(9);
compLayout.addView(fillUp);

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 apply FontSize dynamically and programmatically without using XML in Android?

2012-10-03 Thread Meena Rengarajan
This is my Code : I have created Spinner with a list of FontSize options. 
If i click FontSize 26 then it should be able to change in that specific 
FontSize. I mean below that i have EditBox. So if i clicked Fontsize as 40 
and in a Italic style than usual Bold. So i should be able to type inside 
EditBox with this selected Font : FontSize 40 and Italic style.

How could i do this programmatically in Android ? Could anyone suggest or 
help me ?

 font=new Spinner(con);
 option= new String[] {Select Font 
Size,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,50};
 ArrayAdapterString adapter= new 
ArrayAdapterString(con,android.R.layout.simple_spinner_dropdown_item,option);
 
adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
font.setOnItemSelectedListener(new OnItemSelectedListener() {
@Override
public void onItemSelected(AdapterView? arg0, View arg1,int position, 
long id) {
option[1]=8;
selectedItem= option[position];


}

@Override
public void onNothingSelected(AdapterView? arg0) {
// TODO Auto-generated method stub

}
});

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] What candy is the latest version of Android named after?

2012-09-22 Thread Meena Rengarajan
Thank you so much !

On Sat, Sep 22, 2012 at 11:29 AM, vinay kumar vk872...@gmail.com wrote:

 Answer : jellybean

 Platform version : Android 4.1, 4.1.1
 API level : 16
 Meaning of jellybean = A small ovoid candy with a hardened sugar coating
 over a chewy center.


 On Sat, Sep 22, 2012 at 11:00 AM, Meena Rengarajan meenasoft...@gmail.com
  wrote:

 Can anyone tell me this , Sorry it might be a simple Question but i
 wanted to know the answer with its features.

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

[android-developers] What candy is the latest version of Android named after?

2012-09-21 Thread Meena Rengarajan
Can anyone tell me this , Sorry it might be a simple Question but i wanted 
to know the answer with its features.

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

2012-09-16 Thread Meena Rengarajan
[2012-09-16 17:45:51 - QuizeActivity] New emulator found: emulator-5554
[2012-09-16 17:45:51 - QuizeActivity] Waiting for HOME 
('android.process.acore') to be launched...
[2012-09-16 17:47:02 - QuizeActivity] HOME is up on device 'emulator-5554'
[2012-09-16 17:47:02 - QuizeActivity] Uploading QuizeActivity.apk onto 
device 'emulator-5554'
[2012-09-16 17:47:13 - QuizeActivity] Failed to install QuizeActivity.apk 
on device 'emulator-5554': timeout
[2012-09-16 17:47:13 - QuizeActivity] Launch canceled!

My emulator is very slow and when i do run the apps , it is not running. 
Whats the problem here ?

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

2012-09-16 Thread Meena Rengarajan
Yeah as you said, i have done. Now it is running . But i wanna debug step
by step. I couldnt be able to do debug. Why so ?

On Sun, Sep 16, 2012 at 6:00 PM, Kumar Bibek coomar@gmail.com wrote:

 You can increase the time out in Android-ADB from the Eclipse preferences..

 *Thanks and Regards,
 Kumar Bibek*
 *
 http://techdroid.kbeanie.com
 http://www.kbeanie.com*




 On Sun, Sep 16, 2012 at 5:59 PM, Sobia Awan juwerian.so...@gmail.comwrote:

 Its depend on your processor ...In this situation you have to close your
 emulator and start it again ...

 On Sun, Sep 16, 2012 at 5:18 PM, Meena Rengarajan meenasoft...@gmail.com
  wrote:

 [2012-09-16 17:45:51 - QuizeActivity] New emulator found: emulator-5554
 [2012-09-16 17:45:51 - QuizeActivity] Waiting for HOME
 ('android.process.acore') to be launched...
 [2012-09-16 17:47:02 - QuizeActivity] HOME is up on device
 'emulator-5554'
 [2012-09-16 17:47:02 - QuizeActivity] Uploading QuizeActivity.apk onto
 device 'emulator-5554'
 [2012-09-16 17:47:13 - QuizeActivity] Failed to install
 QuizeActivity.apk on device 'emulator-5554': timeout
 [2012-09-16 17:47:13 - QuizeActivity] Launch canceled!

 My emulator is very slow and when i do run the apps , it is not running.
 Whats the problem here ?

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




 --
 *Sobia Awan*
 *  Bs(cs)*
 **


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

2012-09-16 Thread Meena Rengarajan
Now, process is waiting for the Debugger to Attach, it is showing me .

Sense, debugger runs on emulator but i guess slow performance !

On Sun, Sep 16, 2012 at 6:04 PM, Meena Rengarajan meenasoft...@gmail.comwrote:

 Yeah as you said, i have done. Now it is running . But i wanna debug step
 by step. I couldnt be able to do debug. Why so ?


 On Sun, Sep 16, 2012 at 6:00 PM, Kumar Bibek coomar@gmail.com wrote:

 You can increase the time out in Android-ADB from the Eclipse
 preferences..

 *Thanks and Regards,
 Kumar Bibek*
 *
 http://techdroid.kbeanie.com
 http://www.kbeanie.com*




 On Sun, Sep 16, 2012 at 5:59 PM, Sobia Awan juwerian.so...@gmail.comwrote:

 Its depend on your processor ...In this situation you have to close your
 emulator and start it again ...

 On Sun, Sep 16, 2012 at 5:18 PM, Meena Rengarajan 
 meenasoft...@gmail.com wrote:

 [2012-09-16 17:45:51 - QuizeActivity] New emulator found: emulator-5554
 [2012-09-16 17:45:51 - QuizeActivity] Waiting for HOME
 ('android.process.acore') to be launched...
 [2012-09-16 17:47:02 - QuizeActivity] HOME is up on device
 'emulator-5554'
 [2012-09-16 17:47:02 - QuizeActivity] Uploading QuizeActivity.apk onto
 device 'emulator-5554'
 [2012-09-16 17:47:13 - QuizeActivity] Failed to install
 QuizeActivity.apk on device 'emulator-5554': timeout
 [2012-09-16 17:47:13 - QuizeActivity] Launch canceled!

 My emulator is very slow and when i do run the apps , it is not
 running. Whats the problem here ?

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




 --
 *Sobia Awan*
 *  Bs(cs)*
 **


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

2012-09-16 Thread Meena Rengarajan
Sure :-) Let me try !

On Sun, Sep 16, 2012 at 6:13 PM, Kumar Bibek coomar@gmail.com wrote:

 Looks like...

 Try restarting eclipse.

 *Thanks and Regards,
 Kumar Bibek*
 *
 http://techdroid.kbeanie.com
 http://www.kbeanie.com*



 On Sun, Sep 16, 2012 at 6:11 PM, Meena Rengarajan 
 meenasoft...@gmail.comwrote:

 Now, process is waiting for the Debugger to Attach, it is showing me .

 Sense, debugger runs on emulator but i guess slow performance !

 On Sun, Sep 16, 2012 at 6:04 PM, Meena Rengarajan meenasoft...@gmail.com
  wrote:

 Yeah as you said, i have done. Now it is running . But i wanna debug
 step by step. I couldnt be able to do debug. Why so ?


 On Sun, Sep 16, 2012 at 6:00 PM, Kumar Bibek coomar@gmail.comwrote:

 You can increase the time out in Android-ADB from the Eclipse
 preferences..

 *Thanks and Regards,
 Kumar Bibek*
 *
 http://techdroid.kbeanie.com
 http://www.kbeanie.com*




 On Sun, Sep 16, 2012 at 5:59 PM, Sobia Awan 
 juwerian.so...@gmail.comwrote:

 Its depend on your processor ...In this situation you have to close
 your emulator and start it again ...

 On Sun, Sep 16, 2012 at 5:18 PM, Meena Rengarajan 
 meenasoft...@gmail.com wrote:

 [2012-09-16 17:45:51 - QuizeActivity] New emulator found:
 emulator-5554
 [2012-09-16 17:45:51 - QuizeActivity] Waiting for HOME
 ('android.process.acore') to be launched...
 [2012-09-16 17:47:02 - QuizeActivity] HOME is up on device
 'emulator-5554'
 [2012-09-16 17:47:02 - QuizeActivity] Uploading QuizeActivity.apk
 onto device 'emulator-5554'
 [2012-09-16 17:47:13 - QuizeActivity] Failed to install
 QuizeActivity.apk on device 'emulator-5554': timeout
 [2012-09-16 17:47:13 - QuizeActivity] Launch canceled!

 My emulator is very slow and when i do run the apps , it is not
 running. Whats the problem here ?

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




 --
 *Sobia Awan*
 *  Bs(cs)*
 **


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


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

2012-09-16 Thread Meena Rengarajan
[2012-09-16 18:26:37 - QuizeActivity] Automatic Target Mode: launching new
emulator with compatible AVD 'Android2.2'
[2012-09-16 18:26:37 - QuizeActivity] Launching a new emulator with Virtual
Device 'Android2.2'
[2012-09-16 18:27:05 - Emulator] Failed to allocate memory: 1455
[2012-09-16 18:27:05 - Emulator]
[2012-09-16 18:27:05 - Emulator] This application has requested the Runtime
to terminate it in an unusual way.
[2012-09-16 18:27:05 - Emulator] Please contact the application's support
team for more information.

See this, i got a information like this ! :-(


On Sun, Sep 16, 2012 at 6:21 PM, Meena Rengarajan meenasoft...@gmail.comwrote:

 Sure :-) Let me try !


 On Sun, Sep 16, 2012 at 6:13 PM, Kumar Bibek coomar@gmail.com wrote:

 Looks like...

 Try restarting eclipse.

 *Thanks and Regards,
 Kumar Bibek*
 *
 http://techdroid.kbeanie.com
 http://www.kbeanie.com*



 On Sun, Sep 16, 2012 at 6:11 PM, Meena Rengarajan meenasoft...@gmail.com
  wrote:

 Now, process is waiting for the Debugger to Attach, it is showing me .

 Sense, debugger runs on emulator but i guess slow performance !

 On Sun, Sep 16, 2012 at 6:04 PM, Meena Rengarajan 
 meenasoft...@gmail.com wrote:

 Yeah as you said, i have done. Now it is running . But i wanna debug
 step by step. I couldnt be able to do debug. Why so ?


 On Sun, Sep 16, 2012 at 6:00 PM, Kumar Bibek coomar@gmail.comwrote:

 You can increase the time out in Android-ADB from the Eclipse
 preferences..

 *Thanks and Regards,
 Kumar Bibek*
 *
 http://techdroid.kbeanie.com
 http://www.kbeanie.com*




 On Sun, Sep 16, 2012 at 5:59 PM, Sobia Awan 
 juwerian.so...@gmail.comwrote:

 Its depend on your processor ...In this situation you have to close
 your emulator and start it again ...

 On Sun, Sep 16, 2012 at 5:18 PM, Meena Rengarajan 
 meenasoft...@gmail.com wrote:

 [2012-09-16 17:45:51 - QuizeActivity] New emulator found:
 emulator-5554
 [2012-09-16 17:45:51 - QuizeActivity] Waiting for HOME
 ('android.process.acore') to be launched...
 [2012-09-16 17:47:02 - QuizeActivity] HOME is up on device
 'emulator-5554'
 [2012-09-16 17:47:02 - QuizeActivity] Uploading QuizeActivity.apk
 onto device 'emulator-5554'
 [2012-09-16 17:47:13 - QuizeActivity] Failed to install
 QuizeActivity.apk on device 'emulator-5554': timeout
 [2012-09-16 17:47:13 - QuizeActivity] Launch canceled!

 My emulator is very slow and when i do run the apps , it is not
 running. Whats the problem here ?

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




 --
 *Sobia Awan*
 *  Bs(cs)*
 **


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


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

2012-09-03 Thread Meena Rengarajan
At:
Dancing Fingers batym...@gmail.com

Canvas , yeah i too seen tat . Is it working for you ? Are you sure ?

On Mon, Sep 3, 2012 at 6:21 PM, Dancing Fingers batym...@gmail.com wrote:

 Been there, done that, pretty sure you can't do it in TextView unless you
 use Path over an image Button.  I used a Canvas and drew it.

 Chris

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

2012-09-03 Thread Meena Rengarajan
Do u have any sample codes or links atleast example . I have tried a lot !
But no use. I didnt get any changes in my app.

On Mon, Sep 3, 2012 at 8:43 PM, skink psk...@gmail.com wrote:



 Dancing Fingers wrote:
  Been there, done that, pretty sure you can't do it in TextView unless you
  use Path over an image Button.  I used a Canvas and drew it.
 
  Chris

 why?  just use proper Drawable, let it be a ShapeDrawable or a custom
 one

 pskink

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


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

2012-09-03 Thread Meena Rengarajan
 I tried that. But no changes have seen in my app . Anywys again let me try
!

On Mon, Sep 3, 2012 at 9:00 PM, skink psk...@gmail.com wrote:



 Meena Rengarajan wrote:
  Do u have any sample codes or links atleast example . I have tried a lot
 !
  But no use. I didnt get any changes in my app.
 

 i already posted sample code: see my firsr post

 pskink

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


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

2012-09-02 Thread Meena Rengarajan
Hi all, 
   I wanna create Hexagon in android . I have no idea how to create 
buttons in hexagonal shape . Please can anyone suggest me .

I have tried a lot in google. No sources i have found. 

Could anyone suggest me a link for coding or any codes ?

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

2012-09-02 Thread Meena Rengarajan


?xml version=1.0 encoding=utf-8?
shape xmlns:android=http://schemas.android.com/apk/res/android; 
android:shape=Rectangle
gradient
android:startColor=#F778A1
android:endColor=#D4A017
android:angle=180/
corners android:radius=60dp/
padding android:left=9dp
android:top=9dp
android:right=9dp
android:bottom=9dp /
corners android:radius=90dp /
/shape

My Requirement : How to change the shape of the textview and buttons as a 
Hexagonal shape?

I have done so far :-

This is my Code, I have changed textview shape as a rectangle with round 
edged corners. But i have done this in Xml. It works fine for me.

Same, now i wanna change the shape of the Textview as a Hexagonal shape so 
textview label and button labels would be appeared in Hexagonal shape so i 
wanna do this in my app. How could i do this ? Could anyone help me.

Any suggestions / helps would be greatly appreciated, thank you 
On Monday, September 3, 2012 11:09:45 AM UTC+5:30, Anirudh Loya wrote:

 What is your exact requirement ?

 On Mon, Sep 3, 2012 at 10:58 AM, Meena Rengarajan 
 meenas...@gmail.comjavascript:
  wrote:

 Hi all, 
I wanna create Hexagon in android . I have no idea how to 
 create buttons in hexagonal shape . Please can anyone suggest me .

 I have tried a lot in google. No sources i have found. 

 Could anyone suggest me a link for coding or any codes ?

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




 -- 

 Thank you

 Anirudh Loya | Android Developer**

 Desk: +9140-30681824 | Mobile: +91*9246561265*





-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 change the shape of Textview (Hexagonal Shape) in android?

2012-08-31 Thread Meena Rengarajan


?xml version=1.0 encoding=utf-8?
shape xmlns:android=http://schemas.android.com/apk/res/android; 
android:shape=Rectangle
gradient
android:startColor=#F778A1
android:endColor=#D4A017
android:angle=180/
corners android:radius=60dp/
padding android:left=9dp
android:top=9dp
android:right=9dp
android:bottom=9dp /
corners android:radius=90dp /
/shape

This is my Code, I have changed textview shape as a rectangle with round edged 
corners. It works fine for me.

Same, now i wanna change the shape of the Textview as a Hexagon/Pentagon by 
creating xml in resources/drawable in my app. How could i do this ? Could 
anyone help me.

Any suggestions / helps would be greatly appreciated, thank you !



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

[android-developers] How to get IP addresses of other Wifi enabled devices by using other hardware /Mac address?

2012-08-22 Thread Meena Rengarajan
This is my code. I used it in Android 2.3. From my code, i got Hardware/Mac 
address of other wifi enabled devices. Now what i have to do is , i have to 
find an Ip addresses of other Wifi enabled devices programmically by using 
this Mac address. How should i get an Ip address from these Mac address. 
Please can anyone help me here?

My Code :

 registerReceiver(new BroadcastReceiver()
{
  @Override
public void onReceive(Context c, Intent intent) 
{
 results = wifi.getScanResults();
 size = results.size();
 int i = 0;
str1 = new String[size];
for (ScanResult result : results)
{

str1[i] = result.BSSID +   + result.level;
i++;
}
ArrayAdapterStringadapter=new 
ArrayAdapterString(getApplicationContext(),android.R.layout.simple_list_item_1,str1);
lv.setAdapter(adapter);
}
 }, new IntentFilter(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION));
}

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 find Ip address of a device via wifi?

2012-08-21 Thread Meena Rengarajan
I wanna get IP address. Using that Ip address must detect overall devices 
which is connected to a specific network/device.And should be able to get 
MAC address ? 
Please can anyone help me here ?

This is my code :

 tv=(TextView)findViewById(R.id.tv);
 wifi=(WifiManager)getSystemService(WIFI_SERVICE) ;
 btn=(Button)findViewById(R.id.btn);
 btn.setOnClickListener(new View.OnClickListener() {
 @Override
 public void onClick(View v) {
 try {
 InetAddress inet=InetAddress.getLocalHost();
 
Toast.makeText(getApplicationContext(),inet.toString(),Toast.LENGTH_LONG).show();
 } catch (Exception e) {
 System.out.println( );
}

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

2012-08-17 Thread Meena Rengarajan
I have noticed that specific WiFi Enabled devices properties can get only 
on having versions 4.0 or later even above 2.3 .Also I have seen the code 
to access WiFi Direct API. But I have doubt that on some blogs people have 
written that some 2.2 version android devices also support this. So same 
code we are writing for 4.0 or later , will work on the 2.3 version android 
devices which support data tranfer between two wifi enabled devices. I have 
failed to find the code which is compatible to android version 2.2.

Please can anyone suggest or send me the code worked on Android 2.2 ?

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

2012-08-16 Thread Meena Rengarajan
How can i use SSID in a List in Android(ie) in my code ListScanResult 
results; ?

By using SSID Should get specific wifi enabled device properties by 
programmatically. With that help, should transfer the datas between two 
Wifi enabled devices in android. Can anyone help me in 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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Wifi Device properties !

2012-08-16 Thread Meena Rengarajan
How to get Specific WiFi enabled device properties in android by 
programmatically plz can anyone help me here?

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

2012-08-11 Thread Meena Rengarajan
Thankyou so much . Yeah i got it very clearly

On Sat, Aug 11, 2012 at 3:08 AM, bob b...@coolfone.comze.com wrote:

 startScan () returns immediately. The availability of the results is made
 known later by means of an asynchronous event sent on completion of the
 scan.


 So, you either need to wait 10 seconds or so after startScan or wait till
 you get the event that the scan has completed.

 IOW, you are calling wifi.getScanResults() before it has time to find
 anything.



 On Friday, August 10, 2012 3:53:39 AM UTC-5, Meena Rengarajan wrote:

 Here , i wanna display list of Available Wifi devices ..
 This is my code please anyone help me , i do not understand what mistake
 is here ?

 Please anybody help me here , i wanna display list of Available Wifi
 devices, i am very new to this Technology ..

 wifi = (WifiManager) getSystemService(Context.WIFI_**SERVICE);
if (wifi.isWifiEnabled() == false)
{
Toast.makeText(**getApplicationContext(), wifi is
 disabled..making it enabled, Toast.LENGTH_LONG).show();
wifi.setWifiEnabled(true);
}
String[] str1 = null;
 ArrayAdapterStringadapter=**new ArrayAdapterString(this,**
 android.R.layout.simple_list_**item_1,android.R.id.text1,**str1);
 lv.setAdapter(adapter);
//lv.setAdapter(this.adapter)**;
WifiInfo info = wifi.getConnectionInfo();
 textStatus.append(\n\nWiFi Status:  + info.toString());
 // wifiConfig=new WifiConfiguration();
 // wifiConfig.status=**WifiConfiguration.Status.**ENABLED;
  boolean b=wifi.isWifiEnabled();
  if(b){
  wifi.setWifiEnabled(false);
  Toast.makeText(**getApplicationContext(), Yes,
 Toast.LENGTH_SHORT).show();
  }

  else{
  wifi.setWifiEnabled(true);
  Toast.makeText(**getApplicationContext(), No,
 Toast.LENGTH_SHORT).show();
  }



  wifi.startScan();
  ListScanResult results = wifi.getScanResults();
  for (ScanResult result : results) {
 Toast.makeText(this, result.SSID +   +
 result.level,Toast.LENGTH_**SHORT).show();
  ListWifiConfiguration configs = wifi.getConfiguredNetworks();
 for (WifiConfiguration config : configs) {
 textStatus.append(\n\n + config.toString());
 }

 if (receiver == null)
 //receiver= new WiFiScanReceiver(this);

 registerReceiver(receiver, new IntentFilter(
 WifiManager.SCAN_RESULTS_**AVAILABLE_ACTION));
 Log.d(TAG, onCreate());
 }
 }

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

2012-08-11 Thread Meena Rengarajan
Thanku :)

On Sat, Aug 11, 2012 at 3:38 AM, bob b...@coolfone.comze.com wrote:

  final WifiManager wifiManager = (WifiManager) this

   .getSystemService(Context.WIFI_SERVICE);


  AlertDialog.Builder builder = new AlertDialog.Builder(this);

  builder.setMessage(Enable Wifi?)

   .setCancelable(false)

   .setPositiveButton(Yes,

new DialogInterface.OnClickListener() {

public void onClick(DialogInterface dialog, int id) {

 wifiManager.setWifiEnabled(true);

}

})

   .setNegativeButton(No, new DialogInterface.OnClickListener() {

   public void onClick(DialogInterface dialog, int id) {

dialog.cancel();

finish();

   }

   });

  AlertDialog alertDialog = builder.create();

  alertDialog.show();

 On Friday, August 10, 2012 12:48:11 AM UTC-5, Meena Rengarajan wrote:

 How to Enable Wifi automatically in Android 2.2 in an alert box ? If i
 click Yes button then it should be enable and if i click no then
 application must be closed. Can anyone tell me this how should i do ?

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

2012-08-10 Thread Meena Rengarajan
Here , i wanna display list of Available Wifi devices ..
This is my code please anyone help me , i do not understand what mistake is 
here ?

Please anybody help me here , i wanna display list of Available Wifi 
devices, i am very new to this Technology ..

wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE);
   if (wifi.isWifiEnabled() == false)
   {
   Toast.makeText(getApplicationContext(), wifi is 
disabled..making it enabled, Toast.LENGTH_LONG).show();
   wifi.setWifiEnabled(true);
   }   
   String[] str1 = null;
ArrayAdapterStringadapter=new 
ArrayAdapterString(this,android.R.layout.simple_list_item_1,android.R.id.text1,str1);
lv.setAdapter(adapter);
   //lv.setAdapter(this.adapter);
   WifiInfo info = wifi.getConnectionInfo();
textStatus.append(\n\nWiFi Status:  + info.toString());
// wifiConfig=new WifiConfiguration(); 
// wifiConfig.status=WifiConfiguration.Status.ENABLED;
 boolean b=wifi.isWifiEnabled();
 if(b){
 wifi.setWifiEnabled(false);
 Toast.makeText(getApplicationContext(), Yes, Toast.LENGTH_SHORT).show();
 }
 
 else{
 wifi.setWifiEnabled(true);
 Toast.makeText(getApplicationContext(), No, Toast.LENGTH_SHORT).show();
 }
 
 
 
 wifi.startScan();
 ListScanResult results = wifi.getScanResults();
 for (ScanResult result : results) {
Toast.makeText(this, result.SSID +   + 
result.level,Toast.LENGTH_SHORT).show();
 ListWifiConfiguration configs = wifi.getConfiguredNetworks();
for (WifiConfiguration config : configs) {
textStatus.append(\n\n + config.toString());
}
 
if (receiver == null)
//receiver= new WiFiScanReceiver(this);

registerReceiver(receiver, new IntentFilter(
WifiManager.SCAN_RESULTS_AVAILABLE_ACTION));
Log.d(TAG, onCreate());
}
}

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

2012-08-10 Thread Meena Rengarajan
Here, this is my code, How do i wanna put all the strings which is 
scanned and how do i wanna use Array adapter then how do i wanna get all 
the values from list ?
Can anyone help me here please ?

wifi.startScan();
 int length = 10;
 
String[] str1 =new String[length];
 ListScanResult results = wifi.getScanResults();
 for(int i=0;iresults.size();i++){
 ScanResult result = (ScanResult)results[i];
 str1[i] = result.SSID;
 }
 ArrayAdapterStringadapter=new 
ArrayAdapterString(this,android.R.layout.simple_list_item_1,android.R.id.text1,str1);
 lv.setAdapter(adapter);
// for (ScanResult result : results) {
 
//Toast.makeText(this, result.SSID +   + 
result.level,Toast.LENGTH_SHORT).show();

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

2012-08-09 Thread Meena Rengarajan
How do i wanna send datas to devices using WiFi ? can anyone help me 
please.. Can anyone send videos or sample code ?

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

2012-08-09 Thread Meena Rengarajan
How datas are transferred to devices using WiFI like if i click button, 
then it should detect Wifi device automatically and datas like google or 
any datas must be transferred .. can anyone suggest me ?

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

[android-developers] Server/client using Wifi

2012-08-09 Thread Meena Rengarajan
How to send datas from one device to another in Wifi ? I mean, one device 
to another device communicating each other so i am using Socket programming 
. Can anyone help me in a code please ?

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

2012-08-09 Thread Meena Rengarajan
When i click button, Wifi should be in ON state by programmatically , if 
it is not connected (ON state) then Alert Dialog box must appear by saying 
, Are you wanted to enable Wifi/ Disable like OK or Cancel. If i 
click Ok then Wifi should be connected (ON ) state , if i click cancel 
then application should be closed.

Can anyone help me here please ? I am very new to this technology .. 

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

2012-08-09 Thread Meena Rengarajan
How to Enable Wifi automatically in Android 2.2 in an alert box ? If i 
click Yes button then it should be enable and if i click no then 
application must be closed. Can anyone tell me this how should i do ?

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

2012-08-09 Thread Meena Rengarajan
This is my Code, Alert box appears here like Yes /No. But what i need is, 
When i click Yes button , it automatically should enable WiFi by 
progeammatically and if i click No then aopplication must be closed. What 
should i do here . Please can anyone help me?


   public void onClick(DialogInterface dialog, int which) {
 Toast.makeText(getApplicationContext(), 'Yes',WiFi Enabled 
Now,Toast.LENGTH_SHORT).show();
// TODO Auto-generated method stub
 }
});
 alertbox.setNegativeButton(No, new DialogInterface.OnClickListener() {
 @Override
public void onClick(DialogInterface dialog, int which) {
Toast.makeText(getApplicationContext(), 'No',WiFi Disabled so application 
is closed, Toast.LENGTH_SHORT).show(); 
 // TODO Auto-generated method stub
 }
});
alertbox.show();

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

2012-08-08 Thread Meena Rengarajan
Do I need Router's IP address including those username and password to use 
Wireless connection methods like Wifi protected setup to detect Wifi 
devices ? Can anyone help me here ?

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

2012-08-08 Thread Meena Rengarajan
How to send Datas to Wifi devices from application ? In my code, i could 
able to check Wifi status programmatically . Please can anyone help me ?

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

Re: [android-developers] Re: Wifi Devices

2012-08-08 Thread Meena Rengarajan
Yeah , already i have added all the permissions in Manifest !

On Wed, Aug 8, 2012 at 7:48 PM, bob b...@coolfone.comze.com wrote:

  // To use this WifiManager method, AndroidManifest.xml must have the

  // following permission:

  // uses-permission

  // android:name=android.permission.ACCESS_WIFI_STATE/

  WifiManager wifiManager = (WifiManager) getSystemService(Context.
 WIFI_SERVICE);

 On Wednesday, August 8, 2012 7:16:38 AM UTC-5, Meena Rengarajan wrote:

 How to send Datas to Wifi devices from application ? In my code, i could
 able to check Wifi status programmatically . Please can anyone help me ?

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


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

[android-developers] Sending datas

2012-08-08 Thread Meena Rengarajan
How to send datas to Wifi devices through application ?  Any sample codes ? 
I am new to this technology .  Can anyone help me please .. 

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

2012-08-07 Thread Meena Rengarajan
In my Emulator how to connect Wifi in a settings to check avaliable network
connections? Can anyone tell me ?

On Tue, Aug 7, 2012 at 10:16 AM, Meena Rengarajan meenasoft...@gmail.comwrote:

 My question is, How Android mobile detects Wifi network programmatically
 and if Wifi has a printer then how does it will print the datas without
 changing or setting up the connections in Android mobile through an
 Application?


 On Tue, Aug 7, 2012 at 12:42 AM, bob b...@coolfone.comze.com wrote:

 Perhaps you could turn off the Wifi?

 On Monday, August 6, 2012 6:47:28 AM UTC-5, Meena Rengarajan wrote:

 Is there any way to make the application prefers Android mobile over
 WiFi connection?

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

2012-08-07 Thread Meena Rengarajan
I would like to check from my app whether the device has WiFi connectivity,
but in order to do that, I must first find a way to get WiFi in the
emulator. Just going to *Settings - Wireless Networks - Wifi Settings *says
*Unable to start Wi-Fi*, it shows error (Wifi Error).

Can anyone help me please ?

On Tue, Aug 7, 2012 at 12:11 PM, Meena Rengarajan meenasoft...@gmail.comwrote:

 In my Emulator how to connect Wifi in a settings to check avaliable
 network connections? Can anyone tell me ?


 On Tue, Aug 7, 2012 at 10:16 AM, Meena Rengarajan 
 meenasoft...@gmail.comwrote:

 My question is, How Android mobile detects Wifi network programmatically
 and if Wifi has a printer then how does it will print the datas without
 changing or setting up the connections in Android mobile through an
 Application?


 On Tue, Aug 7, 2012 at 12:42 AM, bob b...@coolfone.comze.com wrote:

 Perhaps you could turn off the Wifi?

 On Monday, August 6, 2012 6:47:28 AM UTC-5, Meena Rengarajan wrote:

 Is there any way to make the application prefers Android mobile over
 WiFi connection?

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

2012-08-07 Thread Meena Rengarajan
Yeah, i am using device now. By programmatically, how to get Wifi status in
android ?

On Tue, Aug 7, 2012 at 12:52 PM, Kostya Vasilyev kmans...@gmail.com wrote:

 There is no wifi in the emulator. The classes and the methods are all
 there, but they're just stubs that fail when called.

 You can mock WifiManager in your app, but ultimately, you will need a real
 device.
 07.08.2012 11:03 пользователь Meena Rengarajan meenasoft...@gmail.com
 написал:

 I would like to check from my app whether the device has WiFi
 connectivity, but in order to do that, I must first find a way to get
 WiFi in the emulator. Just going to *Settings - Wireless Networks -
 Wifi Settings *says *Unable to start Wi-Fi*, it shows error (Wifi Error).

 Can anyone help me please ?

 On Tue, Aug 7, 2012 at 12:11 PM, Meena Rengarajan meenasoft...@gmail.com
  wrote:

 In my Emulator how to connect Wifi in a settings to check avaliable
 network connections? Can anyone tell me ?


 On Tue, Aug 7, 2012 at 10:16 AM, Meena Rengarajan 
 meenasoft...@gmail.com wrote:

 My question is, How Android mobile detects Wifi network
 programmatically and if Wifi has a printer then how does it will print the
 datas without changing or setting up the connections in Android mobile
 through an Application?


 On Tue, Aug 7, 2012 at 12:42 AM, bob b...@coolfone.comze.com wrote:

 Perhaps you could turn off the Wifi?

 On Monday, August 6, 2012 6:47:28 AM UTC-5, Meena Rengarajan wrote:

 Is there any way to make the application prefers Android mobile over
 WiFi connection?

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


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

2012-08-07 Thread Meena Rengarajan
Why Asynchronous Operations cannot be performed in OnReceive() method 
during BroadCast Receiver? Is there any specific reason ?

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

2012-08-06 Thread Meena Rengarajan
Is there any way to make the application prefer android mobile over WiFi 
connection?

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

2012-08-06 Thread Meena Rengarajan
Is there any way to make the application prefers Android mobile over WiFi 
connection?

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

2012-08-06 Thread Meena Rengarajan
My question is, How Android mobile detects Wifi network programmatically
and if Wifi has a printer then how does it will print the datas without
changing or setting up the connections in Android mobile through an
Application?


On Tue, Aug 7, 2012 at 12:42 AM, bob b...@coolfone.comze.com wrote:

 Perhaps you could turn off the Wifi?

 On Monday, August 6, 2012 6:47:28 AM UTC-5, Meena Rengarajan wrote:

 Is there any way to make the application prefers Android mobile over WiFi
 connection?

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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] Re: To display Listview using JSON in Android !

2012-08-05 Thread Meena Rengarajan
But i need to knw one thing, if i use Array adapter before assigning the
values of str[i] its displaying listview also if i set adapter after
assigning values to Str[i] also dispalying listview . Why so ?

For an example this line :-

str1[i]=jsonArray.getJSONObject(i).getJSONObject(FORM).
getJSONArray(FPROP)
.getJSONObject(0).getString(FNAME);
}
 ArrayAdapterStringadapter=new ArrayAdapterString
(this,android.R.layout.simple_list_item_1,android.R.id.text1,str1);
 lv.setAdapter(adapter);
}

And my code is here ,


 JSONArray jsonArray=jsonObj.getJSONArray(formlist);
  int length = jsonArray.length();
 String[] str1 =new String[length];
// ArrayAdapterStringadapter=new ArrayAdapterString
(this,android.R.layout.simple_list_item_1,android.R.id.text1,str1);
// lv.setAdapter(adapter);

// ArrayListString items = new ArrayListString();
 for (int i = 0; i  length; i++) {

str1[i]=jsonArray.getJSONObject(i).getJSONObject(FORM).
getJSONArray(FPROP)
.getJSONObject(0).getString(FNAME);
}
 ArrayAdapterStringadapter=new ArrayAdapterString
(this,android.R.layout.simple_list_item_1,android.R.id.text1,str1);
 lv.setAdapter(adapter);
}

 catch (JSONException e) {

On Sun, Aug 5, 2012 at 12:55 AM, Meena Rengarajan meenasoft...@gmail.comwrote:

 Yeah , exactly what you have said is right . Now works on well ! I havent
 parsed JSON. I am new to this topic. Anywys thankyou  :)


 On Sat, Aug 4, 2012 at 1:21 PM, HideCheck hidech...@gmail.com wrote:

 I guess
 Show of ListView rather than wrong, You have failed to parse JSON.

  ArrayAdapterString adapter = new
  ArrayAdapterString(this,android.R.layout.simple_list_item_1,
  android.R.id.text1,str1);
  lv.setAdapter(adapter);
 this code is correct.

 Structure of the JSON is?

 2012/8/4 Meena Rengarajan meenasoft...@gmail.com:
  How should i use Array adapter here to get listview values .. I am very
 new
  to Android can anyone help me please..
 
  I used this in my code,
 
  ArrayAdapterString adapter = new
  ArrayAdapterString(this,android.R.layout.simple_list_item_1,
  android.R.id.text1,str1);
  lv.setAdapter(adapter);
 
  On Sat, Aug 4, 2012 at 12:47 PM, Meena Rengarajan 
 meenasoft...@gmail.com
  wrote:
 
  How do i wanna split a string into two parts here by omitting first
  character ?
 
 
  On Saturday, August 4, 2012 10:36:18 AM UTC+5:30, Meena Rengarajan
 wrote:
 
  This is my code. Listview using Json in Android . But my lists is not
  displaying when i click a button.. Only displaying first activity
 alone.
  Whats wrong here ? can anyone help me ..
  try {
   JSONObject json1=new JSONObject(resultJSON);
   JSONArray jsonArray=json1.getJSONArray();
   int length = jsonArray.length();
   System.out.println(json1:+json1);
   System.out.println(jsonarray:+jsonArray);
   String[] str1 = new String[length];
   for (int i = 0; i  str1.length; i++) {
 
 
 str1[i]=jsonArray.getJSONObject(i).getJSONObject(FORM).getJSONArray(FPROP.getJSONObject(0).getString(FNAME);
 
  }
  } catch (Exception e) {
  // TODO: handle exception
  Toast.makeText(NewActivity.this,sorry, Toast.LENGTH_LONG).show();
  }
   ArrayAdapterString adapter = new
  ArrayAdapterString(this,android.R.layout.simple_list_item_1,
  android.R.id.text1,str1);
 
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to
 android-developers@googlegroups.com
  To unsubscribe from this group, 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




-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: To display Listview using JSON in Android !

2012-08-04 Thread Meena Rengarajan
How do i wanna split a string into two parts here by omitting first 
character ?

On Saturday, August 4, 2012 10:36:18 AM UTC+5:30, Meena Rengarajan wrote:

 This is my code. Listview using Json in Android . But my lists is not 
 displaying when i click a button.. Only displaying first activity alone. 
 Whats wrong here ? can anyone help me ..
 try {
   JSONObject json1=new JSONObject(resultJSON);
   JSONArray jsonArray=json1.getJSONArray();
   int length = jsonArray.length();
   System.out.println(json1:+json1);
   System.out.println(jsonarray:+jsonArray);
   String[] str1 = new String[length];
   for (int i = 0; i  str1.length; i++) {

 str1[i]=jsonArray.getJSONObject(i).getJSONObject(FORM).getJSONArray(FPROP.getJSONObject(0).getString(FNAME);
   
 }
 } catch (Exception e) {
 // TODO: handle exception
 Toast.makeText(NewActivity.this,sorry, Toast.LENGTH_LONG).show();
 }
  ArrayAdapterString adapter = new 
 ArrayAdapterString(this,android.R.layout.simple_list_item_1, 
 android.R.id.text1,str1);



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: To display Listview using JSON in Android !

2012-08-04 Thread Meena Rengarajan
How should i use Array adapter here to get listview values .. I am very new
to Android can anyone help me please..

I used this in my code,

ArrayAdapterString adapter = new
ArrayAdapterString(this,android.R.layout.simple_list_item_1,
android.R.id.text1,str1);
lv.setAdapter(adapter);

On Sat, Aug 4, 2012 at 12:47 PM, Meena Rengarajan meenasoft...@gmail.comwrote:

 How do i wanna split a string into two parts here by omitting first
 character ?


 On Saturday, August 4, 2012 10:36:18 AM UTC+5:30, Meena Rengarajan wrote:

 This is my code. Listview using Json in Android . But my lists is not
 displaying when i click a button.. Only displaying first activity alone.
 Whats wrong here ? can anyone help me ..
 try {
   JSONObject json1=new JSONObject(resultJSON);
   JSONArray jsonArray=json1.getJSONArray(**);
   int length = jsonArray.length();
   System.out.println(json1:+**json1);
   System.out.println(**jsonarray:+jsonArray);
   String[] str1 = new String[length];
   for (int i = 0; i  str1.length; i++) {
 str1[i]=jsonArray.**getJSONObject(i).**getJSONObject(FORM).**
 getJSONArray(FPROP.**getJSONObject(0).getString(**FNAME);

 }
 } catch (Exception e) {
 // TODO: handle exception
 Toast.makeText(NewActivity.**this,sorry, Toast.LENGTH_LONG).show();
 }
  ArrayAdapterString adapter = new ArrayAdapterString(this,**
 android.R.layout.simple_list_**item_1, android.R.id.text1,str1);

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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] Re: To display Listview using JSON in Android !

2012-08-04 Thread Meena Rengarajan
Yeah , exactly what you have said is right . Now works on well ! I havent
parsed JSON. I am new to this topic. Anywys thankyou  :)

On Sat, Aug 4, 2012 at 1:21 PM, HideCheck hidech...@gmail.com wrote:

 I guess
 Show of ListView rather than wrong, You have failed to parse JSON.

  ArrayAdapterString adapter = new
  ArrayAdapterString(this,android.R.layout.simple_list_item_1,
  android.R.id.text1,str1);
  lv.setAdapter(adapter);
 this code is correct.

 Structure of the JSON is?

 2012/8/4 Meena Rengarajan meenasoft...@gmail.com:
  How should i use Array adapter here to get listview values .. I am very
 new
  to Android can anyone help me please..
 
  I used this in my code,
 
  ArrayAdapterString adapter = new
  ArrayAdapterString(this,android.R.layout.simple_list_item_1,
  android.R.id.text1,str1);
  lv.setAdapter(adapter);
 
  On Sat, Aug 4, 2012 at 12:47 PM, Meena Rengarajan 
 meenasoft...@gmail.com
  wrote:
 
  How do i wanna split a string into two parts here by omitting first
  character ?
 
 
  On Saturday, August 4, 2012 10:36:18 AM UTC+5:30, Meena Rengarajan
 wrote:
 
  This is my code. Listview using Json in Android . But my lists is not
  displaying when i click a button.. Only displaying first activity
 alone.
  Whats wrong here ? can anyone help me ..
  try {
   JSONObject json1=new JSONObject(resultJSON);
   JSONArray jsonArray=json1.getJSONArray();
   int length = jsonArray.length();
   System.out.println(json1:+json1);
   System.out.println(jsonarray:+jsonArray);
   String[] str1 = new String[length];
   for (int i = 0; i  str1.length; i++) {
 
 
 str1[i]=jsonArray.getJSONObject(i).getJSONObject(FORM).getJSONArray(FPROP.getJSONObject(0).getString(FNAME);
 
  }
  } catch (Exception e) {
  // TODO: handle exception
  Toast.makeText(NewActivity.this,sorry, Toast.LENGTH_LONG).show();
  }
   ArrayAdapterString adapter = new
  ArrayAdapterString(this,android.R.layout.simple_list_item_1,
  android.R.id.text1,str1);
 
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to
 android-developers@googlegroups.com
  To unsubscribe from this group, 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


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

2012-08-03 Thread Meena Rengarajan
This is my code. Listview using Json in Android . But my lists is not 
displaying when i click a button.. Only displaying first activity alone. 
Whats wrong here ? can anyone help me ..
try {
  JSONObject json1=new JSONObject(resultJSON);
  JSONArray jsonArray=json1.getJSONArray();
  int length = jsonArray.length();
  System.out.println(json1:+json1);
  System.out.println(jsonarray:+jsonArray);
  String[] str1 = new String[length];
  for (int i = 0; i  str1.length; i++) {
str1[i]=jsonArray.getJSONObject(i).getJSONObject(FORM).getJSONArray(FPROP.getJSONObject(0).getString(FNAME);
  
}
} catch (Exception e) {
// TODO: handle exception
Toast.makeText(NewActivity.this,sorry, Toast.LENGTH_LONG).show();
}
 ArrayAdapterString adapter = new 
ArrayAdapterString(this,android.R.layout.simple_list_item_1, 
android.R.id.text1,str1);

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

2012-08-03 Thread Meena Rengarajan
You mean this one ?  Yeah, i wrote like this ,

 ArrayAdapterString adapter = new
ArrayAdapterString(this,android.R.layout.simple_list_item_1,
android.R.id.text1,str1);

ListView lv.setAdapter(adapter);



On Sat, Aug 4, 2012 at 10:46 AM, HideCheck hidech...@gmail.com wrote:

 I guess as follows.

 1. Argment is empty.
 JSONArray jsonArray=json1.getJSONArray();

 2. Did you write this?
 ListView#setAdapter(adapter)


 Best Regards

 2012/8/4 Meena Rengarajan meenasoft...@gmail.com:
  This is my code. Listview using Json in Android . But my lists is not
  displaying when i click a button.. Only displaying first activity alone.
  Whats wrong here ? can anyone help me ..
  try {
   JSONObject json1=new JSONObject(resultJSON);
   JSONArray jsonArray=json1.getJSONArray();
   int length = jsonArray.length();
   System.out.println(json1:+json1);
   System.out.println(jsonarray:+jsonArray);
   String[] str1 = new String[length];
   for (int i = 0; i  str1.length; i++) {
 
 str1[i]=jsonArray.getJSONObject(i).getJSONObject(FORM).getJSONArray(FPROP.getJSONObject(0).getString(FNAME);
 
  }
  } catch (Exception e) {
  // TODO: handle exception
  Toast.makeText(NewActivity.this,sorry, Toast.LENGTH_LONG).show();
  }
   ArrayAdapterString adapter = new
  ArrayAdapterString(this,android.R.layout.simple_list_item_1,
  android.R.id.text1,str1);
 
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, 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

[android-developers] Re: To display Listview using JSON in Android !

2012-08-03 Thread Meena Rengarajan
I do not understand what mistake here ? please anyone can help me ? This is 
my code..

 String result=getIntent().getStringExtra(Entry);
result = result.substring(result.indexOf('#')+1); 
//String JsonData;
String resultJSON=getIntent().getStringExtra(JsonData);
  try {
  JSONObject jsonObj=new JSONObject(resultJSON);
  //str1=json1.getString(UploadResult);
  JSONArray jsonArray=jsonObj.getJSONArray();
  int length = jsonArray.length();
  System.out.println(jsonObj:+jsonObj);
  System.out.println(jsonarray:+jsonArray);
 String[] str1 = new String[length];
  for (int i = 0; i  str1.length; i++) {
str1[i]=jsonArray.getJSONObject(i).getJSONObject(FORM).getJSONArray(FPROP).getJSONObject(0).getString(FNAME);
  
}
} catch (Exception e) {
// TODO: handle exception
//Toast.makeText(NewActivity.this,sorry, Toast.LENGTH_LONG).show();
}
 ArrayAdapterString adapter = new 
ArrayAdapterString(this,android.R.layout.simple_list_item_1, 
android.R.id.text1,str1);
 
lv.setAdapter(adapter);

On Saturday, August 4, 2012 10:36:18 AM UTC+5:30, Meena Rengarajan wrote:

 This is my code. Listview using Json in Android . But my lists is not 
 displaying when i click a button.. Only displaying first activity alone. 
 Whats wrong here ? can anyone help me ..
 try {
   JSONObject json1=new JSONObject(resultJSON);
   JSONArray jsonArray=json1.getJSONArray();
   int length = jsonArray.length();
   System.out.println(json1:+json1);
   System.out.println(jsonarray:+jsonArray);
   String[] str1 = new String[length];
   for (int i = 0; i  str1.length; i++) {

 str1[i]=jsonArray.getJSONObject(i).getJSONObject(FORM).getJSONArray(FPROP.getJSONObject(0).getString(FNAME);
   
 }
 } catch (Exception e) {
 // TODO: handle exception
 Toast.makeText(NewActivity.this,sorry, Toast.LENGTH_LONG).show();
 }
  ArrayAdapterString adapter = new 
 ArrayAdapterString(this,android.R.layout.simple_list_item_1, 
 android.R.id.text1,str1);



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: To display Listview using JSON in Android !

2012-08-03 Thread Meena Rengarajan
My debugging point is not going from this line
JSONArray jsonArray=jsonObj.getJSONArray(); but exception is caught in
Catch in this code..

JSONArray jsonArray=jsonObj.getJSONArray();
  int length = jsonArray.length();
  System.out.println(jsonObj:+jsonObj);
  System.out.println(jsonarray:+jsonArray);
 String[] str1 = new String[length];
  for (int i = 0; i  str1.length; i++) {
str1[i]=jsonArray.getJSONObject(i).getJSONObject(FORM).getJSONArray(FPROP).getJSONObject(0).getString(FNAME);

}

On Sat, Aug 4, 2012 at 11:22 AM, Meena Rengarajan meenasoft...@gmail.comwrote:

 I do not understand what mistake here ? please anyone can help me ? This
 is my code..

  String result=getIntent().getStringExtra(Entry);
 result = result.substring(result.indexOf('#')+1);
 //String JsonData;
 String resultJSON=getIntent().getStringExtra(JsonData);
   try {
   JSONObject jsonObj=new JSONObject(resultJSON);
   //str1=json1.getString(UploadResult);
   JSONArray jsonArray=jsonObj.getJSONArray();
   int length = jsonArray.length();
   System.out.println(jsonObj:+jsonObj);
   System.out.println(jsonarray:+jsonArray);
  String[] str1 = new String[length];
   for (int i = 0; i  str1.length; i++) {

 str1[i]=jsonArray.getJSONObject(i).getJSONObject(FORM).getJSONArray(FPROP).getJSONObject(0).getString(FNAME);

 }
 } catch (Exception e) {
 // TODO: handle exception
 //Toast.makeText(NewActivity.this,sorry, Toast.LENGTH_LONG).show();
 }
  ArrayAdapterString adapter = new
 ArrayAdapterString(this,android.R.layout.simple_list_item_1,
 android.R.id.text1,str1);

 lv.setAdapter(adapter);

 On Saturday, August 4, 2012 10:36:18 AM UTC+5:30, Meena Rengarajan wrote:

 This is my code. Listview using Json in Android . But my lists is not
 displaying when i click a button.. Only displaying first activity alone.
 Whats wrong here ? can anyone help me ..
 try {
   JSONObject json1=new JSONObject(resultJSON);
   JSONArray jsonArray=json1.getJSONArray(**);
   int length = jsonArray.length();
   System.out.println(json1:+**json1);
   System.out.println(**jsonarray:+jsonArray);
   String[] str1 = new String[length];
   for (int i = 0; i  str1.length; i++) {
 str1[i]=jsonArray.**getJSONObject(i).**getJSONObject(FORM).**
 getJSONArray(FPROP.**getJSONObject(0).getString(**FNAME);

 }
 } catch (Exception e) {
 // TODO: handle exception
 Toast.makeText(NewActivity.**this,sorry, Toast.LENGTH_LONG).show();
 }
  ArrayAdapterString adapter = new ArrayAdapterString(this,**
 android.R.layout.simple_list_**item_1, android.R.id.text1,str1);

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

2012-08-01 Thread Meena Rengarajan
How to get Started with Action Bar and Navigation Bar in Android 2.2 ? Can 
anyone tell me ..

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

[android-developers] Re: Action Bar and Navigation Bar in Android 2.2

2012-08-01 Thread Meena Rengarajan
I am not sure , is it possible to create action and navigation bar in 
Android 2.2 ? can anyone help me 

On Wednesday, August 1, 2012 11:53:13 AM UTC+5:30, Meena Rengarajan wrote:

 How to get Started with Action Bar and Navigation Bar in Android 2.2 ? Can 
 anyone tell me ..


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

Re: [android-developers] Re: Action Bar and Navigation Bar in Android 2.2

2012-08-01 Thread Meena Rengarajan
Yes, Action Bar added in 3.0 and 4.0 versions . So i guess cannot be done 
in Android 2.2 version

On Wednesday, August 1, 2012 12:06:03 PM UTC+5:30, RKJ (Android developer) 
wrote:

 ActionBar added in   Android 3.0 (API level 11). 


 On Wed, Aug 1, 2012 at 12:02 PM, Meena Rengarajan 
 meenasoft...@gmail.comwrote:

 I am not sure , is it possible to create action and navigation bar in 
 Android 2.2 ? can anyone help me 


 On Wednesday, August 1, 2012 11:53:13 AM UTC+5:30, Meena Rengarajan wrote:

 How to get Started with Action Bar and Navigation Bar in Android 2.2 ? 
 Can anyone tell me ..

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




 -- 
 Thanks  Regards

 Rakesh Kumar Jha
 Android Developer, Trainer and Mentor
 Bangalore
 Skype - rkjhaw
 (O) +918050753516
 (R) +919886336619

  

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

[android-developers] Re: Action Bar and Navigation Bar in Android 2.2

2012-08-01 Thread Meena Rengarajan
Not clearly given in Sherlock youtube based on Android 2.2 . Any other 
youtubes are there . Can anyone tell me .. 

On Wednesday, August 1, 2012 11:53:13 AM UTC+5:30, Meena Rengarajan wrote:

 How to get Started with Action Bar and Navigation Bar in Android 2.2 ? Can 
 anyone tell me ..


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

[android-developers] Re: Action Bar and Navigation Bar in Android 2.2

2012-08-01 Thread Meena Rengarajan
Thankyou for helping me !!!  

On Wednesday, August 1, 2012 11:53:13 AM UTC+5:30, Meena Rengarajan wrote:

 How to get Started with Action Bar and Navigation Bar in Android 2.2 ? Can 
 anyone tell me ..


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

Re: [android-developers] Re: Action Bar and Navigation Bar in Android 2.2

2012-08-01 Thread Meena Rengarajan
let me try by watching Sherlock youtube once . Anyways thankyou so much !

On Wed, Aug 1, 2012 at 12:29 PM, Kostya Vasilyev kmans...@gmail.com wrote:

 Sherlock runs on android 2.1 and above.

 Not sure what you mean by other youtubes - AFAIK, there is only one.
 01.08.2012 10:49 пользователь Meena Rengarajan meenasoft...@gmail.com
 написал:

 Not clearly given in Sherlock youtube based on Android 2.2 . Any other
 youtubes are there . Can anyone tell me ..

 On Wednesday, August 1, 2012 11:53:13 AM UTC+5:30, Meena Rengarajan wrote:

 How to get Started with Action Bar and Navigation Bar in Android 2.2 ?
 Can anyone tell me ..

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

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


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

2012-08-01 Thread Meena Rengarajan
This is my Code . I could able to do direct access after i disconnect the
USB. I could able to access like recording , playing etc. But i couldnt
able to do second time. Whats wrong here ?


private void beginRecording() throws Exception  {
   //bMediaRecorder();
   //try{
   File outFile=new File(OUTPUT_FILE);
   // }
   if(outFile.exists())
outFile.delete();
   if(recorder!=null)
   recorder=null;
recorder=new MediaRecorder();
recorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER);
recorder.setOutputFormat(MediaRecorder.OutputFormat.RAW_AMR);
recorder.setAudioEncoder(MediaRecorder.AudioEncoder.DEFAULT);
recorder.setOutputFile(OUTPUT_FILE);
recorder.prepare();
recorder.start();
 }

private void bMediaRecorder() {
// TODO Auto-generated method stub
 if(recorder!=null)
recorder.release();

}

On Tue, Jul 31, 2012 at 8:52 PM, bob b...@coolfone.comze.com wrote:

 The problem is likely that your app is still dormant.  It has not exited.

 What has happened is that it is paused, and when you go back to it,
 onResume is called…  not onCreate.

 You can make your app truly exit when the back button is pressed by adding
 this to your Activity class.

 @Override
 public void onBackPressed() {

 System.exit(0);
 }

 Some people consider this bad, so I'm only recommending it as a diagnostic
 aid.


 On Tuesday, July 31, 2012 7:30:56 AM UTC-5, Meena Rengarajan wrote:

 Once USB is connected i could able to record the audio and playing well
 in mobile. But once if i closed my application or disconnected USB then i
 couldnt able to record the audio in direct access. So again if i opened and
 recorder as a fresh one its not recording the audio ! Whats the problem
 here ?

 On Tuesday, July 31, 2012 12:01:49 PM UTC+5:30, Meena Rengarajan wrote:

 I have created a file name music_1.amr.. When i recording audio it
 will capture and stored in music_1.amr . So i can do play, stop or save..
 Now i wanna do is, whenever i create a new audio recording that previous
 recorded audio should be deleted automatically and this new audio capture
 must store it in same file name music_1.amr. What do i wanna do here .
 Can anyone suggest me?

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


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

[android-developers] Audio Capture

2012-07-31 Thread Meena Rengarajan
I have created a file name music_1.amr.. When i recording audio it will 
capture and stored in music_1.amr . So i can do play, stop or save.. Now 
i wanna do is, whenever i create a new audio recording that previous 
recorded audio should be deleted automatically and this new audio capture 
must store it in same file name music_1.amr. What do i wanna do here . 
Can anyone suggest me?

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

Re: [android-developers] Audio Capture

2012-07-31 Thread Meena Rengarajan
This is my code. I am beginner in Android .Can anyone tell me ? What 
mistake i have done here 

String OUTPUT_FILE=Environment.getExternalStorageDirectory()+/music_1.amr;


private void beginRecording() throws Exception  {
   bMediaRecorder();
   //try{
   File outFile=new File(OUTPUT_FILE);
   // }
   if(outFile.exists())
outFile.delete();

recorder=new MediaRecorder();
recorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER);
recorder.setOutputFormat(MediaRecorder.OutputFormat.RAW_AMR);
recorder.setAudioEncoder(MediaRecorder.AudioEncoder.DEFAULT);
recorder.setOutputFile(OUTPUT_FILE);
recorder.prepare();
recorder.start();
 }

private void bMediaRecorder() {
// TODO Auto-generated method stub
 if(recorder!=null)
recorder=null;
recorder.release();


On Tuesday, July 31, 2012 12:09:37 PM UTC+5:30, asheesh arya wrote:

 create a file with the same name in your source code!!


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

2012-07-31 Thread Meena Rengarajan
Once USB is connected i could able to record the audio and playing well in 
mobile. But once if i closed my application or disconnected USB then i 
couldnt able to record the audio in direct access. So again if i opened and 
recorder as a fresh one its not recording the audio ! Whats the problem 
here ?

On Tuesday, July 31, 2012 12:01:49 PM UTC+5:30, Meena Rengarajan wrote:

 I have created a file name music_1.amr.. When i recording audio it will 
 capture and stored in music_1.amr . So i can do play, stop or save.. Now 
 i wanna do is, whenever i create a new audio recording that previous 
 recorded audio should be deleted automatically and this new audio capture 
 must store it in same file name music_1.amr. What do i wanna do here . 
 Can anyone suggest me?


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

[android-developers] Audio Capture in Android

2012-07-26 Thread Meena Rengarajan
Hi all , 
   This is my code,  I am very new to Android . Please can anyone 
help me .. I wanna record, play, save and stop in Audio Capture, when i 
click button all these actions should be taken . My code is here , in 
Emulator output is displaying but in my mobile , it doesnt able to identify 
the location of file uri and file name . What should i do in this?


public class AudioCaptureActivity extends Activity {
TextView tv;
Button recordBtn;
Button playBtn;
Button saveBtn;
Button stopBtn;
Button finishBtn;
MediaPlayer mp;
MediaRecorder mr;
Intent audioIntent;
Uri mCapturedAudioUri;
String path;
int playBackPosition=0;
int RQS_RECORDING = 1; 
int requestCode=0;
 public static int RECORD_REQUEST=0;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
tv=(TextView)findViewById(R.id.AudioCapture);
recordBtn=(Button)findViewById(R.id.recordBtn);
playBtn=(Button)findViewById(R.id.playBtn);
saveBtn= (Button)findViewById(R.id.saveBtn);
stopBtn=(Button)findViewById(R.id.stopBtn);

recordBtn.setOnClickListener(new OnClickListener() {
 @Override
public void onClick(View v) {
 //mp= new MediaPlayer();
//mr.setAudioSource(MediaRecorder.AudioSource.MIC);
//mr.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
//mr.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
//FileDescriptor PATH_NAME = null;
//mr.setOutputFile(PATH_NAME);
   try {
 path = Environment.getExternalStorageDirectory()+/audio_meena.AMR;
 File newFile = new File(path);
 Uri uri =Uri.fromFile(newFile);
 Intent audioIntent=new Intent(MediaStore.Audio.Media.RECORD_SOUND_ACTION);
 
 startActivityForResult(audioIntent, RQS_RECORDING);
 
 

} catch (Exception e) {
// TODO: handle exception
}
}
});

playBtn.setOnClickListener(new OnClickListener() {
 @Override
public void onClick(View v) {
playAudio();

 // TODO Auto-generated method stub
}
  private void playAudio() {
// TODO Auto-generated method stub
  }
});
  saveBtn.setOnClickListener(new OnClickListener() {
 @Override
public void onClick(View v) {
saveAudio();
// TODO Auto-generated method stub
 }
   private void saveAudio() {
// TODO Auto-generated method stub
 }
});
  
   stopBtn.setOnClickListener(new OnClickListener() {
 @Override
public void onClick(View v) {
//if(v==finishBtn){
// finish();
 // } else if(v==stopBtn) 
{
 mr.stop();
mr.release(); 
}
// TODO Auto-generated method stub
 }
});
 }
//public void onActivityResult (int requestCode, int resultCode, Intent 
data) {
//if(requestCode==1){
// if(resultCode==RESULT_OK){
// Uri mCapturedAudioUri=audioIntent.getData();
// playAudio(mCapturedAudioUri);
// }
// }

 //  }
private void playAudio(Uri mCapturedAudioUri2) {
// TODO Auto-generated method stub
 }

}




-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Please visit the below link and give ur ideas for my android technica doubts

2012-07-25 Thread Meena Rengarajan
Hi all ,
 For me one doubt . I have created 4 buttons lik record, save, stop
and play in ANDROID. So do i wanna create method for all these buttons ?
onClick method ? Can anyone tell dis ?

Public void onClick(View v){
//
}

On Wed, Jul 25, 2012 at 12:42 PM, Siva Kumar j.sivakumar...@gmail.comwrote:


 Dear All,

   Please visit the below link and give ur ideas for my android technica
 doubts.

 http://stackoverflow.com/q/11644419/385138


 --
 *Thanks  Regards,
 Sivakumar.J*



  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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] Re: Galaxy S3 - Cant write to external storage

2012-07-25 Thread Meena Rengarajan
Hi all ,
 For me one doubt . I have created 4 buttons lik record, save, stop
and play in ANDROID. So do i wanna create method for all these buttons ?
onClick method ? Can anyone tell dis ?

Public void onClick(View v){
//
}

On Wed, Jul 25, 2012 at 11:09 AM, bharadwaj bharath.sm...@gmail.com wrote:



 On Tue, Jul 24, 2012 at 6:58 PM, Eddie edwardezerg...@googlemail.comwrote:


 On Tuesday, 24 July 2012 12:14:04 UTC+1, Bharath Smitha wrote:

 have  u added permissions in your manifest file...check it once...

 Hi Bharath.  I am not aware that adb requires any permissions in a
 manifest file.  Manifest permissions are for applications only aren't they?

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


 sorry for that may be i am not right?


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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] Please visit the below link and give ur ideas for my android technica doubts

2012-07-25 Thread Meena Rengarajan
I am new to the Android . What are all the things should i do in Audio
Capture in ANDROID ? please can you  temme ?

On Wed, Jul 25, 2012 at 1:45 PM, bharadwaj bharath.sm...@gmail.com wrote:



 On Wed, Jul 25, 2012 at 1:32 PM, Meena Rengarajan 
 meenasoft...@gmail.comwrote:

 Hi all ,
  For me one doubt . I have created 4 buttons lik record, save,
 stop and play in ANDROID. So do i wanna create method for all these buttons
 ? onClick method ? Can anyone tell dis ?

 Public void onClick(View v){
 //
 }

 On Wed, Jul 25, 2012 at 12:42 PM, Siva Kumar j.sivakumar...@gmail.comwrote:


 Dear All,

   Please visit the below link and give ur ideas for my android technica
 doubts.

 http://stackoverflow.com/q/11644419/385138


 --
 *Thanks  Regards,
 Sivakumar.J*



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


 yes u have to overide the button clicks.

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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] Re: AsyncTask - wait until the task has finished

2012-07-25 Thread Meena Rengarajan
Can anyone tell me please ?To set path in Android what shoud i do ?

On Wed, Jul 25, 2012 at 3:03 PM, mutkan mutk...@gmail.com wrote:

 So what is the other solution? I have same problem as you.

 On Monday, August 17, 2009 6:52:13 PM UTC+3, Tom wrote:

 Ok I understand well that is a bad idea.
 Before that, I tried to change views in the onPostExecute() method.
 But unfortunately, I didn't manage to do what I wanted to do.
 The main errors were that I couldn't modify the view.
 So I decided to try an another way.

 Thanks for the answers.

 I'll keep going on your way.



 On 17 août, 17:39, Romain Guy romain...@google.com wrote:
  When the task finishes, onPostExecute() is invoked. You can use this
  method to change views. Making the main thread wait for the AsyncTask
  is a bad idea since it would just go against the entire purpose of
  AsyncTask.
 
 
 
  On Mon, Aug 17, 2009 at 8:36 AM, Tomthomas.coz...@gmail.com wrote:
 
   At first, my asyncTask show a progress dialog to prevent users.
   it's used to download some informations from a web server.
 
   Then, I would like, in fact, wait for the end of the asyncTask in
   order to continue some stuff on the main thread.
   cause I can't modifiy the main view in the asyncTask.
 
   Regards
   Tom
 
   On 17 août, 16:52, Mark Murphy mmur...@commonsware.com wrote:
   Tom wrote:
I use a subclass of AsyncTask in the main Thread.
I would like the main Thread wait for the end of the AsyncTask.
 
   Please please please please please do not do this.
 
   At best, your users will wonder why the application is frozen.
 
   At worst, Android will wonder why the application is frozen and will
   kill off the flawed activity.
 
   --
   Mark Murphy (a Commons Guy)http://commonsware.com|htt**
 p://twitter.com/commonsguy http://twitter.com/commonsguy
 
   Warescription: Three Android Books, Plus Updates, $35/Year
 
  --
  Romain Guy
  Android framework engineer
  romain...@android.com
 
  Note: please don't send private questions to me, as I don't have time
  to provide private support.  All such questions should be posted on
  public forums, where I and others can see and answer them

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

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Please visit the below link and give ur ideas for my android technica doubts

2012-07-25 Thread Meena Rengarajan
To set path in Android (Audio Capture) what shoud i do ?

On Wed, Jul 25, 2012 at 2:48 PM, Siva Kumar j.sivakumar...@gmail.comwrote:



 Dear All,

   Please visit the below link and give ur ideas for my android technical
 doubts

 http://stackoverflow.com/q/11506160



 --
 *Thanks  Regards,
 Sivakumar.J*

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

2012-07-25 Thread Meena Rengarajan
To set path in Android (Audio Capture) what shoud i do ?

On Wed, Jul 25, 2012 at 2:56 PM, SIVAKUMAR.J j.sivakumar...@gmail.comwrote:

 Better u refer the The Busy coders guide books by commonsware
 publications


 On Friday, July 20, 2012 7:36:58 PM UTC+5:30, brksotn wrote:

 Hi,

 There are similar questions on the internet but most of the links are
 really old so what are the steps for being a good android developer and
 where to start? Where can I find the best tutorial on the internet?

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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] Please visit the below link and give ur ideas for my android technica doubts

2012-07-25 Thread Meena Rengarajan
To set path in Android (Audio Capture) what shoud i do ?

On Wed, Jul 25, 2012 at 12:42 PM, Siva Kumar j.sivakumar...@gmail.comwrote:


 Dear All,

   Please visit the below link and give ur ideas for my android technica
 doubts.

 http://stackoverflow.com/q/11644419/385138


 --
 *Thanks  Regards,
 Sivakumar.J*



  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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] Problem getting id of a resource when using a Library project

2012-07-25 Thread Meena Rengarajan
At fmmar...@gmail.com :- hello, mind your words -- I am new to the
android . If you wish tell otherwise do your own job .. Others will help a
lot !

On Wed, Jul 25, 2012 at 3:26 PM, Francisco Marzoa fmmar...@gmail.comwrote:

 Please, stop asking your questions into every f*cking thread even when it
 has nothing to see.
 On Jul 24, 2012 2:09 PM, Meena Rengarajan meenasoft...@gmail.com
 wrote:

 How do i wanna capture an Audio in Android please help me .. I am
 beginner can anyone help me ? Programmatically i shoud do some operations
 like Play, Stop, Record and Save ..


 On Tue, Jul 24, 2012 at 5:36 PM, Meena Rengarajan meenasoft...@gmail.com
  wrote:

 How do i wanna capture an Audio in Android please help me .. I am
 beginner can anyone help me ?


 On Tue, Jul 24, 2012 at 5:26 PM, Francisco M. Marzoa Alonso 
 fmmar...@gmail.com wrote:

 Hi Mark,

 I did not read your answer, that was the point, but using directly the
 main project package name creates a new problem. See my other answer for
 the solution I finally reach.

 Thank you very much,



 On 24/07/12 13:06, Mark Murphy wrote:
  On Tue, Jul 24, 2012 at 6:53 AM, Francisco M. Marzoa Alonso
  fmmar...@gmail.com wrote:
  I am facing problems getting the id of a resource by name when using
 a
  library project:
 
  int resId = context.getResources().getIdentifier(myresname,
  drawable, net.iberdroid.mygamecore);
 
  It seems like this always returns 0 when using the project as a
 library,
  but it were working flawlessly while it was an standalone project.
 
  net.iberdroid.mygamecore is where those resources resides, and in
 fact
  they are there.
 
  That code is even executed within the library project package, not
 from
  the android project that links it.
 
  Any ideas?
  Have you tried using the package name of the main project, instead of
  the library?
 

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


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: adb devices is showing the device as offline.what is reason? How can i switch the device from online - offline viceversa?

2012-07-25 Thread Meena Rengarajan
Please , I am beginner to ANDROID . Can anyone send me Android Ebooks ... ?

On Wed, Jul 25, 2012 at 5:17 PM, Sreedhar Reddy V srib4uf...@gmail.comwrote:

 Thanks for the answer,

 actually i am trying to run commands from python script,

 more over if the issue is with adbd, then even though i keep shell open,
 restart adb server on pc, nothing is working,

 only solution is remove usb cable, uncheck and check usb debugging option
 on android device, connect usb cable again.(But i dont want to do it :-))

 question which is tickling my mind is why device is going to offline?


 On Tuesday, 24 July 2012 09:26:27 UTC+5:30, Diego Torres Milano wrote:

 You can leave a shell open (which perhaps prevents being disconnected) in
 a window and then run the monkey scripts on another window.

 On Wednesday, 18 July 2012 03:00:45 UTC-4, Sreedhar Reddy V wrote:

 Hi

 I connected My android ICS device to my windows PC using USB.

 I executed adb devices from my pc.

 The output
 --**--**
 ---
 List of devices attached
 id   device
 --**--**
 ---


 After a long time of say 12 hours, i ran the same command adb devices
 from my pc.

 The output
 --**--**
 ---
 List of devices attached
 id   offline
 --**--**
 ---

 I am not sure what went wrong. i did not even touch my pc, and my device.
 I made settings in my PC so that it will never sleep.
 I am running monkey scripts which wont make android device to lock as
 well.

 Many people said that ur device is offline because adbd deamon is not
 running on android device.
 But this is wrong, why because if adbd is not running then the device
 will not be listed at all.


 I came across adbd deamon process which will be running on my android
 device.
 For my device to get detected by adb(server on my pc)  adbd must be
 running.

 I went to adb shell
 I stopped adbd using the command stop adbd
 This stopped my adbd deamon on android device.because adbd is stopped mt
 adb(server on my pc will not detect my device)
 Now adbd is not running, I execute the adb devices command the output
 is, list of devices with empty list.
 The output
 --**--**
 ---
 List of devices attached
 --**--**
 ---

 because the device it self is not detected i cannot log in to adb shell
 again to start adbd  adbd deamon on my device.
 so I shutdown and rebooted my android device, this made my adbd deamon
 to run again.

 Now when i executed adb devices on my PC
 The output
 --**--**
 ---
 List of devices attached
 id   device
 --**--**
 ---


 By seeing this output it is very clear that adbd deamon is running on
 device, because if adbd is not running then the device will not be listed
 at all.

 Now the question is?
 what is the reason for the device to go to offline? (i am very sure that
 adbd deamon not running  is not at all a reason for this.)
 How can i switch the device from online - offline viceversa?

 I am very very thank full to any android expert who solve my confusion.

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

2012-07-25 Thread Meena Rengarajan
How do i wanna do pop up in animation can anyone suggest me ? please ..

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

2012-07-25 Thread Meena Rengarajan
My task is like pop up and alert button using animation in Android . I am
very new to Android . I do not how to do .. please can anyone help me
atleast suggest me a idea, i can do it !

On Wed, Jul 25, 2012 at 10:01 PM, TreKing treking...@gmail.com wrote:

 On Wed, Jul 25, 2012 at 11:28 AM, Meena Rengarajan meenasoft...@gmail.com
  wrote:

 How do i wanna do pop up in animation can anyone suggest me ? please ..


 First explain what pop up in animation means.


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices


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


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

[android-developers] Re: Animation

2012-07-25 Thread Meena Rengarajan
My task is like pop up and alert button using animation in Android . I am 
very new to Android . I do not how to do .. please can anyone help me 
atleast suggest me a idea, i can do it !


On Wednesday, 25 July 2012 21:58:52 UTC+5:30, Meena Rengarajan wrote:

 How do i wanna do pop up in animation can anyone suggest me ? please ..

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

2012-07-25 Thread Meena Rengarajan
Yeah , i will go through this . I am very much new to Android . Thanks for
your help !

On Wed, Jul 25, 2012 at 10:21 PM, Justin Anderson magouyaw...@gmail.comwrote:

 Ummm... you mean you want to use a dialog to display a message or
 something? My suggestion is this:  Read the dev guide, and go through some
 of the samples.

 http://developer.android.com/guide/components/index.html


 Thanks,
 Justin Anderson
 MagouyaWare Developer
 http://sites.google.com/site/magouyaware



 On Wed, Jul 25, 2012 at 10:40 AM, Meena Rengarajan meenasoft...@gmail.com
  wrote:

 My task is like pop up and alert button using animation in Android . I am
 very new to Android . I do not how to do .. please can anyone help me
 atleast suggest me a idea, i can do it !


 On Wednesday, 25 July 2012 21:58:52 UTC+5:30, Meena Rengarajan wrote:

 How do i wanna do pop up in animation can anyone suggest me ? please ..

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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] Re: URGENT : HELP NEEDED ! Loading Bitmap Image into Custom ListView using AsyncTask

2012-07-24 Thread Meena Rengarajan
Urgent please !!! Can anyone tell me how should i do Audio capture in
ANDROID ? What are the basics i should know it ? My operations must be lik
Recording , Playing , Stopping and Saving !

On Tue, Jul 24, 2012 at 4:20 PM, Jim Graham spooky1...@gmail.com wrote:

 On Mon, Jul 23, 2012 at 07:56:24PM -0700, gjs wrote:

  Also no need to say a post is URGENT, we assume all posts are urgent
 anyway.

 Actually, it's just the opposite  Posts marked urgent are generally
 assumed to be anything BUT urgent, as marking them that way tends to
 drastically reduce your chance of getting a useful response.

 Later,
--jim

 --
 THE SCORE:  ME:  2  CANCER:  0
 73 DE N5IAL (/4)MiSTie #49997   Running Mac OS X Lion 
 spooky1...@gmail.com ICBM/Hurricane: 30.44406N 86.59909W

Someone ever tries to kill you, you try to kill 'em right back!
--Mal (Firefly, 1x03, Our Mrs. Reynolds)

 Android Apps Listing at http://www.jstrack.org/barcodes.html

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


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: URGENT : HELP NEEDED ! Loading Bitmap Image into Custom ListView using AsyncTask

2012-07-24 Thread Meena Rengarajan
Yeah , i used do you have any basic codes for audio recorder and
audioplayer ?

On Tue, Jul 24, 2012 at 4:42 PM, bharadwaj bharath.sm...@gmail.com wrote:

 use Media player class or media recorder class to record the audio.

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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] Re: URGENT : HELP NEEDED ! Loading Bitmap Image into Custom ListView using AsyncTask

2012-07-24 Thread Meena Rengarajan
Yeah , kindly please send me ...

Thanks  Regards,
Meena

On Tue, Jul 24, 2012 at 5:13 PM, bharadwaj bharath.sm...@gmail.com wrote:



 On Tue, Jul 24, 2012 at 5:07 PM, Meena Rengarajan 
 meenasoft...@gmail.comwrote:

 Yeah , i used do you have any basic codes for audio recorder and
 audioplayer ?

 On Tue, Jul 24, 2012 at 4:42 PM, bharadwaj bharath.sm...@gmail.comwrote:

 use Media player class or media recorder class to record the audio.

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


 yeah  i have shall i send it to your mail id.


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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] Re: URGENT : HELP NEEDED ! Loading Bitmap Image into Custom ListView using AsyncTask

2012-07-24 Thread Meena Rengarajan
Do you have pdf for beginners for image, audio , video capture in Android ?
If you have kindly send me ...

On Tue, Jul 24, 2012 at 5:15 PM, Meena Rengarajan meenasoft...@gmail.comwrote:

 Yeah , kindly please send me ...

 Thanks  Regards,
 Meena


 On Tue, Jul 24, 2012 at 5:13 PM, bharadwaj bharath.sm...@gmail.comwrote:



 On Tue, Jul 24, 2012 at 5:07 PM, Meena Rengarajan meenasoft...@gmail.com
  wrote:

 Yeah , i used do you have any basic codes for audio recorder and
 audioplayer ?

 On Tue, Jul 24, 2012 at 4:42 PM, bharadwaj bharath.sm...@gmail.comwrote:

 use Media player class or media recorder class to record the audio.

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


 yeah  i have shall i send it to your mail id.


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

2012-07-24 Thread Meena Rengarajan
Hi all ,

 How do i wanna capture an Audio by doing recording ,
playing, saving and stopping . Please can anyone tell me ?

On Tue, Jul 24, 2012 at 5:02 PM, Justin Anderson magouyaw...@gmail.comwrote:

 Yep, that pretty much sums it up... :-)
 On Jul 24, 2012 12:02 AM, TreKing treking...@gmail.com wrote:

 On Mon, Jul 23, 2012 at 11:49 PM, Sadhna Upadhyay 
 sadhna.braah...@gmail.com wrote:

 Hi Justin,
what is this???


 I think he's asking What the f@ck are you talking about? What the fck
 is 'states of matters'?? That makes no f$cking sense.

 Or something like that.


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

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

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


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: URGENT : HELP NEEDED ! Loading Bitmap Image into Custom ListView using AsyncTask

2012-07-24 Thread Meena Rengarajan
Yeah , thankyou so much Bharadwaj !

On Tue, Jul 24, 2012 at 5:23 PM, bharadwaj bharath.sm...@gmail.com wrote:



 On Tue, Jul 24, 2012 at 5:16 PM, Meena Rengarajan 
 meenasoft...@gmail.comwrote:

 Do you have pdf for beginners for image, audio , video capture in Android
 ? If you have kindly send me ...


 On Tue, Jul 24, 2012 at 5:15 PM, Meena Rengarajan meenasoft...@gmail.com
  wrote:

 Yeah , kindly please send me ...

 Thanks  Regards,
 Meena


 On Tue, Jul 24, 2012 at 5:13 PM, bharadwaj bharath.sm...@gmail.comwrote:



 On Tue, Jul 24, 2012 at 5:07 PM, Meena Rengarajan 
 meenasoft...@gmail.com wrote:

 Yeah , i used do you have any basic codes for audio recorder and
 audioplayer ?

 On Tue, Jul 24, 2012 at 4:42 PM, bharadwaj bharath.sm...@gmail.comwrote:

 use Media player class or media recorder class to record the audio.

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


 yeah  i have shall i send it to your mail id.


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


 wait i will send you one pdf to your  mail id that will definitely help ur
 need...


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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] Problem getting id of a resource when using a Library project

2012-07-24 Thread Meena Rengarajan
How do i wanna capture an Audio in Android please help me .. I am beginner
can anyone help me ?

On Tue, Jul 24, 2012 at 5:26 PM, Francisco M. Marzoa Alonso 
fmmar...@gmail.com wrote:

 Hi Mark,

 I did not read your answer, that was the point, but using directly the
 main project package name creates a new problem. See my other answer for
 the solution I finally reach.

 Thank you very much,



 On 24/07/12 13:06, Mark Murphy wrote:
  On Tue, Jul 24, 2012 at 6:53 AM, Francisco M. Marzoa Alonso
  fmmar...@gmail.com wrote:
  I am facing problems getting the id of a resource by name when using a
  library project:
 
  int resId = context.getResources().getIdentifier(myresname,
  drawable, net.iberdroid.mygamecore);
 
  It seems like this always returns 0 when using the project as a library,
  but it were working flawlessly while it was an standalone project.
 
  net.iberdroid.mygamecore is where those resources resides, and in fact
  they are there.
 
  That code is even executed within the library project package, not from
  the android project that links it.
 
  Any ideas?
  Have you tried using the package name of the main project, instead of
  the library?
 

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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] Problem getting id of a resource when using a Library project

2012-07-24 Thread Meena Rengarajan
How do i wanna capture an Audio in Android please help me .. I am beginner
can anyone help me ? Programmatically i shoud do some operations like Play,
Stop, Record and Save ..


On Tue, Jul 24, 2012 at 5:36 PM, Meena Rengarajan meenasoft...@gmail.comwrote:

 How do i wanna capture an Audio in Android please help me .. I am beginner
 can anyone help me ?


 On Tue, Jul 24, 2012 at 5:26 PM, Francisco M. Marzoa Alonso 
 fmmar...@gmail.com wrote:

 Hi Mark,

 I did not read your answer, that was the point, but using directly the
 main project package name creates a new problem. See my other answer for
 the solution I finally reach.

 Thank you very much,



 On 24/07/12 13:06, Mark Murphy wrote:
  On Tue, Jul 24, 2012 at 6:53 AM, Francisco M. Marzoa Alonso
  fmmar...@gmail.com wrote:
  I am facing problems getting the id of a resource by name when using a
  library project:
 
  int resId = context.getResources().getIdentifier(myresname,
  drawable, net.iberdroid.mygamecore);
 
  It seems like this always returns 0 when using the project as a
 library,
  but it were working flawlessly while it was an standalone project.
 
  net.iberdroid.mygamecore is where those resources resides, and in fact
  they are there.
 
  That code is even executed within the library project package, not from
  the android project that links it.
 
  Any ideas?
  Have you tried using the package name of the main project, instead of
  the library?
 

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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] About one of my app idea | Please share your thoughts.

2012-07-24 Thread Meena Rengarajan
Hi all,
   How should i set the audio path in Android ? And how shoudl i
get the audio datas . Do i wanna use to convert that? Can anyone tell me
please ?

On Wed, Jul 25, 2012 at 11:00 AM, Subin Sebastian
subinsebast...@gmail.comwrote:

 Hi Devs,

 I'm here for some valuable suggestions from you people. I'm planning to
 develop a book store app for Android,
 something like iBooks for iPhone. But apart from normal text+image pages,
 I'm planning to include simple animations,
 audio background and touch events along with the content. This is to
 provide a better reading experience to the users.
 The base idea is to release books into this app as a paid in-app purchase.
 Books as I mentioned contains text, images
 animations, audio, and on touch events. I'm planning to use Urban Airship
 as the backend.

 In which direction I should go? Do you have some suggestions for me? Please
 share your thoughts on this.

 Thanks  Regards
 --
 Subin Sebastian
 www.nintriva.com
 http://subinsebastien.tumblr.com
 http://in.linkedin.com/in/subinsebastien
 http://plus.google.com/subinhttps://plus.google.com/118262481642737404812
 http://facebook.com/subinsebastien

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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] Are my Apps now in the USA Google Play? I have my doubts.

2012-07-24 Thread Meena Rengarajan
Anyone having Android Animation ebooks ? please help me and kindly send me
. How do i wanna do Animation in Android. Any ideas please .. Then how can
i do Tween Animation ?

On Wed, Jul 25, 2012 at 6:41 AM, Justin Anderson magouyaw...@gmail.comwrote:

 They aren't my apps...

 To the OP, I will install them as you requested... sorry I haven't done it
 yet.
 On Jul 24, 2012 6:01 PM, Spiral123 cumis...@gmail.com wrote:

 yes Justin...

 All three of your apps are visible in the US.  I wouldn't be surprised if
 they had been automatically downloaded so don't expect many support
 questions.


 On Monday, July 23, 2012 3:08:55 PM UTC-4, John Mollaghan wrote:


 Hi Justin,

 Thanks for your reply. I take your points about the appeal of the Irish
 apps, I wouldn't expect people in the USA to download these.

 However, the people in the UK would see the same number of temp
 converter apps as the people in the USA, yet 20 of them have installed it.
 I just find it strange that given the relative populations, the USA should
 have more installs than the UK.

 Could you install my Oven Temp app please and then I should see it show
 up in my stats. I am just wondering if people have installed it and google
 is not reporting it maybe?

 You don't even need to leave it on your phone for long, it would still
 show up as an install (just not an active one). Then at least I'll know
 that it is installable from the USA.

 Thanks a million,

 John

 On Monday, 23 July 2012 18:34:23 UTC+1, MagouyaWare wrote:

 I see the following apps:

1. Irish Postage Calculator
2. Oven Temperature Converter
3. Bandon Flood Early Warning

 Two of your three apps are specific to Ireland... I doubt many people
 in the US are going to install those.  As for the temp converter, there are
 a huge number of temp converters out there...
  Thanks,
 Justin Anderson
 MagouyaWare Developer
 http://sites.google.com/site/**magouyawarehttp://sites.google.com/site/magouyaware



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

  1   2   >