[android-developers] webview in android

2013-01-07 Thread laxman k
how to clear previously loaded content of webview in android

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

[android-developers] video player

2013-01-05 Thread laxman k
how to play the video from url  with land scape and handling the buffer 
loading

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

2013-01-03 Thread laxman k
it is only kill the current activity

On Thu, Jan 3, 2013 at 1:27 PM, Sushant Das  wrote:

> *android.os.Process.killProcess(android.os.Process.myPid())*

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

2013-01-02 Thread laxman k
how terminate android application from  any activity and kill background 
process

i am use
finsh();
system.exit(0);
System.runFinalizersOnExit(true);
android.os.Process.killProcess(android.os.Process.myPid());

these are only close te  current Activity

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

2012-12-30 Thread laxman k
I want to create page curl animation effect as shown in image:on images and 
videos rendering from JSON or XML



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

2012-12-14 Thread laxman k
public boolean save(String strurl ,Context context)
{
pref= context.getSharedPreferences("MyPref",Context.MODE_PRIVATE);
editor = pref.edit();
editor.putBoolean("URL", strurl);
editor.commit();
return true;
}

<---saving value>

save(strurl,getApplicationContext());

<--geting values--->
url=getURL(getApplicationContext());


public String GetURL(Context context)
{
pref= context.getSharedPreferences("MyPref",Context.MODE_PRIVATE);
String url=pref.getString("URL", null);
return url;
}

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

2012-12-10 Thread laxman k
how to parse xml

On Mon, Dec 10, 2012 at 6:15 PM, androidmediadeveloper <
kamathaj...@gmail.com> wrote:

> Fetch using asynctask, Parse the XML and assign to ui elements
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, 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 dispaly XML format to normal UI in Run Time

2012-12-10 Thread laxman k
I got  XML format from server into One String.How to that XML String 
convert into Normal UI

url---> url returns xml format



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

2012-12-09 Thread laxman k
thank you kris

On Sat, Dec 8, 2012 at 8:35 PM, Kristopher Micinski
wrote:

> why should Context be non null?  You don't get a context for free.  You
> have to inherit from some object which has a context
>
> Kris
>
>
> On Sat, Dec 8, 2012 at 9:39 AM, laxman k  wrote:
>
>>
>> <https://lh6.googleusercontent.com/-WAHssBbqNq4/UMNRDm7U4kI/APg/3uShQ1iY0kY/s1600/Capture.JPG>
>>
>>  --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, 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] NullPointerException in SharedPreferences Android

2012-12-08 Thread laxman k




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

2012-12-08 Thread laxman k
if want full code.see in attachments



-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=enpackage laxman.example.androcloud;
import android.app.TabActivity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TabHost;

public class CloudHome extends TabActivity 
{
 
 @Override
 public void onCreate(Bundle savedInstanceState)
 {
  super.onCreate(savedInstanceState);
  final TabHost tabHost = getTabHost();
  tabHost.addTab(tabHost.newTabSpec("tab1")
  .setIndicator("",getResources().getDrawable(R.drawable.cloud1))
  .setContent(new Intent(this, FileUloadDialog.class)));
  tabHost.addTab(tabHost.newTabSpec("tab2")
  .setIndicator("",getResources().getDrawable(R.drawable.sharing))
  .setContent(new Intent(this, AndroCloud.class)));
  tabHost.addTab(tabHost.newTabSpec("tab2")
  .setIndicator("",getResources().getDrawable(R.drawable.activity))
  .setContent(new Intent(this, AndroCloud.class)));
  tabHost.addTab(tabHost.newTabSpec("tab2")
  .setIndicator("",getResources().getDrawable(R.drawable.search))
  .setContent(new Intent(this, AndroCloud.class)));
 }
 
}
package laxman.example.androcloud;

import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;

public class Session {
	
	Context context;
	
	public boolean start(String UserName)
	{
		SharedPreferences pref= context.getSharedPreferences("MyPref",Context.MODE_PRIVATE);
	SharedPreferences.Editor editor = pref.edit();
		editor.putBoolean("SessionState", true); 
		editor.putString("SessionName", UserName); 
		editor.commit();
		return true;
	}
	public String GetSessionName()
	{   SharedPreferences pref= context.getSharedPreferences("MyPref", Context.MODE_PRIVATE);
		String sessionN=pref.getString("SessionName", null);
		return sessionN;
	}
	public String GetSessionState()
	{   
		SharedPreferences pref= context.getSharedPreferences("MyPref", Context.MODE_PRIVATE);
		String SessionState=pref.getString("SessionState", null);
		
		return SessionState;
	}
	public boolean destroy()
	{
		SharedPreferences pref= context.getSharedPreferences("MyPref", Context.MODE_PRIVATE);
		Editor editor = pref.edit();
		editor.clear();
		editor.commit();
		return true;	
	}
	

}


[android-developers] android.database.CursorIndexOutOfBoundsException: Index -1 requested, with a size of 1

2012-12-07 Thread laxman k




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

2012-11-30 Thread laxman k
hi guys
   
my mind is hang on File explorer with icons from SD card 
please Help me.How to develop a File Explorer  with icons
 look like



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

2012-10-19 Thread laxman k
hi guys
  i am try to develope a bluetooth tranfer app  Please tell me the.how to 
display all files from sd card in list view

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Display all images from SD card and phone memory

2012-10-09 Thread laxman k
*how to display all images from SD card and Phone memory using  Grid View
API  2.2*
*
*
*
*
On Tue, Oct 9, 2012 at 2:16 AM, bob  wrote:

> android.widget.Gallery
>
> *This class is deprecated.*
> This widget is no longer supported. Other horizontally scrolling widgets
> include 
> HorizontalScrollView<http://developer.android.com/reference/android/widget/HorizontalScrollView.html>
>  and 
> ViewPager<http://developer.android.com/reference/android/support/v4/view/ViewPager.html>
>  from
> the support library.
>
> On Monday, October 8, 2012 2:28:13 PM UTC-5, laxman k wrote:
>>
>> *how to display all images from SD card and Phone memory using gallary
>> widget*
>>
>>
>> *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
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Display all images from SD card and phone memory

2012-10-08 Thread laxman k
*how to display all images from SD card and Phone memory using gallary 
widget*


*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

Re: [android-developers] conference call...in android

2012-08-29 Thread laxman k
How to use RIL commands in androidhow hold one call  when go to anther
call requestin conference call @programitically@

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

2012-08-29 Thread laxman k
 hi guys
  i want develop the conference call application
 i konow is possible with RIL about i dn't know how to use
 plz tell me any startup points for me..for doindg conference call 

thank u

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

2012-08-23 Thread laxman k
hi friends..
 i want connect the my  application to external l myql database..
 it is possible are notif  possible how it work plz explain 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

[android-developers] session mangement

2012-07-16 Thread laxman k
how to mange session..plz tell m.

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

2012-07-16 Thread laxman k
ya  i try level my best. unkonown error come

>
see attachedment and reply me with solution

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

2012-07-15 Thread laxman k
hi.guys
 
 i am create some login page.i want when login successful .session was 
 create.please tell me.how to mange session means.set,destroy,checking

 thank u

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

2012-02-25 Thread laxman k
hi...android guys

   i am laxman.I am bulid acadamic project in
android...that requires the comunications b/w two android
applications.that means tranfer simple strings two one android app to
anther android app.

 can u help me ..How to approach this
concept.??

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