Science topic

Android Application Development - Science topic

Explore the latest questions and answers in Android Application Development, and find Android Application Development experts.
Questions related to Android Application Development
  • asked a question related to Android Application Development
Question
3 answers
I have to record data coming from serial port ( usb to serial ). I am using android phone. I need an android application which can capture and save in a text file for later uses. This text file could be share able among other devices. Can anybody suggest some android
application link? Thank You.
Relevant answer
Answer
I have found an application . This is perfectly fitting for the requirement.
  • asked a question related to Android Application Development
Question
6 answers
Hi, my M.Sc. thesis is "Detecting Android Malware using TF-IDF and N-Gram Methods Leveraging Text Semantics of Network Flows”. In my M.Sc. thesis I have worked on malware detection to find a new solution for malware evasion problem in android environments.  I want to implement my idea with "Rapid Miner" thus I need a ".csv" data-set of malware and benign app network flows. I've downloaded many data-sets but none of the satisfied my needs. The most appropriate data-set among all of them for me is Android Malware data-set (InvesAndMal2019).
It's a great ".csv" labeled data-set but unfortunately all of data-set rows labeled as BENIGN. 
I really need a ".csv" labeled android malware data-set composed of MALWARE and BENIGN network flows.
Can anybody help me with this?!
Regards
Mikael
Relevant answer
Answer
You can try BLADE Android Malware Dataset available on Kaggle.
  • asked a question related to Android Application Development
Question
5 answers
Is their any feature extraction tool 
Relevant answer
Answer
You can try BLADE Android Malware Dataset available on Kaggle. It is created using static analysis.
  • asked a question related to Android Application Development
Question
5 answers
Orchid related data in SQLite DB format attached in Asset folder with Android Application and application work only upto Android 8 (API level 26) but the inbuilt Database is not visible in Android 9 (API level 28) . What's the reason behind this?
Application built in Eclipse Juno Framework
Relevant answer
Answer
Below code is used for calling/attaching that DB file (saved in asset folder) with application
public class DataBaseHandler extends SQLiteOpenHelper {
public static String DB_PATH;
public static String DB_NAME = "orchidpedia.db";
public SQLiteDatabase database;
public final Context context;
public SQLiteDatabase getDb() {
return database;
}
public DataBaseHandler(Context context, String databaseName) {
super(context, databaseName, null, 1);
this.context = context;
String packageName = context.getPackageName();
DB_PATH = String.format("/data/data/nrco.orchidopedia/databases/", packageName);
DB_NAME = databaseName;
openDataBase();
}
public void createDataBase() {
boolean dbExist = checkDataBase();
if (!dbExist) {
this.getReadableDatabase();
try {
copyDataBase();
} catch (IOException e) {
Log.e(this.getClass().toString(), "Copying error");
throw new Error("Error copying database!");
}
} else {
Log.i(this.getClass().toString(), "Database already exists");
}
}
private boolean checkDataBase() {
SQLiteDatabase checkDb = null;
try {
String path = DB_PATH + DB_NAME;
checkDb = SQLiteDatabase.openDatabase(path, null,
SQLiteDatabase.OPEN_READONLY);
} catch (SQLException e) {
Log.e(this.getClass().toString(), "Error while checking db");
}
if (checkDb != null) {
checkDb.close();
}
return checkDb != null;
}
private void copyDataBase() throws IOException {
assets
InputStream externalDbStream = context.getAssets().open(DB_NAME);
String outFileName = DB_PATH + DB_NAME;
OutputStream localDbStream = new FileOutputStream(outFileName);
byte[] buffer = new byte[1024];
int bytesRead;
while ((bytesRead = externalDbStream.read(buffer)) > 0) {
localDbStream.write(buffer, 0, bytesRead);
}
localDbStream.close();
externalDbStream.close();
}
public SQLiteDatabase openDataBase() throws SQLException {
String path = DB_PATH + DB_NAME;
if (database == null) {
createDataBase();
database = SQLiteDatabase.openDatabase(path, null,
SQLiteDatabase.OPEN_READWRITE);
}
return database;
}
@Override
public synchronized void close() {
if (database != null) {
database.close();
}
super.close();
}
@Override
public void onCreate(SQLiteDatabase db) {
// TODO Auto-generated method stub
}
@Override
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
// TODO Auto-generated method stub
}
  • asked a question related to Android Application Development
Question
1 answer
I'm currently working on a journal paper to try monitoring social media apps and their frequency of use. I'm using Android studio as an IDE.
I wonder who could join me with my study?
Relevant answer
Answer
A very important scientific affair
  • asked a question related to Android Application Development
Question
5 answers
Dear all,
I am currently studying masters in software engineering and management and looking for thesis topics related to android.
it would be great if you could provide some ideas.
Relevant answer
Answer
resources sharing app in fog computing environment and metering
  • asked a question related to Android Application Development
Question
8 answers
I did this process base on the following link:
  1. Open up settings and then go to WiFi.
  2. Now, you will see a gear on the top of this screen, click it. But if you don’t see it, look for “Configure WiFi” option and click it. Some Android system have Advanced option in WiFi, MAC address can be found there also.
  3. Voila ! You can find the MAC address on the bottom of this screen. Keep a note of it.
  4. In order to get the interface name, you will have to install Terminal Emulator for Android. Go to Google Play Store and download it or click the link to get it.
  5. Once you download it, install it and open up.
  6. Type the following command : ip link
    1. You screen will be filled with lot of information, useful and useless. Now, remember I told you to keep a note of your MAC address. Just look for this MAC address under “link/ether” for all the cases.
    2. The one that matches our MAC address, is the connection name. For most of the devices it is either “wlan0” or “eth0”.
Now, that we know our MAC address and the connection name, we can go on to change the MAC address with this terminal emulator only. Before that you should have a valid MAC address in your mind or generate one from this link. Once, you have a new MAC address, just get on with the below steps:
  • Launch the Terminal Emulator
  • Just type the following command: ip link set wlan0 address XX:XX:XX:YY:YY:YY, where wlan0 is the name of the interface and XX:XX:XX:YY:YY:YY is the MAC address you want to set.
  • Important thing to keep in mind that the manufacturer name should be kept unchanged while changing the MAC address i.e. XX:XX:XX (first 6 digits) should be same as before, otherwise you might face a lot of authentication issue.
  • This is only a temporary change and when you restart your device, your previous MAC address will be retrieved back."
I have an error "Operation not permitted"
What should I do now?
Relevant answer
Answer
Well, I don’t think you can. At least you shouldn’t be able to.
  • asked a question related to Android Application Development
Question
4 answers
Mention some features of Android Pi
Relevant answer
Answer
Thank you Prof.Amina Bouraoui
  • asked a question related to Android Application Development
Question
1 answer
According to the aim of my article, I wanna design the creative ideation software. I want to know your comments about its algorithm.
Relevant answer
Answer
do you have a basic algorithm in mind?
see the work and questions of
there are perhaps 2 approaches: implementing design heuristics in software to suggest suggestions/ combinations.
using semantics to suggest possible metaphors for products
i.e. creating metaphors or design visions
  • asked a question related to Android Application Development
Question
4 answers
We are launching a new application for international market. There would be slight changes based on the country in terms of the dynamic content from web-services. We are confused whether we should go with application for all countries which will be customized based on user country selection or multiple apps with respect to countries.
I would really appreciate an intellectual and best help from the expert.
Relevant answer
Answer
Creating multiple applications to handle language and cultural variations would result in a maintenance nightmare. Your application future would have a very short horizon as success will demand more applications which require more maintenance which eats up your developer time leaving nothing for new features. The calculus is simple. All credible development environments will provide language independence and the ability to control page navigation based on a language key that you can read from your users web or device profile.
On the other hand, if you are considering a web application I would avoid a generic mobile development environment unless you plan to go beyond the 98% of the market held by Apple and Android. In discussing this with vendors of such systems, they universally have agreed that unless you are looking to support a range of platforms beyond just Apple and Android you'd be better of writing two applications. These systems were conceived to write applications to support Apple, Android, Blackberry, Windows Phone, Windows Universal, etc. The problem is that there are only two vendors left standing after the phone wars. The overhead of working in a generic solution saturated with "if apple then do this" and "if android then to this" will add about 50% to your code and still curtail your ability to take full advantage of the device. This is a reasonable compromise if you are supporting 5 targets, but not for just 2.
You might want to consider coding your application in either Android or Apple depending on your target market and then outsourcing the other. Outsourcing can have challenges, but this represents the simplest case. Given the Android/Apple code create the Apple/Android code to do the identical thing taking advantage of best practices for the second device. The core logic will be the same and it will be easy to QA.
  • asked a question related to Android Application Development
Question
2 answers
As a end user / developer, what are the factors or components you consider for application performance 
Eg : CPU Ussage, Network Consumption, Responsse Time.
Would love to hear about the performancce components, the ones you care for the most and your ways to benchmark it.
Relevant answer
Answer
Specifically for Android, consider looking up Application Profiling.
This is done with all application development (profiling), not just Android applications. It is the most basic kind of performance testing.
After you collect data (create a profile), you can analyse it and compare it to other, similar applications, or just different versions or branches of the same application.
As for testing it on different hardware is concerned, this is of no use, because that way, you are actually testing that hardware's performance and not the application. Similar goes for performance measurement under different system loads (RAM, CPU etc). In this case, you are actually measuring your system's ability to properly multitask. Neither of those shows how your application is doing on its own. You need to measure *its* memory usage and see if it can be reduced. You can measure how much work the garbage collector is doing and if variable and object use can be optimised (resource reuse). You can see how your threads are performing, how many there are, are they evenly balanced in terms of work (load). These are the metrics you could use for study.
  • asked a question related to Android Application Development
Question
4 answers
Server program will receive a request from android client and fetches data from database.
Relevant answer
Answer
You can write the server in pretty much any technology you are most comfortable with (if it is for testing/prototyping purpose). If it is for production, than you might want to put a little more thought into performance and scalability.
On the other hand, you should first ask yourself what the server is supposed to do.
  1. If you want to have the server deliver data to your app (and possibly with some form of restrictions - user authentication etc) without much processing on the server end, than you might want to use some sort of generic CRUD interfacing API generator software to build your server application based on your data model.
  2. If you want to have the server simply collect data, like say... from sensors (with or without some special authentication features in this phase of your project), than you might want to go with a simple storage API. You can find a number of good and free solutions for this. You basically build a database model, pass data through from the client via routes defined by some naming convention. There are on-line services that allow this. Some are free for a period of time (some even up to a year).
  3. If you, however, want to have the server application perform some special logic (business logic or data transformation, manipulation, filtering etc) before sending it to your mobile application, than you will probably have to go with a platform that you are most comfortable working with, because you will end up having to write out the code for much of this logic on the server side and it is always best to do it in a language and technology that you are most comfortable and familiar with. For me PHP would be the language of choice in combination with a DBMS such as MariaDB or MongoDB (depending on the type and structure of the data and on how often this data structure changes if it even does).
I hope that this gives you some more pointers on how to proceed in finding the best solution for your task and research.
  • asked a question related to Android Application Development
Question
3 answers
I'm working to localize the malicious payload in malicious android code. To my best knowledge, a little work has been done addressing this problem. My main interests go in the direction of establishing only whether an app is trusted or malicious.
Relevant answer
Answer
Machine Learning approaches will give you better results..
  • asked a question related to Android Application Development
Question
3 answers
android application , database , cloud computing 
Relevant answer
Answer
To take a different interpretation of your question than @David did: It would be a good idea to standardize on REST as your data access API. That will give your app database independence to the extent that any particular database's paradigm matches your app's needs. Most modern databases support REST and there are third party and open source REST frameworks for several of the ones that do not.
  • asked a question related to Android Application Development
Question
3 answers
I have created map using QGIS software that shows data-set records in it. Ans i also developed android application where user want to see that map. But I am stuck in how to show this QGIS map on android application.
Relevant answer
Answer
To show a custom generated map from QGIS in an android application you can do the following:
Please note that I haven't done this myself in an Android app but I have done it on my website using the Google Maps JavaScript API. The functionality of the Android API is somewhat more limited but the link referenced here has a table of supported features.
  • asked a question related to Android Application Development
Question
3 answers
I am working on diabetes prediction. For that i am developing mobile application which is going to predict diabetes for patient. And i want to merge WEKA tool with Android application it means,the disease entries should be perform on Android application and it should direct on Weka tool for disease prediction and result of prediction should be shown back to Android app.So should i get the Android Studio code for the same..?
Relevant answer
Answer
Thank you.. It's very helpful.
  • asked a question related to Android Application Development
Question
3 answers
We are developing android-apps using python-kivy. We developed an app compile it using buildozer and run successfully on android device. We fail when we used mechanize module in our app. 
Relevant answer
Thanks for information, links are useful; but my problem is different. In our case mechanize is working fine, it fails when I use it in mobile app.
  • asked a question related to Android Application Development
Question
2 answers
I want to create the Java file as well as xml file of Fragment for the Tablet as well as for Generic Android platform.
How to connect between Fragment to ActivityMain?
Also suggest the xml part and the java implementation also...
Relevant answer
Answer
Check the video on youtube (slidenerd) on fragment it may help u... i think your question should be more specific ..u can find it on youtube easily
  • asked a question related to Android Application Development
Question
3 answers
How do I detect intents using androguard for static analysis of android applications?
Relevant answer
Answer
An Intent is a messaging object you can use to request an action from another app component. Although intents facilitate communication between components in several ways, there are three fundamental use-cases: To start an activity: An Activity represents a single screen in an app.
  • asked a question related to Android Application Development
Question
1 answer
Dear All,
I am trying to understand how the ASF example  for Android Open Accessory Works. I came across some documentation as follows:
Besides these documents I coouldn't find any useful information on the web or from Atmel Website. I assume there would be two API (from Host Controller Interface UHCI) functions used to send data to Android Phone or read data from Android device.
bool uhi_aoa_write(uint8_t *payload, uint16_t payload_size,
        uhd_callback_trans_t callback_end);
bool uhi_aoa_read(uint8_t *payload, uint16_t payload_size,
        uhd_callback_trans_t callback_end);
 I tried to place break point on these functions, but after debugging the function never come to this breakpoint. I don't know really what is happening out there. How to understand what is happening in the example. There is no help or tutorial or any documentation. I have just the example program which I couldn;t understand. I am using evaluation board EVK 1105. It is really annoying. 
I am new to AVR and hence to AVR32.  Can someone please just give me guidance how to proceed. I am completely blocked.
Relevant answer
Answer
The AVR32 is a 32-bit RISC microcontroller architecture produced by Atmel. The microcontroller architecture was designed by a handful of people educated at the Norwegian University of Science and Technology, including lead designer Øyvind Strøm, PhD and CPU architect Erik Renno, M.Sc in Atmel's Norwegian design center.
your best choice is to contact above mentioned university
  • asked a question related to Android Application Development
Question
3 answers
Anyone knows how to fix?
Relevant answer
Answer
I have just encountered this and a little search on stackoverflow shows you need to either edit your SDK compile version either through the modules settings or in build.gradle file (then sync)
  • asked a question related to Android Application Development
Question
5 answers
Dear friends,
I am implementing Kalman Filter on an Android device to get rid of noise generated due to double integration of accelerations from accelerometer. The aim of my project is to control the position of a model car so that it follows a specific trajectory. Kalman Filter predicts the position from some reference model to estimate the position in a recursive way. I can also take measuremets e.g from another sensor lets say, gyroscope, instead of car position from the physical model which could also be regarded as sensor fusion. The scenerio for first case could be as follows.
First step is to create the phycial model of the car. well as I am using an RC car. The input is the speed command to the wheels and output is the acceleration from the sensors. Which are the same as meaurements in the Kalman filter. I am not sure if this modelling approach is right? Does any one have experience in this area? The equations which I have created so far are as follows:
x(k) = x(k-1) + dt* derivative_of(x(k-1)) + velocity_of_car@(k)
derivative_of(x(k)) =   derivative_of(x(k-1)) + dt/2* velocity_of_car@(k)
Where derivative_of(xt(k)) and xt(k) are the only two states of the car under considerations. Please first tell me if these equations are correct. and then if my approach towards Kalman Filter implementation is correct.
Regards,
Zahid Raza
Relevant answer
Answer
The equations that you have written down simply seem like double integration itself, which is exactly what you want to avoid. In order for the Kalman filter implementation to work well, the actual model of the physical system (In this case the RC car) should be implemented. Now the model of the car is available in several resources, see for example chapter 2 of the following thesis,
specifically see Eq. 23. In your case the measurements should be \dot(v_u) which is the acceleration.
  • asked a question related to Android Application Development
Question
1 answer
I am working on a android app which requires a video player. I need help for fast forwarding the video by swiping to right?
Details are in the link.
Relevant answer
Answer
Do you want to seek the video at right swipe ? If it is so you can simply use a videoview ...deploy a toucheventlistener and based upon the difference between the touch down action and touchup action you can seek the video using seekto function by supplying the required milliseconds as calcuated by the ratio of the differnce to the song duration as a parameter.
  • asked a question related to Android Application Development
Question
4 answers
android app developers
Relevant answer
Answer
Zooming an image and text individually may require changing the attributes of these two views. which could be done either by changing the attributes in the xml file or making some function calls via java code. Instead we can also zoom either imageview or text at the runtime using some function calls at click or touch listeners of image and text.
So kindly elaborate where and why do you want to zoom image and text,
  • asked a question related to Android Application Development
Question
3 answers
How can I implement Machine learning techniques on Livestock Android application, to answer questions and make predictions basing on experience? The app should respond to livestock keepers in absence of livestock extension officers, in poor connectivity areas.
Relevant answer
Answer
Sorry Muhammad, can I have access to those projects?
  • asked a question related to Android Application Development
Question
3 answers
i am doing research on how to test mobile applications using model based techniques.. is there any existing algorithm for testing mobile applications??
Relevant answer
Answer
thank you sir..
  • asked a question related to Android Application Development
Question
2 answers
Thanks in advance for your replies.
Relevant answer
Answer
Thank you Sanjay..Can you guide me about How to Install Androguard in Linux?Please tell me the steps.
  • asked a question related to Android Application Development
Question
4 answers
We know about Software Development Life Cycle (SDLC) Model as like waterfall, spiral, RAD or XP Model that is used for large software development. These models are not appropriate for small size software development as like as Smart-phone Apps development. So do any Apps Development Life Cycle (ADLC) process Model exist, or are there any ideas for them?
Relevant answer
Answer
Hi Dazu,
usually you'll scrum very helpful when you try to develop highly agile projects, which is usually the case for mobile applications.
Best,
  Marc
  • asked a question related to Android Application Development
Question
5 answers
There are a number of smartphone applications that use the phone's accelerometer to monitor sleep patterns. The user simply places the phone on the bed beside him or her, and the phone records motion during sleep.
Is this accelerometer sensitive enough to detect the motion created by an infant's respiration? If so, it would be a simple matter to create an app that would alert the parents if the child ceased breathing. Perhaps the alert would arouse the child enough to cause him or her to resume breathing.
An alternative strategy would be to use the phone's camera to detect the breathing motion in the infant. The phone could be placed beside the infant with the camera facing the ceiling. A laser on the ceiling could provide a stable point of reference, so that any motion of the phone would be detected by its camera. This might be more sensitive than the phone's accelerometer. Once the motion is detected, the strategy is the same: produce an alert if the motion caused by the infant's respiration ceases.
What do you think? Is this viable?
Relevant answer
Answer
The case of infants is very sensitive and the accuracy can not be compromised. But the question also arises whether the signal alert by a very slight movement of the infant is desired. Then again signal from the infant is desired to be real time. In that case, the sensors in smartphone or a small external transceiver can to used to send out the signal to another smartphone or an alarm device via the router in local area network. 
  • asked a question related to Android Application Development
Question
13 answers
Our group is developing web servers in the filed of bioinformatics from last number of years (http://crdd.osdd.net/raghava/ ). In recent years Android apps are becoming very popular among young generation. We wish to help all our users but we have nearly no knowledge/experience in developing apps. My question is do we really require to develop apps (in addition to web services) in order to help android users. In other words, how important is to develop apps for bioinformatics. I also wants to know what is status of android apps in bioinformatics (what type of apps are already available for bioinformatics). If you are a user (biologist) do you think it will be very useful for your work. What is future of android apps?
Relevant answer
Answer
Dear Sir,
It is really nice idea to develop android apps for Bioinformatics. As we all know some general problems are like sequence alignment, genomic regions, Handling of large scale database etc. When I was searching for an android based bioinformatic applications, I found following links :
And, I got survey information in a "Survey of Bioinformatics Mobile Application " (https://cs.wmich.edu/elise/courses/cs603-bio/SII-12/Presentation1-Jason.pdf) in which they have told about the purpose of bioinformatics apps and new development opportunity for future.
I think, It will be good to have more Bioinformatics apps for making everything easy for all. It will be my pleasure to be part of your idea and to work on it in future.
  • asked a question related to Android Application Development
Question
4 answers
Is there a library for acoustic signal analysis in android? Or any sample? I want to process breaking branches of trees sounds orr something like this.
Relevant answer
Answer
You can adapt the attached java class and perform your signal processing (do you need the FFT? FFTW, http://www.fftw.org/download.html, has some Java wrappers). If you want to implement the code by your own, I found the paper "SoundSense: scalable sound sensing for people-centric applications on mobile phones" (http://cvrr.ucsd.edu/ece285/papers/Lu_soundsense.pdf) really interesting with signal processing techniques that you can easily implement.
  • asked a question related to Android Application Development
Question
8 answers
I have a web application written in HTML 5 that I would like to convert into a legitimate Iphone/Android Application
Relevant answer
Answer
Yeah, as pointed by Ulises Ponce Mendonza, PhoneGap is the best option. Its compiler converts your html code into corresponding Iphone, android ,BB apps. i ve tried it some time ago, all you have to do is paste your code in one index.html file in the default project workspace.