 So, you can ask the questions for all sessions, since morning whatever we have conducted. So, also questions can be answered for all sessions. So, we expect your feedback, your questions. Yeah, Ramath Centre 1205 Mahatma Gandhi Mission College of Engineering and Technology, Noida UP. Yes, sir. How can we decompile? How to dot apk file to reach its source? Reverse engineering is something like that. Okay, first I mean this is the something reverse engineering you are talking about. First try to learn how to create apk file from Java code. I mean that is something most important right now. To decompile the dot apk and all there are some tools available it is pretty difficult. But first emphasis is on from Java byte code please try to create a apk, try to install on Akash tablet please follow the straight forward procedure rather than the reverse engineering. Remote Centre 1207 Javahalra Institute of Technology, Borvan MP Madhya Pradesh. Yes please go ahead. We are Windows users. So, the process of installation in Windows, Microsoft Windows XP and. Okay. What is the, I want to know the process of installation in that case. You can just download from the Android developer site that ADT bundle that is 32 bit or 60 bit whatever your system. Okay, just download that ADT bundle and extract that folder into anywhere into your drive after that you will get two eclipses, sorry two folders inside that folder. So first is eclipses and another is SDK and third file you will get that is and SDKManager.exe just run that SDKManager it will start automatically installing the all versions of your SDK. And after the same you can create AVD and run, create new application same way you can do that. Inside the window like inside the Windows ADT bundle you will get one more file that is SDKManager.exe. Hello. Sir if I have a 2.3.6 gingerbread version then can I can I expand it to 4.0 version for my mobile? Upgradation on mobile. Sir that depends that is you are talking about the upgradation of OS on your mobile right. If I am not wrong you want to go from gingerbread to some updated version. So I mean that is something depends on your device. I mean it is possible definitely upgradation of any OS is possible. I mean from Windows XP you go to Windows 7 so similarly similar concept it is possible. Ma'am great pleasure to talk with you. This is Ritesh. Same here. And my question is why other apps are not compatible with the Android? What do you mean by other apps? Can you define it it is very generic term. It means Apple apps and Nokia apps are not compatible with the Android. What is the reason behind it? Sir Nokia apps are not developed on Android. You have special answer now. Good afternoon. I am Prasap Parthak here. I actually came for a short while to introduce a great friend of ours and a top IT expert. But I was very curious to listen to your questions. So let me give you an answer. There is nothing like an application is not compatible with this operating system or that operating system. Any application is primarily written in some programming language. It could be in Java. It could be in C. It could be in C++. It could even be in assembly program. Typically when you develop an application you port it on a particular operating system and from that point the application works on that operating system. Now if the developer of that application has written it and ported it on one operating system and only released the binary version of that application obviously that application cannot run on any other operating system. But if the developer has released the entire source code of that application then there are multiple ways of porting that application elsewhere. For example you can simply compile it and combine it with the libraries for the new operating system and release it. In the worst case an application in C can be rewritten in Java and can be made available on Akash. So the question is not very correct. You cannot say whether this application is compatible or not. Application is an independent thing. It has been released on a particular operating system. For example if you take the Apple computer. Apple runs a different operating system. It is not the same as Android. It is not the same as Linux. It is not the same as Microsoft Windows. It is a different operating system. And when you have an application whose only version available is a binary executable then obviously it will work only on the specified operating system. It will never as it is it will never work automatically elsewhere. So what we should be really talking about is whether we can port one application or whether we can install an application in a different operating system. As I said the answer is generally not you will have to at least recompile, reconfigure and in the worst case you will have to rewrite. I hope this answer is adequate. Before going to any new remote center you can just go to we are going over to Mandi the Bhopal. But before you ask the question I can see this young lady very enthusiastic. But can you just hold on for a minute if you do not mind. Yes sir. Yeah thank you. I am indeed very privileged and happy to introduce our friend Ashank Desai. Ashank can you please come over here. So Ashank Desai is a distinguished alumnus of IIT Bombay. He is my contemporary from the institute just few years difference I think. He founded Maastec. Some of you might have heard of Maastec as an IT company. He and Mr. Sudhakar Ram actually initiated that many years ago. It is an extremely successful IT company. More important than that he has been working in the leadership position in the IIT Alumni Association and in the Pan IIT Alumni Association. Still more important than that his heart is completely devoted to education and today he had come to discuss with me the possibility of training teachers and students in primary schools and high schools in Indian languages so that the students from smaller places, rural places can benefit from the computer education. We have almost finalized a plan. In fact just before we went over to Bhopal I think we were interacting with the remote center in Borma right. Borma as you would know is a relatively smaller town in Madhya Pradesh and one of the high schools which we have already selected for a pilot experiment with the high school students, nine standard students is in Kharkon district, Vikangam. I think the Akash project center at Borma is going to look after that school. Why I mention all of this is that all of you students when you participate in the application building contest which I announced in the morning, please ensure that not all of you were only on engineering educational applications and engineering educational contents but some of you at least should be fired to develop useful applications in Indian languages for use in our schools. Ashant, would you like to mention something to them? Thanks, Professor Fatuk. He has been great friend and I almost missed being his student looks like. He was three, four years ahead of me but he has always been a great supporter and kind of work that he is doing is phenomenal. As you know he has got Padmasri which was late I think given the work that he is doing so whenever something has to be done for large masses I always come and trouble him. So today I was talking to him about the primary student teachers but coming to you wearing my hat of Maastec and NASCOM which is an association we need large number of IT graduates from all over the country and our issue today is we are not finding as many as we want in terms of the kind of quality that we need. So really Professor Fatuk and all of you whatever you are doing is really great job because today only people in Mumbai and Bangalore and Delhi and you know and IITs and so on are not enough. We need large number of students so what is the best way you can do is what you are doing. So I must thank you wearing my IT industry hat so that is one. Second is see today we are having IT industry in five cities you know Hyderabad, Bangalore, NCR in Delhi, Mumbai and Bangalore and Pune that is 90% of industry. We cannot grow five times which is what we want to do over next 15 years by on this five centers we have to go to all the smaller towns in the country but we cannot go unless we have talent all over. So I am really happy that you are training people at remote places Professor Fatuk and all of you. So that you know you are doing a great job for IT industry and I must talk more about it. Yes. It is good that I came today. Thank you. Thank you Ashaan. So since we are talking to an institute in Bhopal. Yeah. May I take it that Maastek would soon be starting a branch in Bhopal so that a large number of Bhopal students can actually join you as good programmers. We will look at that. And what we need to ensure is that our students who pass out become first-rate programmers, first-rate problem solvers and that is what you have to invite not just understanding how to develop applications but write very good code, write very good documentation have a great clarity on what you are doing and that is what we are trying to attempt to get this. I am sorry for intervening between the important interaction this young lady has been desperate to ask her question so I would suggest please go ahead and do that. Sir, when we create an Android application project and then we run it successfully then where we could find the APK files in our in our package explorer project folder. So in your Android project structure basically inside your workspace whenever you will create a new application project your new folder will get created. Workspace is nothing like a working directory for you if you have you know seen the if you have done any time C programming what do you do you keep all your programs in one directory that is what work workspace does it for you it is just that along with your code there are lots of other things around the Android which gets saved in your working directory that is in workspace. So inside your workspace you will have your application project inside that you will have bin folder and inside bin folder you will get that dot apk once you compile your application and run it on a emulator after that only you will see dot apk file inside your bin folder of your application project under your workspace. I hope that answers your question any more questions please yes definitely go ahead. Ma'am you say you said that a sphere like database is used in Android for structure database then for unstructured database which one is used? In the session one unstructured database such as dog files and pdf files which type of database is used instead of sqlite? See basically I mean unstructured database so if I get your point you want to read out a dog or dot pdf file so that you can directly store. Yeah tomorrow anyway we have a dedicated session on sqlite so there you will come to understand this point. Okay thank you ma'am. My question is that why is Google changing Android? Why Google change to Android? I mean they came up with Android for smart for basically touch screen devices I mean this is the need for an hour I mean anywhere you go you always see a touch screen device that's why they had to come up with Android I mean I don't find any other reason why Google came with Android Okay ma'am. And my next question is that what is involved in releasing the source code for a new Android version? Can you please come again? What is involved in releasing the source code for a new Android version? Ma'am I think he is asking that what is the change in the announced version of Android in the point of from seeing the previous version what is the difference in previous and announced version of the Android? So see I mean what do you understand for example if you develop one software there will be always revisions of it there will be always some loop holes in your software which you will try to overcome in your next version same concept Android has came first in market there were lots of loop holes it was slow UI was not that good so they come up they started coming up with a newer and newer version I mean that's the logic Thank you Center 1107 Purnima Group of Institution Jaipur First of all thanks for conducting this workshop ma'am I am Deepak from Purnima College of Engineering Ma'am my question is that what is your Android ID is it compatible with any other language other than Java? Yes, Eclipse ID can be used for multiple languages even you can code in CC++ even Java obviously Android even Python there are lots of plugins available using which you can do it I mean this ID is compatible for lots of languages Yes Okay one more question ma'am Ma'am the installation of Eclipse ID does it make any difference to the version of JD? 1.5 means the version of JD is 1.5 or 6 or 7 will it make any difference to it? We need JD's 1.6 and above or above yeah 1.6 plus basically But if someone else is 1.5 or 7 then It won't be supported yes we need 1.6 Remote Center 1010 SVNIT Surat Actually I want to do the rotate operation on an image so I am picking it up from the gallery and using an intent to store it in the image view and I am using the next activity to take the input from the user by how much degrees I want to rotate it but ultimately when I am going back to the previous intent in the previous activity I am losing the image which was means I was fetching from the gallery so do in that case means how can I retain it Basically are you if I am not mistaken you are trying about trying to do achieve an animation I mean the image rotation can be can be done by using view animation and there are lot of animation attributes which can be used I didn't get your problem exactly you said that from first activity you are going to next there you are asking user to choose a file and then something coming back and something is happening can you just reframe or just come again I just want to ask in one activity I am taking the intent in which I have stored the image and in the next activity I am taking user input like 20 degrees or 30 degrees when I am returning back to the original activity I am losing the intent image so how to retain that image yeah definitely if image is not getting stored then there is some issue with your coding I mean you are not retaining it if you are coming back then and if there is issue with the rotation then that comes in the animation segment which we will have it on a third day afternoon session if you are not able to rotate it if you want to know about the animation so please attend the third day afternoon session for it there was an example which was shown by you regarding the activities there were two activities first we entered certain thing like some name in the first activity we moved to the second activity in the second activity we again had a back button by which we were moving to previous intent again right now when we are moving to the previous intent the data which was actually entered is lost so our question is how can we retain the data which is there in the first intent or first activity move to another activity and come back to the same activity with the same data so see basically if you have understood activity is a class activity has lots of method lots of attributes to do things which you are talking about for example if I am in a current activity I want to go to next I want to pass some parameters there are methods available to do that if you are coming back and if you expect another activity to give you back the result there is a method called as start activity for result so what it does is it gives you the result back so for example suppose it is a camera application I am opening a camera it is giving me an image back so it gives a raw data which you can typecast to the corresponding data you expect from the activity so there is a method called as start activity for result so instead of just start activity you can use start activity for result if you expect some result to be back from the other activity I hope that answers your question no ma'am I am sorry just one last time what I mean to say is there is some image as the there is some image which was shown on the screen on that activity screen I move to another screen I come back to the same screen the image is gone so that is my question whatever data was entered it is not retained it is okay I can get back the parameters or get back the results but the same screen is not retained see I mean this is seems to be a programming issue I mean there is no at such a logic in this I mean it is pretty simple you can store it in variable and also do it or there are several other methods as I told you that activity class has lots of other methods so you can pass the data between different activities so there are again lots of methods what you can do is you can just post your programming code on our Moodle link so that we can have a look and just get you back on this thank you remote center 1-6-9 IERCEM institute of information technology bhanipur west Bengal yes sir yes ma'am . apk file format is only important for security purpose or more basically that is a format using which you can install your application on android device there is no other format using which you can install your application on android device I mean that is the significance of . apk ma'am its provide full secure for hackers ma'am if full secure from hackers when I will create an ID and password can it be possible to break from the hackers definitely I mean see now that depends on philosophy android is a complete open source code is available everything is available so if you see some phones are rooted what do they do is I mean they give a super admin access to you and you can do lot of things in it you can hack it you can introduce lot of things so that depends on philosophy yes it is possible but whether the your that depends again whether your device is rooted or not thank you any other questions sir yes ma'am my question is we know from Hayley beginning that the Java is very secure then how is it possible to convert a Java byte code which is created by the Java compiler is converted to the Dalvik byte code by the text compiler so I mean that is see that what DX compiler does it optimizes the Java byte code which has already compiled by the Java compiler what is I mean how it is doing it is the inside of the DX compiler itself it just optimizes the Java byte code at certain layers so that the Dalvik byte codes becomes a very small so that you know it would be executable it will be executing at very fast speed that means when the DVM is on based on Java platform basically there is at such no dependency that it is based on a Java platform River center 1244 Archana college of engineering Palamel Kerala yes sir ma'am I have doubt that in Windows based system the security problem is huge and while we are considering Linux based and Java system the security problem is much lesser so I would like to know how much the tracks and worms are affected in Akash tablet and by any application like antivirus is it possible to reduce that or what up to what extent we can use any such type of applications so basically I mean you have answered in your question itself because Linux has a powerful security system and I don't think so anyway anytime heard about that Linux has been you know the virus has been introduced in a Linux so that's what is applicable for Android because it is based on the Linux kernel so it is purely I mean it's completely secure there is no at such antivirus issue with a tablet also 1075 D. Y. Patel college of engineering and technology Kolhapur yes sir go ahead good evening ma'am hello good evening ma'am my question is what is scope of compatibility for new android version with any other device scope of compatibility of see that depends I have already told you that depends on which version your you know device is supporting I mean let it be now right now it's 4.2 jelly bin maybe there will be some new version but you know if your device it is all dependent on what your device is supporting so it's a hardware thing I mean suppose I am developing a new application in for the android then whether it is compatible for the new android version or not so that depends on which version your application is compiling in right I have already given you example in the morning that suppose I have application compile in 4.0 ICS ice cream sandwich and if I am trying to run it on a device which has a jelly bin 4.1 yes it will work because there is a forward compatibility right so it is yes it will work that depends definitely with what API level what version your application is compiling in and what your device is supporting these are the two main factors thank you sir any other question during the launching of AVD we came across one error the error said panic could not open the AVD name whichever name we gave while launching it so can you please explain what this error meant okay so for that you have to just check that you have a targeted version and your compile version suppose if you are using like any version you have not installed properly because of that and you are selecting that particular version because you will get this kind of launching error so basically if you have not installed a corresponding API or corresponding version and you are targeting your AVD to that that version then it won't work we haven't come across exactly this error but this issue seems to be similar to the what we have explained thank you and we will stop the session now