I am creating an environment of React native in my comput
When i install android studio in my computer it gives me error
when i open the android studio that show me
look the image enter image description here
my current JAVA_HOME variable settings
look the image enter image description here
Please tell me the solution
I can also share my computer screen with anyone
for this problem
I want to access all internal storage and external storage images and videos while clicking a button. Like own file manager I want to create in android studio, can you please help me to find the correct solution
I note that other apps (testing on Android) like WhatsApp, etc have folders that contains images the user has used/downloaded. These folders (like WhatsAppImages) are visible in other apps (Gallery/File Explorers, etc) so you can use those files to share, delete, etc like any other file.
In my codenameone app I download image files but they cannot be seen anywhere on the local device. I understand that for security apps run in a sandbox and this may be why.
But how do these other apps make their downloaded files visible to the general file system and other apps ?
Many Thx
Codename One doesn't support that at this time but you can use native interfaces to add this as explained here for Android: How to save image in android gallery
and here for iOS: How can I save an image to the camera roll?
You can also file an RFE to add this either as a cn1lib or API.
I am a developer of iOS, and developed a mac app. Now I want to distribute my app so that a searched for it and found that we need to upload .app to Mac App Store it looks fine. While for self distribution we can have three options:
is to share our app
is to create .dmg file
is to share .pkg file (Package Maker).
In pkg file my client want to install app without introduction, read me as well as license agreement, I removed the license and readme but unable to remove introduction section. Please help me out from hereā¦
Thanks in advance
If you dont need any introduction, readme etc, the best option is to create a DMG.
You don't need any external tools for this.
Copy your app to a new folder.
Open Disk Utility -> File -> New Image -> Image From Folder.
Select the folder where you have placed the App. Give a name for the DMG and save. This creates a distributable image for you.
If needed you can add a link to applications to DMG. It helps user in installing by drag and drop.
How to create a dmg file for a .app for mac.?
It's a subjective issue, but .dmg's are a good and popular way to distribute the apps - user double-clicks, drags app, ejects just as they would a USB stick, done.
You can get apps to help you build them, but its not too Hard with Disk Utility, you just need to mess around a little to make it look nice. Here is one way to do it:
Use Disk Utility to create a new empty sparse bundle disk image
Double-click the image to open it.
Copy your app into the image.
Make a link to /Applications in the image.
Hide the toolbar/sidebar/etc. as desired.
Using View Options set to always one in icon mode.
Also add a background image if you like using View Options. Background images often contain text such as "Drag App to Application". Layout the app and /Applications icons to match your background image.
In another Finder window eject the sparse bundle.
In Disk Utility use Images -> Convert... to convert the sparse bundle to a read-only DMG
HTH
I strongly recommend DMG Canvas . For a very modest price, it allows you to create a professional looking dmg, with a license agreement and every other common feature.
I'm not affiliated in any way with the software, just a long time user.
I am using Visual Studio 2010 and the Windows Phone 7 Emulator in order to create an app which allows the user to take a photo and then save it into a folder on the file system and also create a reference of it on the database so as all of the images on the database can be displayed on the app. I can't however save the Image that is taken by the camera, I have spent ages looking through the Cordova docs and other websites. It looks as if I need the file location of the image taken by the camera but I cannot get the consol.log to open, I have been through my Registry Editor and I cannot get it to display. I would love an example which would show me how to get the camera image and either save it to localstorage or create a copy in order to save it into a folder.
Thanks in advance
Use FILE_URI for Camera.DestinationType option. It will make the image captured stored in the device's image gallery.
Reference: http://docs.phonegap.com/en/2.6.0/cordova_camera_camera.md.html#cameraOptions