Android :: Deploy SWIG Dependent Dll's With Droid App?
Nov 17, 2010
I would like to use a .jar file generated by SWIG in an Android application. What is the best way to deploy all of the underlying dll's with the Android application?
In a desktop environment, my PATH variable includes the folder containing these dll's.
View 1 Replies
May 11, 2010
I'm currently working on Android NDK, porting my libs, and I'm using SWIG (Simplified Wrapper and Interface Generator) that is a great tool to generate JNI code around my C/C++ headers for Java.
However, there is a big issue using it on Android, 'cause of incomplete JNI support : 'Weak Global References' are missing. Unfortunatly, SWIG is waiting for a full compatible Oracle/Sun JVM, and use this feature with its 'director' option (for proxy class creation).
For now, I comment each time, in a (kind of) bad way, the use of weak global references in my generated C/C++ wrapper files (4 lines in my case). I think it is really a shame that we can't use (one of) the best wrapper with Android NDK just for one missing feature.
I read that Google Team will add it in future release : "NewWeakGlobalRef and DeleteWeakGlobalRef are not implemented. The VM supports weak references, but not JNI "weak global" references. These will be supported in a future release." (http://android.git.kernel.org/?p=platform/ dalvik.git;a=blob_plain;f=docs/jni-tips.html;hb=HEAD)
So my question is, does anybody know when 'Weak Global References' will appear in Android NDK ?
View 4 Replies
View Related
Oct 27, 2010
I have developed a database application for Android. Now I want to make it available to deploy it. But I don't how to deploy it with the database.
View 1 Replies
View Related
Jul 28, 2010
I simply want to ask that is it possible to deploy Silverlight Apps on Android.
View 2 Replies
View Related
Feb 11, 2010
I am in need to write an application for Android devices that needs to access a large (~200MB) database.
What would be the best way to do this? Can I just stick the database in the assets folder? I have read of various limitations that apply to the entire application size and to individual resources within, especially on some devices... What are exactly these limits?
Is there any way to do this apart from a post-installation download from an external server?
View 1 Replies
View Related
May 5, 2009
I have 2 projects in the following layout
MainActivityProject -> BaseProject
(i.e. MainActivityProject depends on the other project). Both are android projects created with the eclipse "New Android project functionality) however, the BaseProject does not have an activity defined. However, in BaseProject I define an activity base class where MainActivityProject's Activity derives from. This used to work fine up until 1.1 but now with the 1.5 SDK I get ClassNotFoundExceptions when launching the app.
Any suggestion on how to fix this? I obviously dont want to copy all the sources to a single project as I intend to reuse my Activity base class for other things (it contains some boiler plate stuff that I dont want to have in each and every activity.
View 3 Replies
View Related
Mar 25, 2010
I want to publish my application (ABC). Its an audiobook file(just for example.) wrapped as apk. When the user install this application it needs to check whether another application (XYZ) already installed or not. If not let the user know they have to install the application XYZ first before installing ABC.
View 1 Replies
View Related
Mar 11, 2010
I have two activities, one per orientation - PortraitActivity and LandscapeActivity. They are pretty much different, I can't use one Activity with different layouts. If user changed orientation I have to shutdown one of them and start another. What is the best way to manage them? Does it make sense to create GroupActivity? Or each Activity should check if the current orientation is what it needs? If so, is it save to start new Activity in onCreate method of previous one (which is not actually created yet)?
View 5 Replies
View Related
Jun 23, 2010
I am using Ksoap2-Android for consuming the WCF Services.
For the dotnet client we keep the allowCookies="true" in our binding configuration and it sends the same sessionid and keeps my sessions intact in my WCF services (My services are
interdependent and use the sessions).
Any one know any such setting for ksoap2-android, that will allow me to consume the
WCF service keeping my session intact on the server.
Currently when i make a new call to the service, the sessionid gets changed and all my
session variables clear out and loose their values.
View 1 Replies
View Related
Sep 27, 2010
According to the API doc, Android seems to support for changing the data size of Parcel container. And there is no notice limiting the size of Parcel. The document is here http://developer.android.com/reference/android/os/Parcel.html#setData...()
On the other hand, when our developers are doing some tests on this, the size is dependent on the platform and devices.
So i just wonder whether there is any limit on the data size of Parcel. At least this information should be mentioned in the API document.
View 2 Replies
View Related
Dec 23, 2009
This is a newbie Droid question, but how do I deploy an application to the HTC Eris? I have the Eclipse ADT plugin and I am able to run the emulator, but now I want to push it out and try it for real.Can someone point me to documentation that shows how to do this?
View 1 Replies
View Related
Aug 5, 2010
I developed an application. Now I want to deploy it on real device. Can any body please tell me the steps and the requirements to deploy it on a real device.
View 5 Replies
View Related
Jan 21, 2009
My application may consist og 100Kb code and 800 Kb Database content. If I include a datafile with the 800Kb data and import it into an SQLite database under the initial run of the applcation, I cannot delete the data file afterwards and my application will take up 800 Kb unnecessarily. Is there a better way to include/import my data....? (I want my application to not depend on being online after download - so the data should be downloaded with the application.
View 14 Replies
View Related
Aug 10, 2010
I'm an android newbie having a lot of troubles with the android emulator. I have inconsistent luck in starting up the emulator, and no luck if I start it from within eclipse instead of from the commandline (it waits forever and never boots -- not even after 24 hours).
However, since I figured out how to get it to (sometimes!) start from the command line, I have a workaround to that particular problem. But I have no workaround for my latest problem.
When I try to run it:
CODE:................
But nothing starts on my android instance. MyApp doesn't even show up on the app list.
View 2 Replies
View Related
Apr 26, 2010
It is possible to deploy a build on Google Market filter by the resolution and handset?
For example: I want to deploy a build that works only on the devices that have 480x800 and only OS 2.x
View 3 Replies
View Related
Sep 15, 2010
Once I complete the application . How i will create the setup file and deploy it.!
View 2 Replies
View Related
Jun 26, 2010
My android app is not in the app store yet. Is it possible to send my app to someone, and they install it on their device. Something like iphone AdHoc?
View 3 Replies
View Related
Dec 4, 2012
For my work, I need to change the original ROM of the tablet received from factory to make them at the image of our company.Is there a simple way to do this ? make the changes on one tablet, extract the ROM (so far so good) and deploy by a simple way to all the other tablet (more hard at this point) ?
View 3 Replies
View Related
Dec 2, 2012
I am asking this because recently bought a BLU VIVO D910a phone from U.S., it has Android 4.0 firmware and its 3G Network is HSDPA 850 / 1900.
I made a big mistake, because the country where I currently live and work (Montenegro) uses 2100 3G network. I shoud have ordered the international version of BLU Vivo, the D910i which has HSDPA 850 / 2100. So, currently I cannot make use of the 3G data capability of my new phone
My question is: if I get the firmware (or just the modem.bin) of D910i and flash it to my phone will I change by this way the 3G frequency or it is hardware-dependent?
View 4 Replies
View Related
Sep 8, 2011
I am about to assist in deploying a large amount of android device. The requirement is, that the devices (700+) need to be charged, configured and provisioned with the relevant applications for the end-users before delivery.
Device info:
Android 2.3.3
Samsung Galaxy SII
This is not windows mobile, so I am unsure if I can code/design a solution to avoid this enormous manual task.
Is it possible to code something for an sd-card that will be automatically triggered on insertion (as on WM)? This would then provision the device etc.
Is it possible to bypass the initial prompts - To my knowledge you will be prompted for entering the info for your google accounts?
do I then need to create 700+ google accounts?
View 7 Replies
View Related
Jun 14, 2010
I just started to play with android dev and java+eclipse is pretty new to me. I managed to create simple project and run it on my device. Now I want to create simple game (more of them actually) and I would love to use shared code base for all of them (game loop, initialization, etc..). Problem is that I have no idea how to correctly do this. I created android project called engine with all basic stuff that I need and made it work on device. Now I tried to create another project in same workspace called mygame. Main class (activity) of mygame is MyGameApp which inherits from EngineApp (main activity of my engine project) which inherits from Activity. I added engine project into required projects in mygame build path tab in properties. Problem is that when I try to run this project it crashes on ClassNotFoundException trying to find my MyGameApp class.
View 1 Replies
View Related
Aug 18, 2010
I have an open-source application on the Android market. It seems to work fine for me (with over 1,000 active installs, I have to presume that it works for most people).I recently got a bug report that indicated a problem for at least three users on Samsung phones (Intercept and Captivate). I have been unable to reproduce the problem on my ADP2 and on the emulator.In order to get enough data to diagnose the problem, I first tried to add logging and then I asked users to submit logs via Log Collector. Each time a user tried to send the log (there were four attempts), it was truncated and I did not get any useful data.I then added ACRA to the project in an attempt to get information, but I don't seem to be able to automatically detect the bug in order to send a report.Since I don't have a Samsung phone and I can't reproduce it on anything where I could connect with the debugger, I am mostly out of ideas. The only idea I have left is to add a button to the UI to generate a report.Are there any other approaches to suggest?
Update: since people are asking for more specifics: essentially, the app reads in text files from the assets and puts them (with some preprocessing) into a TextView in a ScrollView. (The data is prgressively added to a SpannableStringBuffer and then that is passed to TextView's setText() function.) Depending on the options chosen, the text displayed is between 15k-115k. On phones with this issue, only part of the text is displayed. The cutoff point depends on the options, but seems to be somewhere between 17k-18k.
ACRA sends a report for all uncaught exceptions and puts them into a Google Form/Spreadsheet. I've gotten reports from my emulator and from my phone, so I know that end works. (Actually, I've often found it faster to debug from the stack trace in that report than to attach the debugger to the process.)Phone specs: I have exercised the app on emulators running 1.5, 1.6, 2.1, and 2.2. My phone is ADP2 (the developer version of the MyTouch), but I've installed a third-party ROM to jump up to Froyo (2.2). I am unaware of an emulator specifically for the Samsung OS build, although that would be quite helpful here.Since the expected text length is constant, I should be able to detect if it is read correctly or not. I added checks at the end of my text processing, but those never triggered, indicating that the problem was not with reading the file. I then tried adding checks to onPostCreate and onPostResume, but those did not fail either. It seems that the UI thread had not yet actually run at that point, though.I've now done 6 private APK versions attached to the bug in the bug tracker. I frankly am surprised that any users are still trying them. This latest version has a button to force a bug report - that will only be called after the UI thread has laid out the screen. Hopefully that will give me enough variable information to point me in the right direction.
View 2 Replies
View Related
Jan 18, 2010
Since I'm really not a fan of Eclipse I'm developing my Android app by following the rules listed here: http://developer.android.com/guide/developing/other-ide.html When I'm deploying with the 'adb install' command I have to manually uninstall the APK from the emulator every time or else the install won't work. Is there any way to bypass this? It's fairly annoying having to add this step in every time.
View 1 Replies
View Related
Jul 14, 2010
Seeing as Motorola is locking down the Motorola Droid X and likely the Droid 2, what should I replace my Moto Droid with? I've been totally happy with the phone to the extent that I tell people it's the coolest thing I've ever owned in my entire life... that's 51 years for you youngsters. I'm of course on Verizon and will stay with Verizon. I've paid zero attention to any phones other than the Moto Droids. Alas, lockdown is not acceptable. So now I have to go through the whole learning process all over again.
View 10 Replies
View Related
Sep 7, 2010
Just out of curiousity why is skype on those droid phones but not the Evo? I also noticed swype the kb everyone talks about but Evo users have to practically tweak and hack to get swype to work on their phones.
View 18 Replies
View Related
Aug 4, 2010
Comparison: DROID vs. DROID 2 vs. DROID X vs. Incredible | Droid Life: A Droid Community Blog
Droid X only with 256 RAM? Is this a typo? According to several review sites the X has 512 RAM.
View 15 Replies
View Related
Aug 16, 2010
I'm upgrading from my Droid 1 to the Droid X tomorrow and would like to start my use of the DX with it's new 32gb card in place of my old 16gb card from my Droid 1 but need to know if there's anything required to copy from my droid 1 16gb card to my new DX 32 gb card that would be required or helpful in the DX use.I will obviously transfer music/vids/pics but are there any essential files, apps, etc. that are needed.Or is it a good idea to use my paid MyBackupPro to copy the old Droid 1 apps/data for use in the DX larger memory card or is this not copatible to perform between the 2 devices?
View 1 Replies
View Related
Sep 2, 2010
I have a Motorola Droid and the latest release of Android (Froyo 2.2).My question is I want to send a music video that is going to a Non-Android phone. This phone can play videos and is a standard Verizon branded phone. The video has already been converted to the standard .3gp format from my PC which uses Roxio 2010 Video converter. I have the following Apps installed to assist me:Astro File Manager (With both extensions installed and latest release)Handcent SMS (No Font Packs Installed).The video itself is almost 4 minutes long and the size of the video is only 9.40MB.
View 16 Replies
View Related
Dec 14, 2009
Just trying to get bearing on this project Im working on for Android / Droid devices.
Im about ready to release a beta test for a printing utility in a week or two and was wondering if a Bluetooth printing utility would interest anyone.
Basically it will print from various standard PIM applications on the device printing Text and Graphics on Full-Size HP-PCL compatible printers as well Small Format ESC/POS mobile printers.
View 49 Replies
View Related
Jul 24, 2010
When I try to enable it in the settings is says Wi-Fi and "Error" below it. Could it be a bug in the ROM? In phone information the Wi-fi MAC address in unavailable.
View 10 Replies
View Related