peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Android Studio is becoming industry standart with better features then Eclipse

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
  1. It is not textView but TextView
  2. Secondly like I mentioned previouly you can format text in similar way like CSS. Each elements of layout can be styled individually or under shared style.

Individual options besides layout_width and layout_height will include

android:background
android:padding
android:paddingBottom
android:paddingTop
android:paddingLeft
android:paddingRight

These in case of TextView expand also to

android:fontFamily
android:textColour
android:textSize
android:TextStyle

and others. Just check out Android API like here for TextView
You can read more about styles here

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Any website is accessible by mobile devices these days. You just need to learn restrictions and serve appropriate content, therefore browser and operating system detection is important

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

@aliieb do not expect people to go and check your websites. Post your code and explain what is expected and what is actual result. Also I'm inclined to move this to web development since fixing html is not part of native mobile development for Android, iOS or Windows

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

As I mentioned before in your other thread (that you did not close) design for mobile apps is not same as design for web sites.

XML extract of layout that you posted is actually what you need to show image on screen. However beside required stuff you did (layout width & height) there are other things like padding, positioning and more. Also like in HTML with CSS you can do some interesting combinations.

So if you care to explain what you are having difficulties to achieve someone may try to help you. Simply posting image wouldn't help. So we are expecting good description of problem, because your post above does not satisface that...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

@Rakesh456 give me one good reason to use Eclipse and I will give dozen reason not to use that clumsy ugly thing.

@Umair_4 you want to learn inovative way of development? Use Android Studio and Gradle builds not Eclipse and 15 years old obsolete Ant build tool

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Upgrading Java is no so hard job https://help.ubuntu.com/community/Java

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Yes you can. Simple example, each of Pending Jobs, Incoming Jobs, Closed Jobs is simple button. On click you will trigger loader or async task to get job results. Once you get results, you forward them to new activity and show them in list. Depending on what additional data you provide you can setup stuff like header, or different layouts to be used in list view for different search results. hope that make sense

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You ask help about Android app and you post code from your website? Where is common sense of solving issue? How someone can find problem in your Android app if you fail to provide appropriate code for problematic section?

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Then you did not search properly, otherwise even before your first post you would have found JSP database connectivity according to Model View Controller (MVC) Model 2 that is actually first entry in JSP section of this forum.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Android has a resources folder where you can store various data/objects. One of this folder subfolders is drawable that can be represented also by various screen sizes drawable-hdpi, drawable-mdpi etc

However be warned! Android UI development is not same as web development or iOS "pixel perfect" appraoch.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Just realised you are using switch statment and validating view ID. This is no longer safe. If you need to do that you should then doing it from if/else

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

web app is actual website. It is common that what ever response website is getting can be consumed by mobile application as this content is send in JSON format. Here is a list of APIs you may want to have look at http://blog.programmableweb.com/2012/02/28/134-travel-apis-kayak-yahoo-travel-and-hotelscombined/ and maybe you can try to integrate one inside your application

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

With your number of posts you should know better then just drop code with no exact error

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Then you should not posted at all because if they never learn basic they will fail. It is OK to help with attempt when someone tried and got catch in some circumstances that may not be obvious. However provide solution beforehand is plain bad.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Android SDK requires that you have instalation of Java 6 not Java 7 or 8. So uninstall it and get proper version

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

All you need to know

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Encapsulate your current LinearLayoutinside ScrollView http://developer.android.com/reference/android/widget/ScrollView.html job done

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You do not need C++ and PHP. rubberman was trying to say that any knowledge of programming language especially object oriented language would speed up your learning process. Therefore grasping basic of Java should be your main goal

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

No matter which IDE you use there is a logcat which will tell you where error exactly happen. So check it out and stop posting generic error that you see on device screen. You are wasting our time

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
  1. Increase quality of the app, fix crashes and bugs
  2. Implement functionality requested by users
  3. Interact with people that commented on app
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Get public IP and configure your server to expose service

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Sorry to say, but hardly anyine does Android development on Windows machines down to various issues with configuration. Secondly Eclipse is such mess.

Try to isntall Android SDK from zip instead of automated installation (do not forget to modify your system path and ANDROID_HOME there). Aso I would recommend to use AndroidStudio or IntelliJ.

PS: I hope you have Java 6 32 bit installed and not something else

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

@26bm nobody wants to support Adobe Flash, and even Adobe it self drop support for it in Android 4.2 so waste of time

Android dev tools would be AndroidStudio, IntelliJ or Eclispe. However I'm not aware of visual game creators in them. They do have UI components for usual stuff (buttons, textviews etc.)
For game you may want to look into Unity - Game Engime

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

To respond to your previous question answer is simple. onClick() event have to be associated with listener that has to be attached to UI element that can only exist in View, Fragment or Activity

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Well done James and thank you for kind words to estranged Jave developer! Yes I do Android but that is different story ;)

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Colour can be 6 characters when it is RRGGBB (red, green, blue) or 8 characters AARRGGBB (alpha, red, green, blue) so you need to adjust alpha

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Well you are applying just a colour as red and purple. From image it does appear that stroke is something around 7F77DE where fill has some opacity applied to it and is around DAD7DE. Obviously you need to apply some stronger colour and then play around with alpha settings for that colour

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Why did yu created second account to ask about Google maps? Why aren't you continueing with your other post http://www.daniweb.com/software-development/mobile-development/threads/473568/how-do-i-create-a-box-to-hold-text-below-google-maps-within-android

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You are performing network activity on UI thread!!! Ggrrrrrrrrrr!!!! This is big NO! Read this http://developer.android.com/training/basics/network-ops/connecting.html

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

If you want to send SMS follow advice here to send email use Intent ACTION_SEND

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You just need to add EditText bellow your fragment in your layout

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

I do not see any crash reports there. You sure you captured it?
If it is gone easier for you you can always share link to your github project if you using github or just upload zip of your project and I can have look that way.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Please delete logcat before or application start up and then make it it crash. Once that achieved post new logcat. (Sorry but I'm not willing to search your logs for error reports as it will include addition stuff like facebook putting stuff in error logs that is irrelevant)

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

LOL have to laugh on first one. Obviously you are on Eclipse that does give this crap (wouldn't happen with IntelliJ or AndroidStudio). Nevertheless message is specific you have hardcoded text android:text="Button" so you should extract it to strings.xml

As for runtime error Eclipse must have logcat somewhere. Which is what you need to find.

And do not remove try/catch. You could always create run method where you place try/catch and call it each time you make change to Notifications

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

How would I know if you did not post any error log messages?

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You need to replace void actionPerformed (java.awt.event.ActionEvent e1) with some other listener method like onClick where you trigger it by button and button has to be part of application

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

java.awt.event.ActionEvent in Android since when?

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

As I said getContext is what you most commonly will use, so do not bother with getApplicationContext for the moment. You will start to use it once you comprehend the need for it

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Application context getApplicationContext() is different then View context getContext or as in your case MyActivity.class (both means same). Real difference in usage is only what part of lifecycle of the activity or whole application you will be affecting with whatever you about to do.

So if you need a context tied to the lifecycle of the entire application, not just the current Activity call getApplicationContext otherwise getContext is what you want to use

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Above editing area you can see tools bar and in there one of the buttons is </> Code. just click on it, it will pop sort of window where you can paste your code and hit button bellow to include in your post.

Job done

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Do not mix up web development approach with mobile approach. Connectivity is your constrain. There are no guaranies that you wi-fi connection on mobile internet will be fast enough as to instantly query remove service.

Either allow for time delay while querying remote service, or work with sub-set of existing data.

There is no silver bullet...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
  1. You can always make photo and send it out to images google, also you should be able to record GPS coordinates and place marker on the map. I would not be surprised if Google Maps managed something as image search instead of simple location name search. Someone may provide more detailed answer, because I have no experiences with it. Nevertheless do research
  2. Speech recognition already have API http://developer.android.com/reference/android/speech/package-summary.html
  3. Same for text to speech http://developer.android.com/reference/android/speech/tts/TextToSpeech.html
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You have to consider to what audience you are addressing this app, is it suitable to phone, tablet or both. Should application be used in portrait or landscape only, or can user rotate it. Based on that you need to consider layouts for landscape, layouts for tablets (like 7" can show in portrait show 2 fragments together, but in landscape you can show even 3 fragments).

Drawable will assigned appropriate resource to app based on device specs.

For buttons and some simple graphics you can go with 9patches or create drawable layouts when necessary

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Have you read http://developer.android.com/guide/practices/screens_support.html ?
What is your setup for resources?

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You better to rephrase your question otherwise it does falls under

Do provide evidence of having done some work yourself if posting questions from school or work assignments

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Ahh yeah, I forgot about internat IP matching of emulator. Professional defermation :P there is no point having localhost if you have team working on project. Anyway you can read more about it here Using the Emulator - Emulator Networking

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Better to ask at phonegap forum.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

What this has to do with mobile development?

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

I will suggest to read JSP database connectivity according to Model View Controller (MVC) Model 2 5 years old post but still a must read for people that insist on code with scriplets