Re: PDF Reader in Android OS

by khanh_qhi鈩 » Fri, 20 May 2011 09:49:35 GMT


Sponsored Links
 I mean there are any PDF Viewer OpenSource?







-- 
Regards,
Khanh.

-- 



PDF Reader in Android OS

by khanh_qhi鈩 » Fri, 20 May 2011 09:49:36 GMT


 Hi all,
I'm new in Android Programming.
So, I'm stuck when I want to read a pdf files. Can anyone give me the best
application to read pdf files.
Thank a lots!

---
Regards,
Khanh.

-- 


Sponsored Links


Re: PDF Reader in Android OS

by Zsolt Vasvari » Fri, 20 May 2011 10:14:55 GMT


 Sure, here it is:

 http://goo.gl/z6au 





-- 



Re: Re: PDF Reader in Android OS

by TreKing » Fri, 20 May 2011 10:48:39 GMT


 



Dude, you're my hero.

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

-- 



Re: Re: PDF Reader in Android OS

by khanh_qhi鈩 » Fri, 20 May 2011 11:03:40 GMT


 What? You're joking, man?










-- 
Regards,
Khanh.

-- 



Re: Re: PDF Reader in Android OS

by khanh_qhi鈩 » Fri, 20 May 2011 11:13:00 GMT


 Hi all,
Anyone try with these PDF libs at:
 http://java-source.net/open-source/pdf-libraries for Android OS? 
Which is the best lib for Android?









-- 
Regards,
Khanh.

-- 



Re: Re: PDF Reader in Android OS

by lbendlin » Fri, 20 May 2011 19:52:23 GMT


 You have to be aware that the majority of web users in Asia do not know Google. 
They use Baidu,Yandex or local equivalents. Yes, shocking, I know. 

-- 



Other Threads

1. Free TTS

I am working in text to speech in android, as such there is no
mechanism and I want to port FreeTTS in Android. Is it possible or
not? Plz Help me.

Regards,
Waqar Zahoor
--~--~---------~--~----~------------~-------~--~----~

2. Problem in baseadapter...please help

Hi,

I tried to select an item from the list, but not getting somebody
please help. I struck here for a long time. Actually in this, i am
using Baseadapter. So How can i select. I tried with onItemClick, but
null pointer exception coming..


public class ListQuery extends ListActivity implements
OnItemClickListener {

    SQLiteDatabase myDatabase = null;
    int size = 20;
    String[] iStuffarea = new String[size];
    String[] iStuffage = new String[size];
    String[] iStuffsex = new String[size];
    String[] iStuffheight = new String[size];
    String[] iStuffweight = new String[size];
    String[] iStuffcity = new String[size];
    String[] iStuffcountry = new String[size];
    String[] uStuffarea = new String[size];
    String[] uStuffage = new String[size];
    String[] uStuffsex = new String[size];
    String[] uStuffheight = new String[size];
    String[] uStuffweight = new String[size];
    String[] uStuffcity = new String[size];
    String[] uStuffcountry = new String[size];
    int count = 0;
    ArrayList<String> results = new ArrayList<String>();

    @Override
    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);
        setListAdapter(new SpeechListAdapter(this));
        getListView().setOnItemClickListener(this);
    }

    private class SpeechListAdapter extends BaseAdapter {

        public SpeechListAdapter(Context context) {
            mContext = context;

            try {
                myDatabase = mContext.openDatabase("Mobeegal", null);
                String myCols[] = {"iStuffAge", "iStuffSex",
"iStuffHeight", "iStuffWeight", "iStuffArea", "iStuffCity",
"iStuffCountry"};
                Cursor c = myDatabase.query(false, "IStuff", myCols,
null, null, null, null, null);

                String myCols1[] = {"uStuffAgeRange", "uStuffSex",
"uStuffHeightRange", "uStuffWeightRange", "uStuffArea", "uStuffCity",
"uStuffCountry"};
                Cursor c1 = myDatabase.query(false, "UStuff", myCols1,
null, null, null, null, null);

                int uagecolumn = c1.getColumnIndex("uStuffAgeRange");
                int usexcolumn = c1.getColumnIndex("uStuffSex");
                int uheightcolumn =
c1.getColumnIndex("uStuffHeightRange");
                int uweightcolumn =
c1.getColumnIndex("uStuffWeightRange");
                int uareacolumn = c1.getColumnIndex("uStuffArea");
                int ucitycolumn = c1.getColumnIndex("uStuffCity");
                int ucountrycolumn =
c1.getColumnIndex("uStuffCountry");

                int ageColumn = c.getColumnIndex("iStuffAge");
                int sexColumn = c.getColumnIndex("iStuffSex");
                int heightColumn = c.getColumnIndex("iStuffHeight");
                int weightColumn = c.getColumnIndex("iStuffWeight");
                int areaColumn = c.getColumnIndex("iStuffArea");
                int cityColumn = c.getColumnIndex("iStuffCity");
                int countryColumn = c.getColumnIndex("iStuffCountry");
                if (c != null) {
                    count = 0;
                    if (c.first()) {
                        do {
                            String getiage = c.getString(ageColumn);
                            String getisex = c.getString(sexColumn);
                            String getiheight =
c.getString(heightColumn);
                            String getiweight =
c.getString(weightColumn);
                            String getiarea = c.getString(areaColumn);
                            String geticity = c.getString(cityColumn);
                            String geticountry =
c.getString(countryColumn);

                            iStuffarea[count] = getiarea;
                            iStuffage[count] = getiage;
                            iStuffsex[count] = getisex;
                            iStuffheight[count] = getiheight;
                            iStuffweight[count] = getiweight;
                            iStuffcountry[count] = geticountry;
                            iStuffcity[count] = geticity;
                            count++;
                        } while (c.next());
                    }
                }
                if (c1 != null) {
                    count = 0;
                    if (c1.first()) {
                        do {
                            String getuage = c1.getString(uagecolumn);
                            String getusex = c1.getString(usexcolumn);
                            String getuheight =
c1.getString(uheightcolumn);
                            String getuweight =
c1.getString(uweightcolumn);
                            String getuarea =
c1.getString(uareacolumn);
                            String getucity =
c1.getString(ucitycolumn);
                            String getucountry =
c1.getString(ucountrycolumn);

                            uStuffage[count] = getuage;
                            uStuffsex[count] = getusex;
                            uStuffheight[count] = getuheight;
                            uStuffweight[count] = getuweight;
                            uStuffarea[count] = getuarea;
                            uStuffcity[count] = getucity;
                            uStuffcountry[count] = getucountry;
                            //results.add("IStuff :" +
iStuffarea[count] + "UStuff :" + uStuffarea[count]);
                            count++;
                        } while (c1.next());
                    }
                }
            } catch (FileNotFoundException ex) {
            //
Logger.getLogger(ListClick.class.getName()).log(Level.SEVERE, null,
ex);
            }
        }

        public int getCount() {
            return iStuffarea.length;
        }

        public Object getItem(int position) {
            return position;
        }

        public long getItemId(int position) {
            return position;
        }

        public View getView(int position, View convertView, ViewGroup
parent) {
            SpeechView sv;
            if (convertView == null) {
                sv = new SpeechView(mContext, " Age = " +
iStuffage[position] + " Height = " + iStuffheight[position] + " Weight
= " + iStuffweight[position] + " Area = " + iStuffarea[position] + "
City = " + iStuffcity[position] + " Country = " +
iStuffcountry[position],
                        " Age Range = " + uStuffage[position] + "
Height Range = " + uStuffheight[position] + " Weight Range= " +
uStuffweight[position] + " Area = " + uStuffarea[position] + " City =
" + uStuffcity[position] + " Country = " + uStuffcountry[position]);
            } else {
                sv = (SpeechView) convertView;
                sv.setTitle(iStuffage[position]);
                sv.setDialogue(uStuffarea[position]);
            }
            return sv;
        }
        private Context mContext;

        public void onItemClick(AdapterView arg0, View arg1, int arg2,
long arg3) {
//          Toast.makeText(mContext, "asdasdsa",
Toast.LENGTH_LONG).show();
        }
    }

    private class SpeechView extends LinearLayout {

        public SpeechView(Context context, String title, String words)
{
            super(context);
            this.setOrientation(VERTICAL);
            mTitle = new TextView(context);
            mTitle.setText("Stuff1 : " + title);
            addView(mTitle, new LinearLayout.LayoutParams(
                    LayoutParams.FILL_PARENT,
LayoutParams.WRAP_CONTENT));

            mDialogue = new TextView(context);
            mDialogue.setText("Stuff2 : " + words);
            addView(mDialogue, new LinearLayout.LayoutParams(
                    LayoutParams.FILL_PARENT,
LayoutParams.WRAP_CONTENT));
        }

        public void setTitle(String title) {
            mTitle.setText(title);
        }

        public void setDialogue(String words) {
            mDialogue.setText(words);
        }
        private TextView mTitle;
        private TextView mDialogue;
    }

    public void onItemClick(AdapterView parent, View v, int position,
long id) {

        SpeechListAdapter obj = new SpeechListAdapter(this);
        String selectid = obj.getView(position,v,null).toString();
        Toast.makeText(ListQuery.this, selectid,
Toast.LENGTH_LONG).show();
    }

   }




--~--~---------~--~----~------------~-------~--~----~

3. Problem in baseadapter..please help

4. addRoundRect Bug?

5. Error in sending and receving sms

6. Couldn't open socket error from URLConnection getInputStream ??

7. "The State of Mobile Linux" Panel, at the Linux Foundation Collaboration Summit