I'm trying to see my SqLiteDatabase by opening the Android Device Monitor. Im navigating to the right path, but the Data Folder is only containing this:
What do I need to fix/change?
I just had this problem. Your "Name" field is too short to display the full name of the folders. You need to resize it with your mouse!
Related
I want to display full file path in my netbeanse IDE in toolbar I have seen this in PC I tried a lot but is is not displaying
I don't want to just display I want to copy direct file path from there
Uploading a snap for understanding what I want
Thanks in advance
Netbeanse giving this functionality I know but forgot that how to enable this
Alt + Shift + L will copy the path of the currently active file to clipboard. You can then paste this in any where else. I use this regularly and know it works.
If you want to show the path of the file in the toolbar location like in the image you have uploaded above, you may have to write your own plugin. Here are a couple of plugins that do this already.
path tools
show path in title
Trying to change the name of the app from the development name to the production name, I renamed the target as a first stab. The PNGs in the app disappeared. I then changed the target name back to the original name and re-built, but now the PNGs are still missing.
I'm looking at step-by-step guides on project/app name changing, but I don't want to proceed until I'm unable to undo whatever this did.
Does anyone know why the images would now be missing? Even after I changed the name back?
I'm assuming there is some path based on the target name and that changing the target name triggered other changes not reversed by simply changing the target again?
Many thanks
why not just use Product Name under Target -> Build Options. So you don't have to change the target name! :)
Type in the name of your project in the finder, and double click on the project folder. Inside that folder (it may be in a folder inside that folder, like resources or something but on my computer its all in the project folder) look for .png images. These images are the images that are in your project. Delete every image inside here, or just move it somewhere else. If your app has the .png files inside the project folder, but the files are in your resources folder, you won't be able to put in the same image in your resources folder because your project (your app) says its already there, even though its just sitting there and your not using it...
So delete all the .pngs inside your project folder, then open up the app with xcode and drag the image files you need into the resources folder. Hope this helped.
Each file in a project can be included in a target, when you changed the target name, its possible that png files lost association to the target. right click on the folder which has the png files, and click on get info, there you will be able to select which targets this folder is included in, mark the check box for your intended target, and the files will be included again in your target.
I have the following directory structure:
- container
- app
- index.html
- ...
- ios
- mobile.xcodeproj
- Mobile
- www # imaginary folder (or could be a real, empty one)
- android
- ...
app contains files shared among an Android and iOS application. I'd like to add a imaginary folder to my xcodeproject so that files in app look like they really are in www inside the ios directory (../app should look like ./www).
I need to exclude certain files in the app directory, thus I can't simply use a symlink and add that folder, because then I can't selective exclude certain files.
The reason why I'm going through this trouble is that PhoneGap searches for the file index.html inside the www directory, which don't exist in my case so I need to somehow fake its existence.
Anyone know how to solve this? My guess is to setup folder groups and add file-references, but I can't get it to work properly. Also, let me know if I should elaborate on something.
Note that when you create a group, you can then specify where the root folder of that group is with Xcode. In Xcode 4.x, click on the group icon on the left pane. Open the rightmost pane and click on the top icon that looks like a document. You'll see "Identity" underneath is "Group Name", "Path", then another entry with no label that has a window-like icon to the right. Click on that icon to set which folder the group aligns with.
I am creating a game using cocos2d.
Now what I want is I need to insert the image from Photo Library to my application. Can you please tell how can we access Photo Library through cocos2d?
Thanks in ADVANCE...
You should be able to access the users Photo Library in the normal fashion. As far as actually using the selected photo, is a different question. ;-)
Not sure if this is what you mean but...
To use an image in your application you put the image file in your resources folder in xcode. Then you can reference it by name to use it for your sprites or anything else that will use a file. This goes for other types of files that your application will use too (like data files, plists, etc).
If you put an icon file in your resources folder in xcode and name it icon.png then that will be the icon that will appear for the user to select to run your application on the iphone/ipod/ipad.
Same goes if you put another file in the resources folder and name it default.png then it will show up as the splash screen that appears while your application is being loaded.
Note: If you are working with a template it will probably already have canned files with these names. Just remove them from the resource folder in xcode and add the new ones. To add the files to your project, drag them into the resource folder within xcode and select the check box for: "Copy items into destination group's folder (if needed)", as well as, make sure in add targets section only the check box for your application name is checked and the radio button "Recursively create groups for any added folders" is selected. This will copy the file(s) into your project directory and they will also appear in the resources folder in xcode. You can then click on them in xcode to see that they are correct.
I'm making a game and writing save files into the document directory on the iPhone.
Is there a way for me to retrieve these files from the actual device? I know I can find the ones saved from the simulator.
You can plug the phone into your Mac, and open Xcode and then Xcode's Organiser window.
From there, you can select your iPhone from the device list on the left. This will show the details of your iPhone, (provisions, installed apps etc).
You should be able to see your app in the list of installed apps, with a disclosure arrow next to it ( > ). Click that and it'll expand to show a package icon with the text Application Data, and a "download arrow" icon to the right.
Click the download arrow and it'll ask you where to save the data.
The result is a folder containing the Documents, Library and tmp directories from your application.
Hope this helps.