Click here to Skip to main content
15,896,912 members

Comments by tusharmathankar (Top 9 by date)

tusharmathankar 16-Mar-13 17:02pm View    
I want to do pagination on 100 data so plz tell me how i do this.
tusharmathankar 7-Nov-12 1:42am View    
Yes i have my internet connection on when i try and run this app but it doesn't work
tusharmathankar 6-Nov-12 14:42pm View    
Thanks for your links. So far so good however when i do this as instructed in the code, and when i run it on eclipse it does open up the browser starts loading the page and then eventually says "The Webpage is not available". Am i doing something funny or do i have to cater for some specific coding ?
tusharmathankar 6-Nov-12 14:15pm View    
Deleted
Well essentially i want the app to just open up a website in the browser.
I have coded a few times on the android app however it doesn't open the website ....
The code i have so far is as under

package com.mkyong.android;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class MainActivity extends Activity {

private Button button;

public void onCreate(Bundle savedInstanceState) {
final Context context = this;

super.onCreate(savedInstanceState);
setContentView(R.layout.main);

button = (Button) findViewById(R.id.buttonUrl);

button.setOnClickListener(new OnClickListener() {

@Override
public void onClick(View arg0) {

Intent intent = new Intent(context, WebViewActivity.class);
startActivity(intent);
}

});

}

}
tusharmathankar 15-Jul-12 9:39am View    
Hi There,

Just a quick question, will this work if all the controls including textboxes and radio buttons within a group and all on a single panel. I guess not.???
Thanks,
Tushar