Coder Social home page Coder Social logo

pycon-mobile-app's Introduction

PyCon India 2018 Application

Mobile App for PyConIndia

Requirements:

Kivy Installation:

Dependencies-

Install from pip

  • pip install -r requirements.txt

WIP

To test install kivy and run the following::

$ python eventsapp/main.py -m screen:droid2,portrait -m inspector
$ python3 eventsapp/main.py -m screen:droid2,portrait -m inspector

Help on screens

To change images in app

  • Paste/change the image in PyCon-Mobile-App/tools/theming
  • Change your directory to PyCon-Mobile-App
  • Run command make theming

This command will aggregate all the png images in your file to one atlas from which the images are loaded.

to make apk prefer linux

  1. Install buildozer: pip install buildozer
  2. Edit the buildozer.spec to specify if you have android ndk and sdk, if not they will be automatically be downloaded by the next step.
  3. Connect your mobile, enable usb debugging, Then goto PyConIndia folder and type make apk

Link to a existing vm that can be re-used will be added for convenience.

to make ipa for ios **

  1. Install XCode with latest updates & latest command line tools
  2. pip install buildozer
  3. goto the app folder and do buildozer init
  4. edit the buildoze.spec and add details for ios
  5. run buildozer ios debug

** Release Notes **

TBD

*** Enjoy ***

pycon-mobile-app's People

Contributors

1bitphoenix avatar abhishek1605 avatar akshayaurora avatar amanchouhan192 avatar ayush3298 avatar curiouslearner avatar darthgera123 avatar dependabot[bot] avatar dhuadaar avatar gaurav-b98 avatar hastagab avatar juggernaut451 avatar karx avatar kiok46 avatar manojpandey avatar omi10859 avatar prodyte avatar puranjay25 avatar pythongiant avatar rahulkumaran avatar santumahapatra avatar sjha2048 avatar stalwart201 avatar subtleskills avatar t1war1 avatar tm9k1 avatar warlord77 avatar xacrolyte avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pycon-mobile-app's Issues

Feature Set for PyCon Mobile App 2018

Feature Set for the app

  • List Conference schedule.
  • Separate schedule for each day.
  • Schedule item should load Session details
  • Ability to favorite a session.
    • Display the favorite session in a calendar view.`
    • Remind the user 10 minutes before the session.
  • User can submit the feedback of the session via app.

API: https://github.com/pythonindia/junction/blob/master/docs/api.md
2015 app: https://play.google.com/store/apps/details?id=com.pyconindia.pycon
2015 app code: https://github.com/pythonindia/PyConIndiaAndroid

links of sponsors

The links of the sponsors provided are for 2017, and are not completely visible. The size of the text box must be set to wrap content , to completely show the link and adjust the size accordingly.

Feature set doc

Prep and feature set doc that design and developer can use as specification for the app development.

Filtering events based on categories

Categories are those specified on the proposals like 'Security', 'Embedded', etc. I hope there's support for this in the API.

Filtering can be of two types:

  • Various subsections containing only the events of that category
  • A checklist of categories, and those selected are displayed in one list

Crashing App on Workshop and devsprint button!

App is crashing at various times which is documented here with the present python libraries and error produced.

(kivy_apps) [philomath@localhost PyCon-Mobile-App]$ pip -V
pip 10.0.1 from /home/philomath/virtualenvs/kivy_apps/lib/python2.7/site-packages/pip (python 2.7)

(kivy_apps) [philomath@localhost PyCon-Mobile-App]$ pip freeze
certifi==2018.4.16
chardet==3.0.4
Cython==0.28.3
docutils==0.14
idna==2.7
Kivy==1.10.0
Kivy-Garden==0.1.4
numpy==1.14.5
pygame==1.9.3
Pygments==2.2.0
requests==2.19.1
urllib3==1.23

Workshop and devsprint button on the home screen crashed the app with the following logs:

(kivy_apps) [philomath@localhost PyCon-Mobile-App]$ python eventsapp/main.py -m screen:droid2,portrait -m inspector
[INFO   ] [Logger      ] Record log in /home/philomath/.kivy/logs/kivy_18-07-03_12.txt
[INFO   ] [Screen      ] Apply screen settings for Motorola Droid 2
[INFO   ] [Screen      ] size=480x854 dpi=240 density=1.5 orientation=portrait
[INFO   ] [Factory     ] 194 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_pygame, img_gif (img_pil, img_ffpyplayer ignored)
[INFO   ] [Text        ] Provider: pygame
[INFO   ] [Kivy        ] v1.10.0
[INFO   ] [Python      ] v2.7.15 (default, May 16 2018, 17:50:09) 
[GCC 8.1.1 20180502 (Red Hat 8.1.1-1)]
[INFO   ] [Window      ] Provider: pygame(['window_egl_rpi'] ignored)
[WARNING] [WinPygame   ] Video: failed (multisamples=2)
[WARNING] [WinPygame   ] trying without antialiasing
[INFO   ] [GL          ] Using the "OpenGL" graphics system
[INFO   ] [GL          ] Backend used <gl>
[INFO   ] [GL          ] OpenGL version <3.0 Mesa 18.0.5>
[INFO   ] [GL          ] OpenGL vendor <X.Org>
[INFO   ] [GL          ] OpenGL renderer <AMD Radeon R7 Graphics (CARRIZO / DRM 3.25.0 / 4.17.2-200.fc28.x86_64, LLVM 6.0.0)>
[INFO   ] [GL          ] OpenGL parsed version: 3, 0
[INFO   ] [GL          ] Shading version <1.30>
[INFO   ] [GL          ] Texture max size <16384>
[INFO   ] [GL          ] Texture max units <32>
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
[INFO   ] [GL          ] NPOT texture support is available
[INFO   ] [OSC         ] using <multiprocessing> for socket
[INFO   ] [ProbeSysfs  ] device match: /dev/input/event4
[INFO   ] [MTD         ] Read event from </dev/input/event4>
[INFO   ] [Base        ] Start application main loop
[WARNING] [MTD         ] Unable to open device "/dev/input/event4". Please ensure you have the appropriate permissions.
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
[INFO   ] [Base        ] Leaving application in progress...
 Traceback (most recent call last):
   File "eventsapp/main.py", line 102, in <module>
     EventsApp().run()
   File "/home/philomath/virtualenvs/kivy_apps/lib/python2.7/site-packages/kivy/app.py", line 828, in run
     runTouchApp()
   File "/home/philomath/virtualenvs/kivy_apps/lib/python2.7/site-packages/kivy/base.py", line 504, in runTouchApp
     EventLoop.window.mainloop()
   File "/home/philomath/virtualenvs/kivy_apps/lib/python2.7/site-packages/kivy/core/window/window_pygame.py", line 403, in mainloop
     self._mainloop()
   File "/home/philomath/virtualenvs/kivy_apps/lib/python2.7/site-packages/kivy/core/window/window_pygame.py", line 289, in _mainloop
     EventLoop.idle()
   File "/home/philomath/virtualenvs/kivy_apps/lib/python2.7/site-packages/kivy/base.py", line 342, in idle
     self.dispatch_input()
   File "/home/philomath/virtualenvs/kivy_apps/lib/python2.7/site-packages/kivy/base.py", line 327, in dispatch_input
     post_dispatch_input(*pop(0))
   File "/home/philomath/virtualenvs/kivy_apps/lib/python2.7/site-packages/kivy/base.py", line 293, in post_dispatch_input
     wid.dispatch('on_touch_up', me)
   File "kivy/_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch
   File "/home/philomath/virtualenvs/kivy_apps/lib/python2.7/site-packages/kivy/uix/behaviors/button.py", line 179, in on_touch_up
     self.dispatch('on_release')
   File "kivy/_event.pyx", line 714, in kivy._event.EventDispatcher.dispatch
   File "kivy/_event.pyx", line 1225, in kivy._event.EventObservers.dispatch
   File "kivy/_event.pyx", line 1109, in kivy._event.EventObservers._dispatch
   File "/home/philomath/virtualenvs/kivy_apps/lib/python2.7/site-packages/kivy/lang/builder.py", line 64, in custom_callback
     exec(__kvlang__.co_value, idmap)
   File "<string>", line 34, in <module>
   File "/home/philomath/PyCon-Mobile-App/eventsapp/uix/screens/welcomescreen.py", line 58, in on_press_schedule
     app.load_screen('ScheduleScreen', manager=manager)
   File "eventsapp/main.py", line 89, in load_screen
     manager.current = screen
   File "kivy/weakproxy.pyx", line 33, in kivy.weakproxy.WeakProxy.__setattr__
   File "kivy/properties.pyx", line 478, in kivy.properties.Property.__set__
   File "kivy/properties.pyx", line 516, in kivy.properties.Property.set
   File "kivy/properties.pyx", line 571, in kivy.properties.Property.dispatch
   File "kivy/_event.pyx", line 1225, in kivy._event.EventObservers.dispatch
   File "kivy/_event.pyx", line 1131, in kivy._event.EventObservers._dispatch
   File "/home/philomath/virtualenvs/kivy_apps/lib/python2.7/site-packages/kivy/uix/screenmanager.py", line 1048, in on_current
     self.transition.start(self)
   File "/home/philomath/virtualenvs/kivy_apps/lib/python2.7/site-packages/kivy/uix/screenmanager.py", line 377, in start
     self.screen_in.dispatch('on_pre_enter')
   File "kivy/_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch
   File "/home/philomath/PyCon-Mobile-App/eventsapp/uix/screens/schedulescreen.py", line 98, in on_pre_enter
     self.add_dated_tabs(scheduledatedtab, day, halls, data)
   File "/home/philomath/PyCon-Mobile-App/eventsapp/uix/screens/schedulescreen.py", line 40, in add_dated_tabs
     hall = Factory.HallTabbedPanelItem(text=hall_name)
   File "/home/philomath/virtualenvs/kivy_apps/lib/python2.7/site-packages/kivy/uix/behaviors/togglebutton.py", line 84, in __init__
     super(ToggleButtonBehavior, self).__init__(**kwargs)
   File "/home/philomath/virtualenvs/kivy_apps/lib/python2.7/site-packages/kivy/uix/behaviors/button.py", line 121, in __init__
     super(ButtonBehavior, self).__init__(**kwargs)
   File "/home/philomath/virtualenvs/kivy_apps/lib/python2.7/site-packages/kivy/uix/label.py", line 277, in __init__
     super(Label, self).__init__(**kwargs)
   File "/home/philomath/virtualenvs/kivy_apps/lib/python2.7/site-packages/kivy/uix/widget.py", line 337, in __init__
     super(Widget, self).__init__(**kwargs)
   File "kivy/_event.pyx", line 273, in kivy._event.EventDispatcher.__init__
   File "kivy/properties.pyx", line 478, in kivy.properties.Property.__set__
   File "kivy/properties.pyx", line 513, in kivy.properties.Property.set
 ValueError: HallTabbedPanelItem.text accept only str



About Page data not consistent

The about page is not showing all the data in the json file neither is able to present all the labels properly. I would suggest a look into cards layout
it shows data only on going full screen on PC.
screenshot from 2018-06-23 14-47-57
to
screenshot from 2018-06-23 14-47-45

Last year features

Features

  • List Conference schedule in the tabbed view. Each tab displays respective day schedule.
  • Clicking on the schedule item or session display the details of the session. All links should be hyperlinked.
  • Ability to favorite a session.
  • Remind the user 10 minutes before the session.
  • User can submit the feedback of the session via app.
  • Display the favorite session in a calendar view.

API: https://github.com/pythonindia/junction/blob/master/docs/api.md
Last year app: https://play.google.com/store/apps/details?id=com.pyconindia.pycon
Last year app code: https://github.com/pythonindia/PyConIndiaAndroid

Add Contact Us Button

Add contact us section which includes contact details of PyCon Mentors in the menu so that attendees can resolve their doubts.

Image in menu must be a clickable link

The pycon image in the app can be made into a clickable link which opens the website, or the home page that can help in accessing the details about workshops and conferences.

Venue

Venue can be made in a way that the maps of the location are visible along with address.

Speaker Page

This is to update that I am picking up the task to work on speaker page.

PS: If there is no update from me within 15 days, feel free to pick it up. :)

Close Button missing in the menu

Even though the menu closes when clicking on the the transparent section of the page, there should be a close button on the menu to close the menu
screenshot from 2018-06-23 14-47-57

Text in OpenSpace section should be responsive

On opening the Open-Space Section, the text wraps up. All the text should appear in the opening window(No need to extend the screen) i.e. the size of the window should be appropriate.

Ticket section not updated

I can work on ticket section, providing links for buying / displaying tickets and displaying a dummy ticket in app.

Colour theme

I suggest that app theme should be (Red, Grey) + White.

Just like here: https://in.pycon.org/2016/

Red:  
    R: 217
    G: 52
    B: 47

Dark Grey:
    R: 61
    G: 61
    B: 61

Light Grey:
    R: 225
    G: 224
    B: 224

White:
    R: 250
    G: 250
    B: 250

Back button at Action Bar

There must be a back button at the top to go back to the main screen.
One cannot come back to the workshop and conference page once he clicks something in side bar.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.