0

1 - I need create two (sccrens) [fragments || view || ??] in one (Android). Botton sceen user can move up and down by drag and drop method on button.

"in screen 1 will be activity 1 and in scr. 2 will by activity 2. Together must communicating."

http://s8.postimg.org/4shq9vwpx/screen.jpg

2 - Second problem, how correctly show show ZBar (or ZXing) in Screen 1?

Thanks for help.

Mnio
  • 93
  • 1
  • 8
  • 1
    Can you please post your query clearly. hope no one understand your problem exactly. – Subramanian Ramsundaram Nov 13 '13 at 08:13
  • I need create activity as image. The are two fragments: (1) and (2). In fragment (1) I need create QR reader, use ZBar or ZXing. Fragment (2) can change size to up or down pulling button in the middle. – Mnio Nov 13 '13 at 08:22

2 Answers2

1

To implement drag and drop functionality you can read these tutorial including code examples.

definitely you will find what you are looking for. Thanks

Sandeep
  • 2,573
  • 3
  • 21
  • 28
  • Sorry I'm new in android... Drag and drop is ok. I do that. But how can I implement Zbar (QR reader) inside screen (1). Thaks! ;) – Mnio Nov 13 '13 at 08:53
  • check this link to read QR-http://android-sample-code.blogspot.in/2012/01/qr-code-reader-android.html – Sandeep Nov 13 '13 at 09:04
  • http://damianflannery.wordpress.com/2011/06/13/integrate-zxing-barcode-scanner-into-your-android-app-natively-using-eclipse/ – Sandeep Nov 13 '13 at 09:06
  • @Mnio you should also check the [Android stack](http://android.stackexchange.com/search?q=zxing)... – dmnc Nov 13 '13 at 09:38
0

Sorry I do not really get what you are looking for, please improve your question and make clear what you want. From the Picture I guess you are looking for something like that: LINK

It's called Sliding Drawer

Nevertheless, take your time and work through some tutorials, for example from HERE and get to know JAVA. I do recommend you to buy a Book in your mother tongue!

A.S.
  • 4,574
  • 3
  • 26
  • 43