3582517161

3582517161



X

O*

i

—i

V

3

tJ

3

3*1

'-'I

Bj

s

3

s.

<** PDFApp [C:\Users\dell\AndroidStudioProjects\PDFApp] - ...\app\src\main\java\com\blogspot\atifsoftwares\pdfapp\MamActivity.java [app] - Android Studio File Edit View Navigate £ode Anały^e Refactor guild Ryn Tools VCS Window Help

y M O 4/ *

& 0 fl 0,

a. | o

\ n%app ^

►. + fc nt tn G ■ a Q | i 1 ?

Android Emulator - Nexus_5X_API_25:5554

PDFApp app src

main java

com

blogspot atifsoftwares pdfapp ę MainActivity

e A

'a D 6.02

j Android

- O *

1-

activity_main.xml

<J MainActivity.java app

v app

-1-


O. <g>


> manifest* v M java

^ EU com.blogspot.atifsoftwares.pdfapp c MainActivity

>    com.blogspot.atifsoftwares.pdfapp androidTe

>    com.blogspot.atifsoftwares.pdfapp test)

^    assets

7 pdfexample.pdf v    res

>    Cl drawable v B layout

o*: activity_main.xml

>    mipmap

>    Bi values (•) Gradle Scripts

(•) build.gradle Project: PDFApp)

(•) build.gradle Module: app) tf|| gradle.propcrties ,1 gradle-wrapper.properties ,1 local.properties

? proguard-rules.pro (ProGuard Rules for app)

(•> settings.gradle Project Settings)


11

12    *T

13
14
15
16
17
18
19
20 21 22
23
24
25
26
27
28
29
30
31
32
33
34
35

0Override

protected void onCreate(Bundle savedInstanceState)    {

stiper.onCreate (savedInstanceState) ; setContentView(R.layout.activity main) ;

//PDF Viev

PDFVie:w pdfView = findViewById (R. id.pcZ£View) ; pdfview. f romAsset ( assetName: "pdfexample.pdf")

.enableSwipe(true) // allows to błock cha . swipeHorizontal (true:)

.enableDoubletap(true)

.defaultPage(0)

.enableAnnotationRendering(false)    rond

.password(nuli)

.scrollHandle(nuli)

. enableAntialiasing (true) // iirprov-- rond // spacing bettfeen pages in dp. To define .spacing(0)

-pageFitPolicy (FitPolicy.TflDTB)

.load();

}

}

/*lets add pdf support llbarary

*    addlng layout

*    create assets folder and place a pdf In it MainActivity > onCreateO


Our Mobile Applications

On Playstore

Developer: ATIF PERVAIZ

O



^ GooglcPIay


Nr pi //pUy cwujl* ■ <i.VMi*^/łKii/<*v-’-t)-68685J76?i 11SJ15530 https //aUsoftMres.l>bgspot.cofr/ htrpi //ecynlwulrodbtogtf^t <etnf http; //u* youtubc



O

■i!)

4

<5

O

et

<1

o


(d Gradle V Flutter Outline    Flutter Inspector    O Device File Explorer


'■'Jl

OH Terminal Build ł 6: Logcat r7i Profiler 4: Run % TODO

4 Event Log

□ Gradle build finished in 4s 723ms (9 minutes ago)

24:32 CRLF: UTF-8: Contc-t: • no ccnte t • 1j @

fp /S <& ENG 6:02 PM £]


W i.



Wyszukiwarka

Podobne podstrony:
Kilka słów o wynalazkach Rozmowa z mgr Tomaszem Milczkiem, rzecznikiem patentowym PL■I Tj 1 i W
5 (507) VkV---r- "I—-TJ ł TfuŁo JwOviVę_ tOCUvMM,-<Ł^ ul    połonnjm ES
Zad rw z 3 niewiadomymi 4-4 r p i~""Tj _ •i !
10943880w740176897517681682311 n Moh.br - ol.ęl t/yyjiL    ^ y~    i~
skanowanie0042 (5) X uLicjrr>ur1 ,j jkwTvl i-OpiL^—i_TJ ... ._l -L i -—i [i jj...... i r [ --i rr
Elektro w05 I»> bCMetUfryJ, Bj AJidZiYco^j    5 "^ a) i/ue#u*e(L ^n&xcclz
EP I 050613 £&zĄmlij •^Jiuniili fei CZERWIEC XQQLI ■ i .1 ! J !- ! —i - ! j ■ i - 3 Tj (DpIS tó
f2/1CrJ3 BACK 70 m THE EUR i■ • i ■ Ł ■■ i Tj? Pi * OOM-
I 1 I § a s 5i a as! ? I h 1i 1 s “ i! f ? 1111 i 11! i! 11 i I! 11 r = !3S: : jj f i

więcej podobnych podstron