1,785 Topics
![]() | |
On Android phone, I used setEntity() to put the FileEntity to the POST request. [CODE]HttpPost post = new HttpPost(uri); FileEntity reqEntity = new FileEntity(f, "application/x-gzip"); reqEntity.setContentType("binary/octet-stream"); reqEntity.setChunked(true); post.addHeader("X-AethersNotebook-Custom", configuration.getCustomHeader()); post.setEntity(reqEntity);[/CODE] When using bottle, I tried this but it is not working [CODE]f = request.body gzipper = gzip.GzipFile( fileobj= f ) … | |
well ,I'm a Google android bot fan. I love these things very much . So hope you can understand me ,if i wanna buy this cheap speaker.:D Well ,i just wanna know if you have this speaker or not ?([URL="http://www.McBub.com/i/68"][COLOR="Green"]here is it[/COLOR][/URL] ) How about the sound quality?(Though it's cheap,i … | |
Hy , Is there any way i could graphic design a form in NetBeans (*.xml) like in Eclipse ? I googled it but nothing. Thanks | |
Hi all :) I got some serius problem that I've tried to solve in almost two days. I've try to send a request to a URL from a android app, [URL="http://web.hjalmar.nu/~morgan/webpage/test.php"]http://web.hjalmar.nu/~morgan/webpage/test.php[/URL]. the problem is, that it isn't working. ANDROID-file [CODE]package morgan.request.test; import java.io.BufferedReader; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import … | |
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; … | |
Hi! I am thinking of starting a program for a java enabled phones or smartphones... I am a beginner there for i don't have advanced knowledge of such programming... So heres my requirements; 1.the code should be able to run in netbeans 2.step by step process with explaination for understanding … | |
[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 am sending mail after a user enter his/her email. In email message there is link which will be opened by user. The anchor tag is working fine in Gmail but not in Yahoo Mail/Indiatimes Mail. Here is the code block: [CODE] { $emailurl="3gmobile.co.in/phone_details.php?id=".$_REQUEST['id']."&model=".$_REQUEST['model']."&redirect=1"; $headers = "From: Donotreply@domain.co.in\r\n"; $headers .= … | |
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 … | |
HP announced this morning a new printer that’s the first of its kind: the TopShot LaserJet Pro M275. What makes this printer different? Of course it has the usual scanning feature that the HP LaserJet’s have featured for years, but with a new spin, 3D scanning. The TopShot doesn’t have … | |
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) … | |
Hi all, please post/share the student coding/programming /robotic competitions in this thread. So others may also can participate and take the advantage of those. Here are few that I know. General Google summer of code :- [url]http://code.google.com/soc/[/url] Imagine cup :- [url]http://www.imaginecup.com/[/url] Robo Cup :- [url]http://www.robocup.org/[/url] IEEE :- [url]http://www.ieee.org/membership_services/membership/students/competitions/xtreme/index.html[/url] java cup … | |
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: … | |
Hi everyone, I'm new here so I hope I've put this in the right place. I'm looking for a little help with a python program I've written. I'm trying to create a timeline from SQLite databases. I take information from a calls database, then an sms database, write those to … ![]() | |
Hi folks....i'm new to android programming. Actually i will be glad if any of you help suggest any mobile application quite challenging which i will undertake during a two week seminar. thanks | |
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 … | |
[ATTACH=RIGHT]21839[/ATTACH]Appcelerator and International Data Corporation released the results of their joint [URL="http://appcel.us/q3_2011_report"]survey[/URL] today, August 3, 2011. This survey of 2, 012 Appcelerator developers shows that Apple and Google are accelerating their market share in mobile with the new Google+ and iCloud. Developers surveyed believed Apple and Google will offer fierce … | |
[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 … | |
Hello friends i know little bit of java programming.but i want to learn Mobile programming.now am starting mobile proramming in J2ME and android..My question s if am well in the mobile programming wil i get job...Mobile programming wil giv good future for me..?pls giv me a good answer..thank you.. | |
[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 \ | |
Just now ,I found this :[U][I][B][URL="http://www.mcbub.com/item/UPad-ZT-180-Google-Android-2-2-Froyo-Tablet-PC--7-inch-ZT-180-1GHZ-Tablet-PC-Camera-4GB-ZeniThink-M7013--CN101073--135345/"]http://goo.gl/AnR2A[/URL][/B][/I][/U]it says that's tablet pc,but I think it's a phone. | |
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 All - total noob[java] here; i have an app on the android written, but i believe the question here is totally java related. after my app adds field1 + field2 + field3 and displays the value in field4, how do i *start over*? thing is, if ea field is … | |
Hi I wasn't sure if this was the right section or not How is a GUI implemented in modern operating system. Currently I use win32 code to generate a window and then use openGl with C++ to generate the application. How is explorer.exe (the windows interface) designed and built. Does … | |
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 … | |
Can't Get it right using switch on listview i need help or some suggestion about how can i convert the string array values open another layout webview.. [CODE] import android.app.ListActivity; import android.os.Bundle; import android.view.View; import android.widget.ArrayAdapter; import android.widget.ListView; import android.widget.Toast; public class chapters extends ListActivity { @Override protected void onCreate(Bundle … | |
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 … | |
[CODE] package com.hummingbird.mik; import android.app.Activity; import android.content.Intent; import android.media.MediaPlayer; import android.os.Bundle; import android.view.View; import android.widget.Button; public class chapters extends Activity { MediaPlayer sButton; Intent intent1; private Button c1; private Button c2; private Button c3; private Button c4; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.chapterlist); setView(); sButton = MediaPlayer.create(this, R.raw.page3); … | |
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 … |
The End.