1,334 Topics
![]() | |
hi all, i just started practicing android and sqlite database. i came across a very strange problem which i am unable to rectify.kindly help me out. Below i have out my DataBaseHelper class. (Description follows after the code block...) [CODE=java] package com.dialog.test; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; … | |
[CODE]package demo.weatherforecast.main; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import org.xmlpull.v1.XmlSerializer; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.os.Bundle; import android.util.Log; import android.util.Xml; import android.view.View; import android.widget.AdapterView; import android.widget.AdapterView.OnItemClickListener; import android.widget.ListView; import android.widget.SimpleAdapter; import android.widget.Toast; public class EditCity extends Activity { String xmlFilepath … | |
Making an Android app for my senior project. The app that the professor wants will have approximately 225 strings. It's basic Q and A with the questions and answers always being in the same order. Would it be better to use the sql database or the strings xml to store … | |
I have to work on a final project for school, and i have decided to work on an Android application. I'd like to set up an RC car with a micro controller, and a bluetooth receiver. I am wondering if this will be too much to handle. I would need … | |
i was just wondering what are some of the best android applications.i have a huawei ideos and im new to android. | |
Problem - Main - Clicking any Google Search result, results in redirect to random sites - NOT the site of the search result - search function not usable Secondary - computer has slowed to less than a crawl plus - recently, on boot-up, Avast reports that Microsoft Realplayer.exe is suspect … Information Security android android-development apple audio chrome-os client-server data-protection digital-publishing dns flash http-protocol ide microsoft-access microsoft-office microsoft-windows multimedia office-suite os-x pdf peer-to-peer printer publishing seo storage tcp-udp user-interface virus-malware visual-basic web-browser webcam windows-virus | |
[ICODE]Please advise whether it is virus or something is wrong with Android- my phone with Anroid periodically shuts down without any reason (at least I am not able to identify), when I turn it on it works for a while and then again shuts down. Sometimes it works for a … | |
Check This code Regarding Image View x= (int)event.getX(); y = (int)event.getY(); to get the x and y of the point where the user clicked or touched the image view. but it doesnt really give me the right position. what may be the cause? Thanks In Advance | |
Hi all, I am beginner in android and, My question is i want to know where my SQLite database physically reside in my system when i create it as [code] SQLiteDatabase db = openOrCreateDatabase("MyDB1", Context.MODE_PRIVATE, null); db.execSQL("CREATE TABLE IF NOT EXISTS MyTable(LName TEXT,FName TEXT,No INTEGER PRIMARY KEY);"); db.execSQL("INSERT INTO MyTable(No) … | |
Can we handle of android app by ourself rather then android handling it itself? | |
hi everyone here is my method in java [CODE] public void openWebURL( String inURL ) { Intent browse = new Intent( Intent.ACTION_VIEW , Uri.parse( inURL ) ); startActivity( browse ); } } [/CODE] and i'm just typing [CODE] openWebURL("www.google.com");[/CODE] in my java file onStart section but my app just doesn't … | |
Hi! I'm new to DaniWeb, so I don't really know much. Excuse me if I seem really rude or anything. Anyways, I'm having trouble with an android app I'm building. My program seems to force close whenever I put in: [CODE]String fileContents = getFileContents("http://www.youtube.com/watch?v="+code); fileContents = fileContents.substring(fileContents.indexOf("'VIDEO_ID': "+"\""+code+"\""),fileContents.indexOf("yt.setMsg({")); String[] settings … | |
Hi all! I want to start making apps for android phones. The problem is that I have installed Android SDK, JDK 7 and eclipse, but failed to complete the install of the ADT plugin. I have install the plugin, but I can't configure it. the guide on android developer saids: … | |
I am a beginner to Android programming. I am trying to convert an string(from an EditText widget) to a double Whenever i run the program, it crashes whenever the parseDouble function is used: [CODE]Double.parseDouble( input.getText().toString() ); [/CODE] Does anybody have an idea why parseDouble causes my program to crash and … | |
[2011-08-03 13:32:48 - InfoProductApp] ------------------------------ [2011-08-03 13:32:48 - InfoProductApp] Android Launch! [2011-08-03 13:32:48 - InfoProductApp] adb is running normally. [2011-08-03 13:32:48 - InfoProductApp] Performing com.ipp.InfoProductApp activity launch [2011-08-03 13:32:48 - InfoProductApp] Automatic Target Mode: launching new emulator with compatible AVD 'Android_1.5' [2011-08-03 13:32:48 - InfoProductApp] Launching a new emulator with … | |
[ATTACH=RIGHT]21960[/ATTACH]Apple thinks that the Samsung Galaxy Tab looks a lot like the iPhone and the iPad, from the appearance of the device right down to the packaging it comes in. Now it seems that the courts agree. Well, one of them at least. The Dusseldorf District Court in Germany has … | |
I am new in creating android project, can you please help me, can you please give me sample source code for android, like creating table with color, password, inserting image, and animating image. tnx! | |
Hello all, I want to develop Android java applications for Android Smartphones(>Android 2.1) and Android Tablets(>Android 3.0). I had already downloaded the Latest Android SDK and Eclipse plugin for that. The entire environment for developing the android application is ready with me. I have professional experience of programming in C++ … | |
Hello Guys, Well I am converting a web application which is made using html, javascript, css and ajax.Now I also want to open this apps on the android tablet but I do not want to change the coding techniques because this apps will going to open on the browser of … | |
![]() | I want to make a game in flash but I have no clue to start, I need a step by step tutorial, can someone help? ps: I would prefer to make a rpg. |
in which file we write code in android \ | |
Here is the thing, as you might know AdMob has a `AdSize.*` function, where u put `Banner` to show banner ads, and AD_banner` for tablet banners, what i want to do is take a screen size of a device so that i could throw it in my if statement and … | |
Hi all, I able to detect user current location on google map, but i need to show speed of user travelling. Any idea how to detect it? I can give u my code if u wan. Thanks. | |
Hi i want to read chm and epub file in my application , how can i do this ? | |
Also known as "Snitching" applications, that simply log and report the whereabouts of an object (like smartphones, laptops, tablets, etc.). [B]Why kernel-level?[/B] Because a lot of these devices have a "Return to factory default" option, which simply removes the Snitch. [B]Why this thread?[/B] My HP iPaq 914c got stolen almost … | |
I've an app with Admob banner implemented in it. I can see ads in android emulators and devices, but i can't get the ads in Samsung Galaxy tab , anyone has any idea why is it so?? | |
we want to do our FINAL YEAR PROJECT in Mobile please give some creative and innovative ideas, which could be approved for FINAL YEAR PROJECT | |
I've tried to work web service on android but I've taken an error in emulator output: [code=text]org.xmlpull.v1.XmlPullParserException:expecteed: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope(position:START_TAG@1:6 in java.io.InputStreamReader@43e567a0) [/code] In here, my code: [CODE=java] package com.webServiceDeneme; import org.ksoap2.SoapEnvelope; import org.ksoap2.serialization.PropertyInfo; import org.ksoap2.serialization.SoapObject; import org.ksoap2.serialization.SoapPrimitive; import org.ksoap2.serialization.SoapSerializationEnvelope; import org.ksoap2.transport.AndroidHttpTransport; import android.app.Activity;import android.os.Bundle; import android.view.View;import android.view.View.OnClickListener; import android.widget.*; public … | |
Hi, I just got a Motorola Backflip (MB 300 - running Android 2.1) as a work phone two weeks ago. After purchase I uploaded some photos and music (which I scanned with NOD32) from my XP desktop using a mini-USB cable with no problems. After one issue with the phone … | |
What does your Android, BlackBerry or iPhone say about you? That's what newly published research by YouGov on behalf of Intelligent Environments aimed to find out, but the results were a little surprising to say the least. [attach]20446[/attach] The research analysed the financial profiles of each smartphone to paint a … | |
I get an error every time i click the navdown button "The application have been stopped unexpectedly Please try again". what does it mean?? im a new student in mobile developing.. please help i need to learn about this error [CODE] public class chapter1 extends Activity { MediaPlayer sButton; Intent … | |
I am writing some application for Android. Here my app receives sms and as soon as it receives, it launches another activity,say a browser with some url supplied. So here, I need two classes, broadcastReceiver( to receive sms) and Activity. But in java i can inherit only 2 classes. Since … | |
Hi, In android you can access a resource with syntax like R.<res_type>.<res_name> what I want to do is to reach a set of images has naming convention. for example I have 4 files in drawable with the names : draw_1_<rest_of_it>.jpg how can I get the list of drawable images to … | |
For our android app project, we will be developing on java eclipse I am going to use opengl for graphics part. but what data structure should I use for the gameplay? | |
Is it possible to enter something else than null when calling the sendTextMessage function from the SmsManager? | |
Please Help, im trying to run the emulator on my WINDOWS VISTA I really dont know why it doest woork!, It just stays at this huge black screen which I know isnt normal, it should be smaller.. I have the ANDROID SDK 3.1 and have ECLIPSE HELIOS and I think … | |
Im a computer science undergrad student in my final year. its time for selecting my final year project. I have two projects in my mind which are as follows 1- create kernel for iPhone based on openiboot 2- create an iPhone to android code conversion tool The first project was … | |
Could somebody please check this lines of codes , i cant get my video played from current url, and it doesn't give me any mistake either [CODE] call.setOnClickListener(new OnClickListener() { public void onClick(View v) { int a =canli.getVisibility(); canli.setVisibility(1); try { call.setVisibility(a); pb.setVisibility(1); Uri web = Uri.parse("http://tegos.ru/video/new/prikol/3gp/Ukhodi_Dver_Zakroj.3gp"); canli.setVideoURI(web); canli.setMediaController(mc); canli.requestFocus(); … | |
can anybody please give me some serious piece of advice on Video Streaming? I have this app which streams video and all other bunch of staff. i've finished all other parts only this video streaming left, i'm new android development too, so please kind people help | |
Hi all, I want to get the string resource with R refference like R.string... but there is an issue that my class is not an activity. [code=Java]deviceNameEditor.setText(settings.getString(Constants.LOCAL_DEVICE_NAME, <def_val> ));[/code] how can I use the def value setten in the strings by using R.string indicator. since R.string will return a int … | |
Hi, I need to create a program that will run on Android 2.2 and use Google maps, and location based services. I know it's possible because my HTC Desire does it all the time. My question is how do I get hold of the Google Maps libraries for Froyo (2.2) … | |
Hello All, I am very new to Android. I installed only "SDK Platform Android 3.1, API12, Revision 2" and related to their stuffs. I am getting this error after creating new project: [CODE][2011-06-26 14:43:38 - Dex Loader] Unable to execute dex: wrapper was not properly loaded first [2011-06-26 14:43:38 - … | |
A [URL="http://bit.ly/appcelerator_idc_q4_mobile_developer_report"]new survey[/URL] jointly conducted by Appcelerator® and International Data Corporation (IDC) released September 27, 2010 reveals Appcelerator Titanium developers favor Android over iOS in TVs and other devices.[ATTACH=right]17397[/ATTACH] Although the market shows that Apple currently leads in iPhone/iPad sales and popularity, the survey reveals that of the approximately 2,300 … | |
News reports suggest that March has been a good month for lovers of, and developers for, the Android operating system in pretty much every regard. That good news comes at the expense of the Apple iPhone and iOS we are led to believe, which appears to be losing the fight … | |
Dear All, I am currently doing an android project that shows live traffic congestion report. I am a newbie in Android Dev. I successfully deplayed Google map on my emulator. I also did some overlay control. I would like to do something like Google did, highlight the road with red … | |
can anyone help me get OEM USB Driver for Huawei Comet? I have been looking for it everywhere. please. thanks! | |
India released a Rs.1,500 ($30) laptop / Tablet PC for students and teachers in colleges and Universities. The device is currently not available for sale in the market as government has decided to launch it for students in 2011. The price of this device (so called laptop) may even go … | |
Hi I have an app for Android phones. It is working as intended but when I receive a phone call the app is minimised(but still running) and I have to open the app again. I was wondering how do I make it so after the phone call it restores my … | |
Hi guys, A group of us are developing an app for the Android phone. The app is used to record down statistics, like how many messages the user has sent, or the amount of time he/she has spent using the phone, etc, mainly using it to help users compare their … | |
Hi Guys and Girls, I'm having some trouble getting a timer to work on my android 2.1 app. I want it so once a button is clicked it trys to connect to my server every 60 seconds. my code for connecting to server is working, but I don't understand why … |
The End.