So use any HTML parser to read it, rather than an XML or JSON parser.

kris


On Mon, Nov 26, 2012 at 6:40 PM, Salih Gündüz <[email protected]>wrote:

> http://www.mevzuat.adalet.gov.tr/html/388.html
>
>
> On Tue, Nov 27, 2012 at 1:39 AM, Salih Gündüz <[email protected]>wrote:
>
>> thanks mario. but I can not reach any xml or database. It is a government
>> page. I can only read html.
>>
>>
>> On Tue, Nov 27, 2012 at 1:27 AM, Mário César Mancinelli de Araújo <
>> [email protected]> wrote:
>>
>>> Maybe you won't need any of this. But, first, questions:
>>> - The data you want is only in that HTML page? If so, how is it formated?
>>> - Or is it in a database? If this is the case, can't you access directly
>>> the db?
>>>
>>> Anyway, you can access it with xml, or directly the database. And it
>>> isn't so hard to do that with xml. There are a lot of examples over the
>>> internet about that.
>>>
>>> I, personaly, had never used xml until now (I'm creating a small app for
>>> the blog of a nonprofit organization I created). Still, I was able to find
>>> an example and change it to get the "featured image" of each post and so on.
>>>
>>> All you have to do is look the source code of the page (you can see it
>>> with your bronser) and try to find a pattern in it. ;-)
>>>
>>> Best regards.
>>> Em 26/11/2012 15:11, "Salih Gündüz" <[email protected]> escreveu:
>>>
>>> webview is a good solution thanks. But the web page is not good
>>>> formatted for mobile devices.It is a government page so I can not reach the
>>>> database but I and to develope my own user interface.
>>>>
>>>> On Mon, Nov 26, 2012 at 7:03 PM, Michael Banzon <[email protected]>wrote:
>>>>
>>>>> You must include a caching layer in your app.
>>>>>
>>>>> Everything you need to do this can be found in the SDK manual on
>>>>> WebViews: http://developer.android.com/guide/webapps/webview.html
>>>>>
>>>>>
>>>>> On Mon, Nov 26, 2012 at 5:31 PM, Salih Gündüz 
>>>>> <[email protected]>wrote:
>>>>>
>>>>>> İt can be used. but I want to store the data in phone so they can
>>>>>> read when they dont have internet.this is my problem :)
>>>>>>
>>>>>> 26 Kasım 2012 Pazartesi 18:28:11 UTC+2 tarihinde bob yazdı:
>>>>>>
>>>>>>> Sounds like you will want to use a WebView.
>>>>>>>
>>>>>>> On Monday, November 26, 2012 10:09:30 AM UTC-6, Salih Gündüz wrote:
>>>>>>>>
>>>>>>>> I want to develope an e book for android. My data is in internet
>>>>>>>> but not a json or a xml only html page.(http://www.mevzuat.**
>>>>>>>> adalet.gov.tr/html/388.html<http://www.mevzuat.adalet.gov.tr/html/388.html>).
>>>>>>>> the data changes often. so data must be update often and must be saved 
>>>>>>>> on
>>>>>>>> phone so people can read without internet.How can I parse data from 
>>>>>>>> html?
>>>>>>>> can I convert the page json?can you suggest me some ways or methods?
>>>>>>>
>>>>>>>  --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "Android Developers" group.
>>>>>> To post to this group, send email to
>>>>>> [email protected]
>>>>>> To unsubscribe from this group, send email to
>>>>>> [email protected]
>>>>>> For more options, visit this group at
>>>>>> http://groups.google.com/group/android-developers?hl=en
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Michael Banzon
>>>>> http://michaelbanzon.com/
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Android Developers" group.
>>>>> To post to this group, send email to
>>>>> [email protected]
>>>>> To unsubscribe from this group, send email to
>>>>> [email protected]
>>>>> 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
>>>> [email protected]
>>>> To unsubscribe from this group, send email to
>>>> [email protected]
>>>> 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 [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to