blackberry eclipse show device folders - java

I am an android programmer but quite newbie using blackberry. How to show device folder structure if using eclipse BB SDK? same as File explorer of android SDK... Thank you

Blackberry project does not have anything like "device folder structure". There is a file explorer application on the device, that can help you to navigate file/folder on device filesystem.
All applications on BlackBerry are installed to special memory block, it is not a filesystem. It is a closed memory block of internal memory dedicated to installed applications.
It has flat structure, and there are no folders. All files of installed applications have to have unique names. Otherwise new files will replace existing ones.
Also, as you are a newbie, this link will be helpful: https://bdsc.webapps.blackberry.com/java/documentation

Related

Is there a way for Android apk to download executable java module and run it?

I've got an app in Google Play, as well as on Amazon Appstore, Huawei Marketplace, Samsung Apps and one more e-shop in China.
It's a puzzle game. Regularly, I implement new types of puzzles. Each time, I then have to make them available to the users by creating new version of the app and publishing it to those 5 shops.
Implementation of a single puzzle consists of 2 Java classes, a binary file and a few pngs (icons).
I am thinking that maybe it would be possible to write my app in a way so that it could instead download such 'puzzle modules' from my server? The apk would then need to be able to download executable Java code from Internet and somehow 'adjoin' it as a module to itself. Is that possible?
it is possibile, but it is also restricted in some stores, in Google Play for shure. (also possible on iOS, also restricted in App Store)
this is just very unsafe letting developers adding some executable code without store reviews and informing users, so policies are forbidding it

How do I add app-ads.txt to my Android Studio project

The message comes permanently and I think it belongs to the sites, but what about the Google applications? Where is the file placed in the project?

Making IPTVCore to work

I am new to android and java development although I am an expert with IPTV and I have made the biggest Greek and Cyprus IPTV but since there is a lack of Greek IPTV android apps I decided to make one application.I found IPTVCore on playstore which is made by the developer of the IPTV app.In the description it has a link on an app that uses iptv core github
I downloaded the zip changed the icons and renamed the files. In MainActivity.java I removed the first comments and added my playlist url and changed package name.
I have android studio and eclipse with android addons.
How to make it an apk?
If you mean to simply be able to load it onto a devices to test then both Eclipse and Studio will allow you do this when you elect 'Run' and have a device attached via the USB (with USB debugging enabled). This will actually install the apk on your device so you can test it.
If you mean actually making the apk available for others (via the play store for example) then you should look and the Android publishing documentation:
http://developer.android.com/tools/publishing/publishing_overview.html
In very broad terms, you develop the app, build it, test it etc and then when it is ready for release you build it for release (remove all debug code, test data etc), sign the app, and release it via a marketplace like Play Store, or avi email or your own web site.
One important thing to remember is to version the app properly - the is important for all the obvious reasons (users or support wanting to know the version) but also because the marketplace update mechanisms may use it to check what versions can be updated etc.
Update - answering the question in the comment below:
There are two approaches suggested in the Readme file with the project:
To build you custom IPTV app you can do one of the following:
Clone iptv.example project, change app name, launcher icon, and
package name.
Blockquote
Create new Android project with empty activity and use
the code from MainActivity.java
The second one might actually be simpler for you if you know how to create a simple Android project - just do that and then replace the MainActivity code in the newly created project with the code in the MainActivity file (the only java source file) in the githib project you have downloaded.

Copy sqlite db file from Android terminal to Windows OS

I want to copy the sqlite database from data/data/[package name]/databases/ to Windows Operating system.
Currently, I am inside Android Terminal shell of Android studio and my current path is /data/data/example.com.sensor/databases.
There is a sqlite file in this directory. The name is sensor.sqlite.
This is perhaps an easy question for experience user like you.
However, I have spent 2 hours yet I find the result.
Thank you.
Regards,
Jimmy
Since your device is not rooted, you cannot do this from outside of the application. If it's your application, you can add a temporary routine into the application to copy the database to public storage, then use adb or MTP to copy the file to your Windows computer.
Or, you can just root your device.
See below attached image.
* To pull any file(note here you can pull only file,not folder).
-> As you can see just select your device from Device tab (On left).
-> Then Goto File Explorer tab and find path of your database.
As in image you can see I have open database directory of com.android.browser package application.
If you got some problem of finding your app package there, See another screen-shot below.And find app as directed there.
Steps :
Open Android Device Monitor.
Make sure your device is online & if your device is online, you will see like this in left side (Available device). Choose your device & in the centre at File Explorer tab, you can see the db file exists. The path is data/data/Your-Application-package/databases/Your-db-file
In the right top side, click Pull once you selected your db file and save it with extension .sqlite.

Including Adobe AIR/Flash with Application

So I developed an application for Android of which uses an SWF file. Now, I did this within Eclipse instead of using Flash CS6's native AIR libraries and such. Many devices of which downloaded the app are seeing it break because they can't support flash.
How would I go about including something like the AIR Runtime bundled with the application so all users could use the application?
Many thanks in advance.
Download the AIR SDK from Adobe. Create an application descriptor that references your SWF file and contains the proper settings for an Android mobile app (all documented on Adobe's developer site). Then use the AIR ADT tool to package it into an AIR app. That's all you should need to do assuming your SWF file is otherwise normal.

Categories