 |

|
I am currently a .Net developer who has been tasked to pick out a tool for Mobile Development. I have looked at Phone Gap, Titanium, and a few others. The tool should be able to decrease development time of applications for IOS, Android and Windows phones and tablets.
I am curious as to what tools developers are using and if they would choose the same product again.
Thanks!
Vix
|
|
|
|

|
Hi,
I am beginner in Android and trying to implement my game idea on Android. what i want, When we blow by mouth on the screen of Android Device we have to detect it's force value in our application.
It's is possible in android??..please give some suggestions how we can do it. will be highly thankful to you.
|
|
|
|

|
I am new to android programming,while i am running my application i am getting of lots of error in Logcat i dont know what to do plz help me
this is the error which i am getting:
05-06 18:20:26.916: D/AndroidRuntime(329): Shutting down VM
05-06 18:20:26.926: W/dalvikvm(329): threadid=1: thread exiting with uncaught exception (group=0x40015560)
05-06 18:20:26.946: E/AndroidRuntime(329): FATAL EXCEPTION: main
05-06 18:20:26.946: E/AndroidRuntime(329): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{aniket.gmsfinal/aniket.gmsfinas.MainActivity}: java.lang.ClassNotFoundException: aniket.gmsfinas.MainActivity in loader dalvik.system.PathClassLoader[/data/app/aniket.gmsfinal-1.apk]
05-06 18:20:26.946: E/AndroidRuntime(329): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1569)
05-06 18:20:26.946: E/AndroidRuntime(329): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
05-06 18:20:26.946: E/AndroidRuntime(329): at android.app.ActivityThread.access$1500(ActivityThread.java:117)
05-06 18:20:26.946: E/AndroidRuntime(329): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
05-06 18:20:26.946: E/AndroidRuntime(329): at android.os.Handler.dispatchMessage(Handler.java:99)
05-06 18:20:26.946: E/AndroidRuntime(329): at android.os.Looper.loop(Looper.java:123)
05-06 18:20:26.946: E/AndroidRuntime(329): at android.app.ActivityThread.main(ActivityThread.java:3683)
05-06 18:20:26.946: E/AndroidRuntime(329): at java.lang.reflect.Method.invokeNative(Native Method)
05-06 18:20:26.946: E/AndroidRuntime(329): at java.lang.reflect.Method.invoke(Method.java:507)
05-06 18:20:26.946: E/AndroidRuntime(329): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
05-06 18:20:26.946: E/AndroidRuntime(329): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
05-06 18:20:26.946: E/AndroidRuntime(329): at dalvik.system.NativeStart.main(Native Method)
05-06 18:20:26.946: E/AndroidRuntime(329): Caused by: java.lang.ClassNotFoundException: aniket.gmsfinas.MainActivity in loader dalvik.system.PathClassLoader[/data/app/aniket.gmsfinal-1.apk]
05-06 18:20:26.946: E/AndroidRuntime(329): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
05-06 18:20:26.946: E/AndroidRuntime(329): at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
05-06 18:20:26.946: E/AndroidRuntime(329): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
05-06 18:20:26.946: E/AndroidRuntime(329): at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
05-06 18:20:26.946: E/AndroidRuntime(329): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1561)
05-06 18:20:26.946: E/AndroidRuntime(329): ... 11 more
05-06 18:20:31.407: I/Process(329): Sending signal. PID: 329 SIG: 9
|
|
|
|

|
Hi All, I am just developing one Android app, in which we have to capture the video. Now user will capture the video in portrait view but while it will play, it will automatically play in landscape. i.e. video is capture in portrait view, though it will play in landscape view. when i will check in memory card, video is still captured in portrait view and also while playing video from memory card, it will play in portrait view. I have checked, manifest file and seems all files are fine. Please let me know if any one have any idea. Regards Keyur Satyadev
|
|
|
|

|
Hello,
I've been trying to make my first Android app.
I created a library project that cointain an activity called 'Reader':
public class Reader extends Activity {
private String ID;
public void setID(String id) {
ID = id;
}
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_reader);
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
getMenuInflater().inflate(R.menu.activity_reader, menu);
return true;
}
}
also i created a (test) project that contain another activity called 'MainActivity':
public class MainActivity extends Reader {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setID("bla_bla_bla");
}
}
when it comes to the GUI the inheritance is working well, i can see everything I placed in 'Reader' on 'MainActivity', but when it comes to using inherited methods such as 'setID(String)' i get a compilation error Eclipse Quote: The method setID(String) is undefined for the type MainActivity
How can it be?
thank you very much!!!
|
|
|
|

|
Hello,
I've been trying to make my first Android app.
I created a library project that cointain an activity called 'Reader':
|
|
|
|
 |
Message Automatically Removed
|
|
|
|
 |
Message Automatically Removed
|
|
|
|

|
hi all,
how can I execute adb command for android mobile phone from my dialog based application and get return value of these command in application and show.
please help me for this.
thanks in advance.
|
|
|
|

|
How do I add method for last_insert_rowid
I added a record to the table. As soon as it is entered I want to get the rowed that SQLite gave to it. How can I accomplish this?
|
|
|
|
|

|
I have a Windows Phone 8 App using SQLite (C#, XAML) I want to create records in my table in code. I tried an experiment by just placing a button on my window that executes a counter to create 10 records in my database. When I execute it, I get no errors, but the records are not in the database. Could you tell me what I am doing wrong?
For instance, with my DataModel:
class Test
{
[SQLite.AutoIncrement, SQLite.PrimaryKey]
public int TestID { get; set; }
public int MyCounter { get; set; }
}
And my View Model
public class TestViewModel : ViewModelBase
{
#region Properties
private int testid = 0;
public int testid
{
get
{ return testid; }
set
{
if (testid == value)
{ return; }
testid = value;
RaisePropertyChanged("TestID");
}
}
private int mycounter = 0;
public int MyCounter
{
get
{ return mycounter ; }
set
{
if (mycounter == value)
{ return; }
mycounter = value;
RaisePropertyChanged("MyCounter");
}
}
#endregion
public string SaveRecord(TestViewModel _vm)
{ string result = string.Empty;
using(var db = new SQLite.SQLiteConnection(app.DBPath))
{
string change = string.Empty;
try
{
var er = (db.Table().Where(
c => c.TestID == _vm.TestID)).SingleOrDefault();
if (er != null)
{
er.MyCounter = _vm.MyCounter;
int success = db.Update(er);
}
else
{
int success = db.Insert(new Test()
{
TestID = _vm.TestID,
MyCounter = _vm.MyCounter,
});
}
result = "Success";
}
catch (Exception ex)
{
StringBuilder erMessage = new StringBuilder();
erMessage.Append("This record was not saved.");
erMessage.AppendLine();
erMessage.Append(ex);
result = "This record was not saved.";
}
}
return result;
}
}
So in my Window I just tried a test
public partial class MyWindow : PhoneApplicationPage
{
RoundShotTest mytest = null;
…..
….
}
private void buttonTryMe_Tap(object sender, System.Windows.Input.GestureEventArgs e)
{
For(int x = 0; x < 10; x++)
{
mytest = new TestViewModel();
mytest.MyCounter = x;
string result = mytest.SaveRecord(mytest);
}
What am I doing wrong here. I get no error, but when I take a look in the database, the records have not been written?
|
|
|
|

|
Recently, i hired a developer to develop a game for iphone and ipad for me but now i'm quite worry that he will submit it before give it to me, so what can i do to avoid this.
|
|
|
|

|
Hi, I am using Sencha. I have created the application and I hosted in server and I can able to search the URL in mobile. Now my question is, I want download my full project files at first time like mobile application and want to install it. How to acheive this?
|
|
|
|

|
Hi experts,
I am new to android development.
I want to develop application locker.
In this application i want to set password protection for applications like message, phonebook...
I can get forground application from list of running application, using ActivityManagerclass. Now i want to keep this process running continuously in background so i will make use of service.
But i want to check for running applications list after every second, so my service will be starting and stopping in every second. Is this correct way to implement using service?
And i think after 4.0 android version in idle state system stops services, so how to keep service alive?
Please suggest me correct way to implement this application.
Thanks in advance.
|
|
|
|

|
0 down vote favorite
i'm developping an application that contains an android service (client) that send every minute GPS data to a .net server via tcp protocole, .net server mst receive data and store it in an SQL server.. android client:
{
@Override
public void onStatusChanged(String provider, int status, Bundle extras)
{
}
@Override
public void onProviderEnabled(String provider)
{
}
@Override
public void onProviderDisabled(String provider)
{
}
@Override
public void onLocationChanged(Location location) {
Double latitude = location.getLatitude();
Double longitude = location.getLongitude();
Toast.makeText(getBaseContext(),"Voici les coordonnées de votre téléphone : " + latitude + " " + longitude,Toast.LENGTH_LONG).show();
try {
Socket s = new Socket( "192.168.1.21" , 80);
BufferedWriter out = new BufferedWriter(new OutputStreamWriter(s.getOutputStream()));
String outMsg = latitude.toString();
out.write(outMsg);
out.flush();
Log.i("TcpClient", "sent: " + outMsg);
s.close();
} catch (UnknownHostException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
}
};
@Override
public IBinder onBind(Intent arg0)
{
return null;
}
@Override
public void onCreate()
{
locationMgr = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
locationMgr.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 10000,0, onLocationChange);
locationMgr.requestLocationUpdates(LocationManager.GPS_PROVIDER, 10000, 0,onLocationChange);
super.onCreate();
}
@Override
public int onStartCommand(Intent intent, int flags, int startId)
{
return super.onStartCommand(intent, flags, startId);
}
@Override
public void onDestroy()
{
super.onDestroy();
locationMgr.removeUpdates(onLocationChange);
}
}
.net server program
public partial class WebForm1 : System.Web.UI.Page
{
private TcpListener tcpListener;
private Thread listenThread;
protected void Page_Load(object sender, EventArgs e)
{
this.tcpListener = new TcpListener(IPAddress.Any, 3000);
this.listenThread = new Thread(new ThreadStart(ListenForClients));
this.listenThread.Start();
}
private void ListenForClients()
{
this.tcpListener.Start();
while (true)
{
TcpClient client = this.tcpListener.AcceptTcpClient();
Thread clientThread = new Thread(new ParameterizedThreadStart(HandleClientComm));
clientThread.Start(client);
}
}
private void HandleClientComm(object client)
{
TcpClient tcpClient = (TcpClient)client;
NetworkStream clientStream = tcpClient.GetStream();
byte[] message = new byte[4096];
int bytesRead;
while (true)
{
bytesRead = 0;
try
{
bytesRead = clientStream.Read(message, 0, 4096);
}
catch
{
break;
}
if (bytesRead == 0)
{
break;
}
ASCIIEncoding encoder = new ASCIIEncoding();
System.Diagnostics.Debug.WriteLine(encoder.GetString(message, 0, bytesRead));
ConnectionStringSettings connection = ConfigurationManager.ConnectionStrings["Connection"];
SqlConnection maConnexion = new SqlConnection(connection.ConnectionString);
maConnexion.Open();
SqlCommand command = new SqlCommand("INSERT INTO Table1 (longitude,latitude,altitude,vitesse) VALUES ('" + message + " '0','0',' 0" + "')", maConnexion);
command.ExecuteNonQuery();
}
tcpClient.Close();
}
}
}
For now i don't get any error but this code doesn't word!! pleaaaze help meee
|
|
|
|

|
Hi i have written App in VS2010 for android (apk) now how can i convert the source to get jar(and jad) OR (sis for nokia) so can run on there mobiles like nokia OR samsung (old).
Thanks in advnaced~
modified 1 Apr '13 - 15:48.
|
|
|
|

|
Which mobile platforms are most ISV friendly? We are trying to decide the first platform to target from Android, iOS and windows 8 (we have actually built samples for them, so already know the technical aspects), but are more than slightly confused by the myriad of deployment options.
Our apps are not of interest to the general public, so app store is not a major requirement. Our customers range from very small to large, and many will not be "corporate" grade to qualify for enterprise deployment options. Most of our customers are not worried about which platform they use, as they will buy devices purely to run our solution. Having app store certification is seen mostly as a hindrance that will slow down delivery of time critical updates. (remember, this is not for general public, only to prequalifed users) when our customers want a code change, they really want it now.
We do already have HTML-5 style delivery, but want to go the app route for some specific stuff. We have also tried PhoneGap style development, but I'm more interested in what rules control our deployment of apps than the development iteself
Is the following accurate, or have I overlooked a critical deciding factor?
Android.
+ Can use Google play, but can also deploy direct from website.
+ No specific enterprise deployment option
+ No restrictions on code?
+ Approval only required for Google play
+ Very low cost per developer. Develop in java or C++
+ Fragmented OS (ie slight differences between vendors/devices)
iOS
+ Can only deploy via App Store for most customers, some can use enterprise tools, but many do not have DUNS number
+ Apps must be approved before release, will delay delivery by few days at best
+ Low cost per developer
+ Restrictions on code - I am uncertain
+ Uses Objective-C, which is only iOS
+ Tightly controlled OS
Windows 8
+ Deploy only via store, sideloading for enterprise "windows" customers, but not generally
+ Apps must be approved before release, will delay delivery by few days at best
+ Low cost per developer, develop in C++
+ Tightly controlled OS
+ Restrictions on code (ie cannot dynamically download executable scripts)
+ Currently highest physical device cost
|
|
|
|
|

|
hi aim new on android . i need a android app which stored record in Sql server 2008.and fetch and update in sqlserver 2008 by android app.please help me
|
|
|
|

|
Hi all, I am creating a android client which is capable to send an image of the current activity from android client to server.I want to send the image continuously from my app and I also want to send the data when I will navigate from one activity to another.Please help with some example code.
|
|
|
|

|
I am thinking to use phonegap to build one hybrid applcation for iOS, android and Windows 8 phone. Has anybody developed an app using phonegap for these three platforms?
Are there any guidelines for windows 8 mobile development to create UI in a particular fashion?
|
|
|
|

|
I have an external source that sends lots of bytes (more than a hundred) to the Uart of a PIC-32.
Problem 1: The PIC-32 Uart does not produce the bytes he is sent; he scrambles the bits
Problem 2: After giving me ten bad bytes, he stops producing anything.
Has anyone ever seen this problem before ?
Did you solve it ?
How ?
|
|
|
|

|
how the android mobile can fetch a voice from application on it and send it by calling
|
|
|
|

|
I write to inquire if there is an entity that keeps track of the usage and geographic distribution of mobile apps.
I am looking for something parallel to the Neilsen rating but for apps.
Any guidance in this regard would be appreciated
|
|
|
|

|
Hi World!
When i wanna to open layout (Main.axml) in disigner in VS2010 for android I get this error : Xamarin.AndroidDesigner.DesignerException
But it works correctly in XML Design.
I wanna to have design !
Please Help!
Thanks in advanced!
|
|
|
|

|
Hey I wanted to find out if it is necessary to use renderscript for image processing apps on android. I'am coding an android panoramic view creator for creating 360 degree high quality panoramas but I had written the initial code in C++, but for android I have to use java and I have read about android phones not being so powerful because of their use of the virtual machine. So I was thinking of using renderscript for the android apps, is it necessary or just normal java code can do for such a task as panorama creation?
“Everything is simple when you take your time to analyze it.”
|
|
|
|

|
Hi world,
i am using this code to get info from my sql server 2008.
this is working well in "Debug" mode but cannot run app in mobile(only release work for mobile) SO when i wanna to (Release mode) release it (.apk) and send to my samsung android mobile ,and when i run the app and click on button i get error :
Unhandled Exception CODEPAGE=”1256″ not supported
i think it doesnt support IDbConnection in Release !
and my code is :
void button_Click(object sender, EventArgs e)
{
TextView txts = FindViewById<TextView>(Resource.Id.txt);
txts.Text = "Salam Ali Joon !";
string namess = "";
string connectionString = "Server=217.66.216.77,1633;" +
"Database=testinDB;" + "User ID=testing;" + "Password=arew;";
try
{
IDbConnection dbcon;
using (dbcon = new SqlConnection(connectionString))
{
dbcon.Open();
using (IDbCommand dbcmd = dbcon.CreateCommand())
{
string sql = " SELECT * " +
" FROM persons.[user] ";
dbcmd.CommandText = sql;
using (IDataReader reader = dbcmd.ExecuteReader())
{
while (reader.Read())
{
string FirstName = (string)reader["UserName"];
namess = "user name is : " + FirstName;
}
reader.Close();
dbcon.Close();
}
}
}
txts.Text = namess;
}
catch (Exception ex)
{
txts.Text = ex.Message;
}
}
HELP Please !
|
|
|
|
 |