Idea progress of "Generate apk from Pocket Code"

243 views
Skip to first unread message

uma0...@gmail.com

unread,
Mar 12, 2014, 1:09:28 PM3/12/14
to catr...@googlegroups.com
Hi,
I was Thinking of using “Utils.utilzip” for zipping all the user program files and save it in asset section of the project and pack the apk using pocket code base project as library.
Is my approach right towards the project.
I would like to work and develop this generate independent apk idea in GSOC 2014.
I would like to know that is this idea given any priority in GSOC 2014.


Umashankar Prasad
M.Tech.(CSE)
Shri Ramdeobaba College of Engineering & Technology
Mobile no : +91 8446275425
Sent from Windows Mail

Anton Rieder

unread,
Mar 12, 2014, 4:20:38 PM3/12/14
to catr...@googlegroups.com
Can you elaborate a bite more in detail what you plan on doing? Where would you zip the files and generate the APK? (The .zip files are available on the server already).

uma0...@gmail.com

unread,
Mar 13, 2014, 12:54:14 PM3/13/14
to catr...@googlegroups.com
when the user clicks the Generate APK button from the particular project menu. Then all the files in <sd>/Pocket code/<Project name> will be add to zip and zip file is created.
Then apk needs to be generated as the Shown in TicTacToe branch in Github.
For apk generation we need to modify ui.MainMenuActivity like in TicTacToe branch. Attaching the file for your easy review.
Then compiling that code with zip file in assets and generating classes.dex then all manifest and assets.then generating Independent apk of that project on phone itself.

In this Idea I was wondering how to generate apk from available class/java files on phone itself
Please help me to develop this idea

Umashankar Prasad
M.Tech.(CSE)
Shri Ramdeobaba College of Engineering & Technology
Mobile no : +91 8446275425
Sent from Windows Mail

--
You received this message because you are subscribed to the Google Groups "catrobat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to catrobat+u...@googlegroups.com.
To post to this group, send email to catr...@googlegroups.com.
Visit this group at http://groups.google.com/group/catrobat.
For more options, visit https://groups.google.com/d/optout.
MainMenuActivity.java

umashankar prasad

unread,
Mar 15, 2014, 6:10:02 AM3/15/14
to catr...@googlegroups.com

Please reply considering my idea

--
Regards

Umashankar Prasad
8446275425

umashankar prasad

unread,
Mar 16, 2014, 12:19:08 AM3/16/14
to catr...@googlegroups.com
Hi Mentors
Please reply and solve me problem for the idea to progress.
I want to apply via GSOC 2014, so deadline is nearby.
--

with regards
waiting for reply
UMASHANKAR PRASAD

Anton Rieder

unread,
Mar 16, 2014, 4:04:28 AM3/16/14
to catr...@googlegroups.com
On Thursday, March 13, 2014 5:54:14 PM UTC+1, Umashankar wrote:
when the user clicks the Generate APK button from the particular project menu. Then all the files in <sd>/Pocket code/<Project name> will be add to zip and zip file is created.
Then apk needs to be generated as the Shown in TicTacToe branch in Github.
For apk generation we need to modify ui.MainMenuActivity like in TicTacToe branch. Attaching the file for your easy review.
Then compiling that code with zip file in assets and generating classes.dex then all manifest and assets.then generating Independent apk of that project on phone itself.

In this Idea I was wondering how to generate apk from available class/java files on phone itself
Please help me to develop this idea

While it is apparently possible to generate apk files on the device [0], this is not the approach we're pursuing. For one, it's not trivial to generate it on the device but the main reason for me is that the user then has to re-distribute his apk himself. In our approach, we generate the apk on our webserver (as described in the idea description [1]), possibly signing and distributing it on the Google Play Store (according to prior agreement with the developer of the Catrobat program).



Cheers,
Anton

uma0...@gmail.com

unread,
Mar 16, 2014, 4:10:16 AM3/16/14
to catr...@googlegroups.com, ari...@gmail.com
Sorry for my misunderstanding.
So You want this functionality on the sever side. I got that .
 I am unable to locate the branch on github where the source code of web server(http://www.catrobat.org/) located.
Is it too late to discuss on this idea? If not then reply soon
I am Master student and looking to contribute to catrobat.

Anton Rieder

unread,
Mar 16, 2014, 2:21:09 PM3/16/14
to catr...@googlegroups.com, ari...@gmail.com
The current one which is being outphased https://github.com/catrobat/catroweb
The one being worked on currently https://github.com/Catrobat/Catroweb-Symfony

Please note, that we don't want to create a monolith on our server, so it'd be best if this project would be self contained and can be called as a service from our server.

uma0...@gmail.com

unread,
Mar 16, 2014, 2:27:21 PM3/16/14
to catr...@googlegroups.com, ari...@gmail.com
Can I know in Which Technology you want this implemented.(I assume java)
for GSOC proposal is it necessary that I had solved any catroid issue.
If yes then point out any student levels issue/bugs,that can be solved before deadline

Umashankar Prasad
M.Tech.(CSE)
Shri Ramdeobaba College of Engineering & Technology
Mobile no : +91 8446275425
Sent from Windows Mail

Anton Rieder

unread,
Mar 16, 2014, 2:46:30 PM3/16/14
to catr...@googlegroups.com, ari...@gmail.com
On Sunday, March 16, 2014 7:27:21 PM UTC+1, Umashankar wrote:
Can I know in Which Technology you want this implemented.(I assume java)

Anything, really. Python, Ruby, Java, Groovy, Haskell... anything you're comfortable with. We do prefer languages that many people know so it's easier for us to maintain in the future, but if you have very good reasons to use a different language, feel free to argument why.

(We have a lot of undergraduate students working on the project which are still beginning to learn programming and C/C++/Java/Python is taught in courses while others like Haskell are not)
 
for GSOC proposal is it necessary that I had solved any catroid issue.
If yes then point out any student levels issue/bugs,that can be solved before deadline

There are some ones which don't involve too much work, like https://github.com/Catrobat/Catroid/issues/912.
This will also give you the opportunity to write a test for it.

uma0...@gmail.com

unread,
Mar 16, 2014, 2:49:55 PM3/16/14
to catr...@googlegroups.com, ari...@gmail.com
thanks for the fast reply I will try to solve that 912 issue and get back to you

Umashankar Prasad
M.Tech.(CSE)
Shri Ramdeobaba College of Engineering & Technology
Mobile no : +91 8446275425
Sent from Windows Mail

uma0...@gmail.com

unread,
Mar 17, 2014, 3:07:49 AM3/17/14
to catr...@googlegroups.com, ari...@gmail.com

Umashankar Prasad
M.Tech.(CSE)
Shri Ramdeobaba College of Engineering & Technology
Mobile no : +91 8446275425
Sent from Windows Mail

Reply all
Reply to author
Forward
0 new messages