Android : Making Game Asset Files Readable From C++ Code Using Ndk

Feb 17, 2010

I am creating a game using the irrlicht c++ 3D graphics engine port to android platform. The graphics engine is written in c++. I need to be able to load meshes and textures etc from c++ code. My current plan is to place all the game asset files in either the res/raw directory or the assets directory then on start-up copy these files to the sdcard so they are accessible from the irrlicht c++ code.Is this the best way to make the game media files accessible from c++?

Android : Making game asset files readable from c++ code using ndk


General :: Using Xposed To Replace Binary Asset File In A Game

Jun 15, 2013

I've tried looking around google, xda search tool, have read all pages (3 of them) in Xposed wiki. I've been trying to cheat in a game called Galaxy On Fire 2 HD (I have purchased it), I've found some tutorials how to do that on iOS by modifying some binary files (assetsdatainships.bin and items.bin), on android those files are in game apk, and I cannot modify them without breaking signature.

I found Xposed framework and I think it could be perfect for my purposes. Is there an easy way to replace those asset files by my own? I have very little programming skills though, but I'll try. I've found a short example in wiki, but I don't understand it. I've read wiki tutorial 2 times but still have only vague idea how all this works.

View 2 Replies View Related

Android :: Packaging Hidden Asset Files

Jun 9, 2010

I'm placing the file '.nomedia' into a folder in order to avoid Android's MediaScanner from detecting the media files in the folder. I need to copy this folder (including '.nomedia') from the APK's assets to the SD card (so other apps can make use of these media files, etc.). When I package the APK in Eclipse, it doesn't package the '.nomedia' file. Presumably it's detecting it as a hidden file. Any ideas how to fix this? Is there a secret aapt flag I can use? I'd like to avoid copying the folder and then manually creating a '.nomedia' folder, if possible.

View 1 Replies View Related

Android :: Making Simple 2d Game For Platform

Jun 27, 2010

I'm making a simple 2d game for the android platform, which works perfectly from version 2.0 and above, but when testing it on a 1.6 device, it crashes immediately. On running the debugger, it seems that I'm getting a null pointer exception in the thread class. I was just wondering if anybody has any ideas as to where the problem might be.

Maybe there's some compatibility issues with this code that I'm not aware of--I'm very much a beginner when it comes to using threads.

View 3 Replies View Related

HTC Desire :: Checking Files - Deleting Files - Making Space

May 7, 2010

How do you go about checking what is stored on your phones memory and deleting content? For example I used dropbox and downloaded a 7mb photo onto my phone. Can't find it in the photos app or anywhere else. Going into SD & phone storage under settings doesn't do anything. It says I have 70mb available space under phone storage but you can't click on that to get any further info. Same goes for the SD card options.

View 1 Replies View Related

How To Start Making A Game

Apr 1, 2012

i am trying to make a game for android but am finding it difficult. For my app i have made the menu screen, sound. But to make the actual game i am not sure where to start.I am not sure how to start making the game. I have seen some tutorials but they seem to be very confusing with all the coding.

I was wondering is there not some sort of graphical layout i can use to make the games a i did to create the buttons using the xml graphical layout in eclipse.It is for my final year project and i do not have much time left or i would have done it in flash.

View 1 Replies View Related

Android :: Making Game's Logic Supporting Multiple Screens

Jul 25, 2010

I've read the article "Supporting Multiple Screen" on Android developers site. But that doesn't apply to game logic.Let me get straight to the point. My situation is as follows:

- I'm creating a game using LunarLander code as a base.

- In my game, there'll be an object flying up from the bottom of the screen. The object will fly in projectile motion.

- I set the starting velocity, gravity and angle so that the highest point(of projectile motion) is almost at the top of the screen.

- The screen tested is Motorola Milestone. (480x854 resolution) Meaning the object travels around 854 pixels vertically.

I'm thinking of adjusting starting velocity based on screensizes. But that sounds unreliable when we've so many devices/resolutions out there. How do you combat these kind of problem when making games?

View 3 Replies View Related

Android :: Making Android Game / Key Input Registered Weirdly On X10 Mini Pro

Aug 2, 2010

I've just started to learn Android development and ran into a problem.Controls in the game I'm making work on virtual device, but not on phone:I have an Xperia X10 Mini Pro.I'm making a basic Pong game to learn droid software development.The game works just fine on my Android virtual device, you can move the paddles up and down smoothly.On my phone I've figured that the onKeyDown event doesn't run until I release the button or after I've held down the button for a second or two, but then it only registers it as a brief press of the button, not like if I was holding it down.I believe that it's a feature of my phone to quickly access special characters, because some keys register different key codes when pressed quickly and when held down.The problems this results in is that I can not move the paddles, but I can do single press things, like pause the game

View 1 Replies View Related

Android :: Making Video Files Ready For Playback Over HTTP

Jul 9, 2010

I am working on an Android application which is supposed to play videos over HTTP on Android devices. Before we setup a server to host the video files just wanted a few things clarified: As per the developer documentation, Android supports .mp4 and .3gp container formats for video.

The audio-video codec used for our media files is H.263(video) and AAC LC (Audio). I did a little experiment and passed URL of one of the video files to the MediaPlayer class and got the following error: Command PLAYER_INIT completed with an error or info PVMFErrContentInvalidForProgressivePlayback.

From the docs, I came to know that for progressive playback, the video's index (e.g moov atom) should be at the start of the file. How do we make our videos Android-ready? What are the different considerations that we need to make?

View 4 Replies View Related

HTC Desire :: Making Icons (PNG Files) Available From SD Card

Sep 7, 2010

I've added some icons (png) files to a folder on the SD Card. They are visible in EStrong, but not to other applications. They only become available when I power on/off. Is there a way to make the available? As I am toying with many icon sets and generally playing, it's annoying having to reset the phone everytime to see anything.

View 4 Replies View Related

Android :: Saved Game Files

Feb 24, 2010

Where are 'Saved Game Files' kept? Internal memory or SD Card? Whats the best way to save 'saved games files'? for when I have to do a factory restore or Rom upgrades. For instance Robo Defence which is going to take me years to play and get to level 2000, will still be playing this in my grave, lol. What I was thinking is that I would backup my SD card to my PC, reinstall the game then copy files back from my SD Card or do I have to install a backup App like 'mybackuppro' to specifically back these type of things up?

View 1 Replies View Related

Android :: Memory Game - Can't Figure Out The Code That Matching 2 Button With The Same Image

Dec 15, 2009

I was trying to do a memory game on android, but i can't figure out the code that matching 2 button with the same image..

CODE:..................

View 1 Replies View Related

Games :: Can I Use Code In Game Release Legally?

Nov 8, 2010

I am using the Snake Demo as a base learning tool. Question I have is if I use parts of it, modified bigtime, can I use the code in my game release legally?

View 3 Replies View Related

Android :: Data Readable By Two Apps

May 8, 2010

Is it possible to share files between two apps?

My scenario is this: I want to create a free/demo version of my game and a complete version. The player should be able to play the free version, then upgrade to the complete and continue where the free version ended - ie. the complete version would need to load a savegame created by the free version.

View 3 Replies View Related

Android : App To Convert Website Into More Readable Data For Phone?

Nov 12, 2010

I am looking into developing an App that will convert a website into more readable data for an android app. I am at university and have an online notice board which can be viewed on the web but if possible I would like to transfer this into an app on android to make it more easy to read on mobile devices.

What I thinking is that the app would go to the website where the notice board is held and read in the html code to display each notice in a list adapter view. Each notice is within its own div so I assume I could use that to split each notice up into its own button on the list adapter view. Is this possible and if so how I can go about doing this. I have tried google for an answer but I have not yet found a solution to this problem.

View 2 Replies View Related

Android :: Particular Collection Of Code Along With Some XML Files

Jun 4, 2010

I have a particular collection of code along with some XML files that I need to share with every application I will make.

At the moment I can't because as far as I am aware there is no way to do this. This seems like a massive oversight by the development team.

If the code needs changing, I have to change it in every app that I create - and will create in the future.

Are there any ways to share code in android yet? I am using Eclipse for development.

View 3 Replies View Related

Android :: Converting System - CurrentTimeMillis() Into The Current - Readable Time

Nov 15, 2010

is there a way to use the System.currentTimeMillis(); to have convery that number into a basic output HH:MM in droid? I am using the sample code:

Toast.makeText(this,
String.valueOf(System.currentTimeMillis()),
Toast.LENGTH_LONG).show();

That outputs the current time in MS since the epoch. There has got to be a better way to do this rather than convert that large number and display the current time right?

View 1 Replies View Related

Android :: GetItemAtPosition() How To Get Readable Data From The Selected Item In A ListView

Oct 7, 2010

I have a listView of contacts that I got from the Android ContactManager sample. This list is showing up fine, but I can't figure out how to get info from the selected item, like "name" and "phone number".

I can get the selected position, but the result of the mContactList.getItemAtPosition(position) is a ContentResolver$CursorWrapperInner and that doesn't really make any sense to me. I can't get heads or tails from that.

Anyone know how I can get the name/id/phone number from the selected item in the listView?

Here is my code.

code:................

View 1 Replies View Related

Android :: Source Code - Downloading All Files

Apr 2, 2009

Anybody know where one can obtain the source code for dx all in one downloadable blob?
The following gives dx a file at a time:
http://www.netmite.com/android/mydroid/dalvik/dx/src/com/android/dx/

View 2 Replies View Related

Android :: Lock Files Using Java Code?

Apr 30, 2010

I want to lock files that is on the sdcard of android. I need to lock them so no one except my software can delete copy move or send them over bluetooth or any other way.

View 3 Replies View Related

Android :: How To Design "manual Animation" Into Droid Game Without Code Delays?

Oct 3, 2010

I am writing a game for Android and I think I have a fatal flaw in my architecture and/or code. The architecture is basically two threads, one that just continuously draws the screen and the other than controls the movement of the drawables on the screen based on the user's touch screen input. In the latter thread, I'm basically doing manual animation (insert correct term here), meaning I move the drawables on the screen via methods that change the Drawables Rect as the game progresses. The "no-no" I believe I'm doing is inserting delays into these methods, so that it "appears like an actual animation." This all works fine and dandy because I have no reason to process any user input during these animations, but it's really bugging me that I'm designing a flaw into a lot of hard work with my game. I'm sure many of you can relate to this in terms of code design.

View 3 Replies View Related

Motorola Droid :: Game Sound Files Showing Up In Music Player

Jun 8, 2010

I installed some games (H.A.W.X and a few other from Gameloft) and all the sound files from the game show up in my Music List.

View 2 Replies View Related

General :: How To Block Game Files From Showing Up On Media Player Of Choice

Jan 15, 2013

How do you block Android game files from adding themselves to your media players? For example, if you're using Moboplayer to view the pics and vids you've shot with your camera, and you have a game like Dragon's Lair that has hundreds of mini 3 mB vid clips on your device to play the game, when I try to view my personal videos, I have to filter through the 800 some odd game vid clips just to look at my home videos. To add insult to injury, if you use a backup like Verizon that backs up only your newest movies and pics, it also downloads these hundreds of vid clips as well as photos of the uniforms on a game like Home Run Battle.

View 1 Replies View Related

General :: App For SMS Backup And Email In Readable Form?

Nov 10, 2013

Is there an app to backup SMS and email the conversation as is ?I have tried many apps in play store but all they do is taking backup in xml format and emailing. Its of no use to because it can be viewed only if restored to same/another mobile.I want to view the SMS conversation in PC itself (in txt format or doc format)is there specific app for this purpose?

View 4 Replies View Related

HTC Magic :: Gmail Too Small To Read / Make It Readable?

Mar 14, 2010

I have and HTC Magic from Rogers. I do not use Rogers services as I live in Asia. It has the 1.6 system and has not been upgraded in any way. I am 50 and have trouble reading Gmail messages, The letters are too small. I can magnify the web browser so I can read the web sites but not gmail. How can I make gmail readable without wearing my glasses?

View 1 Replies View Related

General :: Netflix On Tablet - Human Readable Subtitles?

Sep 14, 2012

Some time ago I bought a G-box, an android based miniPC with hdmi output. I love Netflix but I need subtitles, which are present, indeed, but are ultra small on my 32" LCD (see pic) and just readable on my 42" LED. As Netflix users knows, there is not a configuration panel for this application and beside the embarrassing limitation of streaming 480p like I'm used to see on my Wii this is quite annoying.

View 3 Replies View Related

Android :: Getting An Asset Outside Of Main Activity

Nov 30, 2009

From digging around a bit, getAssets() is an inherited method from ContextWrapper. It returns an AssetManager, and using open() it can return an InputStream. What I'm attempting to do at this point, is use the GLSurfuceViewActivity, Cube and CubeRenderer to work and learn off of and read in vertex data from a binary file. I've already created the binary output by parsing a model obj file and added to the assets directory. My Shape class (modified from the Cube class) does not have access to calling getAssets() since it's not a subclass of Activity or ContextWrapper. Once I accepted that, I tried to think of the best way to read in the data (without storing it extra places) to the Shape class. What I did, and seems to be working okay, was modify the Shape and ShapeRenderer constructors to accept an AssetManger as a parameter.

View 3 Replies View Related

Android :: Asset Image In WebView

Mar 29, 2009

I'm trying to load an image (tried both gif and png) from my assets directory, into a webview. In my assets folder, I have an image called myImage.gif

View 7 Replies View Related

Android : Checking Asset Resource

Nov 11, 2010

I want to check, whether a file exists or not in the /assets/ folder.How could I do it? Please help.

View 1 Replies View Related

HTC Incredible :: Computer Error After Froyo Update / Disk Not Readable

Sep 2, 2010

I just updated to the Froyo via the OTA and now when I plug my Dinc in to be charged (while it is on), I get the following message:
"The disk you inserted was not readable by this computer. Ignore or Eject."
I never had this message until the update.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved