Search:

Type: Posts; User: ChristopherLowe

Page 1 of 12 1 2 3 4

Search: Search took 0.30 seconds.

  1. Replies
    7
    Views
    8

    Re: beginner in java

    Haha! That made my night. You'll certainly earn more money. 10/10 career advice.

    In seriousness if you aren't ready for a career in development it will show quickly. One of two things are going...
  2. Re: Forum's policy on self promotion?

    For what it's worth, you guys do a terrific job keeping the noise and spam under control. It's a thankless job but it doesn't go unnoticed so I'd like to express my gratitude on behalf of regulars...
  3. Forum's policy on self promotion?

    I'm curious, what is this forums policy on self promotion? Does it make any difference if the program is a hobby project or a commercial application? I ask because this guy - Mobile app for...
  4. Replies
    8
    Views
    9

    Re: Anyone ever use this?

    Ahh yes basic. Wrote my first program when I was 9 in basic. A little menu system to run my games because I kept forgetting the commands. Had user input validation and funny messages to boot. I...
  5. Re: Issue : java.io.UnsupportedEncodingException: utf 8r

    Can you post the full stack trace.
  6. Re: How to use a query result to match an image resource?

    It looks like you are on the right track, however you will need to create a custom ArrayAdapter to handle a list view with Images and Text. The process is:

    Create a layout xml that defines the...
  7. Re: Best way to implement Ad-Supported and Paid app versions

    As I see it there are two options, each with their own pro's and con's.

    Option 1 - Create a branch in source control. The big con here is new features / bug fixes need to be manually applied to...
  8. Replies
    1
    Views
    2

    Re: Single Instances of Activities

    I think what you are looking for is an Intent with the flag FLAG_ACTIVITY_REORDER_TO_FRONT



    Intent openPuzzelActivity = new Intent(PuzzelActivity.this, Main.class);...
  9. Replies
    6
    Views
    7

    Re: Drawing and Scrolling

    If you are drawing to Bitmap you could use drawBitmap (Bitmap bitmap, Rect src, Rect dst, Paint paint). The idea is to first generate the bitmap and store it as a member variable then redraw the...
  10. Replies
    8
    Views
    9

    Re: Reset on counter?

    As I said in your last thread, tutorials are okay but check the Android docs. It's your primary source of information.

    As I also said in your last thread, we are here to help you (which you make...
  11. Replies
    8
    Views
    9

    Re: Reset on counter?

    It looks like you are declaring the startButton and pauseButton as member variables of the class, but not the resetButton so it's only scoped for the onCreate method.

    Wait, hold on... It's not...
  12. Replies
    8
    Views
    9

    Re: Reset on counter?

    The purpose of a reset button is a timer is to reset the time no? You could just set the TextView back to 00:00:00

    Also; cross posted here. Please see The problems with cross posting.
  13. Replies
    5
    Views
    6

    Re: SEO Section

    No they aren't. Also, SEO isn't about perfecting a website it's about improving the search ranking. It's an exercise in marketing and brand awareness.

    The point that Copeg makes is valid. SEO...
  14. Replies
    8
    Views
    9

    Re: Reset on counter?

    resetButton = (Button) findViewById(R.id.resetButton);

    resetButton.setOnClickListener(new View.OnClickListener() {
    public void onClick(View view) {
    timeSwapBuff +=...
  15. Replies
    6
    Views
    7

    Re: Drawing and Scrolling

    It kinda depends on what you are trying to achieve. If it's just UI elements you should be able to get away with wrapping it up with a ScrollView in the layout xml. ScrollViews are the easiest...
  16. Replies
    19
    Views
    20

    Re: Robot Game; Few errors (help)

    I've had a look at the tutorial you've been following. It's not a tutorial, rather a set of copy and paste instructions. Understand that creating a game for Android is a complex undertaking,...
  17. Replies
    2
    Views
    3

    Re: no launch activity found

    <activity android:name=".Splash"
    android:label="@string/app_name">
    <intent-filter>
    <action android:name="android.intent.action.MAIN" />
    <category...
  18. Replies
    19
    Views
    20

    Re: Robot Game; Few errors (help)

    The warnings from the ArrayList are because they aren't using generics. This is the correct way of defining an ArrayList with type safety ensuring it will only accept objects of a certain type (for...
  19. Replies
    19
    Views
    20

    Re: Robot Game; Few errors (help)

    Tutorials are okay I suppose but the Android docs have the final say. Stick with ic_launcher.



    Nope. I'm here to help and guide, not solve your problems for you. Doing so would deprive you of...
  20. Replies
    7
    Views
    8

    Re: decimal to hexadecimal

    The approach is faulty. Hexadecimal is just a way of expressing a number in a different base. It's incorrect to look at a character and return what that character would be in decimal. You need to...
  21. Replies
    19
    Views
    20

    Re: Robot Game; Few errors (help)

    Why is it in /res/raw? Images live in /res/drawable. Also, I'd recommend sticking to the conventions in the android docs with naming resources. I stick to "ic_launcher" for the applications icon....
  22. Replies
    7
    Views
    8

    Re: decimal to hexadecimal

    Good for you! Trying something then learning from the mistakes and trying something else is the best way to learn :)


    Now you are on the right track! But instead of writing something from...
  23. Replies
    7
    Views
    8

    Re: decimal to hexadecimal

    When you find yourself doing this ... stop and think about what you are trying to accomplish. Computers are excellent at repetition and loops are a fundamental concept for all programming languages....
  24. Replies
    19
    Views
    20

    Re: Robot Game; Few errors (help)

    Icon.png or icon.png... It's case sensitive. Your IDE should be able to autocomplete this for you.






    <string name="map1">
    All your strings belong to us..
    </string>
  25. Replies
    7
    Views
    8

    Re: decimal to hexadecimal

    char a = A;


    This is attempting to assign the primitive variable a to the value of another variable A. You can define a character literal with the ' symbol.



    char a = 'A';
Results 1 to 25 of 279
Page 1 of 12 1 2 3 4