5,031 Posted Topics
Re: [QUOTE=Narue;1692488]The interface is better than Facebook (not a difficult feat), but my prediction is that Google+ will fail miserably since Facebook has already hit critical mass and will be extremely hard to compete with.[/QUOTE] Java developer hut on - nothing I can use it for Photographer hut on - love … | |
Re: The issues lie in this section [code=Java] if (rs.next()) { Actor actor = new Actor (rs); actor.setActor_id(rs.getInt("actor_id")); actor.setLastname(rs.getString("lastname")); actor.setFirstname(rs.getString("firstname")); req.setAttribute("actor", actor); RequestDispatcher view = req.getRequestDispatcher("actor.jsp"); view.forward(req, res); }[/code] You are reading only once because of "if" statement. These need to be replaced with something that is able to run it … | |
Re: 1. Install Java 2. Add Java to your PATH (https://docs.oracle.com/javase/tutorial/essential/environment/paths.html) 3. Install AndroidStudio 4. Run AndroidStudio- Update Android SDK (you will need at least API 14 and api 22, latest build tools, from extras install Android Support Repository, Android Support Library, Google Play Services, Google Repository, Intel HAXM) Optional if … | |
Re: Hard to say without seeing more of the code. Often the problem is how you inflate components or how you are discharging views once not need it. I would have to see more of the code, sorry | |
Re: That tutorial is all you need, however if you so eager to see an example get book Java-How to Program by Deitel, find chapter 25. Happy reading... | |
Re: Well the other options can be [startActivityForResult()](http://developer.android.com/reference/android/app/Activity.html#startActivityForResult(android.content.Intent, int)) which would be my preffered choice given that you have some field and you want user to change value/s and then you will lsiten for result [onActivityResult()](http://developer.android.com/reference/android/app/Activity.html#onActivityResult(int, int, android.content.Intent)) | |
Re: Above description wouldn't help in solving your issue. If your build is dependent on JRE System Library above/below JUnit.jar it is plainly obvious you are dependent on IDE and your project will not build sucessfuly from command line, therefore cannot be run from CI. I do strongly suggest to check … | |
Re: PS: "*I am using nebeans ide.*" You do not need to tell us what IDE you are using, it is code that matters... | |
Re: Deprecated doesn't mena you cannot use it. Just learn how to do it later you can swap it for custom library like Retrofit, OkHttp or Volley | |
Re: Your question is very generic, therefore there are two outcomes: 1. If you do not know Android then better lear it first 2. You know Android, be more specific where you have problem (UI, data sets, handling response etc) | |
Re: @Slavi Eclipse usage is discouraged as Android Studio is these days prefered and reccomended tool even by Google. Eclipse Gradle implementation lags behind AS and it will be evntually dropped https://developer.android.com/sdk/index.html As for your question @serenagrace this is what you need 1. Knowledge of Java and basics of XML 2. … | |
Re: The question is too braod. You cannot expect people to fill you on 1. Android development 2. Design 3. UX 4. Business logic of the app X. item on the list to do or learn Try to be more specific | |
Re: Well you have to work out some logic that will find out in which location proximity you are in. Once you identify location it should not be hard either have `Map<Location, StringResources>` where StringResource is only id to the strings `new StringResources(R.string.resource_1, R.string_resource_2)`. However this is only short term solution, … | |
Re: Closing down this thread as it is getting wrong attention. If you want forum build from ASP.NET then use Google to search for it | |
Re: Sorry your question is rather confusing 1. Quickaction bar to parse contact address??? Explain please. There is no such thing as quick action bar. Perhaps you ment search in action bar??? 2. You have forward data from fragment to activity which will then pass it down to other fragment through … | |
Re: You can share it through Google Drive, you just need to expose the folder as web content https://support.google.com/drive/answer/2881970?hl=en but as rubberman said data consumption is to keep in mind. You should consider implementing some warning message if user not on wifi or user will show no love to your app | |
Re: 8GB is reasonable start, but with 2GB is just no go. And eclipse will not solve your problem, and IDE abandoned by Google more then 2 years back | |
Re: JSP is very bad choise for setting connection to database you better do it in servlet/front controler then in JSP just say [CODE] <textarea rows="10" cols="30"> <%=stringToDisplay%></textarea> [/CODE] | |
Re: You need to to provide better problem description not just bunch of keywords. Secondly I do suggest you to read [forum rules](https://www.daniweb.com/community/rules) to be clear on posting rules | |
Re: Use [jackson-dataformat-csv](https://github.com/FasterXML/jackson-dataformat-csv), it is ratther simple to map CSV and generate JSON, than send it in response to user | |
Re: I would suggest to debug, because two parameters before this one are fine. It does look like you are actually pushing NULL instead of some value for `book_ref` | |
Re: Take my advise and use [ActiveAndroid](https://github.com/pardom/ActiveAndroid) library or it new brother [Ollie](https://github.com/pardom/Ollie) Simple object to object transactions, no need to SQLite boilerplate. | |
Re: Possibilities 1. You are querying database on localhost, installed on your own machine. Check some tutorials how to set it properly 2. You did not provide network permissions for the app 3. Check the logs for possible error messages | |
Re: Please explain more in detail what you are trying to do as above is not exactly clear... | |
Re: Are you sure to posted whole code? `Transport` (According to Java 6 API, as this class does not exists in API 7 or 8) have to be first initialized from [constructor](http://docs.oracle.com/javaee/6/api/javax/mail/Transport.html#Transport(javax.mail.Session, javax.mail.URLName)) and only after that you can call `send(message)`. I'm surprised you are no getting exception on compile. You … | |
Re: @James he did actually felt in the need to share it with other websites too http://www.geeksforgeeks.org/multiply-two-numbers-without-using-multiply-division-bitwise-operators-and-no-loops/#comment-2063336220 @Abhishek_22 > "Once you start down the dark path, forever will it dominate your destiny." > -- Yoda | |
Re: How is this question relevant to mobile development? | |
Re: You will need to provide more details. Traditional approach would be that first JSP has some table where you edit fields and submit and then second JSP with fetch updates and show it as read only (no editing available) | |
Re: There is no official API yet as this is still under development. However according to VLC forum you just need to do this Intent intent = new Intent(Intent.ACTION_VIEW); intent.setPackage("org.videolan.vlc.betav7neon"); // Use org.videolan.vlc for nightly builds intent.setDataAndType(Uri.parse("http://example.com/media/test.mp4"), "application/mp4"); startActivity(intent); My suggestion would be to check first for vlc in PackageManager to … | |
Re: To understand your question better: A. Are you asking about how to process JSON in Java? or B. Are you asking how to set button image URL from parsed/processed JSON? | |
Re: As per Android [documentation](http://developer.android.com/guide/topics/data/data-storage.html#filesExternal) you should use `getExternalStoragePublicDirectory` which will get you access to top-level public directory of specific type. Bellow snippet is getting access to pictore directory public File getAlbumStorageDir(String albumName) { // Get the directory for the user's public pictures directory. File file = new File(Environment.getExternalStoragePublicDirectory( Environment.DIRECTORY_PICTURES), albumName); … | |
Re: [QUOTE=kaushik259106;576632]any example would be helpful! Pls[/QUOTE] Does the getRequestURL() need any example? [quote]Reconstructs the URL the client used to make the request.[/quote] | |
Re: @coervivekmca 1. Read previous reply "Thanks for reply but i already figured out the answer " 2. Your code is recipe for disaster | |
Re: @nikita.chandra what on Earth you trying to do copying whole Daniweb page content and reposting it? | |
Re: Maybe better idea to join some mobile game development forum instead of generic coding forum. I'm Android dev, but I will not able to correctly answer your question as I do not have knowledge of the topic | |
Re: Do not make mistake of connecting mobile app to MYSQL direct. Setup rest service that will take request from app, it will query database and respond back to app with requested data. The most commont patern will consist from JSON or XML | |
Re: Register for [Genymotion](https://www.genymotion.com/#!/) (It's free), far better then current Android SDK provided emulator | |
Re: Hard to judge what would be the targeted areas for improvements. Do you have any open source project we can have look? Otherwise I would ask how confident you are with collectable, what sort of components/librarues you are using for networking, json parsing, image handling. Did you do any code … | |
Re: Add button 1. Setup new layout just with button 2. When adding button inflate this new layout to reduce all that mess with `LinearLayout.LayoutParams` 3. Then add button to parent (LinearLayout) Buttons disapeared on fragment return - you need to apply some persistance to record your change, which should happen … | |
Re: another think to keep in mind, if you take that script from somebody site it may not work properly/ at all because it need some data | |
Re: That only creates WritableWorkbook, an object to which you have to write some data and then close in order for file to be generated. Check these examples http://www.programcreek.com/java-api-examples/index.php?api=jxl.write.WritableWorkbook | |
Re: I need £1.000.000.000.000, damn nothing happend Maybe good idea to reconsider for future how you phrase your question But hey sometimes it drizzle even if you need it to rain, here the case. Follow [link](https://www.google.co.uk/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=windows+phone+8.1+location+tracking+video&safe=off&tbm=vid) | |
Re: Visual Basic???? Please specify what you doing because this does not sound like mobile development at all basid on used language | |
Re: Sorry, but it is unlikely to workout anything from that log. However any of these values un Tag column are part of your app? If so you should check call for them, any possiblity of looping or excesive use of memory(trying to read in memory same image which is already … | |
Re: [QUOTE=baudday;1722465]Haha 9 views (almost all from me) in 9 hours. These forums are officially DEAD![/QUOTE] Christmas period, everyone slows down. Secondly may happen that people are interested in what you are asking, but may not necessary know answer to this... | |
Re: 1. Increase allocated memory to device (You should have minimum 8gb ram on your pc/laptop or emulator will be always slow). Secondary you may want to install HAXM (you do have to run actually manual install once downloaded through Android SDK as it is 3rd party product) you will find … | |
Re: You need to be more precise in where is your issue, because we do not see what have you done so far, where are you stuck at. Here are few resources I used in past (nevertheless my experience with BT was always related to mobile devices using J2ME and now … | |
Re: Quick example http://weka.wikispaces.com/Converting+CSV+to+ARFF | |
Re: @Dave he did but post it as code instead of simple text @sabata mmoledi forum rules clear state **Do provide evidence of having done some work yourself if posting questions from school or work assignments** so time to show some effort we are not your coding monkeys | |
Re: Here is one more http://javapointers.com/tutorial/add-tomcat-server-netbeans/ |
The End.