5,031 Posted Topics

Member Avatar for canadafred

[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 …

Member Avatar for Honeyclerkk
0
228
Member Avatar for Caled

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 …

Member Avatar for jwenting
0
17K
Member Avatar for Stefce

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 …

Member Avatar for samantha2015
0
290
Member Avatar for Stefce

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

Member Avatar for Stefce
0
388
Member Avatar for vickzbrit

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...

Member Avatar for Tri Setya
0
6K
Member Avatar for Stefce

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))

Member Avatar for Stefce
0
255
Member Avatar for newcoder310

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 …

Member Avatar for peter_budo
0
265
Member Avatar for Saboor880

PS: "*I am using nebeans ide.*" You do not need to tell us what IDE you are using, it is code that matters...

Member Avatar for peter_budo
0
248
Member Avatar for daniel.conlinjr.1

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

Member Avatar for peter_budo
0
119
Member Avatar for Montazer_1

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)

Member Avatar for peter_budo
0
343
Member Avatar for serenagrace

@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. …

Member Avatar for peter_budo
0
516
Member Avatar for Andyjava

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

Member Avatar for serenagrace
0
194
Member Avatar for Hendo

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, …

Member Avatar for peter_budo
0
162
Member Avatar for Slade

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

Member Avatar for Ram_12
0
2K
Member Avatar for Fihlatv

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 …

Member Avatar for peter_budo
0
159
Member Avatar for sireiz

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

Member Avatar for peter_budo
0
300
Member Avatar for rahulrevolution

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

Member Avatar for peter_budo
0
232
Member Avatar for vasudha k

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]

Member Avatar for jwenting
0
4K
Member Avatar for sahil.d

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

Member Avatar for peter_budo
0
71
Member Avatar for new_2_java

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

Member Avatar for peter_budo
0
2K
Member Avatar for new_2_java

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`

Member Avatar for new_2_java
0
251
Member Avatar for malik.epperson

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.

Member Avatar for malik.epperson
0
2K
Member Avatar for Manel_2

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

Member Avatar for peter_budo
0
209
Member Avatar for malladiram
Member Avatar for manalibhadula

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 …

Member Avatar for manalibhadula
0
2K
Member Avatar for jsefraijeen

@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

Member Avatar for JamesCherrill
0
9K
Member Avatar for thirumoorthym
Member Avatar for prafulla23

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)

Member Avatar for peter_budo
0
66
Member Avatar for OsaMasw

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 …

Member Avatar for peter_budo
0
4K
Member Avatar for OsaMasw

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?

Member Avatar for peter_budo
0
418
Member Avatar for lena1990

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); …

Member Avatar for peter_budo
0
372
Member Avatar for kaushik259106

[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]

Member Avatar for Ranjit_1
0
15K
Member Avatar for usiyalla

@coervivekmca 1. Read previous reply "Thanks for reply but i already figured out the answer " 2. Your code is recipe for disaster

Member Avatar for hemeneugene
0
820
Member Avatar for nikita.chandra

@nikita.chandra what on Earth you trying to do copying whole Daniweb page content and reposting it?

Member Avatar for Varun_2
0
2K
Member Avatar for centenond

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

Member Avatar for peter_budo
0
207
Member Avatar for sudhakar4712

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

Member Avatar for rubberman
0
233
Member Avatar for mark_jason

Register for [Genymotion](https://www.genymotion.com/#!/) (It's free), far better then current Android SDK provided emulator

Member Avatar for peter_budo
0
297
Member Avatar for Sakura-oct

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 …

Member Avatar for peter_budo
0
178
Member Avatar for Forte1292

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 …

Member Avatar for peter_budo
0
4K
Member Avatar for idesignyards

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

Member Avatar for piers
0
3K
Member Avatar for collin_ola

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

Member Avatar for collin_ola
0
4K
Member Avatar for man.chester.581

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)

Member Avatar for peter_budo
0
163
Member Avatar for altjen

Visual Basic???? Please specify what you doing because this does not sound like mobile development at all basid on used language

Member Avatar for DaveAmour
0
114
Member Avatar for centenond

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 …

Member Avatar for peter_budo
0
176
Member Avatar for baudday

[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...

Member Avatar for Schol-R-LEA
0
2K
Member Avatar for TekknoDraykko

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 …

Member Avatar for TekknoDraykko
0
281
Member Avatar for Rohith_1

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 …

Member Avatar for peter_budo
0
212
Member Avatar for vivekH
Member Avatar for vivekH
1
4K
Member Avatar for sabata mmoledi

@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

Member Avatar for DaveAmour
0
195
Member Avatar for Gurjeet Singh
Member Avatar for Shilpa_3
0
146

The End.